[advanced search]
16 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 05-08-2008, 03:55 PM   · #1
Th3Boss
You're Fired!
 
Th3Boss's Avatar
 
Name: Josh
Location: Wisconsin
Trader Rating: (31)
Join Date: Oct 2005
Posts: 621
NP$: 241.30 (Donate)
Th3Boss is just really niceTh3Boss is just really niceTh3Boss is just really niceTh3Boss is just really nice
frames help plz

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 Code:
<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>


Please register or log-in into NamePros to hide ads
Th3Boss is offline   Reply With Quote
Old 05-08-2008, 04:55 PM   · #2
shockie
Senior Member
 
shockie's Avatar
 
Trader Rating: (53)
Join Date: Dec 2006
Posts: 2,853
NP$: 1132.20 (Donate)
shockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud of
you have to target the links to the frame you want using the "target" frame attribute.
__________________
- shockie
Name Users - Free Revenue Sharing! Weekly Live Domain Auctions!
Cheap Web Hosting - 99.9%+ Uptime, cPanel, Fantastico, Only $2
[sig space for rent]
shockie is offline   Reply With Quote
Old 05-08-2008, 05:08 PM   · #3
weblord
www.1weblord.com
 
weblord's Avatar
 
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Trader Rating: (202)
Join Date: Dec 2005
Posts: 16,059
NP$: 16001.78 (Donate)
weblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatness
Autism Protect Our Planet
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>
weblord is offline  
  Reply With Quote
Old 05-08-2008, 05:15 PM   · #4
Th3Boss
You're Fired!
 
Th3Boss's Avatar
 
Name: Josh
Location: Wisconsin
Trader Rating: (31)
Join Date: Oct 2005
Posts: 621
NP$: 241.30 (Donate)
Th3Boss is just really niceTh3Boss is just really niceTh3Boss is just really niceTh3Boss is just really nice
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.

Originally Posted by weblord
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 by Th3Boss : 05-08-2008 at 05:23 PM.
Th3Boss is offline   Reply With Quote
Old 05-08-2008, 05:40 PM   · #5
shockie
Senior Member
 
shockie's Avatar
 
Trader Rating: (53)
Join Date: Dec 2006
Posts: 2,853
NP$: 1132.20 (Donate)
shockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud ofshockie has much to be proud of
rofl. the code's a mess but this should work... and spend an hour or two and learn the basics!

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>
__________________
- shockie
Name Users - Free Revenue Sharing! Weekly Live Domain Auctions!
Cheap Web Hosting - 99.9%+ Uptime, cPanel, Fantastico, Only $2
[sig space for rent]
shockie is offline   Reply With Quote
Old 05-08-2008, 05:58 PM   · #6
Th3Boss
You're Fired!
 
Th3Boss's Avatar
 
Name: Josh
Location: Wisconsin
Trader Rating: (31)
Join Date: Oct 2005
Posts: 621
NP$: 241.30 (Donate)
Th3Boss is just really niceTh3Boss is just really niceTh3Boss is just really niceTh3Boss is just really nice
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?
Th3Boss is offline   Reply With Quote
Reply

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
Custom Logo Design Custom Logo Design Custom Logo Design
Advertise your business at NamePros
All times are GMT -7. The time now is 07:44 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0