Unstoppable Domains

Frames help plz

Spacemail by SpaceshipSpacemail by Spaceship
Watch

Th3Boss

You're Fired!Established Member
Impact
14
ok basicly what im trying to do is get the header of my site on top, then the framed affiliate link and then once some1 scrolls to the bottom of that framed page id like the footer to be displayed, currently it shows the header and footer all the time, i dont want the footer to show unless some1 scrolls to the bottom.

also right now when some1 clicks a link on the header frame, it just loads that link in the header, how can i get it so that if they click that link it will take them to that site instead of that site just being in the header frame?


hope that makes sense, anyways heres what i got so far

PHP:
<FRAMESET rows="15%, 65%, 17%" border="0">
<title>title</title>
<frame src="headertop.php" name="mainFrame" scrolling="no" noresize>
<frame src="framedpage.com" name="midFrame" scrolling="verticle" noresize>
<frame src="footerbottom.php" name="footerFrame" scrolling="no" noresize>
</frameset>

<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them. <a href="framedpage.com">Click here to visit the link without frames</a></p>
</body>
</noframes>
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
you have to target the links to the frame you want using the "target" frame attribute.
 
0
•••
something like this:
Code:
<FRAMESET rows="15%, 65%, 17%" border="0">
<title>title</title>
<frame src="headertop.php" name="mainFrame" scrolling="No" noresize target="midFrame">
<frame src="framedpage.com" name="midFrame" scrolling="verticle" noresize>
<frame src="footerbottom.php" name="footerFrame" scrolling="no" noresize>
</frameset>

<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them. <a href="framedpage.com">Click here to visit the link without frames</a></p>
</body>
</noframes>
 
0
•••
tryed that and when i click a link in the header it just refreshes the header

feel free to msg me on any of the IM clients listed in my profile or PM me, realy need help with this.

weblord said:
something like this:
Code:
<FRAMESET rows="15%, 65%, 17%" border="0">
<title>title</title>
<frame src="headertop.php" name="mainFrame" scrolling="No" noresize target="midFrame">
<frame src="framedpage.com" name="midFrame" scrolling="verticle" noresize>
<frame src="footerbottom.php" name="footerFrame" scrolling="no" noresize>
</frameset>

<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them. <a href="framedpage.com">Click here to visit the link without frames</a></p>
</body>
</noframes>
 
Last edited:
0
•••
rofl. the code's a mess but this should work... and spend an hour or two and learn the basics! :p

Code:
<!-- title tag belongs in head tag -->
<head>
<title>title</title>
</head>
<FRAMESET rows="15%, 65%, 17%" border="0">
  <frame src="headertop.php" name="mainFrame" scrolling="no" noresize target="midFrame">
  <!-- you put framedpage.com... i'm assuming you meant .php -->
  <!-- "verticle" is not a possible value for the attribute "scrolling," and besides, it's spelt "vertical" -->
  <frame name="midFrame" src="framedpage.php" scrolling="auto" noresize target="_self">
  <frame src="footerbottom.php" name="footerFrame" scrolling="no" noresize>
</frameset>
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them. <a href="framedpage.com">Click here to visit the link without frames</a></p>
</body>
</noframes>
 
0
•••
yeah, im no pro at coding lol and im still learning it

and no its no .php as the framed page, the framed page is another website, an affiliate page

but i copied yr post exactly and tryed it that way in firefox and IE, and still doesnt work right, it when i click on the homepage link in the header frame it just reloads the frame instead of taking me to the homepage

and is it posible to not show the footer frame unless scroll to the bottom of the mid frame?
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back