HTML - Add Buttons To Control My Displaying
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 Similar TutorialsHello there, My site header buttons aren't showing up in Google Chrome. Design fees, web design and answers, are the only buttons that show in Chrome. The header buttons show up fine in IE, Firefox, Safari and others. Site is dreamboxdesigndotcomdotau Any help appreciated! 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. 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? 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> 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. 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 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? Please tell me how to implement search box in website. 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! 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 Are there any control switching statements in html???? 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 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 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 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 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. 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> Hello, I've tried looking everywhere, yet have drawn a blank on this idea. I'm currently building a website that needs a vertical menu put onto it, for access to various categories. However, the key issue is that this menu needs to be easily edited in the future (i.e not by me), so it would need to be controlled by some sort of external file, where new categories could be added or edited, and then the changes would automatically apply to the whole website. The website is being built soley in HTML, so I really need something that could be used with this. Please can anyone help? Is it possible to control the windows media player embed: HTML Code: <EMBED showcontrols="false" showstatusbar="false" src="song.mp3" autostart="true" loop="false"></EMBED> using Href's? Honestly, my website looks great w/o having the "showcontrols" enabled and having that rather large and un-transparent background'ed media controller on it. I would really like to be able to add my own: HTML Code: <a href="function:play(or somethin liek that...)">Play</a><br><a href="function:stop">Stop</a> I have a way to do this in flash, and it works great, but I just like the portability of windows media player. Any ideas or suggestions? Thanks in advance, Yuri This slide show, which I like the functions of, show the size of the show by the side of the photo. Is there a way, other than changing all pictures to about the same size that I can keep the slide show uniform? show at link below TIA http://www.nomagicneon.com/customerphotos.html |