Random Image Generator + Address?
So, i want to know if anyone can modify this javascript for me to make the random images appear as clickable links.
Any help is appreciated. Code:
<script language="JavaScript"> |
Code:
<script language="JavaScript"> |
Assuming you want them to link to the images?
|
Yeah, what I posted assumes that. You'd need to link an array of addresses otherwise.
|
Quote:
I want the images to link to an outside like, like a forum post or something. So say I want the image to link to www.xoxide.com. |
Yeah you'd just create another array and match the indexes;
Code:
<script language="JavaScript"> |
Sweet! Thank you, kind sir!
|
Np :)
|
I have another question ath. Do you know of any scripts that show scrolling images, like the news image on this site - www.worldofwarcraft.com ? I'm not too sure what the script it called nor where to find one.
|
Ah, like a slideshow?
If that's what you're talking about then yeah, there's one called jcycle. It is way easy to use and it uses the jquery library. This is their site: http://jquery.malsup.com/cycle/ There might be a better one but that's the one I am using right now. |
BTW, if you want to use jCycle I'd look at the pager functionality and the other advanced options.
|
Thanks, bro. It works perfectly!
|
:) glad it works for yah.
|
Why do your arrays not start at zero? This makes me sad. :(
|
Hehe, I was going to mention that but figured I wouldn't to avoid confusing people.
|
Quote:
|
All times are GMT -5. The time now is 08:13 PM. |
Powered by vBulletin®