This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Switch Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Switch Image "and" Pop up Window by Clicking" Watch "Switch Image "and" Pop up Window by Clicking" New topic

Switch Image "and" Pop up Window by Clicking

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
The code I have can "either" change image "or" pop up child window depending on the url that I supply to the HREF attribute. The code shown below can pop up windows. And if I modify the code to:

I can switch and display another map "finin030_event.html", in which the "event" is highlighted (i.e. it is in another color.)

I cannot do both (change image and popup child window). Please help me with suggestions.

I agree. Here's the link:
subject: Switch Image "and" Pop up Window by Clicking
Similar Threads
Cewolf tooltips are not showing
String token
Coordinates of a object in javascript...
What is attribute value in my code?
images and event handlers