Help with frames and javascript please ?

The machines we love to hate

Moderator: Wiz Feinberg

Post Reply
Ingo Mamczak
Posts: 595
Joined: 6 Jan 1999 1:01 am
Location: Luimneach , Eire.

Help with frames and javascript please ?

Post 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.
User avatar
Bobby Lee
Site Admin
Posts: 14863
Joined: 4 Aug 1998 11:00 pm
Location: Cloverdale, California, USA
Contact:

Post 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
User avatar
Ernie Renn
Posts: 3457
Joined: 4 Aug 1998 11:00 pm
Location: Brainerd, Minnesota USA
Contact:

Post 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


Jeff Agnew
Posts: 741
Joined: 18 Sep 1998 12:01 am
Location: Dallas, TX

Post 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.
Ingo Mamczak
Posts: 595
Joined: 6 Jan 1999 1:01 am
Location: Luimneach , Eire.

Post 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.
Jeff Agnew
Posts: 741
Joined: 18 Sep 1998 12:01 am
Location: Dallas, TX

Post 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
Post Reply