Page 1 of 1

Help with frames and javascript please ?

Posted: 2 Dec 2002 7:34 pm
by Ingo Mamczak
Hi,
Two questions,
1)
Would adding Javascript to a web-site still cause a lot of problems for some browsers ?

2)
I'm having a small problem running scripts with frames.
I can get the frameset to create three child frames but I want to use one of those as a navigation bar and only one of the others to display a new page each time a link is clicked on in the navigation bar.
I can get it to work fine by using just two child frames, but by adding the third one I keep getting errors running the script.
Any help would be greatly appreciated,
thanks.

Posted: 2 Dec 2002 8:07 pm
by Bobby Lee
Internet Explorer and the new version of Netscape both have good JavaScript support. It's best to test your code in both, though, because they do behave differently sometimes.

Avoid frames if you can. That's my advice.

------------------
<small><img align=right src="http://b0b.com/b0b.gif" width="64" height="64">Bobby Lee - email: quasar@b0b.com - gigs - CDs
Sierra Session 12 (E9), Williams 400X (Emaj9, D6), Sierra Olympic 12 (F Diatonic), Sierra Laptop 8 (D13), Fender Stringmaster (E13, A6), Roland Handsonic

Posted: 2 Dec 2002 10:12 pm
by Ernie Renn
I agree with b0b! (on both counts. Image)

If you can, find somebody that has an older edition browser. I normally use IE6, but have Netscape 4.0 to test some things. I have opted not to get fancy. Certain things work real funny in some browsers. Some don't work at all.

Frames are fine if you know them inside out. If not steer clear. They can cause advanced headaches.

------------------
My best,
Ernie
Image
The Official Buddy Emmons Website
www.buddyemmons.com



Posted: 3 Dec 2002 8:12 am
by Jeff Agnew
Ingo,

It sounds like you're not using the _target property correctly for the hyperlinks in your nav frame.

Send me the code (zip the frameset and suporting html files) if you'd like and I'll be happy to take a look at it.

Posted: 3 Dec 2002 8:56 pm
by Ingo Mamczak
Thank you very much Bobby, Ernie and Jeff for replying to my questions. You've given me some good advice there.
Jeff, there's an e-mail on its way.
Thanks again,
Ingo.

Posted: 4 Dec 2002 8:18 am
by Jeff Agnew
Ingo,

Got your e-mail and sent you a version of the frameset that fixes the link problems and the non-updating counter. Hope this helps.

Jeff