Jump to content

Archived

This topic is now archived and is closed to further replies.

jasonc

using frames would enable me to load links in to a frame and not the whole page.

Recommended Posts

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>

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 red

Or 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]

Share this post


Link to post
Share on other sites
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 red

Or 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]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.