0
how to create a hold screen to pop up div. any help?
I'm creating a webapp and I want to add a hold event to a div, anyone knows how I do it
13 Antworten
+ 3
By hold screen do you mean Modal (A div that shows on top of the screen and unless you interact with it you cannot go back to main page )
+ 3
As a user how does someone hold a div?
do they use mouse , keyboard or anything else.
+ 3
That means either use mouse over event or just use hover pseudo class
+ 2
Can you give an example link or clearly describe what the holding of screen looks like to a normal user.
+ 2
I see.
Just add a 'selected' class to that div which you want to highlight on click or hover.
In that selected class define all that you want to highlight.
0
morpheus, I want to create a hold event
0
like other applications, I want to create a div that when a user holds it it pops up another div with some info on it.
0
yes I don't want a click event, I want a hold event how do I create a hold event
0
mouse over
0
pressing the div
0
ok but I don't wanna click on it, I want hold it
0
Be clear what u want..
0
Up