Jump to content


Check out our Community Blogs

dowdy

Member Since 04 Dec 2008
Offline Last Active Apr 16 2009 02:30 PM
-----

Posts I've Made

In Topic: linking rotating images

08 January 2009 - 01:00 PM

Ride on Xav i'll give it a look.

In Topic: linking rotating images

08 January 2009 - 11:19 AM

Sorry i'm posting wayyy to much i have the day off and it's my only time to get some webbby stuff done. Sorry about the spam :/ . So i got my first original code working with I.E just a couple tweaks. But now im wondering if it's possible to add text/content to each image? So each time you refresh each image has there own little captain at the bottom. I'm guessing you'd add something like the links code?

In Topic: linking rotating images

08 January 2009 - 11:00 AM

I found this code that works the similar way, but seems to work with Internet Explorer,

<script type="text/javascript"><!--
var rand=Math.round(Math.random()*4);
var img=new Array(5);
img[0]="1.bmp";
img[1]="2.bmp";
img[2]="3.bmp";
img[3]="4.bmp";
img[4]="5.bmp";

document.write("<img src=\"" + img[rand] + "\" />");
//--></script>

But i now have to figure out how to link each picture to a different URL haha. You guys that are helping me rock by the way, epically Xav, I was wondering if there is any way to add content to each picture? I don't know if that's possible but if it's i have to figure it out.

In Topic: linking rotating images

08 January 2009 - 10:47 AM

That's not a bad idea, i was thinking. Do you think there is a script that would generate the same thing I'm trying to accomplish but with PHP? That would work for I.E?

In Topic: linking rotating images

27 December 2008 - 07:59 PM

No way around it huh?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download