, Guest!
Already a Member? Login or Register.



Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > Code Snippets > "Bookmark Us" script

FlexCMS Support Forum

"Bookmark Us" script
Started September 15, 2007 @ 3:47pm by yorkcoparamedic
Post Message 

Posts: 11
"Bookmark Us" scriptSeptember 15, 2007 @ 3:47pm
This works well with most newer browsers like IE, FF, and Opera. I have tested it on all of them. Just place the code below in a new menu block, change to your URL and off you go.


<script type="text/javascript">

function bookmark_us(url, title){

if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
else if(document.all)// ie
window.external.AddFavorite(url, title);
<a href="javascript:bookmark_us('http://www.yoursitehere.com')">Click Here!</a>

You can also use a image instead of a text link.


Post Message 

Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!


All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.07671 seconds.
Management Login

Powered By FlexCMS
Powered By FlexCMS