Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-12-22 21:35:04

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: One or two sites

Bert (or someone else), woould you mind taking another look at tsmg.no and let me know if the drop-down menu works in both IE6 and IE7?

Thanks for the feedback. I updated the drop down using the tutorial here:
http://projectseven.com/tutorials/navigation/auto_hide/

Offline

#14 2006-12-22 21:51:45

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: One or two sites

The drop downs at tsmg.no work fine in IE7 now, sorry no IE6 in da house.

Offline

#15 2006-12-22 21:57:28

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: One or two sites

Thanks Bert! Good news…..!!!

If anyone else has IE6, please take a look…

I get validation errors with the following:

Line 35 column 13: there is no attribute “onLoad”. <body onLoad=“p7_expmenu()”>

Anyone know how to change onLoad to “window” (or whatever the heck its called!) in the script?

JavaScript:

function p7_expmenu(){ //v1.1.0.2 by PVII-www.projectseven.com if(navigator.appVersion.indexOf(“MSIE”)==-1){return;} var i,k,g,lg,r=/\s*p7hvr/,nn=’‘,c,cs=‘p7hvr’,bv=‘p7menubar’; for(i=0;i<10;i++){g=document.getElementById(bv+nn);if(g){ lg=g.getElementsByTagName(“LI”);if(lg){for(k=0;k<lg.length;k++){ lg[k].onmouseover=function(){c=this.className;cl=(c)?c+’ ‘+cs:cs; this.className=cl;};lg[k].onmouseout=function(){c=this.className; this.className=(c)?c.replace(r,’‘):’‘;};}}}nn=i+1;}
}

Offline

#16 2006-12-22 22:50:14

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: One or two sites

The dropdown is working fine in IE6/Windows now. Sorry can’t help you with the script :( I got dropdowns working in IE6 on this site, but the method is slightly different from what you’re using now.

Last edited by els (2006-12-22 22:50:50)

Offline

Board footer

Powered by FluxBB