Forum Moderators: open
I have a small .css for text/font stuff. Up until now
I had bgcolor and font color in there. I also use
frames.... :¦
I moded up a bg color form changer into 4 form drops
that change bgcolor, font color, active and visited
link colors. How ever, as noted I use 3 frames.
The dilemma is how is it possible to float variables
derived from frame #2 that has the 4 color form change
functs to mod the color schemes in the sibling and
parent windows in the other 2 frames using a .css
function in the .css file.
Is it even remotely feasible to do so.
Im not a code wizard by any means, the color changes
were all used by DOM calls. I do how ever need a bit
of help in getting this to fit right.
Much Thanks in Advance
~Kell
Yes, it is possible, as long as the two pages are on the same domain.
As an example... To get the title of the parent document you would do something like this:
alert(parent.document.title);
You can also use the frame names. Say that you have a frame named "foo". You can access the title of that document by doing:
alert(foo.document.title);
To access/modify other information you would use code in a similar manner.