- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 6
- Posts with Upvotes
- 6
- Upvoting Members
- 6
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Computer Consultant
48 Posted Topics
Re: Why are you using document.write - is supporting Netscape 4 and earlier users still important for your site. All browsers more modern than that have better ways of outputting to the page that work after the page has loaded without creating an entire new page. The simplest one is innerHTML. | |
Re: The easiest way to test for IE9 or less is to check if HTML conditional comments are supported as only IE5 through IE9 support them and no one uses IE4 or earlier any more. <!--[if IE]>Your old version of Internet Explorer is not supported on this site.<![endif]--> No JavaScript is … | |
Re: All of the values passed to a function are stored in "arguments". test("a","b","c"); function test(var0,var1,var2) { for(var i=0; i<3; i++) { alert(arguments[i]); } } | |
JavaScript doesn't actually have a sleep() function corresponding to what is available in other languages. We can easily implement one though. The following code uses afunc as an example function where we want to be able to have the code sleep for a number of milliseconds between sections of code. … | |
Re: [QUOTE=kincaid] if (document.all) { window.external.AddFavorite(document.location.href, document.title); [/QUOTE] 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 the feature you require to use not the one you are currently testing. With Firefox … ![]() | |
Re: You are missing a { on the end of line 4. That means the if only contains the debugging alert and the function always returns false. The else is outside the function. ![]() | |
Re: Programs that run on computers without needing an operating system are called "operating systems". | |
Re: 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. | |
Re: [url]http://www.ranish.com/part/[/url] 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. | |
Re: 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 getElementById for everyone else. | |
Re: 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 allow you to block right click). | |
Re: To get rid of borders around link images add border="0" to the image. The preferred method for changing link colours is using stylesheets. You'd use something like a:link{text-decoration:none;color:#3366cc;font-weight:bold;} a:visited{text-decoration:none;color:#6699ff;font-weight:bold;} a:active{text-decoration:none;color:#3366cc;font-weight:bold;background-color:#cccc00;} a:hover{text-decoration:none;color:#0000cc;font-weight:bold;background-color:#cccc00;} You can use link, alink, and vlink on the body tag and it will still work in current browsers … ![]() | |
Re: The command to add to .htaccess to get html files treated as php is: AddHandler server-parsed .html ![]() | |
Re: 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 then buy alternative products for your computer such as Linux, Open Office, etc and … | |
Re: 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 convert to FAT16 the partition must be 2Gb or smaller (although Windows NT and presumably 2000 and XP … | |
Re: 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 browsers are stand-alone and don't have these problems. | |
Re: 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 value if the prior page was on a secure server, etc. If this happens then you have … | |
Re: 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 boot you need to have DOS installed before installing XP and then the XP install … | |
Re: My web page [url]http://www.felgall.com/brsie15.htm[/url] has some info that might help. | |
Re: You can only use a Win98 boot disk if your partition is FAT32 because Win98 doesn't recognise NTFS. | |
Re: 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 force what you want if your site is running on an apache server. | |
Re: By the time the onunload triggers the person is no longer on your page to be able to bookmark it. | |
Re: [QUOTE=vivek vermani] <javascript> function(); </javascript> [/QUOTE] What language is that written in? It isn't HTML or XHTML because they use [b]<script type="text/javascript">[/b] to call Javascript. | |
Re: Sometimes setting overflow makes a difference in how the height is treated. | |
Re: 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 the password must be with most such scripts. | |
Re: 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 that people abandon IE because of the 500+ outstanding security issues plus the fact that it hasn't had a significant … | |
Re: I think it depends most on your target audience. If your site is specifically there for residents of a particular country then a country specific domain name will be easier for them to remember (unless the country is the USA in which case a .com domain name will be more … | |
Re: 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 as it is getting further and further non-standard since Microsoft do not seem to be … | |
Re: 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 an install program that will insert the required entries into your config.sys … | |
Re: The only SAP I've heard of is an accounting package with hundreds of different modules. |
The End.