| The web wizard. Tips and tricks on how to build your website. | |
|
|
|
|
Welcome in this page! Here you may find some useful
codes to enhance your web pages
|
|
| How to rebuild a frameset | |
|
Second, put this script in in the <Head> tag of the first framed page called by the menu page: You must put no script in the frameset page. Now, try calling this page: http://www.quintavalle.it/camus/lamgods.htm . The frameset will be built around the page you've been calling.
|
|
| Warning pop up window (javascript:click) | |
|
Clicking on a link with this Javascript a pop up window will appear, asking the websurfer if he really intends going further or not. As seen on http://www.newtopsites.com/
|
|
| Bookmark this page | |
|
Extremely useful to make people add your webpage to their bookmarks and
favourites. such as: Bookmark me
|
|
| Bookmark this page - pop up window | |
|
Your visitors are so dumb they don't even know how to bookmark your
page? Do it for them! See the result in this site on Controsito
|
|
|
Pop up window - welcome/alert message |
|
|
To have a pop up alert window at the opening of the page, put this code
into the HEAD
|
|
| Fade-in effect. Transition effect | |
| To obtain a fade in effect, add this formula
to the HEAD
as seen on: http://www.fmc.gov
You may also try a transition effect, when you open a new page of your website. Duration is the number of seconds that the effect will take place. Transition is the type of the effect you want to obtain (learn Italian if you don't understand!)
|
|
| Status bar text | |
| You may like to insert some text in the status bar This is for moving text: Or try also this one: | |
| Meta tags | |
| Keywords: they help search engines to list
your site. Don't be silly using keywords such as "sex"... Author: put here your signature
|
|
| Targets | |
| Normally, when you click a link, the browser
will open the new page and close the one you are currently visiting.
Adding a target to a link in your website, you may obtain - for instance
- that the visitor may see the new page without leaving yours.
Trapped in a frame? Free yourself! (Very useful if you think your
page may be seen through a frame) A target Top, mixed with an image at the bottom of the page, will help the visitor come back to the top of the page
|
|
| Mailto link | |
| A mailto link opens the mailreader programme
from your webpage. It can be used to help visitors to Tell a friend
about your website, or to let them communicate with you. You may insert
a line about the subject, and even some text, wich will appear in the
textbox of the mailer programme. Put ? before the subject and & before the body. You may also want to hide your link with a gif image. NEVER show your
mail address on the website, as this makes easy to spammer crawlers to
get it. Look how it looks like clicking on this image: This is a link I put on my homepage to make visitors tell a friend about my website: Click on this image to see how it looks like:You may notice I didn't put any address on the mailto link, in order to let the visitor write to whoever he wants. More info about in: http://www.ianr.unl.edu/internet/mailto.html |
|
| Pop Up Windows | |
| How would you like to launch popup windows on entry? This can be done easily with
Javascript. Here is a code example:
Or try this: where "Banner.html" is the title of the file which will be opened Or this where "scroller.html" is the title of the file - previously prepared - which will be opened. |
|
| Tell a friend | |
| One more complicated way to open
a Tell a friend form on a page is inserting this Javascript in
the HEAD of the document
See on http://www.ferryhalim.com/orisinal/games/bubble.htm ho it looks like. |
|
| Insert a Google form in your page | |
| Directly from your page, Internet search with the most powerful search engine. A service to your visitors. | |
| Redirect | |
| Suppose you made a new site, and
you left the old server. For long time your visitors will click on the
old URL and they may not find anything. Loosing visitors? No way! Put at the old URL a page with few indications and this code line in, with the new URL. The browser will be automatically redirected to the new site. |
|
| Disable right click - Disable images toolbar on IE6 | |
| A good way to help people from
stealing your code or your images is the "disable right click"
function. This doesn't guarantees total safety, but you may help
stealings from most of the web surfers.
a second one (if you put "event.button 1" instead, you will disable left click): I wouldn't recommend this...but you may disable right click all over your page. See here Internet Explorers 6 as an image toolbar that appears on all images. To disable it insert this code: |
|
| Embedded sound | |
| To put a musical
background:
This effect could be annoying as most web surfers are connected to your site from work. This will make appear a Player in your page:
|
|
| Favicon | |
| You may want to put a special
icon on your website, instead of the Internet Explorer default. When you have done your Icon - or stolen it from another site ;-) like www.playboy.com/favicon.ico - and named it favicon.ico, put it in the root directory of the site, the add this line of code immediately before the </head>
|
|
| Automatic page scroller | |
| To make the page automatically
scroll upwards, as in http://www.quintavalle.it/CV.html |
|
| CSS Creator V.1.0 | |
| Tired of the usual
underlined links? Try this useful tool CSS Creator V.1.0, copyrighted by
Boris Mordkovich. This script will alow you to create a great looking page without knowing any HTML at all Go to CSS Creator V.1.0
|
|
| Emoticons | |
| And now after the boring stuff,
some humour: |
|
| Legal stuff | |
| This material is the result of
years of practical webmastership and is in public disposal. I did not
invent the scripts shown (when the author was known, it was reported),
but I put them together and I'm the author of this page.
So, permission is hereby given to download, reprint, link and/or
otherwise redistribute this file, © Dario Quiintavalle, 2003
|
|
| Sorry ! | |
| If there is something you did not
understand, that's because you are a dumbass. So don't write me to
complain, or ask for suggestions. Agriculture, not web design, is the
proper job for you. But, should you be satisfied, happy, and considered how much time I already spent to share my little secrets with YOU, your positive feedback on my guestbook will be most welcome and appreciated. |
|
Famiglia Quintavalle |
|
Albert Camus | |
New in this site |
Site
Map |
Links |
Translate |
Guestbook
|
Statistics
| Tell
a Friend |
|
You are welcome visitor n°: |
|
|
This page last updated on
13.06.2007