• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

HTML question... how do I make a frame scroll with the user?

Status
Not open for further replies.

goodcow

Member
All the pages on my site fetch an ad page via a php include tag into another cell... my question is, for the longer pages, how do I make the ad page follow the user as they scroll down? And yeah, it's annoying to me too, but if I ever want to actually have a huge Sega multimedia archive, I need revenue from ad clicks.

Example page:
http://www.goodcowfilms.com/farm/games/index.htm
 

calder

Member
From my wife, who's in the other room...

"Set the table height to 100%, and in the content table cell, wrap the content in either an iframe or a scrolling DIV. That would be one way to fix what you have now. There are more standards compliant ways to set up your page, but if that's not a concern then it should work."
 
Status
Not open for further replies.
Top Bottom