Jump to content
Larry Ullman's Book Forums

Search the Community

Showing results for tags 'image rollovers'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Single Editions
    • Modern Javascript: Develop and Design
    • The Yii Book
    • Effortless Flex 4 Development
    • Building a Web Site with Ajax: Visual QuickProject
    • Ruby: Visual QuickStart Guide
    • C++ Programming: Visual QuickStart Guide
    • C Programming: Visual QuickStart Guide
    • Adobe AIR: Visual QuickPro Guide
  • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (5th Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
    • PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (3rd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (2nd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (1st Edition)
  • PHP for the Web: Visual QuickStart Guide
    • PHP for the Web: Visual QuickStart Guide (5th Edition)
    • PHP for the Web: Visual QuickStart Guide (4th Edition)
    • PHP for the Web: Visual QuickStart Guide (3rd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (2nd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (1st Edition)
  • Effortless E-commerce with PHP and MySQL
    • Effortless E-Commerce with PHP and MySQL (2nd Edition)
    • Effortless E-Commerce with PHP and MySQL
  • PHP Advanced: Visual QuickPro Guide
    • PHP Advanced and Object-Oriented Programming: Visual QuickPro Guide (3rd Edition)
    • PHP 5 Advanced: Visual QuickPro Guide (2nd Edition)
    • PHP Advanced: Visual QuickPro Guide
  • MySQL: Visual QuickStart Guide
    • MySQL: Visual QuickStart Guide (2nd Edition)
    • MySQL: Visual QuickStart Guide (1st Edition)
  • Other
    • Announcements
    • Newsletter, Blog, and Other Topics
    • Forum Issues
    • Social

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 1 result

  1. <li><a href = "adelaide.html" id ="ade" a.mouseout ="function()" a.mouseover ="function()" >Adelaide</a></li> <li><a href="alicesprings.html" class ="caption" id ="alicesprings" >Alice Springs</a></li> <li><a href="broome.html" >Broome</a> </li> <li><a href="cairns.html" >Cairns</a> </li> <li><a href="canberra.html" >Canberra</a> </li> </ul> </div> <div id ="div13"> <ul> <li><a href ="darwin.html">Darwin</a></li> <li><a href ="goldcoast.html">Gold Coast</a></li> <li><a href ="hobart.html">Hobart</a></li> <li><a href ="regionalcities.html">Regional Cities</a></li> </ul> </div> <div id ="div15"> <ul> <li><a href ="bluemountains.html">Blue Mountains</a></li> <li><a href ="byronbay.html">Byron Bay</a></li> <li><a href ="flindersranges.html">Flinders Ranges</a></li> <li><a href ="frazerisland.html">Frazer Island</a></li> <li><a href ="freycinet.html">Freycinet</a></li> <li><a href ="gippsland.html">Gippsland</a></li> <li><a href ="kakadu.html">Kakadu</a></li> </ul> </div> <div id ="div16"> <ul> <li><a href ="namadjinationalpark.html">Namadji Park</a></li> <li><a href ="ningaloo.html">Ningaloo</a></li> <li><a href ="tasmanianwilderness.html">Tasmanian Wilderness</a></li> <li><a href ="australianalps.html">Australian Alps</a></li> <li><a href ="kimberley.html">Kimberley</a></li> <li><a href ="margaretriver.html">Margaret River</a></li> </ul> </div> <div id ="div14"> <img src="images/australiaMap.jpg" id ="img9" alt=""/> </div> </div> </div> // JavaScript Document "use strict"; window.onload =rolloverInit; function rolloverInit() { for(var i =0;i<document.links.length;i++) { var linkObj = document.links; if(a.caption) { var imgObj = document.getElementByClassName(a.caption); if(australiaMap) { setupRollover(a,australiaMap); } } } } function setupRollover(a,australiaMap) { a.imgToChange = australiaMap; a.onmouseout =function() { this.adelaide5.src = this.australiaMap.src; } a.onmouseover = function() { this.australiaMap.src = this.adelaide5.src; } a.outImage = new Image(); a.australiaMap.src ="images/" + "australiaMap.jpg"; a.overImage = new Image(); a.adelaider5.src ="images/" + a.ade + "adelaide5.jpg"; } Dear Larry I got this script from Visual Quickstart Guide 9th Edition by Tom Negrino on page 99 I really appreciate you replying to me. Cheers Diane
×
×
  • Create New...