Forum Moderators: open

Message Too Old, No Replies

iframes.

breaking out

         

crystalmm

9:50 am on Jul 30, 2004 (gmt 0)

10+ Year Member



Hi! what code do I put so people wont get traped in the iframe? Thanks :)

musicales

10:14 am on Jul 30, 2004 (gmt 0)

10+ Year Member



put target="_top" in the a href tag

crystalmm

9:32 pm on Jul 30, 2004 (gmt 0)

10+ Year Member



ok thank you :), how do I make my links target to the the iframe? I was wanting to make a iframe show up on all my pages but the wont, I have named the iframe main, and tried targeting my links. I want it to where when people click a link that is on the left like doll's for a exsample then doll's will show inthe iframe on the right? I have tried many tutorials but have failed please help. Thank you again :)

tedster

9:45 pm on Jul 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In your iframe tag, give the iframe a name= attribute.

<iframe name="showit"></iframe>

Then use that name as the argument of your anchor tag's target attribute.

<a href="page.html" target="showit"></a>

crystalmm

10:12 pm on Jul 30, 2004 (gmt 0)

10+ Year Member



ok cool thank you :), here is a test page its nothing now but did it trying to get help for what I am doing wrong on it, please look at it and tell me how to fix it, the iframe will not sow up on all pages, but if you click on the main link, it will take you to the iframe part. and the picture shows up on all iframes how can I stop that from happening? I want a picture background on the outside of the iframes. <SNIP>

[edited by: BlobFisk at 10:06 am (utc) on Aug. 2, 2004]
[edit reason] No URLs please. See the TOS [webmasterworld.com] [/edit]