Results 1 to 5 of 5

Thread: No right click script for XML

  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default No right click script for XML

    i recently changed my blog template to a xml one instead of the html and the no-right-click script doesn't work anymore. Can anyone help? IS there any no right click script that works in xml. or javascript generally doesn't work in xml. please advise. thanks in advance!

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    This link just about says it all. Don't ya think?
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    After reading this, I thought it was dumb to put right-click disabling scripts on a site. If the viewer wants to view the source, in IE6-8 you can just click View and then Source, or you can click Edit and then Edit Source With Microsoft Word.

    -magicyte

  4. #4
    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

    Ha, Ha, Ha, Ha.

    No disrespect intended. But, if you are into xml, certainly you must be beyond worrying about 'right click'.
    - John
    ________________________

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

  5. #5
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    Indeed and agreed.

    nattiong, when we all say this, we're saying that XML cannot be viewed as HTML format. XML is a type of 'information storer'. It's like HTML, but it doesn't have any visual elements or scripting, server-side nor client-side, just tags. You use HTML and JavaScript to get information from XML files, then you manipulate the info to place it on your site. This is used with the 'ActiveXObject' in JavaScript, and is also known as AJAX. This is why we all snickered. No offense, anyway.

    -magicyte
    Last edited by magicyte; 11-16-2008 at 04:57 AM.

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
  •