Call functions from frames?
Hi,
I have devided my window in frames. I wrote functions in main document of top window. Is there a way to execute them with the buttons in the frames?
I tried: top.document.location.set_cookie("color","red");
Does not seem to be correct.
Thanks in advance for any suggestions.
Rudo-
Use parent.top.set_cookie("color","red");
or
parent.frames[0].set_cookie("color","red");
frames[0] is the frames array index staring with 0 to the number of frames in the frameset.
-BIll
Last edited by cyber1; 11-30-2005 at 06:43 AM .
Hi Bill,
Thank you very much.
Use parent.top.set_cookie("color","red"); is the code I need.
I appreciate your help.
Rudo
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks