• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Links in iframes, make them open in new tab?
#1
So I have this iframe that shows the new images uploaded on my imgboard and when you click on the image you get to the thread started with that image, now when I do this when people click on the images the threads open in the iframe...

Is there anyway I can make so that when any link gets clicked the content opens in a new tab?
Hai thar. :3
#2
I think this'll do the job.

In your frame, the one with the images in eg.

[code=html]
<frame src="up_images.html">
[/code]

I'm not sure how your setup is but adding title="blank" to the image should do the trick.

[code=html]
<a href="http://google.co.uk" title="title" alt="alt" target="blank"><img src="pic.png" /> </a>
[/code]
#3
(20-07-2010, 12:01 PM)Mark Wrote: I think this'll do the job.

In your frame, the one with the images in eg.

[code=html]
<frame src="up_images.html">
[/code]

I'm not sure how your setup is but adding title="blank" to the image should do the trick.

[code=html]
<a href="http://google.co.uk" title="title" alt="alt" target="blank"><img src="pic.png" /> </a>
[/code]

Ye, but the links are randomly generated so I can't do that, but whatever I just edited my "generate" code, this thread can be closed now.
Hai thar. :3


Possibly Related Threads…
Thread Author Replies Views Last Post
  Making www_postbit links no follow Mark 0 4,083 20-11-2010, 11:40 PM
Last Post: Mark
  How to edit / add new top links in MyBB [Forum] Mark 0 33,835 25-09-2010, 05:45 PM
Last Post: Mark

Forum Jump: