Code "Jacking"
by James Stadnyck
March 25, 1999
Ever wonder how someone typed in all the United States and its Territories in alphabetical order and got it right the first time? Well, they probably just cut and pasted someone else's code, just like I will teach you how to do here in this tutorial. This is for a drag down used primarily with forms.
*Important*
Anyone can "jack" code from any web site on the internet. Knowing how to use some of it is a different story. If you have code that is specialized, people will "jack" it and fix it for their site. You may want to add to your code "This code is copyright... and .... you may use it if you include my copyright notice..." or something like that. It won't stop everyone but the honest people will give you credit.
First you need to find a page on the Internet that has the information you need. Then on your browser, drag down on the page source and then find what you need and copy and paste into your web design program. The software you are using should be able to understand the code. If you are using a WYSIWYG type program like GoLive, it will understand the code and you will be able to edit it within GoLive.
To grab the States of the Union like below just view the source code for this page and start copying where it says <!-- START HERE--> until you get to <!-- END HERE-->. Paste it into your html source code page in your editor and voilá you have all the states in perfect order.
|