ASP Shopping Cart
,
Forum
&
BBS
- all for $20 from
CodeToad Plus!
Home
||
ASP
|
ASP.Net
|
C++/C#
|
DHTML
|
HTML
|
Java
|
Javascript
|
Perl
|
VB
|
XML
||
CodeToad Plus!
||
Forums
||
RAM
Search Site:
CodeToad Forums
»
Javascript
» Random Image and Zoom Script
Search Forums:
Random Image and Zoom Script
modestoseller
at 14:24 on Friday, April 14, 2006
Hello. I found this script on this site
http://www.codetoad.com/dhtml_zooom.asp
and I would like to tie it to a random image script that I'm currently using.
---------------------Code below
< script language="JavaScript">
<!--
function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="
http://www.euronet.nl/users/samirb/beep/cars/001-cars-640.jpg"
myimages[2]="
http://www.euronet.nl/users/samirb/beep/cars/002-cars-640.jpg"
myimages[3]="
http://www.euronet.nl/users/samirb/beep/cars/003-cars-640.jpg"
myimages[4]="
http://www.euronet.nl/users/samirb/beep/cars/004-cars-640.jpg"
myimages[5]="
http://www.euronet.nl/users/samirb/beep/cars/005-cars-640.jpg"
var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<img width=300 height=500 src="'+myimages[ry]+'" border="0" onClick="bigger(this)" onMouseOut="orig_size(this)"></a>')
}
random_imglink()
//-->
< /script>
-----------------code above-----------------
I have tried diffrent variations and I have not had any luck to get them to work together.
Can anyone help me on this one please.
Thanks.
Useful Links
Web Hosting Reviews
TOP Hosting reviews
Web+Hosting=$1.66
Web Hosting
Web Hosting
Hosting
Windows Hosting
Web Hosting Providers
Cheap Hosting
Advertise here
CodeToad Experts
Can't find the answer?
Our
Site experts
are answering questions for free in the
CodeToad forums
//
Recent Forum Threads
•
IE Only comeback
•
Re: java app auto web update..
•
` Error Code 64: Host not available ` - Error when accessing ASP Appln
•
Re: dynamic crystal report generation
•
Launch an app remotely through a website
•
Run an app in my pc from another pc
•
a:hover elements
•
Rearranging elements in a table
•
window.open giving http404 error
Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text
submit a link
-
privacy
-
contact
-
advertise
-
hot links
-
link to us
-
submit your article
© Copyright codetoad.com 2001-2007