PDA

View Full Version : Bookmark script doesnt' work here



breadstix
05-29-2006, 09:08 PM
Script: Bookmark Site script
http://www.dynamicdrive.com/dynamicindex9/addbook.htm

Hi,
I must be doing something wrong when I installed this script on my website at:
Free Top Keywords (http://www.freetopkeywords.com) . I followed instructions, but the link opens a new blank window when clicked, and that's all.

Any hints?

jscheuer1
05-29-2006, 09:32 PM
You should remove this:


<base target="_blank">

from your page and see if it helps. That might be all you need to do but there could be other problems. If that fixes it and you still want that base target, you could try adding a target to the bookmarksite link:


<a target="_self" href="javascript:bookmarksite('Free Top Keywords', 'http://www.freetopkeywords.com')">

or


<a target="" href="javascript:bookmarksite('Free Top Keywords', 'http://www.freetopkeywords.com')">

But, you may need to drop the base target and add individual targets to each link where desired.

Twey
05-29-2006, 10:25 PM
Also try:
javascript:(function(){bookmarksite('Free Top Keywords', 'http://www.freetopkeywords.com');return null;})();

breadstix
05-29-2006, 10:55 PM
Thanks so much guys! I got rid of the target base url line code and now it works fine.

:) thanks