fmwebschool.com
Top Experts [learn more]Top 4-10
webko

9743 K
bandmandq

2458 K
Genx

1525 K
4. tcmeyers
5. kbata
6. Martie
7. Hammerton
8. rrenfrow
9. bneeman
10. plegler
Welcome, Guest. Please login or register.
May 19, 2013, 05:23:58 PM

Login with username, password and session length
Search:     Advanced search
Welcome to the FileMaker Web Masters Exchange.  If you have any questions about how to use this forum, please watch the getting started movie at:
http://www.fmwebschool.com/movies/forum1/forum1.html
27455 Posts in 6062 Topics by 1523 Members
Latest Member: donok
* Home Help Search Calendar Login Register
+  fmwebschool.com
|-+  Other Resources
| |-+  Free JavaScript Code Snips
| | |-+  Allows users to quickly bookmark your page in IE's Favorites
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Allows users to quickly bookmark your page in IE's Favorites  (Read 2921 times)
FMWebschool
FMWebschool Team
Administrator
Hero Member
*****
Offline Offline

Posts: 1026
Kudos: 1383


Allyson Olm, Chief Developer


WWW
Applications:
« on: February 01, 2006, 09:11:39 AM »

Use this "bookmark this page" script to add a bookmark to Internet Explorer's Favorites.  Unlike most other bookmark scripts,
this one automatically grabs the page title and url when creating the bookmark, so there is no need to set variables for these
manually for every page.

 
Instructions:
Copy and paste the code directly into the <body> of your page where you wish the bookmark link to appear. Set the variables as
shown in the script.  To format the appearance of the text, wrap font tags around the whole script, like this:

<font face="Arial" size="3">

<script>
.
.
.
</script>

</font>
.
 
The Code: 
<script language="JavaScript">
<!--
// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================

// message to show in non-IE browsers
var txt = "Bookmark Us!"
// do not edit below this line
// ===========================

var url = this.location;
var who = document.title;
var ver = navigator.appName
var num = parseInt(navigator.appVersion)
if ((ver == "Microsoft Internet Explorer")&&(num >= 4)) {
   document.write('<A HREF="javascript:window.external.AddFavorite(url,who);" ');
   document.write('onMouseOver=" window.status=')
   document.write("txt; return true ")
   document.write('"onMouseOut=" window.status=')
   document.write("' '; return true ")
   document.write('">'+ txt + '[/url]')
}else{
   txt += "  (Ctrl+D)"
   document.write(txt)
}

//-->
</script>
Logged

In Kindness
FMWebschool Team
http://www.fmwebschool.com
http://www.fxforge.net
800.353.7950
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!