Edited by Takumi, 11 November 2010 - 07:56 AM.
Moving Images in Browser
Started by Takumi, Nov 10 2010 08:12 AM
2 replies to this topic
#1
Posted 10 November 2010 - 08:12 AM
Hi I am not sure if I am at the right place here, but I need to get rid of those images which are created when you click and move a image. Is there any way to get rid of it?
|
|
|
#2
Posted 10 November 2010 - 11:54 AM
I'm actually not totally sure what you mean by this. When I click an image and move it a semi-transparent image appears. This is just me dragging the image so I can save it.
If you want to get rid of it, make a element and put it as the background. Which will prevent people from dragging it and printing it.
There is no full proof way to stop people from downloading your images however so I wouldn't bother if that is the end result.
If you want to get rid of it, make a element and put it as the background. Which will prevent people from dragging it and printing it.
There is no full proof way to stop people from downloading your images however so I wouldn't bother if that is the end result.
#3
Posted 11 November 2010 - 07:50 AM
Quote
Sorry I couldnt really find the good word for it, because I'm dutch. But yeah you are right, I want to disable image dragging. I am making a script to drag around a world map. And this is not possible when the browser is blocking this.
I use this css code, but this is not disabling it.
#map_backgroundmain {
background: url("water.jpg") no-repeat top left;
width: 1000px;
height: 750px;
margin-left: 50px;
}
I use this css code, but this is not disabling it.
I have already found the solution:
<img src="water.jpg" onmousedown="event.preventDefault()" >
Takumi


Sign In
Create Account


Back to top










