This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes automatic display of the java list on mouseover an 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 » Engineering » HTML, CSS and JavaScript
Bookmark "automatic display of the java list on mouseover an image" Watch "automatic display of the java list on mouseover an image" New topic
Author

automatic display of the java list on mouseover an image

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

may i know how to display a java list objects/ values when mouse over on an image using AJAX?




Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

You want to list them as a <ul> element? You didn't say. Please TellTheDetails.

If so, easiest way would be with the jQuery .load() method.



Have the response return the HTML for the list.

Done.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

Bear Bibeault wrote:You want to list them as a <ul> element? You didn't say. Please TellTheDetails.

If so, easiest way would be with the jQuery .load() method.



Have the response return the HTML for the list.

Done.


for example: my plan is to display around 20 to 30 menu list values horizontally (unlike below site menu displays it's values in a column)

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Horizontally? It'd be a pain of it gets wider than the page.

In any case, what I posted is completely valid. The rest is just CSS.
Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

Bear Bibeault wrote:Horizontally? It'd be a pain of it gets wider than the page.

In any case, what I posted is completely valid. The rest is just CSS.





As in the image attachement, when i mouse over the destinations i should be able to display the links inside it.

can we do it through Jquery?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

I will not download image attachments.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: automatic display of the java list on mouseover an image
 
Similar Threads
Form a tree parent -childs from String
Generics..
ArrayList and IndexOutOfBoundsException
"Capture of ?" Compile error, what does it mean?
Generic