This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes 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


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
Author

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.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Switch Image "and" Pop up Window by Clicking