===========================================
REFERENCING A TAB PAGE
pdf_library.htm?pdflibrary=1
===========================================
Framesets were largely used to format pages due to the limitations of HTML - limitations that no longer exist. Use CSS and iframes and forget about frames!
===========================================
CGI was the first way to process form data on the Internet. It had its day, but its day has long passed. If you do things with CGI (usually with the PERL scripting language,) you will be jumping into into a world of pain! CGI is old, tedious, slow, and much harder to work with than any of the modern languages like PHP and JSP.
===========================================
options: width, height, name
===========================================
...
creates a link that causes the browser to launch the user's default email program.
'subject' option: used to automatically fill in the 'subject' field in the email program.
===========================================
1. No page counters: Page counters do nothing except make you look like an amateur, mess with your design and tell people information about your site you probably don’t want them to know!
If you want to know how many people are hitting your site, just ask your host for server stats. Any host worth it’s salt should be able to provide you with detailed stats that make page counters look stupid.
2. Forget blinking or flashing text: The only place you see blinking and or flashing text is on the neon signs of naked bars or web sites made in the mid 90s! People don’t like them and expect to see naked people inside sites or buildings that have them … enough said.
===========================================
A 404 page is just an html page like any other, you just need to ask your host to set it up so you can use your own home made 404 page. A good 404 page will be clear to the visitor that they found the right website, but just not the right page. 404 pages should include a link back to your ‘home' page and maybe the site map page. If you have a search engine built into your site, then include the search too.
===========================================
Flash vs. Ajax
http://www.killersites.com/magazine/wp-content/uploads/2008/08/ajax-vs-flash.mp3
Flash
- Plugin
- Video
- Games
- Self contained engine
- Does what Ajax does and more
- Programming language is called "Action Script"
Ajax
- built-in to browser, no plugin needed
- Can do some animations, but as good as Flash for animations
- Shopping carts, search
- Not for video
- Uses Javascript, CSS, DOM script
- Browser inconsistency
- Send and receive data to server
===========================================
Dreamweaver CS4 (the latest version as of 2009) has removed its’ support of ASP.net.
ColdFusion (Adobe’s asp.net)
===========================================
A screen resolution of 1024x768 equates to a page size of: 955x600
===========================================
Targets
http://www.mediacollege.com/internet/html/hyperlinks.html
You can specify a target window or frame for a hyperlink. This is where the linked page will open. If no target is specified, the link will open in the same window/frame. The format is this (where the target is "self"):
Go To Page 1
The target window options are:
_self : Opens in the same window and same frame.
_top : Opens in the same window, taking the full window if there is more than one frame.
_parent : Opens in the parent frame.
_blank : Opens in a new window.
If you have a frameset defined, you can set your target as any particular frame. For example, if you have a navigation frame called"nav" and a main frame called "main", set the target of your navigation links like so:
Go To Page 1
Go To Page 2
...etc.
Note: Instead of specifying a target for each individual link, you can define a "base target" for an entire frame or page. This means that every link on the page will use the base target by default. Place the base target tag in the page's head. Example:
===========================================
Link to a Specific Part of a Page (Internal Hyperlink)
An internal hyperlink is a link which points to a particular part of a page. This can be useful in long pages with lots of sub-sections. For example, the links at the top of this page are internal links pointing to each sub-heading.
Internal hyperlinks require an anchor tag with the "name" attribute like so:
Part 2
Create an anchor like this at the place in the page you want to link to. It doesn't matter if there is anything between the open and close tags.
Then create a hyperlink which refers to this anchor with a hash (#) like so:
Go To Part 2
This assumes that the name anchor is on the same page as the hyperlink. To link to an anchor on a separate destination page, simply create a normal link with the anchor name appended to the file name like so:
Go To Page 1, Part 2
Notes:
* Browsers treat internal links exactly the same way as normal links, i.e. as if they were a separate page. This can result in some confusion with back and forward buttons.
* If an internal hyperlink on the same page doesn't work, try including the page's file name in the hyperlink (as if you were linking to a separate page).
* Sometimes internal hyperlinks don't work in pages on your hard drive unless you are running a personal web server. They will work when you upload them to your site.
===========================================
E-Mail Links (mailto)
E-Mail links, otherwise known as a "mailto" links, use the following format:
Click Here to Email Me
This type of link is a special case, completely different to those described above. Instead of linking to a place on the internet, clicking this link causes the user's computer to open it's default email program (e.g. Outlook Express, Eudora, etc) and prepare a blank email to the specified address. The user then enters their message and sends the email in the normal way.
If you want to be tricky, you can add a "subject" attribute to the link. This will automatically insert the specified subject line into the email:
Click Here to Email Me
Notes:
* The subject attribute doesn't work in all browser/email programs. Those programs which don't support it will probably just ignore it, but there are no guarantees that it won't cause an error. Use at your own risk.
* Be aware that using mailto links on your website is an open invitation to spam. Malicious programs called "email harvesters" troll the internet looking for these links - when they find yours they will add it to a database for spammers. This is why we recommend using a contact form rather than a mailto link wherever possible.
===========================================
If you need other onLoad handlers, just separate the function calls with semicolons.
===========================================
One way to discover this information is via a Google search. If you visit www.google.com and enter the following:
link:http://www.boutell.com/
All of the results returned will be pages that link to that page. One inconvenient aspect of this search is that pages on your own site are included in the results; you'll need to page through those patiently in search of external pages that are linking to your site.
===========================================
Where did that ugly whitespace between the header and menu come from?
I didn't put that there! Oh, yeah... Explorer's rendering engine does that when there's whitespace in the code after images.
===========================================
Windows IIS IncludeFiles
http://msdn.microsoft.com/en-us/library/ms525940(v=VS.90).aspx
The #include directive is the only directive that will work in .asp files as well as .stm, .shtm, and .shtml files.
===========================================
Special Characters
Code Symbol
Description
™ ™ Trademark
& & Ampersand
® ® Registered trademark
© © Copyright
† † Dagger
» » Right pointing double angle quotation mark
« « Left pointing double angle quotation mark
— Em-dash
° 30° Degree
¼ ¼ Quarter
½ ½ Half
¾ ¾ Three quarters
· · Middle dot
¡ ¡ Inverted exclamation mark
===========================================
You can automatically populate the subject line with the following code:
Email Homer
===========================================
Click here
Use
Code: %20
for the spaces and
Code: %0D%0A
for a new line
===========================================
===========================================
===========================================
===========================================
===========================================
===========================================