<script language="JavaScript" type="text/JavaScript">
function MM_reloadPage(init) {
if (init==true) with (navigator) {
if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW ||
innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function popupWindow(pageURL,WindowName,features) { //v2.0
window.open(pageURL,WindowName,features);
}
</script>
<form method="post" action="test.php" target="list"
onSubmit="popupWindow('test.php','list','scrollbars=yes,width=500, height=400')">
<input type="text" name="name">
<input type="submit" value="Submit" name="submit">
</form>
Category Archives: general
How to Add a Favicon to your Site
Insert the below given code within the "head" tags <link rel="icon" href="images/favicon.ico" type="image/x-icon" /> //Make sure that you have uploaded the icon "favicon.ico" to the server
Convert the site page to PDF
Social Bookmark Sharing option
<a href="http://www.addthis.com/bookmark.php?v=250" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"> <img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"></a> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=zeegal"></script>
Clearing Default Text of text box – HTML
Eg :
<input type=”text” name=”txt_name” value=”Name” onfocus=”if(this.value==’Name’)this.value=”;” onblur=”if(this.value==”){ this.value=’Name’;} “/>
Latest tweets in your site
<script src=”http://widgets.twimg.com/j/2/widget.js”></script><script type=”text/javascript”>// <![CDATA[new TWTR.Widget({ version: 2, type: ‘profile’, rpp: 4, interval: 6000, width: 272, height: 300, theme: { shell: { background: ‘#24838a’, color: ‘#ffffff’ }, tweets: { background: ‘#f5f5f5’, color: ‘#000000’, links: ‘#000000’ } }, features: { scrollbar: true, loop: false, live: false, hashtags: true, timestamp: true, avatars: true, behavior: ‘all’ }}).render().setUser(‘tppramod’).start();// ]]></script>
//modify the user name “tppramod” with the desired one .