Teen Programmers Unite  
 

 

Return to forum top

JavaScript Question

Posted by Sky36 [send private reply] at August 14, 2001, 10:02:09 PM

Sorry for the rather vague post title couldnt think of anything better ok here s the question. Say you had two frames for a website and you wanted to have one frame have a different source depending on the browser there using how would this be accomplished. Note I really dont know JavaScript or VBscript for that matter actually I never really made much effort to learn HTML I did pick up most of it though I know how to find out what browser they are using and I know how too make a function in JavaScript now how might I make the src for a certain frame different. I've tried a few things but they dont seem to work. I'd be grateful for any help. Thanks in advance. Jeez thats a long post for me anyways.

Posted by taubz [send private reply] at August 15, 2001, 10:22:23 PM

TheBigFrame.document.location = 'url' for example
(I'd give you a longer reply, but if you don't know Javascript...)

Posted by Sky36 [send private reply] at August 22, 2001, 05:26:26 PM

That kind of looks what Im trying to do as far as I can tell you are just specifying the url for a frame. I didnt try it that way Ill try it and see what happens I bet I can figure out how to piece everything together.

Posted by taubz [send private reply] at August 22, 2001, 10:35:22 PM

Good luck.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.