|
|
Take
the Following Steps to Insert the Java Script Code:
***
Inside the first table below is the original
code (you'll copy this and insert it into your
HTML): This code is property
of A1Javascripts.com and must be kept in-tact to use
for free....
|
<SCRIPT
LANGUAGE="JavaScript">
<!-- Begin
if ((navigator.appName == "Microsoft Internet
Explorer") &&
(parseInt(navigator.appVersion) >= 4)) {
var url="http://www.a1javascripts.com";
var title="A1 JavaScripts";
document.write('<A
HREF="javascript:window.ext');
document.write('ernal.AddFavorite(url,title);"
');
document.write('onMouseOver=" window.status=');
document.write("'Add our site to your favorites!';
return true ");
document.write('"onMouseOut=" window.status=');
document.write("' '; return true ");
document.write('">Add our site to your
favorites!</a>');
}
else {
var msg = "Don't forget to bookmark us!";
if(navigator.appName == "Netscape") msg += "
(CTRL-D)";
document.write(msg);
}
// End -->
</script>
|
STEP 1.
Locate the area of your web page where you would like to
insert the code.
The screen shot below shows where I inserted the code for
the example above into my HTML...

STEP
2. The green
arrows show the beginning and end of the Bookmark
script. This gives you an idea of where it was
inserted into my page. Notice mine was inserted
between two <center>
tags in order to center the words or link on my web
page.
NOTE:
Internet
Explorer Visitors will See the Following in the form of a
link on your Web page once the code is inserted:
Add
our site to your favorites!
**
Netscape users will see the following instead due to the
differences in the way the browsers work with java
code. When your visitor hits CTRL D, the bookmark is
added for that particular page - no customized title is
available for Netscape at this time, but at least it reminds
the visitor to bookmark:
Don't
forget to bookmark us! (CTRL-D)
STEP
3. The red
arrow shows the web address of the site you would like to
bookmark. Where you see the address http://www.webmastercourse.com,
you'll replace this with your own URL address - and leave
the quotes.
When your visitor clicks on the
bookmark link provided on your page in Explorer or uses the
CTRL D function in Netscape, they will automatically be
given an opportunity to bookmark your web address.
STEP
4. This
step is to add an extra feature to Internet Explorer for
your web page bookmarks...
The blue
arrow points to the "Title"
of your bookmark link which will give the visitor a
description of your site in their bookmarks which you
specify. This is great because it allows you to insert
a catchy phrase that will remind your visitor of what your
site's all about. Normally, when someone visits a site
and decides to bookmark it, they don't re-type a
description. They just allow the browser to choose a
title from the page meta tags, which can be a good or bad
thing. You can choose the title you want the person to
see using this script.
Simply replace the words Web
and Graphic Design Training for Beginners with your
specific web page title - and leave
the quotes.
For Internet Explorer Only:
This can come in handy when your customer is not at your
home page when bookmarking, but is at a product page
instead. You can then specify the bookmark to be the
home page web address and the main website theme "title"
instead of a product page title. This will make the
bookmark more attractive and eliminate confusion in most
cases for the visitor later on.
STEP
5. Transfer your web page to the Internet using
FTP as any normal page and test it out. Your message
for bookmarking your site should appear and work
properly. If not, try going through each step once
more, and email
me if you still need help.
**This quick
tutorial provided by Online Success for Internet Business
and Web Design Weekly. Go here to learn web design the
simple way...
http://www.webmastercourse.com/
©This
tutorial is Copyrighted by Candice
Pardue, Freelance Writer
|