View Full Version : Changing the visibility of an <iframe>
Ive been stressing about how to do this for about a week now, and i must admit im not very good regarding dhtml/js. Can anyone please suggest (possibly with an example) of how i can make a link that changes the visibility property of an iframe called 'images' to visible, and another one (positioned inside the iframe) to close it, or make it invisible. Thanks.
:thumbsup:
I'm not quite sure I understand but if you want to change the content of an iframe from say blue (#000080) to yellow (#ffff80) then my way (with little js knowledge), would be to simply use two separate pages with different css attributes.
<A href="name of page to load in iframe" target ="name of iframe">
I hope I am right here; this suggestion will work even if .js is turned off by the user.
hth
DougBTX
07-28-2003, 02:46 PM
Try adapting this code:
http://forums.devshed.com/t35750/s.html
Douglas
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.