• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to do mouse-over and shows a panel ?

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to create some tab image at the top of the page, like "Account", "Invest", "Loan", etc. And when user mouse-over "Account" I want it pops a panel underneath Account, the panel may include "My Account", "Balance", etc.
How to do create this panel that is invisible in the first place but appear when mouse over. I know Javascript or VB script can do it. If I don't use them, is there any other way to do it ?
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since this type of functionality is on the client side (inside the web browser), I don't think that there is a way other than a scripting language. JSPs and Servlets are built on the Server side, and so there is no way to know where the user's mouse is.
You could probably do something similar with an applet, but I don't think that would be the right solution. Perhaps Flash would suit your needs if you didn't want to use JavaScript? The problem with these is that the user has to wait for them to load.
I would probably use the JavaScript solution myself.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic