Frames and JavaScript

They have: 15 posts

Joined: Dec 1999

I'm writing a javascript code so the name of the visitor appeares on the page. However, I can't seem to do it with frames. Is there a way to do it?

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

Place the script inside the code for the frame you want it to show up in, that should take care of it for you.

They have: 15 posts

Joined: Dec 1999

Thanks, that works. Is there a Javascript code that would allow me to refer to another page to get the information from another JavaScript?

[This message has been edited by randygordjr (edited 14 December 1999).]

John Pollock's picture

He has: 628 posts

Joined: Mar 1999

You could use an external .js file, see:

http://www.pageresource.com/jscript/jxtern.htm

for more on how to make the .js file work.

They have: 15 posts

Joined: Dec 1999

That works. However, I only want the user to enter the data once while on the page.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.