CSS Menus don't drop down in IE after 0.13 upgrade

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
martin42
Forum Members
Forum Members
Posts: 126
Joined: Sat Aug 20, 2005 11:35 pm

CSS Menus don't drop down in IE after 0.13 upgrade

Post by martin42 »

Hi

I've just upgraded an old site to 0.13 on a test server, by copying the tarball on top and running the upgrade.php script.

Once I enable the CSSMenu module, the main site nav menu is displayed.  It works fine on Firefox, but on MS IE the drop-downs don't drop down any more!

Any ideas?

Cheers!

- Martin.
cyberman

Re: CSS Menus don't drop down in IE after 0.13 upgrade

Post by cyberman »

martin42 wrote: I've just upgraded an old site
How old was this site (version)?
martin42
Forum Members
Forum Members
Posts: 126
Joined: Sat Aug 20, 2005 11:35 pm

Re: CSS Menus don't drop down in IE after 0.13 upgrade

Post by martin42 »

0.11-beta1 "Trinidad" ...

The problem seems to be that this line (just above ) is missing in the new output:

   

Yet the CSSMenu.module.php is unchanged since 0.11.  The line gets inserted by function ContentPreRender() in that file.

I think the problem must be that the enclosing framework has changed, so ContentPreRender is no longer called.

I can probably frig it for now, just a question of where/how...

(EDIT) ... Yep, I just stuck that line in the Content area of each of my Templates, and that's nailed it.

I'll guess I'll go back now, and stick the actual Javascript in those Templates instead of the reference, as it's only small,
and this will avoid another HTTP request on each page fetch.  To be fair, those requests would generally all receive
HTTP 304 (not modified) responses, which are small.
Last edited by martin42 on Wed May 31, 2006 12:47 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Menus don't drop down in IE after 0.13 upgrade

Post by Dr.CSS »

check template for this in the ...





most all my templates use a dropdown menu, this works for me, since ver. 11. something
martin42
Forum Members
Forum Members
Posts: 126
Joined: Sat Aug 20, 2005 11:35 pm

Re: CSS Menus don't drop down in IE after 0.13 upgrade

Post by martin42 »

Cool beans!  I'll use that version instead -- that way, non-IE browsers won't see that Javascript code.

PS, I see that the browser only fetches *.js files once, so in fact there's little to be gained from pasting the code in the template itself.
Locked

Return to “[locked] Installation, Setup and Upgrade”