russia5 Posted March 18, 2006 Share Posted March 18, 2006 [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]I have installed a newsletter script. The problem is, my Home page template for the newsletter has different functions than the newsletter's HTML that the software produces for the signup.The newsletter has a text box for the email, a button to subscribe, a button to desubscribe, and a submit button. My home page has a text box, a button that submits and subscribes all in one, and a button that desubscribes. Also the buttons for my templates are .gifs.The question is, how do I integrate the newsletters input wiht what I already have.Here is the newsletters HTML code: [/quote][code]<form name="" method="post" action="http://www.mysite.com/12all_Z/box.php"><table width="212" border="0" cellspacing="0" cellpadding="0"><tr> <td width="75"><div align="right">E-mail</div></td><td><div align="right"> <input name="email" type="text" id="email" value="" size="16"></div></td></tr><tr> <td width="75"><div align="right">Name</div></td><td><div align="right"> <input name="name" type="text" id="name" value="" size="16"></div></td></tr> <tr> <td width="75"><div align="right"> </div></td><td> <div align="left"> <input name="funcml" type="radio" value="add" checked>Subscribe</div></td></tr><tr> <td width="75"><div align="right"> </div></td><td> <div align="left"> <input name="funcml" type="radio" value="unsub2">Unsubscribe</div></td></tr><tr> <td width="75"><div align="right"><input name="p" type="hidden" id="p" value="3"> <input type="hidden" name="nlbox[1]" value="1"> </div></td><td> <div align="right"> <br> <input type="submit" name="Submit" value="Submit"></div></td></tr></table></form>[/code]Here is my best try:First, since the images for the sites template are already formatted, I believe we should take the table out.[code]<form name="" method="post" action="http://www.mysite.com/12all_Z/box.php"><td><div align="right"> <input name="email" type="text" id="email" value="" size="16"></div></td></tr><tr> <td width="75"><div align="right">Name</div></td><td><div align="right"> <input name="name" type="text" id="name" value="" size="16"></div></td></tr> <tr> <td width="75"><div align="right"> </div></td><td> <div align="left"> <input name="submit" name="fncml" type="image" src="images/arrow.gif"</div></td></tr><tr> <td width="75"><div align="right"> </div></td><td> <div align="left"> <input name="funcml" type="radio" src="images/unsubscribe.gif" </div></td></tr><tr> <td width="75"><div align="right"><input name="p" type="hidden" id="p" value="3"> <input type="hidden" name="nlbox[1]" value="1"> </div></td><td> <div align="right"> <br> </div></td></tr></table></form>[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.