I have an image gallery and yes, im aware that the browser standards should be respected for an intuitive user experience. BUT – this blue mark must be avoided in my gallery so that the user can see the image in full beauty. I think javascript could handle this job – but whats the coolest solution (browser compatibilty)?
Thank ya for your response.
Check out this code:
http://code.jdempster.com/jQuery.DisableTextSelect/jquery.disable.text.select.js
UPDATE: I now realize you did not intend to use jQuery. You can still get the idea from the code, but I also write the details here.
Firefox: set -moz-user-select to none (CSS)
IE: catch onselectstart and prevent default (JS)
Other: catch onmousedown and prevent default (JS)