View Full Version : works in IE but not in NS or Opera
marker
05-04-2003, 01:47 AM
I put a java based navigation bar on this site.
It works in IE bit not other browsers. I had some roll over effects before I put this menu in. Now if I delete the code for the rollover I get error message. Here's the site
http://www.jewelsbeads.com/
Any help will be appreciated.
--Mark
petervazed
05-04-2003, 06:46 AM
Just an idea........
--------your code:--------
</style>
</head>
<script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script>
<body bgcolor="#CC6699"
--------
Has the bold part to be in the body?
Now it is in the wrong place, just in the wild......
:rocker:
joeytomatoes
05-04-2003, 07:27 AM
hey.what a great site.I love the colors,and the whole site is so campy.
Enjoy the boys cause the grow sooo fast and then they are gone.
I bet the dogs keep you busy.
BTW Iam using 1024x768 res. Is your site set for 800x600,cause your off center,but thats a cool look.
jt
marker
05-04-2003, 11:14 AM
I FIXED IT YEA YEA!!!!!!!!
When I deleted the code for the rollovers I forgot to delete the part thet preloaded the images. For some reason IE would ignore it but NS wouldn't show the new navigation bar. I searched the code for any reference the old rollovers and found it, deleted it and now it works in Netscape. Amazing what a good nights sleep will do for your powers of observation. Still won't show up in Opera though. The transparncy in the flash logo doesn't work in NS but does in IE? Oh well can't have everything. Thanks for the replies.
The code
<script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script>
works in the head or the body, I don't know if it makes a difference, maybe someone can enlighten me.
jt thanks, it's good to hear when someone likes a thing you created. And yes the kids and dogs keep me plenty busy:)
If the javascript is just collecting information (about the browser or OS), preloading images, or performing a calculation, then it can easily go in the <head> section.
If the code has to write something to the page, that has to be displayed on the screen, then it must go within the <body> section.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.