wood burning stoves 2.0*
The moose likes JSP and the fly likes onclick  - image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "onclick  - image" Watch "onclick  - image" New topic
Author

onclick - image

Roopa Bagur
Ranch Hand

Joined: Nov 03, 2000
Posts: 267
Hi Everybody,
I am working on an application with JSP's which has images for tabs for the main menu.Here is the requirement.
Requirement:When you click on the tab which is an image the image changes & calls a jsp
I was wondering what was the best way to implement this requirement.
I would appreciate a quick response..
Thanks,
Roopa
Nehal Dave
Greenhorn

Joined: Dec 22, 2000
Posts: 28
Hi Everybody,
I am working on an application with JSP's which has images for tabs for the main menu.Here is the requirement.
Requirement:When you click on the tab which is an image the image changes & calls a jsp
>>
To change the image on click u need to use javascript. This can be done by making a link on image & then calling a javascript function onclick event. This function will just change the src of the image which u need to change. Altenatively u can preload the image which will be displayed on click so that their is no time delay for the new image to be seen. As for calling the jsp.. it will be the href of the link.
Hope this helps u ..
Cheers
Nehal.
 
wood burning stoves
 
subject: onclick - image
 
Similar Threads
convert blob to .xls
How to write the content from document file to jsp page
Text on Image at Runtime
Need to show list of products with the image and specification on the jsp page
Access a resource (for example, Image) in Appserver