Jump to content
  • Advertisement
Sign in to follow this  
Brocketino

[web] Selecting elements

This topic is 4833 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I don't want a user to be able to select any elements in a site ( so no blue bars appear around text, images, etc when the user click-and-drag in the document ), how can I achive this with something like stylesheets?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Apocryphiliac
Just curious, but... Why?

I'm working on a site wich will have a something like a windows GUI, but it looks ugly when the folders, text, etc is getting highlighted.

Share this post


Link to post
Share on other sites
Put the cursor next to the post reply button on this site, press the left mouse button and drag it over the button, it is that blue marker i wanna get rid off.

Share this post


Link to post
Share on other sites
Am i the only one to say ....?

Why does it matter? I doubt the end user is going to attempt to highlight the image, and most likely they won't care. Even if they do...so what?

Share this post


Link to post
Share on other sites
Quote:
Original post by Charles Hwang
Am i the only one to say ....?

Why does it matter? I doubt the end user is going to attempt to highlight the image, and most likely they won't care. Even if they do...so what?


Thanx for nothing:(

Share this post


Link to post
Share on other sites
Quote:
I'm working on a site wich will have a something like a windows GUI, but it looks ugly when the folders, text, etc is getting highlighted.

Sounds like a job for Flash.

Share this post


Link to post
Share on other sites
I've found the perfect answer for you. Use div-tags with background-images and onClick events. This way, you can have a button-ish looking element, where the image cannot be selected.

[wink] Yay!

Made a quick example.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!