I added my #bottom anchor to the footer.php page and it seems to work now in IE. Thanks for all of your suggestions. You lead me down the right path!
2 2005-03-17 13:41
Re: refresh to bottom of topic page (11 replies, posted in Programming)
I have tried
<meta http-equiv="refresh" content="10" URL="viewtopic.php?id=<?php echo $cur_topic['topic_id']; ?>#bottom" />
Tried both ['topic_id'] and ['forum_id']
and
<meta http-equiv="refresh" content="10" URL="viewforum.php?id=<?php echo $cur_topic['forum_id']#bottom" ?>
Tried both ['topic_id'] and ['forum_id']
They both refresh to the top. I added
<a name="bottom"></a>
to the bottom of the page. Still refreshed to the top.
Thanks,
Nett
3 2005-03-17 00:56
Re: refresh to bottom of topic page (11 replies, posted in Programming)
It refreshes every 10 seconds ... but it goes to the top of the page, not the bottom.
-Nett
4 2005-03-15 19:54
Re: refresh to bottom of topic page (11 replies, posted in Programming)
I still cannot get the page to refresh to the bottom of the page. I have included the line:
<meta http-equiv="refresh" content="10" URL="viewforum.php?id=<?php echo $cur_topic['forum_id'] #bottom" ?>
and at the bottom put:
<a name="bottom"></a>
Any suggestions would be a great help.
Nett
5 2005-02-11 20:40
Re: refresh to bottom of topic page (11 replies, posted in Programming)
I thought I did. I am a bit of a noob to this. Would
<a href="#bottom">skip to the bottom
</a>
work as an anchor?
-Nett
6 2005-02-11 20:14
Re: refresh to bottom of topic page (11 replies, posted in Programming)
I modified the refresh code to:
<meta http-equiv="refresh" content="30" URL="#bottom">
But it is still jumping to the top when the page refreshes. I added the following code as an anchor.
<a href="#bottom">skip to the bottom
</a>
I included the text "skip to the bottom" so I can more easily see where it is on the page. It shows up as a link, but when I click on it, nothing happens.
Nett
7 2005-02-10 18:29
Topic: refresh to bottom of topic page (11 replies, posted in Programming)
I added the line:
<meta http-equiv="refresh" content="25">
to the viewtopic.php page to auto refresh every 25 seconds. It is working. The only problem is that the page refreshes (using IE) to the top of the page, making the user scroll down to the bottom to see the last post. How can I make the refresh go to the bottom of the page?
Any assistance will be greatly appreciated.
Thanks
Nett