Windows Phone 7 Browser - Turn off the gray shading when links are clicked

后端 未结 4 885
忘了有多久
忘了有多久 2020-12-02 22:45

With the Windows Phone 7 Browser, when the user clicks a link, it is shaded with a gray rectangle for approximately 0.5 seconds. This is fine in generally, however, if you h

4条回答
  •  臣服心动
    2020-12-02 23:37

    This works try using jquery

    $(id|classname|document).live('click',function(){
       //write code that needs to executed in this area
    });
    

    I have used this in my project. It works fine to hide the grey shade, avoid using inline function in html pages ... using jquery this function works only when inner content is assigned to it.. eg

    you can this for inner div like this

    $('#d2").live('click',function(){changecolor();changebackground();});
    

    enjoy coding........jquery

提交回复
热议问题