PDA

View Full Version : IFrame Targets and to open in the same window when clicking a external link within a



JoeComins
02-07-2005, 11:46 AM
when theres an iframe and theres a link within it which lead out of the page, how can u make it so the new page appears within the iframe?


ty

html

iRoss
02-07-2005, 01:45 PM
If you want the page to appear inside the frame you already using just use a usual href link :)

Homesrfan
02-07-2005, 01:47 PM
Yeah, you just make it a usual link and it will appear in the iframe in which you put it in.

JoeComins
02-07-2005, 01:51 PM
but ive got it as theres another page from an external site there, and theres links from there

iRoss
02-07-2005, 01:53 PM
Huh? Explain in more detail.

JoeComins
02-07-2005, 01:55 PM
rite.
ive got a iframe with another site it but when i click the links in the iframe which has got another site in it goes into a full screen instead of staying or loading in the iframe

BlueTails
02-07-2005, 01:57 PM
Your IFrame Isnt Proper

iRoss
02-07-2005, 02:03 PM
Make sure you just have a regular link e.g <a href="http://www.habbox.com">Link</a>

JoeComins
02-07-2005, 02:07 PM
but the site that ive got a iframe to isn't mine and links comming from it also want to appear in the iframe

Mentor
02-07-2005, 03:25 PM
Ok, im reading this. You have a page in an ifraim, but you want it to not open a link you clcik on the page in side that ifraim, but in ether a new window, or change the entire page

Again targeting comes in to play

set the target to _blank for a new window

or to _top to chnage the main window your in.



<a href="link" target="_blank"> link text </a>


that help?

JoeComins
02-07-2005, 03:27 PM
thts perfect.

tht is what i meant from the start

thkx mentor

Want to hide these adverts? Register an account for free!