Hi,
I don't now how to reload my banners in a div. I find some solutions, but this dosen't work om my page. I am using a banner manager phpAdsNew.
The page an talking aboute is http://www.dinlokaltidning.se
Need help with reload banners in a div
- Oliver Georgi
- Site Admin
- Posts: 9892
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Need help with reload banners in a div
Let us guess you have a browser running with an AdBlocker — that's the reason why…
Re: Need help with reload banners in a div
No is not that...
I want the banners to reload every 30 seconds whitout the wholw page reloads.
This is the onlt solution i find, but I don't no how to apply it....
I found it on this page: http://designgala.com/how-to-refresh-div-using-jquery/
/Anders
I want the banners to reload every 30 seconds whitout the wholw page reloads.
This is the onlt solution i find, but I don't no how to apply it....
Code: Select all
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>
<script>
var auto_refresh = setInterval(
function()
{
$('#loaddiv').fadeOut('slow').load('reload.php').fadeIn("slow");
}, 30000);
</script>
I found it on this page: http://designgala.com/how-to-refresh-div-using-jquery/
/Anders
- Oliver Georgi
- Site Admin
- Posts: 9892
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Need help with reload banners in a div
you need Ajax for this. But you use so many banners on the page… You need concept first what should be loaded from where. I guess phpAdsNews can deliver code that does auto refresh itself.
Re: Need help with reload banners in a div
could something like that be used for the banner module anyhow to show up a randomly sorted banner list? Right now it is reloading the banners with loading a new page...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
- Oliver Georgi
- Site Admin
- Posts: 9892
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Need help with reload banners in a div
anything can be customized