Digital Point Forums
San Diego Models

Go Back   Digital Point Forums > Design & Development > Programming > PHP
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old May 8th 2008, 4:15 pm
Th3Boss
Guest
 
Posts: n/a
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>
Reply With Quote
  #2  
Old May 8th 2008, 7:53 pm
bokiatenxi bokiatenxi is offline
Peon
 
Join Date: Mar 2008
Location: Philippines
Posts: 27
bokiatenxi is on a distinguished road
first of all, why are you using frames???

I dont know if its possible to redirect the whole page when someone clicks on a link inside a frame, bear in mind that frames work separately from each other, imagine that having 3 frames in a page is like having 3 browsers integrated in one page, they are together but they all work independently. I suggest using includes in your pages instead of frames.

but if you really want to stick to frames, which again I do not suggest, you can make the link from the header to redirect and appear on the middle frame by using the target attribute of a <a> tag

<a href='newpage.html' target='midFrame'> Header Link </a>

for your other question, about showing the footer after someone scrolls down, I dont think thats possible, what you can do is add the footer on the same frame as the middle frame.
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to cry at this fate. Plz help.Plz help.Plz help. bubaipal SEO 39 Nov 12th 2009 4:59 pm
Plz plz tell me how to view GOOGLE ads in IOWA Claira Pay Per Click Advertising 0 May 8th 2008 4:18 am
Plz Plz Review My New Image & Video hosting site >>>TO><IC<<< Websites 21 Apr 20th 2008 3:21 am
Need urgent help - financial issues - plz plz! Rishimac General Business 4 Aug 17th 2007 7:56 am
DiamondPenny.com plz plz plz appraise!!!!!!!!!!!!!!!! lybrian1 Appraisals 4 Aug 1st 2007 4:11 am


All times are GMT -8. The time now is 7:42 pm.