hey all
i'm new to these forums and had a quick question i was hoping someone could help me out with. i'll try to be as clear as possible.
basically what i have is, when the site i am working on is opened, an iframe that looks something like this:
basically the deal is that when this site is opened, the iframe is filled with a blank html file and has a frameborder set to "0" so that the frame appears invisible, even though obviously it is still there. next, i have a script that, when a link is clicked, makes the border of the frame visible and fills it with the contents of an actual page of my site...here's what i mean:
up until this point everything is working fine...next comes the problem...i want to have an additional link, this time
within the iframe (meaning within contact.html) that, when clicked, fills the contents of the iframe back with blank.html and sets the border back to 0...this is where i'm having problems...here's what i have:
in case it isn't obvious at first, the effect is to make the border visible when the first link is clicked, and make it invisible when the link within the iframe is clicked...when the link is clicked, blank.html loads in the iframe just fine, but the border remains...i can't get rid of it...hopefully i explained that clearly...if its easier to think of it this way, basically i just need help being able to make the frameborder invisible by clicking a link within the iframe using CSS...sorry for the long-winded explanation...any suggestions?
thanks guys-