Forum: JavaScript / DHTML / AJAX May 11th, 2006 |
| Replies: 4 Views: 27,614 That code will crash Opera which understands document.all but doesn't understand window.external
You should be testing for window.external not for document.all in the if statement since that is... |
Forum: JavaScript / DHTML / AJAX Nov 27th, 2005 |
| Replies: 10 Views: 6,454 Whether the script works or not can depend on the browser and firewall settings on individual computers. That would be the reason some people say it works and others say it doesn't. You can't rely on... |
Forum: JavaScript / DHTML / AJAX Nov 26th, 2005 |
| Replies: 10 Views: 6,454 document.referrer may contain the address of the previous page or it may not. There are a number of factors that can affect this such as browser settings, firewall settings, IE also suppresses the... |
Forum: JavaScript / DHTML / AJAX Nov 6th, 2005 |
| Replies: 25 Views: 25,132 Most of your visitors will have .zip files set to offer as download rather than process automatically so you could upload in that format. There is also code that can be put in the .htaccess file to... |
Forum: JavaScript / DHTML / AJAX Nov 6th, 2005 |
| Replies: 4 Views: 17,391 Disabling right click is done using a single statement.
<body oncontextmenu="return false;">
This works for both the mouse and the keyboard in all modern browsers except Opera (which doesn't... |
Forum: JavaScript / DHTML / AJAX Sep 29th, 2005 |
| Replies: 6 Views: 4,493 Javascript is definitely NOT the way to go to password protect pages. Since the Javascript source is available for your visitors to read it is not hard to reverse engineer the code to work out what... |
Forum: JavaScript / DHTML / AJAX Oct 12th, 2004 |
| Replies: 7 Views: 11,052 The W3C web site lists XHTML 1.1 as the latest HTML standard. I guess it depends on how up to date you want to be. I am not convinced that earlier browsers still used by a lot of people will... |
Forum: JavaScript / DHTML / AJAX Sep 30th, 2004 |
| Replies: 7 Views: 11,052 Pages created using XHTML are treated as HTML if they have an .htm or .html extension and as XML if they have a .xml extension so, provided your code is valid, using XHTML gives you both at once. |