Docstoc

Website_Link_Instructions_new_ICAP

Document Sample
Website_Link_Instructions_new_ICAP Powered By Docstoc
					How to add “login” button to your web page?

There are two parts that you need to add to your web page. Part 1: Add the html code below to between the “<header> … </header> tags. <header> … … <!-- This is for the shopping cart login---> <script type="text/javascript" src="http://www.imagecapsule.com/Common_Code/Javascript/ICap_Util.js"></script> <!-- END ----------------------------------> … … </header>

------------------------------------------------------------------------------------------------- ------------------Part 2: The code below is the actual link and login button. Add this html code to where you would like to have the login button. You can substitute "Images/loginbtn.jpg" with your image login button. <a href="javascript:ICap_login('http://www.imagecapsule.com/php4/scart3_release/sc3_login.php4', 'imagecapsule', '')"> <img src="Images/loginbtn.jpg" border="0"> </a>

(See Next Page)

Example <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Pro Color Lab West</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" type="text/JavaScript"> <!-function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <!-- This is for the shopping cart login---> <script type="text/javascript" src="http://www.imagecapsule.com/Common_Code/Javascript/ICap_Util.js"></script> <!-- END ----------------------------------> <link href="Styles.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('Images/Default/NavServices_f2.gif','Images/Default/NavAboutUs_f2.gif','I mages/Default/NavContactUs_f2.gif','Images/Default/NavOnlineOrder_f2.gif','Images/Default/NavWhatsN ew_f2.gif','Images/Default/HomePagePhoto1_f2.jpg')"> <table border="0" cellpadding="0" cellspacing="0" width="792"> <!-- fwtable fwsrc="PCLtopWeb.png" fwbase="FWDefault.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" --> <tr> <td rowspan="4" align="center" valign="top"><img name="LeftWelcomeText" src="Images/Default/LeftWelcomeText.gif" width="166" height="154" border="0" alt=""> <br><br> <a href="javascript:ICap_login('http://www.imagecapsule.com/php4/scart3_release/sc3_login.php4', 'imagecapsule', '')"> <img src="Images/loginbtn.jpg" border="0"></a> <p></p> </td> <td rowspan="4" colspan="7" valign="top" bgcolor="#000000"><table width="100%" border="0" cellspacing="0" cellpadding="10"> </table </td> </tr> </table> <p>&nbsp;</p> </body> </html>


				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:10
posted:7/25/2009
language:English
pages:2