DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2006
    Posts
    4

    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

  2. #2
    Join Date
    Nov 2006
    Posts
    4
    can anyone shed some light?

  3. #3
    Join Date
    Nov 2006
    Posts
    4
    any1?

  4. #4
    Join Date
    Nov 2006
    Posts
    4
    im half black half vietnamese...when i eat my rice im like nigga please

Similar Threads

  1. Re: Delay in Insert Trigger - My mistake !
    By Steve in forum Database
    Replies: 0
    Last Post: 02-19-2003, 04:51 AM
  2. Trigger Recursion
    By Suresh Tumkur in forum Database
    Replies: 0
    Last Post: 06-20-2001, 08:38 PM
  3. rollover imagemap with 2nd rollover
    By Mark Hannon in forum Web
    Replies: 0
    Last Post: 03-20-2001, 02:46 PM
  4. Insert trigger problem
    By Helmut in forum VB Classic
    Replies: 1
    Last Post: 12-22-2000, 03:10 PM
  5. Insert trigger problem
    By Helmut in forum Database
    Replies: 1
    Last Post: 12-15-2000, 11:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links