Hello -
Newby here with no javascript knowledge....would really appreciate any help!
My site utilizes a css styleswitcher. I have started experimenting with using Iframes on the site that call to the same current stylesheet. The style switch on the iframe obviously only works if I can reload the Iframe after a switch. After reading all your posts, I am sure this is really simple - but hey I am a newby!
So here is the html that swaps styles:
<a href="#" onclick="setActiveStyleSheet('green'); return false;">Green</a>
<a href="#" onclick="setActiveStyleSheet('red'); return false;">Red</a>
What can I do to refresh or reload the iframe on the page so the content file of the iframe also reflects the styleswap?
Thanks...
G
Newby here with no javascript knowledge....would really appreciate any help!
My site utilizes a css styleswitcher. I have started experimenting with using Iframes on the site that call to the same current stylesheet. The style switch on the iframe obviously only works if I can reload the Iframe after a switch. After reading all your posts, I am sure this is really simple - but hey I am a newby!
So here is the html that swaps styles:
<a href="#" onclick="setActiveStyleSheet('green'); return false;">Green</a>
<a href="#" onclick="setActiveStyleSheet('red'); return false;">Red</a>
What can I do to refresh or reload the iframe on the page so the content file of the iframe also reflects the styleswap?
Thanks...
G