Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7702497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:14:27+00:00 2026-05-31T23:14:27+00:00

I am trying to write a simple HTML 5 app for Windows Phone 7/7.5.

  • 0

I am trying to write a simple HTML 5 app for Windows Phone 7/7.5. I have a HTML5 page with a canvas almost the size of the screen. When I click/tap on the screen, the canvas is selected. I don’t want that behavior, but I still want to be able to click/tap on various controls. Is there a way to not have that behavior? Below is the link of a screenshot showing the effect.

Screenshot

I tried to remove that behavior using CSS in the body. Nothing has worked so far.

body {
    /* disable selections / cut copy paste actions */
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* disable callout, image save panel on long press */
    -webkit-touch-callout: none;

    /* "turn off" link highlight, good for custom pressed states */
    -webkit-tap-hightlight-color: transparent;
}

Thank you in advance for the help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:14:28+00:00Added an answer on May 31, 2026 at 11:14 pm

    Martin mentioned that the following example does not exhibit the highlight behavior:
    http://ie.microsoft.com/testdrive/Mobile/Performance/HamsterDanceRevolution/Default.html

    So I did some digging and noticed that the above example attaches events to the window object. I got it down to the following three line modifications of the file “kinetic-v3.8.4.js”:

    (1)
    this.container.addEventListener(baseEvent, handler, false);
    –>
    window.addEventListener(baseEvent, handler, false);

    (2)
    this.container.addEventListener(‘mousedown’, function(evt)
    –>
    window.addEventListener(‘mousedown’, function(evt)

    (3)
    this.container.addEventListener(‘mousedown’, function(evt)
    –>
    window.addEventListener(‘mouseup’, function(evt)

    After this modification, the canvas still reacts and the unwanted highlighting is gone.

    Regards,
    Luis

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to write a simple console app that POSTs to a page
I'm trying to write a simple WPF app that has two ellipses, joined by
I'm trying to write a simple app that has several internal pages. From #page2
I'm trying to write a small gui app in pygtk which needs an html-rendering
Ruby 1.9.1, OSX 10.5.8 I'm trying to write a simple app that parses through
Im trying to write very simple HTML parser with ANTLR and Im facing problem,
I'm trying to build JPG upload functionality into our Windows Phone app. The server-side
I'm trying to write to a file index.html that I have in my resources.
I'm trying to write a simple javascript function that will clone some html input
I am trying to write a simple (lightweight) RESTful server in Python. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.