![]() |
Use jQuery to reload vBCMPS featured photos
I'm trying to reload the featured photos every X seconds inside my vBCMPS module using jQuery. I'm using this code in my "adv_portal_random_pictures" template:
Code:
<script src="http://ajax.googleapis.com/ajax/ And this code in /forums/reload.php: Code:
<?php I did something right because it does load the module and refreshes it every 20 seconds but it doesn't show any content in the module and when it reloads, it reloads the entire module instead of just the content inside it. Any suggestions on what I'm missing? Not much of a programmer but I enjoy trying. :D Thanks for any help! |
I don't know if this is the problem or not, but it looks like you've used template conditionals in your html in reload.php (unless maybe you've just included the template code to simplify the example).
|
All times are GMT. The time now is 04:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|