Hello. I have built a basic website that contains an iframe in the middle, called "iframe1". In this iframe I wish to load an external message board from proboards.com. In my code I can easily do this by making a button or hyper-link with the href="httproboards.com/myforums" and the target="iframe1"
I have also been trying things like
but i have had no luck so far in changing the target without the aid of firebug.
Here is the code that needs to be changed. the target="_top" needs to be altered somehow to target="iframe1" as soon as the frame has finished loading the messageboards.
Heres a screenshot that may help, as you can see I have easily changed the target of the link to="iframe1" using firebug, but I need to hardcode a script in my website that does this automatically after the iframe has loaded the forums page.Code:<p><font size="2"> Welcome Guest. Please <a href="/index.cgi?action=login" target="_top">Login</a> or <a href="/index.cgi?action=register" target="_top">Register</a>.<br/>Nov 19, 2010, 7:23pm </font><br /></p>
Thanks to for any help.