Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Making A Refresh Link On Your Website.


18 replies to this topic

#11 jlhaslip

    Insert Custom Title Here

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,040 posts
  • Gender:Not Telling
  • Location:Linux, DOS and Windows…the good, the bad and the ugly
  • myCENT:81.07
  • Spam Patrol

Posted 21 November 2005 - 05:10 PM

calkid,
If you haven't seen this topic yet, then here it is. A discussion about refreshing a page automatically by using timers. It appears it can be done via the body tag or meta tag. Check it out.

#12 round

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 463 posts

Posted 13 December 2005 - 05:28 AM

I would just stick to meta tag refresh option. It's the one that all browsers recognise but would like to mention just one thing. I hate them, and i don't believe that people stick around on a site if it keeps refreshes, or reloads, especially if it's really heavy. I'm sure most things can be acomplished in a much better way.round

#13 kjh

    Newbie

  • Kontributors
  • Pip
  • 1 posts

Posted 22 June 2006 - 12:02 AM

very helpful at IFrames! Thank you for this refresh tip!!

#14 Plenoptic

    Trap Double Mocha Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,310 posts
  • Gender:Male
  • Location:That one place over there...
  • Interests:baseball, webdesign, computer programming, more to be added later
  • myCENT:24.66

Posted 22 June 2006 - 01:29 AM

Thats a nice little tool for a page that is always changing like a forum and what not. I don't really see a need to use it though considering most web browsers have a refresh button on it but I guess if you can use that to refresh a page after hitting a submit button or something that would be helpful. I'm sure there are more uses I can't think of. Nice tip.

#15 keep-in-touch

    Newbie

  • Kontributors
  • Pip
  • 2 posts

Posted 27 July 2006 - 11:24 PM

Hi all , I'm a binger programmer in asp.net, I want to make .jpg pictures change every 3 seconds, I have used AdRotator control and XML code. But I have to add some code to the page to make auto- refresh for the web page so the pictures will rotate. Can you help me please with this.

or is there any way to write a code which it makes the pictures moves by it self every 3 seconds?
thank you
the XML code was this , but even when i make refresh it may change and some time it will need me to make several refresh to be changed
<?xml version="1.0" encoding="utf-8" ?> 
<Advertisements xmlns="http://schemas.microsoft.com/AspNet/AdRotator-Schedule-File">
<Ad>
<AlternateText>Picture1</AlternateText>
<ImageUrl>C:\Inetpub\wwwroot\zahran\bin\every thing\bedroom\222.jpg</ImageUrl>
<Impressions>10</Impressions>
<Keyword>Room1</Keyword>
<NavigateUrl></NavigateUrl> 
</Ad>
<Ad>
<AlternateText>Picture2</AlternateText>
<ImageUrl>C:\Inetpub\wwwroot\zahran\bin\every thing\bedroom\333.jpg</ImageUrl>
<Impressions>20</Impressions>
<Keyword>Room2</Keyword>
<NavigateUrl></NavigateUrl> 
</Ad>
<Ad>
<AlternateText>Picture3</AlternateText>
<ImageUrl>C:\Inetpub\wwwroot\zahran\bin\every thing\bedroom\444.jpg</ImageUrl>
<Impressions>30</Impressions>
<Keyword>Room3</Keyword>
<NavigateUrl></NavigateUrl> 
</Ad>

</Advertisements>
Notice from jlhaslip:
added code tags


#16 andrewsmithy

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 19 posts
  • Location:United States

Posted 23 August 2006 - 05:28 AM

You could have a page repeatedly update by adding a meta-refresh. If you place the following tag in the <head> tag:

<meta http-equiv="refresh" content="numberOfSeconds" />

It will refresh every numberOfSeconds. This is a way show users a constantly updating page, although AJAX would be a better way to do that.

#17 RecordSites

    Newbie

  • Kontributors
  • Pip
  • 9 posts

Posted 28 September 2006 - 04:18 PM

Do not forget that some (javascript) refresh methods will also reload images, this costs bandwith.
I thought a javascript 'forwarding' to the same page didn't reload images.
like:

location=index.html

#18 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 20 November 2009 - 05:06 AM

hot to get previous insert value???Making A Refresh Link On Your Website.

function view()  {   //if(document.Ragister.Username.Value == "")  //{//    alert("err");  //  return false;}  if(document.Register.Submit.Click)  { var I = document.Ragister.Username.Value;    //alert("err");    document.Register.Username.Value = I;    return true;    }      }

-reply by admin



#19 phatuis

    Newbie [Level 2]

  • Kontributors
  • PipPip
  • 36 posts

Posted 22 November 2009 - 10:29 AM

The code you gave is more advanced, here is an easier code:
<a href="WEBSITE LINK">Refresh</a>

Just link that to the page that it will be shown, and it will refresh the page when clicked, just pure HTML for those just learning :)




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users