PDA

View Full Version : IE trouble with linking to javascript navagation bar



Skizelmadizel
27 Oct 2008, 10:19 PM
I'm new and would like to know if there is a way to fix this problem that IE 6 has when I try to link to the javascript that creates the wheel effect in my navagation bar sub menus. I know that it isn't particularly the most search engine friendly way to code a navagation bar but I like the wheel effect and if I could get rid of this problem that IE has with linking to the javascript it would be better than having the script in the body like it is now. It doesn't do it with Firefox just IE and here's the problem, the first time you click on a link the whole page flashes or blinks before it shows you the targeted page or the page the link is supposed to take you to. Every link in the nav bar does the same thing the first time you click on it but the second time it doesn't do it. I created these navbars with Sothink DHTML Menu 8. Here's the URL to the site: http://www.ink-horn.com/
This is the javascript that's in the body of the index.html and this is the coding that I cut out of the body to create the index.js that I linked to that creates the page flashing or blinking.

<!--
stm_bm(["menu1a91",830,"","blank.gif",0,"","",1,0,0,0,20,1,0,0,"","75%",0,0,1,2,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,6,2,7,7,100,"progid:DXImageTransform.Microsoft.Wheel(spokes=16,enabled=0,Duration=0.20)",-2,"progid:DXImageTransform.Microsoft.Wheel(spokes=16,enabled=0,Duration=0.20)",-2,90,0,0,"#999999","transparent","",3,0,0,"#000000"]);
stm_ai("p0i0",[0,"Cards","","",-1,-1,0,"","_self","","","black-d.gif","black-d.gif",7,7,0,"black-d.gif","black-d.gif",7,7,0,1,1,"#FFCC00",0,"#FF9900",0,"","",3,1,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","bold 10pt Arial","bold 10pt Arial",0,0],140,25);
stm_bp("p1",[1,4,-7,0,6,2,7,7,100,"progid:DXImageTransform.Microsoft.Wheel(spokes=16,enabled=0,Duration=0.20)",-2,"progid:DXImageTransform.Microsoft.Wheel(spokes=16,enabled=0,Duration=0.20)",-2,90,0,0,"#666666","transparent","",3,0,0,"#33CCFF"]);
stm_ai("p1i0",[0,"Any Occasion","","",-1,-1,0,"cards.html","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFCC00",0,"#FF9900",0,"","",3,1,0,0,"#FFFFFF","#FFFFFF","#000000","#FFFFFF","bold 10pt Arial","bold 10pt Arial",0,1],140,25);
stm_aix("p1i1","p1i0",[0,"Note Cards","","",-1,-1,0,"note-cards.html"],140,25);
stm_aix("p1i2","p1i0",[0,"Holidays","","",-1,-1,0,"","_self","","","black-r.gif","black-r.gif",7,7,0,"black-r.gif","black-r.gif",7,7],140,25);
stm_bpx("p2","p1",[1,2,0,-6,6,2,0,0]);
stm_aix("p2i0","p1i0",[0,"Christmas","","",-1,-1,0,"christmas.html"],140,25);
stm_aix("p2i1","p1i0",[0,"Easter","","",-1,-1,0,"easter.html"],140,25);
stm_aix("p2i2","p1i0",[0,"Mothers Day","","",-1,-1,0,"mothers.html"],140,25);
stm_aix("p2i3","p1i0",[0,"Fathers Day","","",-1,-1,0,"fathers.html"],140,25);
stm_ep();
stm_aix("p1i3","p1i0",[0,"Valentines / Love","","",-1,-1,0,"love.html"],140,25);
stm_aix("p1i4","p1i0",[0,"Verses","","",-1,-1,0,"verses.html"],140,25);
stm_aix("p1i5","p1i0",[0,"Quotes","","",-1,-1,0,"quotes.html"],140,25);
stm_ep();
stm_aix("p0i1","p0i0",[0,"Contact","","",-1,-1,0,"contact.html","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFCC00",0,"#FF9900",0,"","",1],140,25);
stm_aix("p0i2","p0i1",[0,"Fundraisers","","",-1,-1,0,"fundraiser.html"],140,25);
stm_aix("p0i3","p0i1",[0,"Opportunities","","",-1,-1,0,"opportunities.html"],140,25);
stm_aix("p0i4","p0i1",[0,"Terms & Conditions","","",-1,-1,0,"terms.html"],140,25);
stm_ep();
stm_em();
//-->