HTML - Javascript Code
Is there a javascript code out there?
Similar TutorialsIs it possible to add some form code to this javascript HTML Code: <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Contact</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="imagetoolbar" content="no"> <meta http-equiv="imagetoolbar" content="false"> <meta name="generator" content="LMSOFT Web Creator Pro, Version:4.0.0.4"> <META NAME="KEYWORDS" CONTENT="Cleaning Contractor Cleaner Coronet Macquarie Park North Ryde Nth Ryde Epping Beecroft Carlingford Parramatta Silverwater Rose Hill"> <META NAME="DESCRIPTION" CONTENT="Coronet Cleaning Services provide a professional cleaning service for Offices, Real Estate, Clubs and Office Buildings in and around Sydney.Areas North Ryde,Maquarie Park,Epping,Beecroft,Carlingford,Parramatta,Silverwater,Rose Hill"> <META NAME="AUTHOR" CONTENT=""> <META NAME="CREATION_DATE" CONTENT=""> <META HTTP-EQUIV="CONTENT-LANGAGE" CONTENT=""> </head> <script type="text/javascript" src="./lmpres70.js"></script><noscript><br></noscript> <script type="text/javascript" src="./menumodel002.js"></script><noscript><br></noscript> <body onresize=PosPage(2,5,1.000000,1.000000); bgcolor="#ffffff" > <DIV STYLE="position:absolute; visibility:hidden; left:0; top:0; width:0; height:0;"> [<a href='./index.html'>./index.html</a>]<br> [<a href='./company.html'>./company.html</a>]<br> [<a href='./about_us.html'>./about_us.html</a>]<br> [<a href='./contact.html'>./contact.html</a>]<br> [<a href='http://www.lmsoft.com/'>Web Creator</a>] [<a href='http://www.lmsoft.com/'>LMSOFT</a>] </DIV> <DIV id=lmwcbackpanel style="visibility:visible;position:absolute;left:0;top:0;width:1280;height:800;clip:rect(0,1280,800,0);"> <DIV id=Page style="visibility:visible;overflow:hidden;position:absolute;z-index:1;left:0;top:0;"> <a name=#anchor_Page></a><IMG id=LMImagePage src="./lmimginv.gif" style="width:1280;height:800;border:0;"> </DIV> <DIV id=Img7 style="visibility:visible;overflow:hidden;position:absolute;z-index:2;left:0;top:-1;"> <a name=#anchor_Img7></a> <IMG id=LMImageImg7 src="./images/~gen_img7_10.jpg" style="width:1280;height:600;border:0;"></DIV> <DIV id=Img2 style="visibility:visible;overflow:hidden;position:absolute;z-index:3;left:71;top:90;"> <a name=#anchor_Img2></a> <IMG id=LMImageImg2 src="./images/~gen_img2_00.jpg" style="width:820;height:620;border:0;"></DIV> <DIV id=GBackground style="visibility:visible;overflow:hidden;position:absolute;z-index:4;left:0;top:0;width:0;height:0;"> <a name=#anchor_GBackground></a> </DIV> <DIV id=GLeft style="visibility:visible;overflow:hidden;position:absolute;z-index:5;left:0;top:0;width:0;height:0;"> <a name=#anchor_GLeft></a> </DIV> <DIV id=Img6 style="visibility:visible;overflow:hidden;position:absolute;z-index:6;left:86;top:118;"> <a name=#anchor_Img6></a> <IMG id=LMImageImg6 src="./images/~gen_img2_20.jpg" style="width:780;height:30;border:0;"></DIV> <DIV id=Img9 style="visibility:visible;overflow:hidden;position:absolute;z-index:8;left:524;top:118;"> <a name=#anchor_Img9></a> <IMG id=LMImageImg9 src="./images/~gen_img9_00.jpg" style="width:1;height:30;border:0;"></DIV> <DIV id=Img5 style="visibility:visible;overflow:hidden;position:absolute;z-index:9;left:306;top:118;"> <a name=#anchor_Img5></a> <IMG id=LMImageImg5 src="./images/~gen_img9_00.jpg" style="width:1;height:30;border:0;"></DIV> <DIV id=Img21 style="visibility:visible;overflow:hidden;position:absolute;z-index:10;left:195;top:118;"> <a name=#anchor_Img21></a> <IMG id=LMImageImg21 src="./images/~gen_img9_00.jpg" style="width:1;height:30;border:0;"></DIV> <DIV id=Img22 style="visibility:visible;overflow:hidden;position:absolute;z-index:11;left:415;top:118;"> <a name=#anchor_Img22></a> <IMG id=LMImageImg22 src="./images/~gen_img9_00.jpg" style="width:1;height:30;border:0;"></DIV> <DIV id=GMenu style="visibility:visible;overflow:hidden;position:absolute;z-index:12;left:0;top:0;width:0;height:0;"> <a name=#anchor_GMenu></a> </DIV> <DIV id=Text17 style="visibility:hidden;position:absolute;z-index:13;left:495;top:175;"> <a name=#anchor_Text17></a> <DIV id=LMTxtText17 style="visibility:inherit;position:relative;left:5;top:5;width:186;height:57;"> <font face='Arial'> <div align="left"><font face="Times New Roman" color="#ffffff" size="4"><span style=" font-size:14pt"><b><br /> </b></span></font></div> <div align="left"><font face="Arial" color="#ffffff" size="5"><span style=" font-size:20pt"><b> </b></span></font><font face="Arial" color="#808080" size="5"><span style=" font-size:20pt"><b>Contact</b></span></font></div> </font> </DIV> </DIV> <DIV id=Img4 style="visibility:visible;overflow:hidden;position:absolute;z-index:14;left:454;top:234;"> <a name=#anchor_Img4></a> <IMG id=LMImageImg4 src="./images/~gen_img3_00.jpg" style="width:400;height:1;border:0;"></DIV> <DIV id=GCenter style="visibility:visible;overflow:hidden;position:absolute;z-index:15;left:0;top:0;width:0;height:0;"> <a name=#anchor_GCenter></a> </DIV> <DIV id=GForm style="visibility:visible;overflow:hidden;position:absolute;z-index:16;left:0;top:0;width:0;height:0;"> <a name=#anchor_GForm></a> </DIV> <DIV id=Text1 style="visibility:hidden;position:absolute;z-index:17;left:527;top:92;"> <a name=#anchor_Text1></a> <DIV id=LMTxtText1 style="visibility:inherit;position:relative;left:15;top:15;width:349;height:53;"> <font face='Arial'> <p style="margin-left:0mm; margin-right:0mm; text-indent:0mm; margin-top:1.76mm; margin-bottom:1.76mm;"><font face="Verdana" color="#ffffff"><span style=" font-size:12pt">Call</span></font><font face="Verdana"><span style=" font-size:12pt"> </span></font><font face="Verdana" size="5"><span style=" font-size:20pt"> </span></font><font face="Arial" size="2"><span style=" font-size:10pt"> </span></font><font face="Times New Roman" color="#ffffff" size="4"><span style=" font-size:14pt">0411 590 735 or 0421 641 653</span></font></p> <div align="left"> </div> </font> </DIV> </DIV> <DIV id=Img8 style="visibility:visible;overflow:hidden;position:absolute;z-index:18;left:86;top:166;"> <a name=#anchor_Img8></a> <IMG id=LMImageImg8 src="./images/cc4.jpg" style="width:352;height:71;border:0;"></DIV> <DIV id=Img10 style="visibility:visible;overflow:hidden;position:absolute;z-index:19;left:471;top:208;"> <a name=#anchor_Img10></a> <IMG id=LMImageImg10 src="./images/cc1.jpg" style="width:31;height:17;border:0;"></DIV> <script type="text/javascript"> //LMSOFT Web Creator Pro, Version:4.0.0.4 //LMSOFT Kernel 70 var LMObjects = new Array(); var pub_home = "./index.html" var objindex=0; var Stretch=2; var Position=5; var ScaleW=1.000000; var ScaleH=1.000000; var fontbase=96.; var isdisplay=false; //--------------------------------------------------------------------------------------------- try { if(isValideBrowser(7.00,5.00)) { InitResources(); //--------------------------------------------------------------------------------------------- LMObjects[objindex++] = LMPage("Page",null,null,null,0); LMObjects[objindex++] = LMImage("Img7",1,0,null,0,null,null,null,null,0); LMObjects[objindex++] = LMImage("Img2",1,0,null,0,null,null,null,null,0); objlist = new Array(); objlist[0] = "Img7"; objlist[1] = "Img2"; LMObjects[objindex++] = LMGroup("GBackground",1,objlist); objlist = new Array(); LMObjects[objindex++] = LMGroup("GLeft",1,objlist); LMObjects[objindex++] = LMImage("Img6",1,0,null,0,null,null,null,null,0); menumodel002Show(86, 118, "GMenu2"); LMObjects[objindex++] = LMImage("Img9",1,0,null,0,null,null,null,null,0); LMObjects[objindex++] = LMImage("Img5",1,0,null,0,null,null,null,null,0); LMObjects[objindex++] = LMImage("Img21",1,0,null,0,null,null,null,null,0); LMObjects[objindex++] = LMImage("Img22",1,0,null,0,null,null,null,null,0); objlist = new Array(); objlist[0] = "Img6"; objlist[1] = "GMenu2"; objlist[2] = "Img9"; objlist[3] = "Img5"; objlist[4] = "Img21"; objlist[5] = "Img22"; LMObjects[objindex++] = LMGroup("GMenu",1,objlist); branchlist = new Array(); LMObjects[objindex++] = LMText("Text17",1,0,null,0,null,branchlist,null,null,5,5,5,5); LMObjects[objindex++] = LMImage("Img4",1,0,null,0,null,null,null,null,0); objlist = new Array(); objlist[0] = "Text17"; objlist[1] = "Img4"; LMObjects[objindex++] = LMGroup("GCenter",1,objlist); objlist = new Array(); LMObjects[objindex++] = LMGroup("GForm",1,objlist); branchlist = new Array(); LMObjects[objindex++] = LMText("Text1",1,0,null,0,null,branchlist,null,null,15,15,15,15); LMObjects[objindex++] = LMImage("Img8",1,0,null,0,null,null,null,null,0); LMObjects[objindex++] = LMImage("Img10",1,0,null,0,null,null,null,null,0); //--------------------------------------------------------------------------------------------- } }catch(e) { alert(e.message); } SetBaseColor(0x3f0,0x3f0,0x7a); if(isdisplay==true) GetDisplayInfo("","",0,"","./"); else LMObjectAnimate(Stretch,Position,ScaleW,ScaleH); </script><noscript><br></noscript> </DIV> </body> </html> 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> hello i am new to javascript and i can't figure out why this code will not sort the user's line of text into alphabetical order. any help would be great thank you Code: <html> <head> <title> JavaScript array sort() alphabetically </title> <script type="text/javascript"> var arr = new Array(1); arr[1]=prompt("enter a line of text") document.write("Original Array is: "+arr+"<br>"); document.write("Sorted array is: "+arr.sort()+"<br> "); </script> </head> </body> </html> Recently other users and I brainstormed over at PSP forums. Many users want a youtube application for the psp, but the ram and memory simply wont allow it. Many websites offer an online youtube converter but these tend to take a while to convert, as well as wanting the url for the youtube video. The psp has no copy/paste function so it makes it rather hard to re-type a url with an on screen keyboard. There is already a youtube application for hacked/homebrew psp's, but it is rather laggy, and commonly putting homebrew on your psp will cause it to brick, and un-bricking can be expensive. The psp has a web browser which allows for you to run you own local files without using an internet connection, this means that we can open a local html file without using an internet connection. The other users and I stumbled across the following article http://googlesystem.blogspot.com/200...mp4-files.html It seemed like the perfect solution, but bookmarklets don't work on the psp. So we tried executing the javascript string through a html file, but to no avail. It only loaded a blank page that was running the javascript, instead of a youtube video with a download link. When the bookmarklet is used on a computer to download the video it works fine and the video plays in perfect quality when transfered to the psp. Conclusion: We would like some aid in creating something that will accomplish the goal of running the piece of javascript code so that we can simply choose a video to watch, download it (Yes, the psp can download files to its memory stick straight through the web browser), and watch it. None of us are that experienced in the coding field and if you could help us out, it would be greatly appreciated. If you wished to simply make the whole thing yourself, go ahead. Fell free to put your name and website all over it, as long as it works. If you were to make this work your creation would be used worldwide by hundreds of thousands. You have no idea how many people want this to work. I will answer any questions you have about supported file types and such. Thank you for taking the time to read this. 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> 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 Hello, I am a student and working on a simple first project. All I'm doing right now is writing my code in text edit, saving it as "test.html", and dragging and dropping the file onto Safari/Firefox to view my code. Everything works when I'm at my college's computer lab, but when I'm on my own mac notebook, the files load in the browser as my code. I've tried a variety of samples and checked my preferences, but I can't figure out what I'm doing wrong. Sample code I'm using - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <TITLE>Simple Link Example 2</TITLE> </HEAD> <BODY> <H1 ALIGN="CENTER">Creating Relative Reference Links</H> <HR> <P>Open <A HREF="practice1.html">Practice 1</A>.</P> <P> Open <A HREF="practice2.html">Practice 2</A>.</P> <P>Open <A HREF="practice3.html" TARGET="_blank"> Practice 3</A> in a new window.</P> </BODY> </HTML> Please help! I'm trying to wrap up an assignment and have been banging my head against the wall all night. Thanks! cordelia I was curious to find out, where can i find a cool looking shoutbox code where i can put on my message forum? Looking for some neat, and cozy with some advance options. Meaning, i would like to change the colors to match with my forum and stuff. Thanks. Hello! I have a blog on blogger and i want to make a c++ tutorial.. But every time i type "<iostream>" on post, when i see it, it is only "iostream". How can i make a code like the "[code]" from BBcode to cancel the compiling from HTML? Thanx! I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. Close please, made a simpler question. What im trying to do is add a search box for travel like this one: http://osc4.template-help.com/wt_31362/index.html How is this done? please anyone Hey guys hows it going, Im looking at this webpage... and Im trying to understand how the words "Genereate Affiliate income" is being displayed... any help would be great http://www.opportunity.com/index.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> <title>Opportunity.com - Build the ultimate money making online business!</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="keywords" content="Opportunity.com, opportunity, online, business, affiliate, marketing, trend-watching, opportunities, training, online business, affiliate marketing, grow, succesful, ultimate" /> <link href="/free_access.css" rel="stylesheet" type="text/css" /> <SCRIPT LANGUAGE="JavaScript"> <!-- function checkRequired() { if (document.getElementById("idfrom").value=='') { alert('Please Enter Your Email!'); return false; } return true; } //--> </SCRIPT> <SCRIPT LANGUAGE="JavaScript"> <!-- var win=null; function NewWindow(mypage,myname,w,h,scroll,pos){ if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;} if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;} else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20} settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes'; win=window.open(mypage,myname,settings);} //--> </SCRIPT> </head> <body> <div id="container"> <div id="logo"> </div> <div id="content_left"> <div id="left_image"> </div> <h1><p>Most marketers make affiliate marketing far too difficult than it really needs to be. Making money from affiliate programs is easy if you know some proven fundamentals and how to automate them to 'work' for you.</p> <p>If you're serious about growing your income online then you need to know how to make maximum money by promoting affiliate programs.</p> <p>If you want to generate affiliate commissions on auto-pilot then take a few minutes to watch my quick training video where I show you how to create your own moneymaking 'Affiliate Commission Engine' by entering your email address in the field to the right...</p> <p>Yours For Online Profits,<br /> <b>John Reese</b></p> </h1> </div><!--end left column--> <div id="content_right"> <a href="#" onclick="alert('Hold on there... just enter your email address in the box right under the arrows and click the button that says Free Instant Access to watch the video.'); return false;"><img class="right_image1" src="/images/video_holder.jpg" width="312" height="199" border="0"></a> <div id="right_image2"></div> <h3>Enter your email address in the form below for instant access to the "How To Build An 'Affiliate Commission Engine' training video...</h3> <form method="post" action="http://www.aweber.com/scripts/addlead.pl" onsubmit="return checkRequired();"> <input type="hidden" name="meta_web_form_id" value="1713646579"> <input type="hidden" name="meta_split_id" value=""> <input type="hidden" name="unit" value="opp_landingpage"> <input type="hidden" name="redirect" value="http://www.opportunity.com/videoconfirm.html" id="redirect_4d0dd7bd17cc5e1e5d98602502bbaf03"> <input type="hidden" name="meta_redirect_onlist" value=""> <input type="hidden" name="meta_adtracking" value=""> <input type="hidden" name="meta_message" value="1"> <input type="hidden" name="meta_required" value="from"> <input type="hidden" name="meta_forward_vars" value="0"> <input type="hidden" name="custom affiliateID" value="" size="20"> <b style="font: 13px Helvetica, Tahoma, sans-serif;color: #000;text-align: left;line-height: 17px;padding-left: 20px;padding-right: 20px;font-weight:bold;">Enter Your Email:</b> <input type="text" name="from" style="background:#fffcb3;" maxlength="85" id="idfrom"><br /> <input class="button" type="submit" name="submit" value="Free Instant Access!"> </form> <h4>**Please double-check that your email address is correct or you won't be able to get all the free training material. I take your privacy very seriously - your information is NEVER SHARED. </h4> </div><!--end right column--> </div><!--container end--> <p> </p> <div id="footer"> <a class="footer" href="#" onClick="NewWindow('/privacy.html','create_html','800','700','yes','center');return false;">Privacy Notice</a> | <a class="footer" href="#" onClick="NewWindow('/disclaimer.html','create_html','800','700','yes','center');return false;">Disclaimer</a> | <a class="footer" href="#" onClick="NewWindow('/terms.html','create_html','800','700','yes','center');return false;">Terms of Service</a> | <a class="footer" href="#" onClick="NewWindow('/edisclaimer.html','create_html','800','700','yes','center');return false;">Earnings Disclaimer</a> </div> <p style="font: 11px Helvetica, Tahoma, sans-serif;" align=center>For JV requests, register for our affiliate program <a href="http://affiliate.opportunity.com/register-int">here</a>.</p> <div id="copyright">© 2009 Opportunity.com. All Rights Reserved.</div> <div id="disclaimer"> DISCLAIMER: THE PERFORMANCE EXPERIENCED BY THE USER COMMENTS AND TESTIMONIALS ON THIS PAGE AND/OR OUR WEBSITE IS NOT WHAT YOU SHOULD EXPECT TO EXPERIENCE. COMPANY HAS NOT INVESTIGATED OR SUBSTANTIATED ANY OF THE USER COMMENTS OR CLAIMS. SOME OF THE USERS MAY, IN SOME CASES, BEEN INCENTIVIZED TO SUBMIT THEIR COMMENTS, AND COMPANY HAS NOT VERIFIED THE FIGURES QUOTED IN THEM. </div> </body> </html> Say you need a contact form for example, you may have one stored and use that on every page you do, but do you always create you own unique form or do you google for one or maybe you see one on someone page yoi like and add it(rip it) to your own page? Same applies for other features etc... like do you do your own menus, javascript, css entirely, or do you sometimes use menus fom all these "free css menu" sites like dynamic drive..... I want to use the code on this website: http://geekfile.googlepages.com/flvplay.... I have a video that i converted to flv on my computer...what do I do? Please help...I dont know where I put my information in this code I got some code of a tutorial for an image slider, and I used NotePad ++ to edit it with my images and links. But I don't know whats wrong?!? It won't load. I put it in Wordpress and upload the images and it doesn't work! I have attached the code file. Thanks is anyone can help! Hi new to coding so please be forgiving I am trying to modify some code which i recieved of the web. I have ask the author but i had no reply yet. I want to change the code so that instead of replicating button i want it to use a drop down list box instead. The code only runs in .HTA extension and needs to run from c:\winpe\wizard.hta all sub folder will be displayed as a buttons on the screen. (I need this to work but in a dropdown list box). can anyone could help me please <html> <!****************************************************************************> <!* HTA Header > <!****************************************************************************> <HEAD> <TITLE>Imaging Application</TITLE> <HTA:APPLICATION BORDER = None APPLICATION = Yes WINDOWSTATE = fullscreen INNERBORDER = No SHOWINTASKBAR = Yes SCROLL = No APPLICATIONNAME = "Windows PE Wizard" NAVIGABLE = Yes > <!-- external stylesheet --> <link rel="stylesheet" type="text/css" href="htaStyle.css" /> </HEAD> <!****************************************************************************> <!* Begin Script > <!****************************************************************************> <Script Language=VBScript> '**************************************************************************** '* Globals '* setup global script parameters '**************************************************************************** Option Explicit Dim strTaskValue, objShell, objFso, strBody, objWmiService Set objShell = CreateObject("WScript.Shell") Set objFso = CreateObject("Scripting.FileSystemObject") Set objWMIService = GetObject ("winmgmts:\\.\root\cimv2") '**************************************************************************** '* Window_OnLoad '* load up behavior and preferences '**************************************************************************** Sub Window_Onload self.Focus() strBody = "<H1>PE Build and Recovery Environment</H1>" &_ "<H2>Select Images to apply an OS image using Ghost.<BR><BR>" &_ "Please select an image category:<BR><BR>" enumDirs End Sub '**************************************************************************** '* enumDirs '* find directories and create category buttons '**************************************************************************** Sub enumDirs Dim colSubfolders, objFolder, fileName 'enumerate folders in images folder Set colSubfolders = objWMIService.ExecQuery _ ("Associators of {Win32_Directory.Name='c:\winpe'} Where AssocClass = Win32_Subdirectory ResultRole = PartComponent") 'create html buttons from each folder name For Each objFolder in colSubfolders fileName = objFolder.fileName strBody = strBody &_ "<button id='" & fileName & "' onClick='enumImages("" & fileName & ""'>" & fileName & "</BUTTON>" Next 'post resulting html body to document strBody = strBody & "<BR><HR><BR>" body.innerHTML = strBody End Sub </Script> <!****************************************************************************> <!* End Script / Begin HTML > <!****************************************************************************> <BODY> <DIV id=bg> <img src=winpe.bmp> </DIV> <DIV id=body></DIV> <DIV id=details></DIV> </BODY> </HTML> <!****************************************************************************> <!* End HTML > <!****************************************************************************> Hi im rich very first post but might be a good question. im looking for a code that when you load the page the exclamation windo pops up with the message. i made one for no right mouse clicks. i need one made to when my page laods they will see the message. not sure if im posting this in the right place.... but is there a code... javascript perhaps... to prevent the browser from printing? Hi, I just want a code that when you hit a link it opens a new window, with specific height and width and at the same time works equal with Internet Explorer and Firefox. Is a kind of "full screen pop up". I hope you can help me with that. |