PDA

View Full Version : [DHTML/JAVASCRIPT] Bookmark



dezkit
09-28-2008, 04:11 AM
1) CODE TITLE: Bookmark

2) AUTHOR NAME/NOTES: dezkit

3) DESCRIPTION: Bookmark, works in every browser

4) CODE:
<a href="javascript:if(window.sidebar){window.sidebar.addPanel('Website','http://website.com','')}">Bookmark</a>

btw: im new here :)

Nile
09-28-2008, 04:24 AM
It doesn't look that complex, plus if it works in all browsers, why are you seeing if its true or not?

jscheuer1
09-28-2008, 09:55 PM
Yeah, I don't think that will work in IE, or some others. In any case, Dynamic Drive already has a pretty comprehensive Bookmark script:

http://www.dynamicdrive.com/dynamicindex9/addbook.htm