View Full Version : Targeting Targeting!!
twitchman 04-28-2004, 01:32 AM Im sooo lost! save me please!!! okay okay im having trouble targetingon my iframe. someone tell me please..you can take a look at my page and what I have already..
http://www.angelfire.com/rpg2/elsinore
please look and tell me what im doing wrong, see I know how to target from the main page into the frame, but I don't know how to do the opposite!
look at this HTML I am using to target and tell me what to put into it or if im just usingit wrongly.and tell me what im doing wrong.
<a href="http://www.metalmulisha.com" target="inlineframe">Metal Mulisha</a>
as you see I know where to put the site I want to hook to and the name, yet I don't know what to replace the "inlineframe" part. So someone save me and tell me what I need to put in there..........remeber that it is a iframe. Im not sure what the difference is between the two but there must be some small difference and that is what is holding me back
salomeyasobko 04-28-2004, 01:35 AM i'm sort of confused about what you mean when you say: please look and tell me what im doing wrong, see I know how to target from the main page into the frame, but I don't know how to do the opposite!but i think i might know what the problem is.. so in your link code you have target="inlineframe" but that won't work unless your iframe is named "inlineframe".. so, in your iframe code, you have to include: name="inlineframe" and then the code will work.
if that's not what you want, then can you explain it abit more? thanks. :D
kittycat 04-28-2004, 01:52 AM target="_blank"
Open page in a new window
target="_top"
Open page in the same window, out of the iframe.
xplicit 491chic 04-28-2004, 02:07 AM i have the same problem as twitch. i didnt understand the thread kitty kat left. can you explain?
kittycat 04-28-2004, 02:20 AM If you want a link to open in a new window separate from your site, use the target=blank thing. You add that to a link the same way as you target to the iframe.
target=top works the same way. When you use that, the link will show up in the current window, on top of your frame and page.
xplicit 491chic 04-28-2004, 02:51 AM but how would you target the links to the iframe itself? as in, targeting between frames?
twitchman 04-28-2004, 03:14 AM its still not working, go look at my page, I want it to pop up in the other page without popping up in a new window or taking over the whole window. That is my problem now, see go to my page and look at it and you might see what I mean
http://www.angelfire.com/rpg2/elsinore
then go to this site and that is what I want it to do.
http://www.geocities.com/nexthorizonrpg
note: I want to click on the links in the frame and have them pop up next to the frame in the opening, other wise the links are in the left frame and the text ect...ect..(whatever the link is coneccted to.) to pop up in the right frame. hopefully someone will understand what my problem is.
xplicit 491chic 04-28-2004, 03:35 AM i dont think thats iframe, i think ur referring to a regular frame, whos tag would be:
<frameset cols="20%,80%">
<frame src="url" name="urlname">
<frame src="url2" name="url2name">
</frameset>
where the first url would be the page of the links you want, and the second url would be the content of the url. the percentage on top is the amount of space that frame would take up in the window respectively.
this is how i used to layout my site, and thats how the site u linked is pretty much like. try that tag and see if ur good. hopefully it is~!
twitchman 04-28-2004, 04:03 AM see, theHTML im useing for this page I don't want to get rid of becuase Its tooken months to make it work, so imstaying with this, here I'll show you the HTML im useing for the page, tell me if anyone understands it and if they can tell me what is wrong, thanks
<html>
<head>
<title>My Page</title>
</head>
<body bgcolor="#000000">
<div align="left">
<IFRAME name="inlineframe" src="http://www.angelfire.com/rpg2/elsinore/left.html" width=150 height=900 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME>
</div>
</body>
</html>
xplicit 491chic 04-28-2004, 04:27 AM try switching the place of the name and the src. that might be the problem
the coding for your main site (minus the bad advertising coding) looks like this...
<html>
<head>
<title></title>
</head>
<body bgcolor="#000000" text="#808080" link="#808080" alink="#ffc0cd" vlink="#808080">
<basefont size="3">
<html>
<head>
<title>My Page</title>
</head>
<body bgcolor="#000000">
<div align="left">
<IFRAME name="inlineframe" src="http://www.angelfire.com/rpg2/elsinore/left.html" width=150 height=900 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto></IFRAME>
</div>
</body>
</html>
<p>
</body>
</html>
there are a couple things wrong with this so far.
1. there is a set of basic tags surrounding a full set of tags... that is there are two html sets, two body sets, and so forth... it looks like you entered html coding into one of those "easy page maker" editors.
2. you have an iframe and nothing else on your page. normally, if you want to use an iframe, there would be links on the "normal" area of your webpage that link new pages to load into the iframe area. kinda like this...
<html>
<head>
<title>My Page</title>
</head>
<body bgcolor="#000000">
<table><tr><td valign="top">
<a href="http://www.metalmulisha.com" target="inlineframe">metal mulisha</a>
</td><td>
<IFRAME name="inlineframe" src="blank.html" width="400" height="900"></IFRAME>
</td></tr></table>
</body>
</html>
check the TARGET in the link and the NAME in the iframe tag. that tells the browser what link to use and where to open it into.
that above example is a very slimmed down one. perhaps it can be a starting point for ya though.
|