Zoom Posted October 23, 2013 Report Posted October 23, 2013 Taisu priekš TV aplkāciju, vajag kursoru. Ir iespējams uz JS uztaisīt kursoru, kuru vada nevis ar peli, bet at TV pogām? Quote
0 codez Posted October 24, 2013 Report Posted October 24, 2013 (edited) 10 minūtēs http://jsfiddle.net/yXBc9/ bīda ar bultiņām, ar enter izsauc click eventu, .hover klase tiek piešķirta, kad uzbrauc virsū. P.S.: Ar png kursoru: http://jsfiddle.net/yXBc9/3/ Edited October 24, 2013 by codez Quote
0 waplet Posted October 24, 2013 Report Posted October 24, 2013 Nestrādā @ Firefox.. Negrib kustēties. Quote
0 jurchiks Posted October 25, 2013 Report Posted October 25, 2013 Cik zinu, tad "(event.keyCode ? event.keyCode : event.which)" priekš jQuery nav vajadzīgs, jo event nav parastais javascript event objekts, bet gan jQuery.event objekts. Bet vispār superīgi :) Quote
0 codez Posted October 25, 2013 Report Posted October 25, 2013 yep, http://api.jquery.com/event.which/ Quote
Question
Zoom
Taisu priekš TV aplkāciju, vajag kursoru. Ir iespējams uz JS uztaisīt kursoru, kuru vada nevis ar peli, bet at TV pogām?
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.