• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

onclick - image

 
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic