Auto resize iframe

Example code for auto resize an iframe: <script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js”></script> <script> $(document).ready(function(){ $(‘iframe’).load(function() { this.style.height = this.contentWindow.document.body.offsetHeight + ‘px’; }); }); </script>


“Add to Bookmark” Script

For add bookmark script on your page, just place following function anywhere on your page: <script type=”text/javascript”> function addBookmark(title,url){ /** * Check if its FFX */ if (window.sidebar) window.sidebar.addPanel(title, url, “”); else if(window.opera && window.print){ /** * Think its opera */ var elem = document.createElement(‘a’); elem.setAttribute(‘href’,url); elem.setAttribute(‘title’, title); elem.setAttribute(‘rel’,’sidebar’); elem.click(); …