View Full Version : not sure where to ask, but very legit question


dookiewuvz
08-16-2006, 05:26 AM
im using image ready to image map a sliced layout.. when you click on the image links, i want it to open in an iframe. i am very familiar w/ iframes and stuff, but im not sure how to make it how i want it.

http://p9.hostingprod.com/@habbonaut.com/index1.html

the first two yellow bars are blank but are linked by using image ready. they open a new window, however i want them to open up in an iframe over the largest grey blog.

note: i havent placed any iframe codes yet.

idk if this belongs under iframes to tables or this or that so please redirect & assist!

THANKS A TON <3

xlilmissjuliex
08-16-2006, 11:54 AM
In the gray area, where you want the content / page to open in [using iframes] add name="FRAME" to you frame code -- so you would have something like:

<frame src="URL" name="FRAME">

Then on your yellow links, in the URL add this: target="FRAME" so then the code should be somewhat like this:

<area shape="rect" coords="100,100,100,100" href="URL_TO_FRAME" target="FRAME">

OR

<a target="FRAME" href="URL_TO_FRAME">TEXT</a>

If you wanted the content to open somewhere else on the page, set the 'name' to anything else. For example FRAME2 or SIDEBAR, or CONTENT, or MAIN, you get the idea? [it doesn't have to be called FRAME]

I hope you get it, if not, click here (http://www.angelfire.com/nm/thehtmlsource/tutors/frames/targetframe.html).

dookiewuvz
08-17-2006, 03:59 AM
oH My GOD.

thank you *so* much. it took me a few minutes but i worked it out.

for anyone else trying to achieve the same thing, the quotation marks are VERY important. (it took me a while to figure out why it wasnt working right away, i was missing a quotation mark!)

again, thanksssssss so much!