Jump to content


Photo

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


  • Please log in to reply
3 replies to this topic

#1 jasonc

jasonc
  • Members
  • PipPipPip
  • Advanced Member
  • 841 posts

Posted 31 March 2006 - 11:05 AM

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.../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>



#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 31 March 2006 - 12:16 PM

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.

#3 Poi

Poi
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 31 March 2006 - 01:30 PM

Try this:

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


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


#4 jasonc

jasonc
  • Members
  • PipPipPip
  • Advanced Member
  • 841 posts

Posted 02 April 2006 - 01:58 PM

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) View Post[/div][div class=\'quotemain\'][!--quotec--]
Try this:

<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>
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:
<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>
[/quote]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users