-
trigger rollover
hey my first post here...
thx for any help in advance.... im just trying to do a basic trigger rollover...
where i mouseover link and it triggers another image on the page...
trying to manipulate regular mouseover script to do it... so say if i had an image that said "about," i'll call it "image.1"--everytime i mouseover it, i want it to change another image on my page... "image.2"
</script>
<script language="JavaScript1.1">
var myimages=new Array()
var gotolink="#"
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image()
myimages[i].src=preloadimages.arguments[i]
}
}
preloadimages("image.1, image.2")
</script>
and then put my initial rollover link or image here?
<a href="javascript:warp()"><img src="image.2" name="targetimage" border=0></a>
now to link the original image
<a href="about.htm" onMouseover="changeimage(myimages[0],this.href)">image.1</a>
hmmmm... this obviously is not working for me.... is java the only way to go? css maybe?
thx
-
can anyone shed some light?
-
-
im half black half vietnamese...when i eat my rice im like nigga please
Similar Threads
-
By Steve in forum Database
Replies: 0
Last Post: 02-19-2003, 04:51 AM
-
By Suresh Tumkur in forum Database
Replies: 0
Last Post: 06-20-2001, 08:38 PM
-
By Mark Hannon in forum Web
Replies: 0
Last Post: 03-20-2001, 02:46 PM
-
By Helmut in forum VB Classic
Replies: 1
Last Post: 12-22-2000, 03:10 PM
-
By Helmut in forum Database
Replies: 1
Last Post: 12-15-2000, 11:10 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks