I have a block that contains javascript which calls a website that sends an ad to this block (see below: Note: I changed the domain name to adserveringwebsite). How can I add code that will call the below javascript every minute so that a different ad will show up every minute instead of just one ad at page load? <SCRIPT type="text/javascript" LANGUAGE="javascript" src=" http://www.qksz.net/1e-kn60"> </SCRIPT>
Thanks,
John
Have a look at the Block Refresh module ( http://drupal.org/project/block_refresh). You can set a number of seconds after what a block should refresh automatically.
On 01/29/2012 01:58 PM, John Mitchell wrote:
I have a block that contains javascript which calls a website that sends an ad to this block (see below: Note: I changed the domain name to adserveringwebsite). How can I add code that will call the below javascript every minute so that a different ad will show up every minute instead of just one ad at page load?
<SCRIPT type="text/javascript" LANGUAGE="javascript" src="http://www.qksz.net/1e-kn60"> </SCRIPT>
Thanks,
John
I enabled the Block Refresh module and it does make a new request within the block that has my ad but it fails to display the new ad so now after a minute the current ad goes away but it is not replaced by a new ad. I looked at these requests within firebug and the initial/first request (which shows the ad) does not list the Param tab within firebug but each request (which do not show the ad) after that has the additional Param tab showing up in addition to all the other tabs that the first request has listed including the response tab which has the image within a <a tag. How can I get this block to display this refreshed ad by utilizing the Block Refresh module?
John
On Sun, Jan 29, 2012 at 9:07 AM, steeph ml@mixblog23.de wrote:
Have a look at the Block Refresh module ( http://drupal.org/project/block_refresh). You can set a number of seconds after what a block should refresh automatically.
On 01/29/2012 01:58 PM, John Mitchell wrote:
I have a block that contains javascript which calls a website that sends an ad to this block (see below: Note: I changed the domain name to adserveringwebsite). How can I add code that will call the below javascript every minute so that a different ad will show up every minute instead of just one ad at page load?
<SCRIPT type="text/javascript" LANGUAGE="javascript" src=" http://www.qksz.net/1e-kn60"> </SCRIPT>
Thanks,
John
-- [ Drupal support list | http://lists.drupal.org/ ]
On Sun, Jan 29, 2012 at 11:46 AM, John Mitchell mitchelljj98@gmail.com wrote:
I enabled the Block Refresh module and it does make a new request within the block that has my ad but it fails to display the new ad so now after a minute the current ad goes away but it is not replaced by a new ad. I looked at these requests within firebug and the initial/first request (which shows the ad) does not list the Param tab within firebug but each request (which do not show the ad) after that has the additional Param tab showing up in addition to all the other tabs that the first request has listed including the response tab which has the image within a <a tag. How can I get this block to display this refreshed ad by utilizing the Block Refresh module?
Check to see if you have block caching turned on or off on the performance settings page? For this you want it off.
Try an issue for the module.