![]() |
trouble with random color
I want to randomly change the color of my Google ad to one of four colors, and am having trouble getting it to work. I created a new plugin using the navbits hook with the following code:
Code:
$randcolor = mt_rand(1, 4); |
I believe you need to use global_start as far as using the correct hook. (Not looking at them at the moment so I'm not 100% sure)
|
Thank you, that worked:)
|
All times are GMT. The time now is 04:38 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:
|