Are you saying that your dropdown.js is not being loaded?
It could be that some use of the page tag has parameterized (overridden)
your 'scripts' or 'javascript' parameter.
You could try something like this:
<extend tag="page">
<old-page merge>
<after-scripts>
<javascript name="dropdown" />
</after-scripts>
</old-page>
</extend>
This way it doesn't matter if any user of the page tag parameterizes
"scripts" or extends page.
cheers,
Bryan
blueHandTalking wrote:
> I am new to hobo, and have redefined the page tag in 'clean.dryml'
> so I could get a better handle on controlling everything:
>
> <def tag="page">
> <html merge-attrs>
> <head param>
> <title param></title>
> <do param="stylesheets">
> <stylesheet name="reset,padstyle"/>
> <theme-stylesheet name="padstyle"/>
> </do>
> <do param="scripts">
> <javascript param name="dropdown"/>
> <if-ie version="lt IE 7" param="fix-ie6">
> <javascript name="IE7"/>
> <javascript name="ie7-recalc"/>
> </if-ie>
> </do>
> </head>
> <body param></body>
> </html>
> </def>
>
> This gets me up and going, except for my javascript file, dropdown.js,
> which I
> have put in public/javascripts.
>
> Since my javascript is not running, and I am new to hobo (and Rails) I
> am uncertain if it is the path that is wrong, or the <dl> <dt> and
> <dd> tags where the code in
> dropdown.js is called, e.g.
>
> <dt id="two-ddheader" onmouseover="ddMenu('two',1)" onmouseout="ddMenu
> ('two',-1)">AGENT</dt>
>
> jet
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---