[Solved] Javascript User Input [closed]

Use radio buttons <form> <fieldset id=”group1″> <input type=”radio” value=”” name=”group1″> <input type=”radio” value=”” name=”group1″> </fieldset> <fieldset id=”group2″> <input type=”radio” value=”” name=”group2″> <input type=”radio” value=”” name=”group2″> <input type=”radio” value=”” name=”group2″> </fieldset> </form> This answer is from here Multiple radio button groups in one form If you edit the code a bit you get (You use value1 … Read more

[Solved] Find closing tag in HTML string

some change in your code can work see this line of codes function highlightsText() { var range, sel; if (window.getSelection) { sel = window.getSelection(); if (sel.getRangeAt) { range = sel.getRangeAt(0); } document.designMode = “on”; if (range) { sel.removeAllRanges(); sel.addRange(range); } if ( !document.execCommand(“HiliteColor”, false, “yellow”) ) { document.execCommand(“BackColor”, false, “yellow”); } document.designMode = “off”; } … Read more

[Solved] Html Unknown border around h3?

You have your ul li{ display: block; position: relative; float: left; border: 1px solid #000; z-index: 1; } Which the border 1px make your slider to hold the border. So just remove the border or just make em 0 and you are good to go with your slider with no border. 1 solved Html Unknown … Read more

[Solved] Making a simple calculator in html

Here is the complete calculator. Hope it will help. function c(val) { document.getElementById(“d”).value=val; } function v(val) { document.getElementById(“d”).value+=val; } function e() { try { c(eval(document.getElementById(“d”).value)) } catch(e) { c(‘Error’) } } body { background-color:tan; } .box { background-color:#3d4543; height:300px; width:250px; border-radius:10px; position:relative; top:80px; left:40%; } .keys { position:relative; top:15px; } .button { width:40px; height:30px; border:none; … Read more

[Solved] How to make accordion to expand on hover not on click? [closed]

5th example in the jQuery UI Accordion documentation: Open on mouseover $( “#accordion” ).accordion({ event: “mouseover” }); You can attach any click events you wish to using the .click() or .on(‘click’) methods in plain jQuery. Please research before asking questions like this. 0 solved How to make accordion to expand on hover not on click? … Read more

[Solved] HTML or ASP for a website [closed]

I’m afraid you’ve been horribly misled. ASP.NET uses HTML (and CSS and JavaScript) to display web pages. You cannot write a web page without using HTML. Also, HTML is a markup language, not a piece of software. It only describes the layout of web pages, so there is nothing insecure about HTML. WordPress also uses … Read more

[Solved] The easiest way to automatically open a popup? [closed]

I would normally use a jQuery UI dialog, but if you want something simpler, here you go: If this is your html div: <div id=”popup”> <h1>Welcome</h1> <span id=”closePopup”>Close</span> </div> And this is your CSS (positioning of pop up may not be perfect, this is rough): #popup{ display:none; position:absolute; top:150px; width:50%; left:25%; } #popupClose{ cursor:pointer; text-decoration:underline; … Read more

[Solved] “-webkit-” (a CSS property) isn’t working in any browser except google chrome [closed]

Because -webkit- is meant to be worked only on chrome and safari. In your code you have, -webkit-transform:scale(1.1); you need to add to it, transform:scale(1.1); //standard one -webkit-transform:scale(1.1); // for chrome && safari -moz-transform:scale(1.1); //for mozilla -o-transform:scale(1.1); // for opera -ms-transform:scale(1.1);; //for Internet explorer like so, you need to add to all the places wherever … Read more

[Solved] links don’t work in chrome [closed]

Did you look at the code? They don’t go anywhere… <li><a class=”entypo-home active” href=”http://www.google.com”>Home</a></li> <li><a class=”entypo-briefcase” href=”#”>Services</a></li> <li><a class=”entypo-picture” href=”#”>Portfolio</a></li> <li><a class=”entypo-address” href=”#”>Contact</a></li> 4 solved links don’t work in chrome [closed]

[Solved] Functions not running when called? [closed]

1- You should close the script tags. 2- You don’t need to open separate script tags for sequential scripts. 3- You have to change the scope of the urlArray to global. You can do it by adding a var before the definition and outside of the function. <script type=”text/javascript”> var urlArray = []; function AddSeries() … Read more