View Full Version : Targeting Links


fruity_crush
03-26-2005, 07:33 PM
I've had some trouble before with this, and now it's happened again. From what I can see my coding is perfect, and when I have used it before, it's worked fine.
Yesterday, all my links were targeted fine, but today (I haven't touched them at all), they all open in a new window instead of targeting.

I used this code for my iframes:

<html>
<head>
<title>__________________Deep Secret</title>

<img src="http://geocities.com/delicate_secrets/paris1.png" style="position:absolute; left:0; top:0">

<iframe frameborder="0" border=0 width=434 height=5000 src="http://geocities.com/delicate_secrets/blog.html" name="main"
style="position:absolute; left:5; top:610" scrolling=no allowtransparency="true"></iframe>

<iframe frameborder="0" border=0 width=255 height=5000 src="http://geocities.com/delicate_secrets/left.html" name="left" style="position:absolute; left:444; top:610" scrolling=no allowtransparency="true"></iframe>

</head>
<body>

<body background="http://img.photobucket.com/albums/v729/charmbracelet123/Layouts/parisbg.png" bg properties"fixed">

</body>
</html>

And this code for my 'targeted' links:

<a href="http://geocities.com/delicate_secrets/Site/domain.html" target="main"><b>Site.html</b></a><br>

<a href="http://geocities.com/delicate_secrets/Me/me.html" target="main"><b>Girl.html</b></a><br>

<a href="http://geocities.com/delicate_secrets/You/you.html" target="main"><b>You.html</b></a><br>

<a href="http://geocities.com/delicate_secrets/Exits/exits.html" target="main"><b>Exits.html</b></a><br>

<a href="http://geocities.com/delicate_secrets/blog.html" target="main"><b>Blog.html</b></a><br>


If you could try and find out what's wrong or just tell me if it's working for you, that would be great!

http://geocities.com/delicate_secrets is the link. :D

pb&j
03-26-2005, 07:45 PM
1. you will need to fix up your main page coding to this...


<html>
<head>
<title>__________________Deep Secret</title>
</head>

<body background="http://img.photobucket.com/albums/v729/charmbracelet123/Layouts/parisbg.png" bg properties="fixed">

<img src="http://geocities.com/delicate_secrets/paris1.png" style="position:absolute; left:0px; top:0px;">

<iframe frameborder="0" border="0" width="434" height="5000" src="http://geocities.com/delicate_secrets/blog.html" name="main"
style="position:absolute; left:5px; top:610px;" scrolling="no" allowtransparency="true"></iframe>

<iframe frameborder="0" border="0" width="255" height="5000" src="http://geocities.com/delicate_secrets/left.html" name="left" style="position:absolute; left:444px; top:610px;" scrolling="no" allowtransparency="true"></iframe>

</body>
</html>

if that does not fix your problem, then you might have to rename your iframe to something different from "main". that name might be being used by the geocities advertisement or something. (adjust your link coding to match afterwards too of course.).

fruity_crush
03-26-2005, 09:48 PM
I tried both options and neither of them worked. Can anyone find out why this is happening?

fruity_crush
03-26-2005, 10:55 PM
Sorry for the double post. >_< I just tried image mapping and even that didn't work. So, right now I am at my wit's end. I don't wanna use popups again because they sucked. All the targeted links work fine except the ones in the left iframe.

Sheila
03-27-2005, 07:55 AM
I don't know if this has anything to do with it, but your missing the....

<html> </html> and <body> </body> tags on your left.html page

fruity_crush
03-27-2005, 04:56 PM
Thanks. I figured out the problem now, but thanks anyway.