View Full Version : Simple frames question...


StrangeEyeAm
11-19-2005, 10:07 PM
Heh, well, simple for some people!

I'm making a role-playing game awards site. Just a very basic layout, etc. There just aren't enough role-playing game awards sites out there! Sooo...

Here...

http://www.geocities.com/htawards

My problem is...

I want ALL of the links to open up in the bottom. All of the geocities pages do so. I targeted the boards2go the EXACT same way... but they either open up all the way in the same window and make the top part go away... or they open in a new window. Does anyone know what the problem is?

pb&j
11-20-2005, 03:23 AM
1. your NAME values in the frame page setup should not have the .html in it.
example...
<frame src="main.html" name="main.html">
that .html part should be deleted.

once that is done, you will need to adjust your TARGET values of your links to show the new value too.

2. your first boards2go link has a target value of SAME which is wrong. after your fix (step 1) all of your links should have a target value of "main". they should work after that UNLESS the boards2go site has a special script on it that will break out of frames automatically (which is quite possible.). in that case, you may be out of luck.

StrangeEyeAm
11-20-2005, 04:28 AM
I removed the .html from each of them, but that didn't fix the problem. It still opens up in the same window, but it makes my frames go away, and it's just at the board. I need the board to open up inside of the frames. :-(

Hehe, and as you can probably already tell, I'm HTML stupid, so I'm not quite sure what you mean by... adjusting the target values? What does that mean?

I know that there is a way to get boards to go to open up in the frames, but I just can't figure out how.

pb&j
11-20-2005, 04:47 PM
your online example still shows the same as before, no changes yet.

basically, your first page will be like this...

<html>
<head>
<title>Horse Territory Awards</title>
</head>
<frameset rows=20%,80% border=0 frameborder=0 framespacing=0>
<frame src="top.html" name="top" scrolling=no noresize>
<frame src="main.html" name="main">
</frameset>
</html>

your top page will look like this...

<html><head>
<LINK REL=StyleSheet HREF="style.css" TYPE="text/css">
</head><body>
<center>
<a href="main.html" target="main">Main</a> |
<a href="rules.html" target="main">Rules</a> |
<a href="codes.html" target="main">Codes</a> |
<A HREF="http://b4.boards2go.com/boards/board.cgi?user=HTANominate" target="main">Nominate</A> |
<a href="nominees.html" target="main">Nominees</a> |
<s>Vote</s> |
<A HREF="http://b4.boards2go.com/boards/board.cgi?user=HTAChat" target="main">Chat</A> |
<A HREF="http://b4.boards2go.com/boards/board.cgi?user=HTAAds" target="main">Advertise</A>
</center>
</body></html>

but as mentioned before, some sites have a special "do not appear in frames" coding in them. boards2go might be like that. check their HELP or FORUM area for some ideas perhaps.

StrangeEyeAm
11-20-2005, 07:09 PM
:-( I guess it does have a special code. I know there's a way around it... because my other website is like that. Hmmm... I'll just have to figure it out somehow!

Thanks for your help!