Forum: JavaScript / DHTML / AJAX May 11th, 2006 |
| Replies: 4 Views: 26,870 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: HTML and CSS Dec 4th, 2005 |
| Replies: 3 Views: 2,750 By the time the onunload triggers the person is no longer on your page to be able to bookmark it. |
Forum: HTML and CSS Dec 3rd, 2005 |
| Replies: 6 Views: 26,552 Most times code within onload needs to be there because it references elements of the page that need to be loaded beforehand in order to be able to reference them. Moving the onload code to anywhere... |
Forum: JavaScript / DHTML / AJAX Nov 27th, 2005 |
| Replies: 10 Views: 6,369 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,369 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: HTML and CSS Nov 26th, 2005 |
| Replies: 6 Views: 26,552 What language is that written in? It isn't HTML or XHTML because they use <script type="text/javascript"> to call Javascript. |
Forum: JavaScript / DHTML / AJAX Nov 6th, 2005 |
| Replies: 25 Views: 24,851 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: HTML and CSS Nov 6th, 2005 |
| Replies: 4 Views: 5,931 Sometimes setting overflow makes a difference in how the height is treated. |
Forum: JavaScript / DHTML / AJAX Nov 6th, 2005 |
| Replies: 4 Views: 16,762 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: HTML and CSS Sep 29th, 2005 |
| Replies: 4 Views: 6,949 Netscape 6+ supports getElementById.
If you require support for Netscape 4 (about 1 visitor in 500 or less now) then you need to use document.layers instead just for those visitors and use... |
Forum: JavaScript / DHTML / AJAX Sep 29th, 2005 |
| Replies: 6 Views: 4,450 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: Windows Software Jan 11th, 2005 |
| Replies: 9 Views: 3,250 I just saw a SUPER CRITICAL bug alert for Internet Explorer. The proposed workaround is to STOP USING IE IMMEDIATELY and switch at least temporarily to another browser. IE is a heap of garbage anyway... |
Forum: Windows NT / 2000 / XP Oct 20th, 2004 |
| Replies: 10 Views: 16,981 You can only use a Win98 boot disk if your partition is FAT32 because Win98 doesn't recognise NTFS. |
Forum: Geeks' Lounge Oct 19th, 2004 |
| Replies: 1 Views: 2,027 The only SAP I've heard of is an accounting package with hundreds of different modules. |
Forum: Web Browsers Oct 16th, 2004 |
| Replies: 11 Views: 6,145 Internet Explorer is fully integrated into the operating system. I have seen a number of IE problems that a complete reinstall of IE didn't fix. The only way to correct some IE problems is to do a... |
Forum: Windows NT / 2000 / XP Oct 16th, 2004 |
| Replies: 6 Views: 1,711 Installed on one computer so far. Turned off the XP firewall since the computer has Zonealarm installed. Zonealarm brought up a number of alerts about changed programs (as expected) but no other... |
Forum: Search Engine Optimization Oct 13th, 2004 |
| Replies: 1 Views: 3,395 The / at the end of the link tag is an XHTML 1.0+ requirement but is not valid for earlier versions such as HTML 4.0 which is how you have defined your page.
The height attribute is implemented by... |
Forum: Windows NT / 2000 / XP Oct 13th, 2004 |
| Replies: 4 Views: 3,863 http://www.ranish.com/part/
A free partitioning tool but you need to know what you are doing to use it because it is all manual entries and no nice graphical interface like the commercial ones. |
Forum: Windows 95 / 98 / Me Oct 13th, 2004 |
| Replies: 17 Views: 6,101 DOS doesn't install sound by default since there was no such thing as sound when DOS first came out. To install sound onto DOS you need a DOS driver for your sound card. This will probably come with... |
Forum: JavaScript / DHTML / AJAX Oct 12th, 2004 |
| Replies: 7 Views: 10,994 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: *nix Software Oct 12th, 2004 |
| Replies: 7 Views: 14,944 Microsoft operating systems have a dislike for multiple installs on the same system and where they do handle it you have to install the earlier operating system first. To set up a DOS/Windows XP dual... |
Forum: PHP Oct 11th, 2004 |
| Replies: 4 Views: 14,021 The command to add to .htaccess to get html files treated as php is:
AddHandler server-parsed .html |
Forum: Storage Oct 9th, 2004 |
| Replies: 3 Views: 8,447 The labels certainly help protect the CDs since the most critical surface is the label side, if that gets even slightly damaged then the CD is a nothing more than a drink coaster. The other... |
Forum: PHP Oct 8th, 2004 |
| Replies: 1 Views: 3,340 Take a look at my page http://www.felgall.com/php5.htm which contains info on how to use PHP with forms where the email address is passed to the form handler in pieces and only assembled into an... |
Forum: PHP Oct 8th, 2004 |
| Replies: 1 Views: 4,658 There are some tr and td tags that are not closed. Maybe that is what is causing it. |
Forum: Viruses, Spyware and other Nasties Oct 7th, 2004 |
| Replies: 18 Views: 22,153 IE is tightly integrated into the operating system which means that sometimes reinstalling IE wont even fix the problem and you end up needing to reinstall the entire system from scratch. Other... |
Forum: Windows NT / 2000 / XP Oct 7th, 2004 |
| Replies: 14 Views: 18,266 There are third party partitioning tools such as PartitionMagic, PartitionIT, etc that can convert partitions between the various formats. Perhaps one of these can do what you want.
To be able to... |
Forum: Site Layout and Usability Oct 7th, 2004 |
| Replies: 2 Views: 2,658 I have a page on Dynamic Page Updating (http://www.felgall.com/jstip59.htm) where which of several DIVs is displayed in the same place on the page is determined by which of several links was last... |
Forum: Java Oct 6th, 2004 |
| Replies: 2 Views: 6,319 Most of the computerized random number generators that I have seen use the last few digits of the time field (milliseconds?) as the seed. Since the start time is going to be random this starts of the... |
Forum: Web Hosting Deals Oct 1st, 2004 |
| Replies: 16 Views: 5,897 Many ISPs offer some web space as part of their package. If yours does then you could use that for your site - better than a 'free' host since they put ads all over your site. |
Forum: IT Professionals' Lounge Oct 1st, 2004 |
| Replies: 15 Views: 5,203 He appears to be more interested in marketing than in producing the best possible product but his products aren't that bad and no one is forced to buy Microsoft products.
If you think BG is evil... |
Forum: Computer Science Sep 30th, 2004 |
| Replies: 3 Views: 3,753 Have you tried:
IF NOT "%varX%" == "%varY%" |
Forum: Windows NT / 2000 / XP Sep 30th, 2004 |
| Replies: 9 Views: 2,270 Of course what Microsoft (and all other companies) is most interested in is profit. As long as they can make more money by releasing new somewhat incompatible versions of operating systems every... |
Forum: JavaScript / DHTML / AJAX Sep 30th, 2004 |
| Replies: 7 Views: 10,994 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. |
Forum: C++ Sep 29th, 2004 |
| Replies: 4 Views: 2,307 In your example print_results is the method. You then define an object of type Standard in order to be able to use this method on that object. |
Forum: Web Browsers Sep 26th, 2004 |
| Replies: 18 Views: 5,225 Depends on whether you want a modern standards compliant browser or one that is more compatible with non-standard web pages.
There are US Government departments and many PC magazines recommending... |
Forum: PHP Sep 25th, 2004 |
| Replies: 4 Views: 2,207 PHP is a programming language that runs on web servers. It is used primarily to dynamically create web pages. It can process the entries from a form and output them to a web page, it can also read... |
Forum: PHP Sep 25th, 2004 |
| Replies: 2 Views: 20,712 You appear to have lost a period (.) after tep_href_link(FILENAME_CONTACT_US)
If you add the period before the '" that will fix the parse error. |
Forum: C++ Sep 24th, 2004 |
| Replies: 6 Views: 4,067 Your right, I missed the int when working out how the loop works. Divide 1 by 2 in integer maths and you'd have to get either 1 or 0 returned depending on how the code is evaluated so it either... |
Forum: C++ Sep 23rd, 2004 |
| Replies: 6 Views: 4,067 That code isn't an infinite loop. It loops twice adding 1/2 each time round ending up with a total of 1.
The following would "in theory" be an infinite loop but in practice would terminate once... |