Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
09-26-2008, 11:12 PM #1
- Join Date
- Nov 2006
- Thanked 0 Times in 0 Posts
Iframe stylesheet parent/child issue.
Pretty new to the forums this is my first question so be kind
Its an easy one I'm sure for you guys.
I have two buttons that will be calling a different style sheet each. When one is called I want the other disappear and vice versa. But, I'm have issues even getting the style sheets to switch. This is what I have so far:
This is in an iframe called frDocViewer by the way. So basically, what I am trying to say here is: "if you click on the collapsed button in the parent go into the iframe and change the style in there." I am way off and I need your help.
var collapsed = document.getElementById("frDocViewer");