Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35

Thread: [DHTML] No Right Click

  1. #31
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Haha, we don't, ddadmin does I believe the CSS library is based on some form of CMS, but the rest hasn't been updated yet.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  2. #32
    Join Date
    Apr 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Twey View Post
    Haha, we don't, ddadmin does I believe the CSS library is based on some form of CMS, but the rest hasn't been updated yet.
    Wow, i feel bad for him

  3. #33
    Join Date
    May 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb not javascript, but...

    hi! im new here- ive been coding webpages for about a year now. i hope to help people on this site.

    ...heres some HTML i made that blocks right-clicks, dragging, and selecting. Not sure if it works in firefox, but it works in IE:

    <body oncontextmenu="return false" ondragstart="return false" onselectstart="return false">


    or if ya wanna drive someone crazy but not allowing regular clicks too, heres code for that :
    <body onclick="return false" oncontextmenu="return false" ondragstart="return false" onselectstart="return false">
    Last edited by muffinzrock; 05-11-2007 at 12:28 AM.

  4. #34
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    No offense intended, but: that doesn't work, and maybe in IE. JavaScript can be disabled. Blah blah. This thread should be either closed, or moved to the lounge.
    - Mike

  5. #35
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    OK, I'll lock it. If folks want to ramble on about right click, they can do it somewhere else other than in the submit section.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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