![]() |
OK thanks Daniel.
|
Danial
I found this that will work also for random pictures or banners. PHP Code:
PHP Code:
|
*Sighs*, why cannot anyone write there own scripts (not vB hacks (leave that to coders who are expericend with vB), but JS is pretty simple)
Random Image Scripts with links or with out are really simple. This will work for links (put this in top of headinclude) Code:
<script type='text/javascript'> function randImage() { images = new array(); links = new array(); images[0] = 'http://mysite.com/mybanner.gif'; links[0] = 'http://mysite.com/service/'; images[1] = 'http://mysite.com/cool.gif'; links[1] = 'http://mysite.com/cool.html'; var randIndex = Math.round(Math.random()*(images.length-1)); document.write("<a href='" + links[randIndex] + "'><img src='" + links[randIndex] + "'></a>"); return true; } </script> Code:
<script type='text/javascript'> randImage(); </script> |
wel if this is going to turn to installer it will be a hit.......nice work guys
|
10? 14? man, all of a sudden, I feel very old :/ lol :p
When I was ten... "tag" meant making a 'touch' when playing 'Tag' (as in, "TAG! you're it!!"). Making a "Bold tag" would be doing so aggresively and using a fancy word like "bold". as in, "Wow! that was a bold tag! nice one! I guess I'm it!. RUN!" lol :p :D (ie: Nice work guys!! this will be very useful!) <<< /me awaits plugin/product. :) |
Thank you! :)
I look forward to a plugin for this too, but with the template changes it works nicely. Ten and fourteen, wow. I'm very impressed. |
Daneil, I can't get this to align with a 3 paert fluid logo.
Here is the code Code:
<!-- new logo --> can you help me align the 3? They were aligned b4 i put in the script. |
Quote:
|
here is a simple one that I ended up using.
http://photomatt.net/scripts/randomimage |
Great one, installed here!
|
All times are GMT. The time now is 08:00 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:
|