View Full Version : Bookmark Tag Or Code
kneelsit
12-04-2002, 23:05/11:05PM
Could one of you experts out there tell me if it is possible to set
up coding to help a visitor go from a word at the bottom of your page(such as "bookmark this site") to the actual "Add favourites" section of their browser - or would it be just as simple to make an anchor tag to take them to the top of the page itself.
Greg.
ihelpyou
12-04-2002, 23:14/11:14PM
This is exactly what you want:
===============
<b>
<font size="1" face="verdana">
<SCRIPT LANGUAGE="JavaScript">
<!--
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
var url="http://www.freemoneyservices.com";
var title="ihelpyou Services - Optimization and Registration";
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('">Bookmark Our Site</a>');
}
else {
var msg = "Bookmark";
if(navigator.appName == "Netscape") msg += " (CTRL-D)";
document.write(msg);
}
// -->
</script></font></b>
==================
Of course, change the destination bookmark, etc unless you wish to bookmark my site from your site. :)
Oh, the forum software is putting a space between this:
java script
Make sure that word is one word in the script. I can't change it in the code above. Make it like this:
javascript:window.ext
sheesh. I still cannot make that one word!! Right above should be ONE word only and not with a space.
kneelsit
13-04-2002, 05:46/05:46AM
Thanks heaps for that Doug.
I will take it into the java section of my EditPlus software and fiddle with it there.
Say when do you get time to sleep?? :D
BTW, if I sent you the url of my mini-photo would you be able to set up an avatar for me. I did ask Fahran some weeks ago but I guess she is probably snowed under. I will write to her first to make sure she has not made a start on it.
G.
Kal
13-04-2002, 06:18/06:18AM
Hey Greg - there is also some js bookmark code on my site that you can grab if you like. See it at the bottom of of my nav menu.
cheers
kneelsit
13-04-2002, 12:26/12:26PM
Thanks will have a look.
G:)
ihelpyou
13-04-2002, 12:29/12:29PM
The same code that is very clean is on the forums very front page. View the source code and find it to copy and paste it. That would be easier than fixing the code above.
The link just says 'bookmark' at the top of the page. Mouse over it to see and then click it to see what happens.
BTW, I don't do graphics. That is for Farhan or OptWizard to do and then you send to me to load it up.
JuniorHarris
13-04-2002, 15:47/03:47PM
You can also use an inline javascript command on your anchor tag:
<a href="javascript:window.external.AddFavorite('http://www.mydomain.com/', 'bookmark title')">Click to Bookmark</a>
Advisor
13-04-2002, 17:23/05:23PM
I did ask Fahran some weeks ago but I guess she is probably snowed under. I do believe that Farhan is a he, no?
J
kneelsit
13-04-2002, 19:44/07:44PM
Hi Jill,
I guess I need to wake up and move into century 2002.
Going only on the pics of FAHRAN I thought him too attractive for a male :D
and Thanks Junior
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.