Hi,

I'm just playing around with basic mobile site design, here's what i'm trying to do:

I have a button called categories, when it's pressed i want to display all the categories i have below the categories button.

bit like how the 'a:hover' works.

as you can't really use the 'a:hover' class for mobile sites how can i achieve this?

Thanks

Recommended Answers

The html remains the same ,I think that your are talking about jquery and on mouseover do semthing.

Jump to Post

All 2 Replies

The html remains the same ,I think that your are talking about jquery and on mouseover do semthing.

onMouseOver for a mobile site is quiet useless, considering the user can just press a button, and not pass his mouse over it.
However, if you wish to display more menu items when the user presses the button, then JQuery is the way to go.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.