HTML - Control Statements In Html
Are there any control switching statements in html????
Similar TutorialsHi, 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> 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> I'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? Hi, Im not very fluent in html, and im trying to do a very simple task. I've been browsing google and multiple forums including this one for a while trying to figure out this basic code but having no luck. I believe i may need to use javascript for this. What i'm trying to accomplish is: - Have visitors enter a confirmation code into a text box - If they enter the right code they get sent to my members page - If they enter the wrong code they get sent to an error page Pretty simple I know, but i cant seem to figure this out. i read this, and this code is the best i came up with so far, but i get an error when i run it. "Method Not Allowed " Here is the code i am using Code: <head> <script type="text/javascript"> function validate_required(Password1) { with (Password1) { if (value=="password") { // i want to navigate to a members page here } else { // i want to navigate to an error page here } } } </html> </script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled 1</title> </head> <body> <form method="post"> <input name="Password1" type="password" /><input name="Submit1" type="submit" value="submit" /></form> </body> 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"/> Hi there, When running a website from my Hard Drive or CD, the Active X message pops up, saying: "To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options..." I know that if you disable the Windows security, this message goes away. I would like this message to not pop up regardless of your security settings... much like the format /y command in the good ol' DOS days. Is there a command that will force the computer to accept the page without user intervention? Thanks in advance! I i have added dropdown list and associated label with it and i want to know the value for label and the value selected in dropdown list. How can I access both values inside javascript? can anybody help? My site is he http://www.cteaguedsign.com/ and I want to kill that borderframe on the <iframe> tag, but neither "0" nor "no" seem to work. Please check the source and tell me if there's anything I can do to make it disappear in most browsers. 1) When creating a link to a new page you can contorl how the broswer appears. I mean so that address bar and such dont appear just the window. Sort of like a popup. I need to this for simiple HTML page that contains a swf file. I am unsure what code i need on the Herf link. "< A HREF="newwindow.html" TARGET="_blank">click to open help file< /A >" 2) can the same code be added to the top of the actaual window when it opens. Can you only do this went opening a new window. hello, I want to add buttons to control my displaying. Would you please give me an advice? Here is my incomplete code. Code: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <!-- Head Scripts --> <script type="text/javascript" src="/skins-1.5/common/ajax.js?97"></script> <style type = "text/css"> #firstp {color : #000000;} #secondp {color : #FF0000;} #thirdp {color : #FF0000;} #forthp {color : #FF0000;} </style> <script language="javascript" + "type="text/javascript"> function show() { ....how to control displaying herein } </script> </head> <body class="mediawiki ns-0 ltr page-Cyber"> <form name="myform1"> <p><input type="button" value="Display lines with red color" onClick="show()"></p> </form> <form name="myform2"> <p><input type="button" value="Display lines with black color" onClick="show()"></p> </form> <P ID=firstp>My first paragraph.</P> <P ID=secondp>My second paragaph.</P> <P ID=thirdp>My third paragraph.</P> <P ID=forthp>My forth paragaph.</P> </html> Thanks Hello folks. I am wondering if i can control the dimensions of my web page. I do not want that web page to be usual full screen, but i would like to be for example only 400x300. Is there any way how to control this? Thank you so much for any input. Janek I have made a link from an image to open a detail of the image in a new page. Everything works OK but the only problem I've got is that the new browser window that opens is too big, the image is nestled up in the right hand corner. Is there a way I can controll the size of the new browser window so that it only displays the image with a minmul white space around it? Thanks in advance to anyone who can help. Dyfrig Hi All, I would like to control popup size as a % of the window that is generating the popup. Is that possible in any way? All I'm familiar with are fixed height and width parameters. Thanks, Jim Hi I have designed a new website for a local sports team. They want to be able to update fixtures and match reports themselves. What is the quickest and easiest way to do this. I have played with Joomla but it seems you have to use the Joomla templates and cant really use a site i already designed. I have also dabbled with asp.NET and visual studio but it just seems over complicated for something i just need to get done quick. i use dreamweaver to design. any thoughts? Hello, Sorry if this is in the wrong section. I have an HTML page that has an Outlook View Control. Something simple like this: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>View Control</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <meta content="MSHTML 5.50.4522.1800" name="GENERATOR" /> </head> <body style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;"> <div> <script src="email-inbox.js" type="text/javascript"></script> </div> </body> </html> the javascript file has only this: Code: // inserts the <object> and <embed> tags to circumvent the new restriction in IE (since April 11 2006) document.write('<object id="ViewCtlFolder" classid="CLSID:0006F063-0000-0000-C000-000000000046" width="100%" height="180px"><param name="Folder" value="Inbox" /></object>'); The problem is that when Microsoft Outlook is not installed this will fire a Javascript error. I want to avoid that error and display a message like "Microsoft Outlook not installed". Is there any way I can do this? Thanks in advance I need a directory chooser control on my webpage please suggest a solution ASAP.... <input type="file"/> this creates a file chooser the same way I need a directory chooser.... Any solution will do, be it Javascript or ActiveX. Prompt response would be highly appreciated Hello there. I am kinda new here and I would like to ask a question regarding volume control on a web page. Is it possible to have some kind of slider to control the sound of a web page? Not some embedded player with a volume slider, but rather a slider that will allow me to control all the sounds that are playing at my webpage. Any help would be greatly appreciated! Thanks in advance p.s. Don't know if I posted this in the right section Sorry! Hi, I just wanted to check with someone as I can find no information on this. If you add addtional attributes to an input for example.. <input type="text" name"input1" color="green" fruit="apple" /> is this legal html and/or legal for javascript to read the addtional attributes, just they might not get transmitted in a request? Thanks Alex. |