-
Disable right click on images...
Well actually I specifically said I'm not asking how to protect my images.
-
Disable right click on images...
Right, but you can still right click and get a menu... The only thing changed is that you can't save the image.
-
Disable right click on images...
Ok so if I leave it as it is, so you can right click but just not save an image, how does it destroy the usability of the site?
-
Disable right click on images...
and anyway, the code provided by andyl seems to work perfectly so far, AND you can still right click on in image, just the 'save image' option is missing. any idea how i can get it to display a short message on right click somewhere too? again, like 500px... dont mind if it disables the menu popping up either
-
Disable right click on images...
I did request that this didn't happen. I know what I'm doing, I have a plan, this is just step 1.
-
Disable right click on images...
you didn't read my original message yeh found that in my search, does not work awesome thanks, my ftp is down at the minute so i will test it later
-
Disable right click on images...
...yeah, to be honest its been a while since i have done any kind of web related stuff so i dont know javascript
-
Disable right click on images...
yeah thought about doing something like those but wouldnt it be too hard to have wordpress do it automatically? the images will all be different sizes
-
Disable right click on images...
Been googling this for hours now and can't find a solution that works. I need a way to disable right click and dragging to save on images in my wordpress.org site. Not on the whole page, just the images, basically the way 500px.com does it would be perfect, even better if it could pop up with a message explaining things. Also, can we try and not turn this into a discussion on if this is the right thing to do or not. I'm not asking how to protect my images. I know that it is not fool proof, I know there are a hundred ways round it, I just want a way to disable right click and dragging. Thanks!
-
Target OS with Javascript
thanks but i got it sorted in the end
-
Target a PC with CSS/HTML
nahh just to annoy people who want websites to be available to everyone.
-
Target a PC with CSS/HTML
Haha brilliant! Thankyou. Anyone care to test it? http://philxthomas.com/
-
Target a PC with CSS/HTML
because it doesnt have the font i want to use
-
Target OS with Javascript
Have asked this on the 'how do I do that?' board. View the thread here: http://www.webdesignerforum.co.uk/topic/29749-target-a-pc-with-csshtml/. Basically I want to detect the operation system and redirect if it is windows, and do nothing (stay on the homepage) if mac. I found this code below that detects the OS but have no idea about javascript and how to change it to redirect code. Can anyone help? // This script sets OSName variable as follows: // "Windows" for all versions of Windows // "MacOS" for all versions of Macintosh OS // "Linux" for all versions of Linux // "UNIX" for all other UNIX flavors // "Unknown OS" indicates failure to detect the OS var OSName="Unknown OS"; if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows"; if (navigator.appVersion.indexOf("Mac")!=-1) OSName="MacOS"; if (navigator.appVersion.indexOf("X11")!=-1) OSName="UNIX"; if (navigator.appVersion.indexOf("Linux")!=-1) OSName="Linux"; document.write('Your OS: '+OSName);
-
Target a PC with CSS/HTML
hmm, when i use that code it seems to just process the <meta http-equiv="refresh" content="0; url=page2.html"/> part and redirects my mac to the alternate page. my javascript is almost certainly worse than your so i cant even really do trial and error stuff, i need it spelled out for me. thanks for the help though! feel like im getting there.