Is this possible?

Discussion in 'HTML & Website Design' started by jasoncdu, Nov 1, 2007.

  1. #1
    Hello everyone, I have just one question to ask you all today. "Can you possibly create a code that prevents people from dragging on your website, whether javascript or html? this would prevent them from highlighting the images. if it is possible can anyone please me. I do not want Html Block or anything like that, just plain simple coding. Is this possible?

    Thanks for your time
     
    jasoncdu, Nov 1, 2007 IP
  2. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Why don't you want them highlighting anything?
     
    twistedspikes, Nov 2, 2007 IP
  3. jasoncdu

    jasoncdu Active Member

    Messages:
    569
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #3
    I dont want them highlighting because alot of my bg are pictures, ( making them background wont work because it doesnt match up )
     
    jasoncdu, Nov 2, 2007 IP
  4. webdesigner

    webdesigner Well-Known Member

    Messages:
    489
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Maybe its just me, but still cant see where your coming from or what your hoping to achieve from them being able or not able to highlight.
     
    webdesigner, Nov 2, 2007 IP
  5. rojar123

    rojar123 Peon

    Messages:
    934
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #5
    well if you want to prevent people from copying ur content, then you can use javascript, but if not and you are trying to prevent people from selecting your images, then i think css wud be helpful:)
     
    rojar123, Nov 2, 2007 IP
  6. jDare

    jDare Guest

    Messages:
    218
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You really can't hide/lock anything that displays in your browser completely from the web if you know what you are doing. You can always get around it. If you don't want text selectable you could make it into a dynamic image or just a normal image but you can then always use "print screen" or photoshop out the watermarks if needed to. I too am puzzle why you would want to do this.
     
    jDare, Nov 2, 2007 IP