jasonc Posted March 31, 2006 Share Posted March 31, 2006 i wish to have a blogger scroll across the screen but when a link is clicked on my site the current scroll bar marque does a refresh and starts scrolling from the start again. i would like to have it continue without intruption.using frames would enable me to load links in to a frame and not the whole page.i have tried the following and it did not work!any ideas?thanks<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><frameset rows="*,*,*" cols="*" framespacing="0"" frameborder="NO" border="0"><frame src="header.php" name="topFrame" width="100%" height="100%"><frame src="index.php" name="mainFrame" width="100%" height="100%"><frame src="footer.php" name="bottomFrame" width="100%" height="100%"></frameset><noframes><body></body></noframes></html> Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted March 31, 2006 Share Posted March 31, 2006 Have you got the links in the frame? If you do then use target="_parent" in your anchor (<a>) tags.If a user clicks a link within the frame the whole page, not just the frame got to the linked page.Could you explain a bit more please as I dont understand your question. Quote Link to comment Share on other sites More sharing options...
Poi Posted March 31, 2006 Share Posted March 31, 2006 Try this:[code]<html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><iframe src="header.php" name="topFrame" width="100%" height="100%"><iframe src="index.php" name="mainFrame" width="100%" height="100%"><iframe src="footer.php" name="bottomFrame" width="100%" height="100%"><noframes><body></body></noframes></html>[/code]Then when you have a link IN a frame make it look like "<a target="[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]mainframe[!--colorc--][/span][!--/colorc--]" href="[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]url[!--colorc--][/span][!--/colorc--]">[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]Your text[!--colorc--][/span][!--/colorc--]</a>"And edit the parts in redOr simply use php:[code]<html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><?php include 'header.php';include 'index.php';include 'footer.php';?><noframes><body></body></noframes></html>[/code] Quote Link to comment Share on other sites More sharing options...
jasonc Posted April 2, 2006 Author Share Posted April 2, 2006 i can not use the following code as this is what i use at the moment.the header file has the scroller and this need to be static and not be reloaded as the scroller restarts.any other ideas?thanks[!--quoteo(post=360347:date=Mar 31 2006, 02:30 PM:name=Poi)--][div class=\'quotetop\']QUOTE(Poi @ Mar 31 2006, 02:30 PM) [snapback]360347[/snapback][/div][div class=\'quotemain\'][!--quotec--]Try this:[code]<html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><iframe src="header.php" name="topFrame" width="100%" height="100%"><iframe src="index.php" name="mainFrame" width="100%" height="100%"><iframe src="footer.php" name="bottomFrame" width="100%" height="100%"><noframes><body></body></noframes></html>[/code]Then when you have a link IN a frame make it look like "<a target="[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]mainframe[!--colorc--][/span][!--/colorc--]" href="[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]url[!--colorc--][/span][!--/colorc--]">[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]Your text[!--colorc--][/span][!--/colorc--]</a>"And edit the parts in redOr simply use php:[code]<html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><?php include 'header.php';include 'index.php';include 'footer.php';?><noframes><body></body></noframes></html>[/code][/quote] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.