- 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
48 Posted Topics
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.
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 …
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. …
[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 …
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.
Programs that run on computers without needing an operating system are called "operating systems".
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.
[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.
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.
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).
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 …
The command to add to .htaccess to get html files treated as php is: AddHandler server-parsed .html
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 …
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 …
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.
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 …
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 …
My web page [url]http://www.felgall.com/brsie15.htm[/url] has some info that might help.
You can only use a Win98 boot disk if your partition is FAT32 because Win98 doesn't recognise NTFS.
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.
By the time the onunload triggers the person is no longer on your page to be able to bookmark it.
[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.
Sometimes setting overflow makes a difference in how the height is treated.
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.
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 …
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 …
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 …
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 …
The only SAP I've heard of is an accounting package with hundreds of different modules.
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 problems so far.
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 reinstall of the operating system. The integration of IE into the operating system …
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 browsers but is not part of the "official" standard. Browsers implement …
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.
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 (non-label) side can take a certain amount of damage. If attempting to repair scratches work …
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 and write to files and databases contained on the web server.
Take a look at my page [url]http://www.felgall.com/php5.htm[/url] 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 email address by the PHP after the submit button is selected.
There are some tr and td tags that are not closed. Maybe that is what is causing it.
I have a page on [URL=http://www.felgall.com/jstip59.htm]Dynamic Page Updating[/URL] where which of several DIVs is displayed in the same place on the page is determined by which of several links was last selected. Is this what you are looking for?
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 random number generator at a random spot in its sequence. Computer random number …
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 couple of years rather than spending enough time on one to fix it properly they will continue to …
[QUOTE=coolmel55]What is the difference between a method and an object? Isn't this a method? void Standard::print_results() What denotes an object?? CONFUSED![/QUOTE] 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.
Start up IE and it should ask if you want to make it the default browser.
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 the fractions became too small for the computer to track properly. #include <iostream> #include …
Since Windows XP is actually the next version after Windows 2000 in the same operating system series, Microsoft must think that XP is better than 2000 or they wouldn't have made the changes. By that same logic Windows 2003 must be better than XP since it is more recent still. …
If you add the following line to your .htaccess file then files ending .html or .phtml will be treated the same as those ending .php AddHandler server-parsed .html .phtml
Why is it unnecessary - AdWatch scans for spyware and adware that is trying to install itself on your computer while antivirus software scans for viruses - two completely different things.
The End.
felgall