|
Subject:
|
javascript and frames
|
|
Posted By:
|
ihatejava
|
Post Date:
|
1/24/2006 11:39:36 AM
|
I have a javascript made. I have buttons (drop down affect) menus. The javascript has 3 forms and 3 menus.
I want to have a menus in one frame and have the affect of the menus occur within another frame. How do I do this?
I have a javascript that have the ability to change text size, background color and text color. It does that.
But I want to put the buttons (onclick) into one frame and have the ability to change the color of another frame. I need help.... and I'm not a computer programmer or anything.
|
|
Reply By:
|
vinod_yadav1919
|
Reply Date:
|
1/25/2006 1:28:12 AM
|
HI ihatejava!! onclick of the buttonin one frame use If you have frame name parent.secondframe.document.bgColor="red" or parent.frames[1].document.bgColor="red" where first frame is access by index 0 ,secondframe is by 1 etc
hope this will help you
Cheers :)
vinod
|