By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,516 Members | 1,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,516 IT Pros & Developers. It's quick & easy.

how can show multiple link when mouse over a text?

P: 4
can u provide a code for this problem problem is.----------

i want to use a linktext 'mobile' when mouse move over it it show all the optoin to link for example nokia,motorola,spice,lg,samsung etc
Feb 18 '10 #1
Share this Question
Share on Google+
2 Replies

P: 86
put your nokia, motorola etc links in an appropriate DIV layer. Make it initially hidden using CSS.

In the <a> tag for mobile, add an onmouseover event and set it to "document.getElementById('divID').style.visibility ='visible';". Do the same for onmouseout but make it "hidden" instead of visible. Replace divID with the ID of your div tag.
Feb 18 '10 #2

Expert Mod 5K+
P: 8,639
if there were not IE, you could also use the CSS :hover pseudo-class.
Feb 18 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.