|
|
Setting Up JavaScriptBy Nathan Poole If you're reading this, it means you're interested in adding a configurable Javascript to your own virtual community. Of course you don't need to know every aspect of Javascript to use it, and that's the beauty of the language. You can know nothing and you'll still be able to use any script you please. You're not limited by knowledge, or lack thereof. To begin, find a script. You can look for a script in Webpedia's Javascript Archive. Once you find a script you're interested in inserting into your Web site, go to the authors page and find the actual working script. Once you're there, you can locate the code behind the script by using your Netscape or Explorer's VIEW option. Click VIEW and then choose SOURCE. You can establish what's Javscript and what's just plain HTML by looking at the tags. The Javascript will begin with It's unfortunate that after all these years, Netscape Communications still hasn't implemented a feature that allows a user to copy text in the view source application without using a key combination. To this day, there is no "EDIT->COPY" feature. Once you have established exactly where the Javascript is, highlight the text by dragging your mouse over the text, once you have it all, hold down CTRL, and hit "C". This will copy your text. In Explorer, you can choose EDIT->COPY. All finished. You can now paste your newly acquired Javascript code into your HTML document. This article first appeared May 29, 1999.
Contact the WebDeveloper.com® staff Last modified: 20
|
Refresh Daily
|