www.webdeveloper.com
Results 1 to 5 of 5

Thread: Need help with "no right click"

  1. #1
    Join Date
    Aug 2004
    Posts
    1

    Need help with "no right click"

    I sell on ebay and need help with the "no right click" coding. Is there a way to begin and end the coding so that the whole page isn't involved? I need to have a portion of my auction not available with the no right click, something that I can put in at the beginning and the end - not for each paragraph or line. TIA

  2. #2
    Join Date
    Jun 2003
    Location
    The United States Site: http://kellyj.t35.com
    Posts
    2,561
    Doing the following *would* work:
    Code:
    <p>
    Paragraph 1
    </p>
    
    <p>
    Paragraph 2
    </p>
    
    <p>
    Paragraph 3
    </p>
    
    <p oncontextmenu="return false;">
    Paragraph 4
    </p>
    For IE only users with JS disabled. Any browser can disable the JS though, and anyone can still access the source code.

    In the end, there is no purpose in me even providing the code at all, since it is generally useless.

    Dr. Script

  3. #3
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,123
    Originally posted by steelersfan88


    In the end, there is no purpose in me even providing the code at all, since it is generally useless.

    Dr. Script


    why would you then?
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  4. #4
    Join Date
    Jul 2004
    Posts
    986
    Originally posted by Khalid Ali


    why would you then?
    Hopefully Ebay will disable html and particularly javascript or every idiot in the world will be disabling right click in a lame attempt to protect their images and opening in a new window will be disabled due to their selfishness and lack of foresight...

    You should have kept that to yourself...

    .....Willy

  5. #5
    Join Date
    Jun 2003
    Location
    The United States Site: http://kellyj.t35.com
    Posts
    2,561
    Originally posted by Khalid Ali


    why would you then?
    Normally I would not ... although I felt that the OP would decide on making the decision on using the code.

    ... not if one couldn't find that so simply on Google, or by searching these forums.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles