Help - Search - Members - Calendar
Full Version: Iframes in Div?
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
Lightner
i belive i have seen someone talk about using iframes without having to image slice it, and just div the location and input the ifram page... anyone know exactly what to do? i dont wanna guess....
whomps


I'm pretty sure that's it. blink.gif
Lightner
ill test out my iframe on it, but dont close this topic yet...

//edit//

uhh.... when i use that code i just get a empty white box... im gona mess around with it... but if u know what to do telllll lol

sorrry about this double post but i need to bump this up so u know i edited.... SRY

//edit//

actually i got the box to work... but when i made links the WHOLE thing changed... the whole page... how do i fix that?
ChasingLife87
when you add the link, do it this way:

CODE
<a href="url here" target="name of iframe">blah</a>


and when you do the iframe, do it like this:

CODE
<iframe name="name of iframe" src="url"></iframe>


and that goes inside your div, like x_angawhomps said.

Hope that helps!!

edit//
if you do want the entire page to change when you insert a link, use this code:

CODE
<a href="url here" target="_blank">blah</a>

This is useful for having a link inside your frame that you want to open out of the frame.
Lightner
OMG TY!!!! I LUV U CHASING LIFE!!!!!!!!!!! jk lol ty soo much ok someone can close this ^_^
mona lisa
QUOTE(Lightner @ Jun 11 2005, 9:47 PM)
ok someone can close this ^_^
*

Topic closed
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.