Zoom Posted October 23, 2013 Report Share 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 Link to comment Share on other sites More sharing options...
0 daGrevis Posted October 24, 2013 Report Share Posted October 24, 2013 Teorētiski jā. Quote Link to comment Share on other sites More sharing options...
0 codez Posted October 24, 2013 Report Share 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 Link to comment Share on other sites More sharing options...
0 daGrevis Posted October 24, 2013 Report Share Posted October 24, 2013 Labais! Quote Link to comment Share on other sites More sharing options...
0 waplet Posted October 24, 2013 Report Share Posted October 24, 2013 Nestrādā @ Firefox.. Negrib kustēties. Quote Link to comment Share on other sites More sharing options...
0 codez Posted October 24, 2013 Report Share Posted October 24, 2013 http://jsfiddle.net/yXBc9/3/ Quote Link to comment Share on other sites More sharing options...
0 jurchiks Posted October 25, 2013 Report Share 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 Link to comment Share on other sites More sharing options...
0 codez Posted October 25, 2013 Report Share Posted October 25, 2013 yep, http://api.jquery.com/event.which/ Quote Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
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.