PDA

View Full Version : Dynamic Drive Bookmark script {cant figure it out}



ztaste
06-06-2006, 06:16 AM
<script type="text/javascript">

/***********************************************
* Bookmark site script- &#169; Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
function bookmarksite(Music Corner, http://webkay.com){
if (document.all)
window.external.AddFavorite(http://webkay.com, Music Corner);
else if (window.sidebar)
window.sidebar.addPanel(Music Corner, http://webkay.com, "")
}

</script>

<style type="text/css" media="screen"><!--
#layer1 { visibility: visible; position: absolute; top: 48px; left: 637px; width: 127px; height: 240px }
--></style>
</head>
<body bgcolor="#ffffff">
<p></p>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="419" width="600">
<param name="movie" value="index.swf"/>
<param name="quality" value="best"/>
<param name="play" value="true"/>
<embed height="419" pluginspage="http://www.macromedia.com/go/getflashplayer" src="index.swf" type="application/x-shockwave-flash" width="600" quality="best" play="true"></embed>
</object>

<div id="layer1">
<h3>Welcome to WebKay, The Music Corner on the Web.</h3>
<div align="center">
<h3><a href="Enter.html"><font color="#ff0033">ENTER</font></a></h3>
<a href="javascript:bookmarksite('Music Corner', 'http://WebKay.com')">Bookmark this site!</a>
</div>

</body>
</html>
I like to have a pop op window for favorites, Thanks for you help

ztaste
06-07-2006, 03:18 AM
<!-- Bookmark and Set as Homepage Script-->
<!-- Use this script to incourage visitors to revisit your website and set is as their bookmark-->
<!-- Please keep the following comments for your reference and changes in the future. If you have additions or thoughts for changes feel free to email us at info@tuscaloosadesigncompany.com. -->
<!-- This function is pretty cut and dry. to Set bookmark
exmaple:
bookmark('http://www.everytruckingjob.com', 'txt', 'Truck Driving Jobs', 'Bookmark This Page');
bookmark('Site URL', 'how this bookmark is set/type can be an image as well img src-=""','title for this page in bookmarks','Text on the page');-->

<!-- -->
<!-- -->
<script>
function bookmark(url, type, sitetitle, output)
{
document.write('<a class="setbookmark" href="#" onClick="window.external.AddFavorite(\'' + url + '\',\'' + sitetitle + '\');" onMouseOver="(window.status=\'Add this site to favourites\'); return true;" onMouseOut="window.status=\'\';">' + output + '</a>');
}
//change the following variables for your sites
bookmark('http://www.Webkay.com', 'Bookmark this site, 'Music Corner', 'Bookmark This Site');
</script> 1. free bookmark this page script :: the Tuscaloosa Design Company
Bookmark This Page Script. This Free script will allow visitors to your site to add you to their bookmarks as a reminder to visit in the future. Simply place this javascript bookmark snippet any where ...
http://www.tuscaloosadesigncompany.com/bookmark-this-page.html