View Full Version : No right click script for XML
nattiong
11-15-2008, 03:01 AM
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!:confused:
BLiZZaRD
11-15-2008, 04:07 PM
This link (http://www.sitepoint.com/article/dont-disable-right-click/) just about says it all. Don't ya think?
magicyte
11-16-2008, 01:27 AM
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
jscheuer1
11-16-2008, 03:32 AM
Ha, Ha, Ha, Ha.
No disrespect intended. But, if you are into xml, certainly you must be beyond worrying about 'right click'.
magicyte
11-16-2008, 03:33 AM
Indeed and agreed. :D
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. :o No offense, anyway.
-magicyte
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.