...

View Full Version : Merge html with javascript



seacrest
06-15-2009, 10:41 AM
Is it possible to add this form code with javascript



FORM METHOD="POST" ACTION="http://mailgate.server-mail.com/cgi-bin/mailgate">
<input type="hidden" name="recipient" value="inquiry@coronetcleaningservicessydney.com" />
<input type="hidden" name="subject" value="Website Enquiry" />
<input type="hidden" name="redirect" value="http://www.coronetcleaningservicessydney.com" />

<table border="0" cellpadding="0" cellspacing="0" width="500">
<tr>
<td colspan="2"><h4><font * size="2" face="Tahoma">Enquiry Details</font></h4>* </td>
</tr>
<tr>
<td><font size="2" face="Tahoma">Name</font>* </td>
<td align="left"><font size="2" face="Tahoma">
<input type="text" size="40" maxlength="50" name="Full Name">
</font></td>
</tr>
<tr>
<td><font size="2" face="Tahoma">Contact Phone (Optional)</font></td>
<td align="left"><font size="2" face="Tahoma">
<input type="text" size="40" maxlength="50" name="Contact Phone">
</font></td>
</tr>
<tr>
<td><font size="2" face="Tahoma">Suburb</font>* </td>
<td align="left"><font size="2" face="Tahoma">
<input type="text" size="40" maxlength="50" name="Suburb">
</font></td>
</tr>



<tr>
<td><font size="2" face="Tahoma">Email</font>* </td>
<td align="left"><font size="2" face="Tahoma">
<input type="text" size="40" maxlength="50" name="email">
</font></td>
</tr>

<tr>
<td>
</tr>
<tr>
<td colspan="2"><font size="2" face="Tahoma">How would you like us to reply to your enquiry?<br>
<font color="#FFFFFF">d </font></font></td>*
</tr>
<tr>
<td><font size="2" face="Tahoma">
<select name="Please reply to my enquiry by" size="1">
<option>Email</option>*
<option>Phone Call</option>

</select>
<td><font size="2" face="Tahoma">

</font></td>
<td align="left"> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table border="0" width="500">
<tr>
<td colspan="2"><h4><font * size="2" face="Tahoma">Your Request/Questions<br>


<tr>
<td align="left"><font size="2" face="Tahoma">
<textarea cols="52" rows="5" wrap="physical" name="My Enquiry is:">Please type your enquiry here</textarea>
</font></td>
</tr>
</table>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>

<input name="SUBMIT" type="SUBMIT" value="Submit">
<input name="RESET" type="RESET" value="Reset">
</font>
</p>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<br/><br/></form>


other javascript


<!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>&nbsp;</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">&nbsp;</span></font><font face="Verdana" size="5"><span style=" font-size:20pt">&nbsp;&nbsp;</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&nbsp; or&nbsp; 0421 641 653</span></font></p> <div align="left">&nbsp;&nbsp;</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>

VIPStephan
06-15-2009, 11:16 AM
Would you pease be so kind and wrap
tags around your code (or use the button with the number sign (#) in the reply window) and then also rephrase your question to make more sense? What do you want to achieve?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum