[Community-allwww-cvs] www/2005 handsets.html,NONE,1.1
anandv at helixcommunity.org anandv at helixcommunity.orgUpdate of /cvsroot/community/www/2005 In directory cvs:/tmp/cvs-serv7914 Added Files: handsets.html Log Message: handset page -- first draft (do not use) --- NEW FILE: handsets.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Real Enabled Mobile Devices</title> <meta name="author" content="Anand Vaidyanathan" > <meta name="generator" content="screem 0.12.1" > <meta name="description" content="" > <meta name="keywords" content="Real Helix Mobile" > <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" > <meta http-equiv="Content-Script-Type" content="text/javascript" > <meta http-equiv="Content-Style-Type" content="text/css" > <style type="text/css"> OL,UL,P,BODY,TR,TD,TH,FORM { font-family: verdana; font-size:8; color: #99cc00; } A:link { font-family: verdana; font-size:8; color:#678700 } A:visited { color:#4f4f6c} A:active { color:#00ff00 } A:hover { text-decoration:underline; color:#6f8e00 } </style> <Script language="JavaScript" > var imageBasePath = "siteImages/"; var siteImages = [ // [ // "image file name", // "description", // "altText", // "URL" // ] [ "image", "description", "altText", "http://real.com" ], [ "image", "description", "altText", "http://real.com" ], [ "image", "description", "altText", "http://real.com" ], [ "image", "description", "altText", "http://real.com" ], [ "image", "description", "altText", "http://real.com" ] ]; function showImages ( ) { numImages = siteImages.length; numCols = Math.sqrt ( numImages ); if ( numCols < 5 ) numCols = 5; else if ( numCols > 10 ) numCols = 10 ; // alert ( numImages + "\n" + numCols ); colCount = 0; bodyString = "\ <Table border=0>\ <tr>"; for ( i = 0; i < siteImages.length; i++ ) { if ( colCount >= numCols ) { bodyString += "\ </tr>\ <tr>"; colCount = 0; } bodyString += "\ <td align=center valign=middle>\ <A target=_blank href="+siteImages[i][3]+">\ <img src='"+siteImages[i][0]+"' border=0 alt="+siteImages[i][2]+"\ height=30 width=40 />\ <br/>\ <b>"+siteImages[i][1]+"</b>\ </a>\ </td>"; colCount++; } if ( colCount < numCols ) { for ( j = colCount; j < numCols; j++ ) bodyString += "\ <td> </td>"; } bodyString += "\ </tr>\ </Table>"; // document.write ( "<pre>" + bodyString + "</pre>"); // alert ( bodyString ); document.write ( bodyString ); } </Script> </head> <body> <Script>showImages()</Script> </body> </html>