Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto refresh part of a page
01-19-2009, 06:12 AM
Post: #1
Auto refresh part of a page
May peace be upon eveyone here.

I have ads on my blog and i want them to auto refresh every minute without the whole page being loaded everytime.
Let say
Quote:<script>adsexample</script>
is the code of the ad
With what html code should i wrap the ad code so that the ads auto refreshes every minute without the whole page being loaded?
Thanks
Regards

[Image: sigix4.png]
If you are a student,register on my website
Visit this user's website Find all posts by this user
Quote this message in a reply
01-22-2009, 02:35 PM
Post: #2
RE: Auto refresh part of a page
i donot think that this can be without long php code
Find all posts by this user
Quote this message in a reply
01-23-2009, 06:09 AM
Post: #3
RE: Auto refresh part of a page
Sad

Thanks anyway

[Image: sigix4.png]
If you are a student,register on my website
Visit this user's website Find all posts by this user
Quote this message in a reply
01-23-2009, 08:54 AM
Post: #4
RE: Auto refresh part of a page
why not ask Labrocca he is a great programmer
Find all posts by this user
Quote this message in a reply
01-24-2009, 01:48 AM
Post: #5
RE: Auto refresh part of a page
Admins don't like to be PMed for questions.

[Image: sigix4.png]
If you are a student,register on my website
Visit this user's website Find all posts by this user
Quote this message in a reply
01-25-2009, 11:45 PM
Post: #6
RE: Auto refresh part of a page
Ask Him IN The Support Section He Will answer U When He Is Online May I ask
The Support In Mybb community
Find all posts by this user
Quote this message in a reply
01-28-2009, 08:10 AM
Post: #7
RE: Auto refresh part of a page
seems that you have to add/ edit a part of a page, or you can make a table on your page and place the code in it
then, when your browser reloads, it will automatically refreshes

[Image: logo.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
01-31-2009, 09:59 AM
Post: #8
RE: Auto refresh part of a page
(01-28-2009 08:10 AM)IT LEGEND KILLER Wrote:  seems that you have to add/ edit a part of a page, or you can make a table on your page and place the code in it
then, when your browser reloads, it will automatically refreshes

Apparently you didn't read the first post correctly. He only wants the ads to refresh every minute. Not the whole page.

Quote:With what html code should i wrap the ad code so that the ads auto refreshes every minute without the whole page being loaded?
Find all posts by this user
Quote this message in a reply
02-13-2009, 11:22 PM
Post: #9
RE: Auto refresh part of a page
Quote:He only wants the ads to refresh every minute. Not the whole page.
Exactly Smile

[Image: sigix4.png]
If you are a student,register on my website
Visit this user's website Find all posts by this user
Quote this message in a reply
02-14-2009, 02:50 PM
Post: #10
RE: Auto refresh part of a page
You could try:

<html>

<head>
<script language="JavaScript"><!--
function refreshIt() {
if (!document.images) return;
document.images['myCam'].src = 'myCam.gif?' + Math.random();
setTimeout('refreshIt()',5000); // refresh every 5 secs
}
//--></script>
</head>

<body onLoad=" setTimeout('refreshIt()',5000)">

<img src="myCam.gif" name="myCam">

</body>

</html>
http://www.image-supplies-and-instruction.com
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: