HTML - Problem With Activex Control And Html Reset Button
Hey guys
Im having trouble with some html code, if you could help out that would be great. What im trying to do is put an activeX control into a .htm page and use a html form. The .htm uses the activeX to read a .txt file, and displays the data in a table, with headings, descriptions, images, and a text box used for selecting a quantity. Then at the bottom of the page, I have made a simple send to email button, and a reset button. However my problem is; I dont think the code for the form is enclosing the whole table. Here's the code I hope this works... <body> <object id="Productlist"classid="CLSID:333C7BC4-460F-11D0-BC04-0080C7055A83"> <param name="DataURL"value ="data/Partsproductlist.txt"/> <param name="UseHeader" value="TRUE"/> <param name="FieldDelim" value=","/> </object> <table DATASRC="#Productlist" style="border-style: ridge; border-color:darkseagreen; background-color:lightcyan"> <thead><tr style="background-color:aqua"> <th></th> <th>Product Name</th> <th>Product Description</th> <th>Unit Price</th> <th>Quantity</th> </TR></thead> <tbody> <tr style="background-color: ***hsia"> <td><span><img DATASRC ="#Productlist" DATAFLD="ProdImage" width="150" height="150" /></span></td> <td><span DATAFLD ="ProductName"></span></td> <td><span DATAFLD="ProductDescription"></span></td> <td><span DATAFLD="UnitPrice"></span></td> <td> <form><input type="text" name="quantity" id="numberinput" value="0" tabindex="0"/></form></td> </tr> </tbody> </table> <form Name="FormProductBoundOrder" method="post" action="mailto:abc@abc.co.uk" subject="emailsubjectwouldgohere"> <input type="submit" value="send"/> <input type="reset"/> Similar TutorialsI'm working on creating a custom home page for one of my Outlook folders using the Outlook View Control. The documentation that I've found uses the following tag to insert the control. <OBJECT classid=CLSID:0006F063-0000-0000-C000-000000000046 id=ViewCtlFolder width="91%" height="330" codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB# ver=9,0,0,3203"> Obviously, this requires that I be connected to the internet for the control to work. However, I need to have the page work when I'm not connected to the internet. The Outlook View Control is available via a .dll on my laptop. Q1: Should I try and down load the .cab file to my laptop and point the codebase to the location of it? If so, how can I download the actual file? Q2: Since the .dll exists on my computer already, should I just point the codebase to the existing .dll file and go that route? i have written a simple html form code the problem is that this code is working fine when run in interner explorer, if i run in mozilla firefox form reset button work as submit button it show submit validation code when reset button press, can any one help me here is the code <script type="text/javascript"> function validation() { alert("submit buton has pressed"); return true; } </script> <body> <form id="form1" name="form_feedback" method="post" onsubmit="return validation();"> <table width="488" border="0"> <!--DWLayoutTable--> <tr> <td width="85"><span>Name:</span></td> <td width="393"><input name="txt_name" type="text" id="textfield2" size="35" /></td> </tr> <tr> <td><span>Email:</span></td> <td><input name="txt_email" type="text" id="textfield3" size="35" /></td> </tr> <tr> <td><span>Address:</span></td> <td height="0"><label> <textarea name="txt_address" id="textarea" cols="45" rows="2"></textarea> </label></td> </tr> <tr> <td><span>Phone No:</span></td> <td height="0"><input name="txt_phoneno" type="text" id="textfield4" size="20" onkeypress="return numeralsOnly(event)" /></td> </tr> <tr> <td><span>Comments For:</span></td> <td height="0"><input name="txt_commentsfor" type="text" id="textfield5" size="20" /></td> </tr> <tr> <td><span>Comments:</span></td> <td height="0"><label> <textarea name="txt_comments" id="textarea2" cols="45" rows="5"></textarea> </label></td> </tr> <tr> <td height="0"><label> <input type="submit" name="btn_submit" value="Submit"/> <input type="reset" value="Reset" name="btn_reset"/> </label></td> </tr> </table> </form> </body> Hi there, I am creating a website using dreamweaver html and css. I am having issues embedding a .swf file to the code, it does not show in ie. I have the latest version of ie installed on my pc and I have the activeX flash player installed also. When I preview the file a banner appears saying blocked content and when you allow it nothing happens. If I am having this issue others are bound to hence I would like it resolved before the site goes live. Can any one help me please??? CODE:- 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> <!--[if lt IE 6.]> <script defer type="text/javascript" src="pngfix.js"></script> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Future Limo Buses</title> <style type="text/css"> <!-- body { font-family:Verdana, Geneva, sans-serif; border:none; background-color:#000; } #Wrapper { width:800px; margin:0 auto; } #Background { height:600px; width:800px; background-image:url(../future_root/Images/Background%20images/gallery.png); background-repeat:no-repeat; background-position:center; } #Logo { border:none; background-image:url(../future_root/Images/Misc/gold%20logo.png); background-repeat:no-repeat; height:89px; width:281px; margin-top:-570px; margin-left:480px; } #PageHeader { border:none; background-image:url(../future_root/Images/Page%20Headers/gallery.png); background-repeat:no-repeat; height:26px; width:215px; margin-top:-50px; margin-left:40px; } #Navigation { border:none; height:350px; width:153px; margin-top:103px; margin-left:30px; } #Seperator { border:none; height:350px; width:3px; background-image:url(../future_root/Images/Misc/seperator.png); background-repeat:no-repeat; margin-top:-343px; margin-left:190px; } #Links { height:22px; width:221px; margin-top:-10px; margin-left:540px; } #PageInfo { border:none; text-align:center; height:350px; width:550px; margin-top:-450px; margin-left:210px; } #Navigation a { background-repeat:no-repeat; display:block; } a.home, a.contact, a.links, a.testimonials, a.gallery, a.about { margin-top:30px; height:18px; } a.future { margin-top:20px; width:107px; height:35px; } a.home { width:49px; } a.links { width:44px; } a.testimonials { width:107px; } a.about { width:76px; } a.contact { width:90px; } a.gallery { width:60px; } a.home:link, a.home:visited { background-image:url(../future_root/Images/Navigation%20Bar/homewhite.png); } a.home:hover, a.home:active { background-image:url(../future_root/Images/Navigation%20Bar/homegrey.png); } a.about:link, a.about:visited { background-image:url(../future_root/Images/Navigation%20Bar/aboutuswhite.png); } a.about:hover, a.about:active { background-image:url(../future_root/Images/Navigation%20Bar/aboutusgrey.png); } a.futu link, a.futu visited { background-image:url(../future_root/Images/Navigation%20Bar/thefutureexperiencewhite.png); } a.futu hover, a.futu active { background-image:url(../future_root/Images/Navigation%20Bar/thefutureexperiencegrey.png); } a.gallery:link, a.gallery:visited, a.gallery:hover, a.gallery:active { background-image:url(../future_root/Images/Navigation%20Bar/gallerygrey.png); } a.testimonials:link, a.testimonials:visited { background-image:url(../future_root/Images/Navigation%20Bar/testimonialswhite.png); } a.testimonials:hover, a.testimonials:active { background-image:url(../future_root/Images/Navigation%20Bar/testimonialsgrey.png); } a.links:link, a.links:visited { background-image:url(../future_root/Images/Navigation%20Bar/linkswhite.png); } a.links:hover, a.links:active { background-image:url(../future_root/Images/Navigation%20Bar/linksgrey.png); } a.contact:link, a.contact:visited { background-image:url(../future_root/Images/Navigation%20Bar/contactuswhite.png); } a.contact:hover, a.contact:active { background-image:url(../future_root/Images/Navigation%20Bar/contactusgrey.png); } --> </style> </head> <body> <div id="Wrapper"> <div id="Background"></div> <div id="Logo"></div> <div id="PageHeader"></div> <div id="Navigation"> <a class="home" href="../future_root/index.html"></a> <a class="about" href="../future_root/aboutus.html"></a> <a class="future" href="../future_root/future.html"></a> <a class="gallery" href="../future_root/gallery.html"></a> <a class="testimonials" href="../future_root/testimonials.html"></a> <a class="links" href="../future_root/links.html"></a> <a class="contact" href="../future_root/contactus.html"></a> </div> <div id="Seperator"></div> <div id="Links"> <a href="http://www.facebook.com/pages/Future-Limo-Buses/113455505345741"> <img src="../future_root/Images/Misc/facebook.png" border="0" height="22" width="89" align="right"/> </a> <a href="http://www.got-the-concept.co.uk" > <img src="../future_root/Images/Misc/copyright.png" border="0" height="22" width="121" align="left" /> </a> </div> <div id="PageInfo"> <object classid="clsid27CDB6E-AE6D-11cf-96B8-44455350000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="550" height="400" id="myMovieName"> <param name="movie" value="../future_root/Images/Gallery/gallery.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#FFFFFF"> <param name="wmode" value="transparent"> <embed src="../future_root/Images/Gallery/gallery.swf" quality="high" bgcolor="#FFFFFF" width="550" height="400" name="gallery" align="" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer" wmode="transparent"> </embed> </object> </div> </div> </body> </html> Hello, I have done a search form in HTML (with something in Javascript), and a reset button that works perfectly. The search results are published on the same page of search form, but once its searched the reset button no longer works. So, once the form is submited, reset button stops working ... someone knows how can I fix it? Thank you very much and best regards to all! On an order entry web page I would like to code a reset button that clears out data a user has entered. Hiya, My form has two submit buttons. How do I set a particular one to be used for when the user presses their Enter key? Thanks, James Hello, I've done alot of seaching and haven't found to many articles on this. I would like to embed a youtube video on my site, but don't want to play the audio that goes with it. I tried adding &volume=0 after the tag, but this doesn't work. Any ideas!! Much thanks in advanced! here's the code used: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="540" width="650"> <param name="allowScriptAccess" value="never" /> <param name="allowNetworking" value="internal" /> <param name="movie" value="http://www.youtube.com/v/aKuFww3ljM&ap=%2526fmt%3D18&loop=1&autoplay=1&volume=0" /> <param name="wmode" value="transparent" /> <embed type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" src="http://www.youtube.com/v/aKuFww3ljM&ap=%2526fmt%3D18&loop=1&autoplay=1&volume=0" height="540" width="650" wmode="transparent" /> </object> I inherited a HTML/PHP project which was a written in hurry and now I am trying to put in some editing and other confirmations. A type=reset was added to the screen and there is 2 option lists. When the form is first load only 1 list is displayed. Then the user makes the selection and depending on the selection the second list would display or not. On the reset option would like to hidden the 2nd selection but seems I can not get the right coding. I have tried onclick on the <input but no luck. There is a onSubmit on the <form which calls some validation checking. Tried put the call to function to hide the option list but no luck. Of course, I probably did not have the coding correct. How can I hide the 2nd option list on reset. Can someone take a look over here. (LINK) I'm having problem "reset-ing" the graph. Eg. Let say you change all the inputs + color and click on generate graph. After that, click on reset graph. Only the graph changes to (50-50-50) but the axis/inputs/colors remain intact. Any idea? Axis (axisid) Inputs (inputid) Color (colorid) Cheers. Hi, This is making me insance, I am having this problem for the last 5 days. A web application which is created using asp.net and usercontrols and designed with tables and CSS, A garbage small control ( size height:4px, width:6px, got it through once web utility tool) is coming up b/w two <TD>, I am placing the peice of code and looking forward to get some help. I didn't have any looking using view-->source code and going to design mode and look for the control! your urgent help is greatly appreciated!! Code: <div id="UpdateProgress3" style="display:none;"> <div style="position: absolute; left: 70px; top: 100px; z-index: 300"> <img src="Images/ajax-loader.gif" /> </div> </div> <br /> <input type="submit" name="Update" value="Update" id="Update" style="height:0px;width:0px;position:absolute;left:930px;top:0px" /> <input type="submit" name="Select" value="Select" id="Select" style="height:0px;width:0px;position:absolute;left:930px;top:0px" /> <div id="UpdatePanel4"> </div> <input type="hidden" name="InitialEW" id="InitialEW" value="1" /> <input type="hidden" name="InitialES" id="InitialES" value="2" /> <input type="hidden" name="InitialEE" id="InitialEE" value="3" /> <input type="hidden" name="InitialEN" id="InitialEN" value="4" /> <input type="hidden" name="W" id="W" value="5" /> <input type="hidden" name="S" id="S" value="6" /> <input type="hidden" name="E" id="E" value="7" /> <input type="hidden" name="N" id="N" value="8" /> <div id="Popup" class="modalPopup"> <table> <tr> <td colspan="2"> <b> <span id="Label7">Print Options</span></b> </td> </tr> <tr> <td> <span id="ReportTitle">Report Title:</span> </td> <td> <input name="Report" type="text" id="Report" style="width:300px;" /> </td> </tr> <tr> <td> <span id="PreparedBy">Prepared by:</span> </td> <td> <input name="By" type="text" id="By" style="width:300px;" /> </td> </tr> <tr> <td colspan="2"> <input id="IncludeMap" type="checkbox" name="IncludeMoney" /><label for="IncludeMoney">Include Money</label> </td> </tr> <tr align="right"> <td colspan="2"> <input type="submit" name="Ok" value="Continue..." id="Ok" /> <input type="submit" name="Cancel" value="Cancel" id="Cancel" /> </td> </tr> </table> </div> </td> <td valign="top" align="left" width="100%" style="background:url('Images/whiteback.jpg') no-repeat; padding:18px 20px 20px 15px; "> <table> <tr><td> <div id="Money" style="height:480px;width:640px;"> </div> <div id="nany"> </div> </td> </tr> <tr><td></td> </tr> <tr><td align="center"> <div id="UpdatePanel5"> </div> Are there any control switching statements in html???? I have a music player i want to put on my blog but there is no volume control and it's really really loud. Is there a way to adjust the volume using html? Any help is appreciated. Thanks. Please tell me how to implement search box in website. I found this code snippet below to do most of what I want. Currently, when I click the Up or Down spinner arrow, the amount increases or decreases by 1. Instead of 1, I want to it to increase or decrease by 100. I know the "this.form.number.value++" is doing the increment by 1 - but how do I change it so the arrows make a change of 100 instead? Thanks in advance for any help provided! Chad Code example: <form> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td rowspan="2"><input type="text" name="number" value="45" style="width:50px;height:23px;font-weight:bold;" /></td> <td><input type="button" value=" /\ " onclick="this.form.number.value++;" style="font- size:7px;margin:0;padding:0;width:20px;height:13px;" ></td> </tr> <tr> <td><input type=button value=" \/ " onclick="this.form.number.value--;" style="font- size:7px;margin:0;padding:0;width:20px;height:12px;" ></td> </tr> </table> </form> What ActiveX element is on this webpage? Everytime I load it in Internet Explorer a pop up comes up saying "click here to run an ActiveX on this web page"... Any ideas? http://www.curiousclothing.com/test/ Hi I am trying to create a button for my webpage so that when the mouse hovers over the button the image changes, then when the mouse leaves button the image changes back to the original. I have this but its not working <head> <body><button><img src=http://fc07.deviantart.net/fs6/i/2005/093/5/e/Beep_by_fatking.png width="150" height="150" title="Beep" <img src="http://fatking.deviantart.com/art/Shwf-27296191?q=gallery%3Afatking%20randomize%3A1&qo=2" onmouseover="this.src="http://fc09.deviantart.net/fs9/i/2006/005/8/2/Shwf_by_fatking.jpg" onmouseout="this.src="http://fc07.deviantart.net/fs6/i/2005/093/5/e/Beep_by_fatking.png"> Hi everyone, I would really appreciate your help here. I'm not entirely sure if this is html or javascript but... I would like to create a button which is disabled until a certain link is clicked on the webpage... If this possible at all? Thank you Paul let's say we want to create a button named HOME which will lead to the index.html after clicking.and the image has to be images/img1.jpg .code for this ? i used that <button type="button" value="home" onClick=window.location="index.jpg" "img" scr="images/img1.jpg></button> link worked but image didn't appear. also,onClick thing has to do something with the java scripts too? "Home" appears on the button.When we click it it goes to "index.html" the image related to home button is home.jpg. So button's image is home.jpg ,after clicking the button it should take to a link we have given and button's name is Home.how to do that? thanks I need to add a browse button to my webpage which has the same functionality as that of the Browse button in windows application. Is there any particular Java API for same, or can it be done using javascript |