-
ULTRA Simple Dropdown Menu Using CSS
No problem. Check out www.nrcpd.org.uk (that's what I managed to do with it)
-
ULTRA Simple Dropdown Menu Using CSS
The code on http://www.webdesigndev.com/web-development/create-the-fanciest-dropdown-menu-you-ever-saw is pretty simple and very adaptible. I used it in the last website I built. See what you think.
-
HTML5 and embedded video
Thanks for your reply! Can you recommend any good quality, free flash video converters? I've had a go at writing a simple html5 script with embedded videos, but I can't seem to get it working. The code is as follows: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Test</title> <meta name="description" content="The HTML5 Herald"> <link rel="stylesheet" href="css/style.css"> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <video controls="controls" autoplay="autoplay"> <source src="videos/gizmo.webm" type="video/webm" /> <source src="videos/gizmo.ogv" type="video/ogg" /> Video not playing? <a href="videos/gizmo.mp4">Download file</a> instead. </video> </body> </html> When I view the page the following message is displayed where the video should be: "No video with supported format and MIME type found." Any ideas? Much appreciated.
-
HTML5 and embedded video
Hi all, My company is looking to redesign their website and we are keen to adhere to the HTML5 web standard. We know that Flash will soon become obsolete and our current website has a lot of flash video content! Is there any way of easily converting this to .mp4? Also, does anyone have an example HTML5 template, which includes an example of embedded video files? Thanks in advance!
-
-
Controlling HTML form using Javascript
Thanks very much Shaun, this is exactly what I wanted! Using your code I have added a submit button, which remains disabled until the text box is populated... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <script type = "text/javascript" src = "javascript/jquery.js"></script> </head> <body> <form id="formid"> <input type="text" id="req_field" /> <select id="disabled_field" disabled="disabled"> <option>Please Select</option> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> </select> <input type = "submit" value = "Search" id = "disabled_button" disabled="disabled" /> </form> <script type="text/javascript" language="javascript"> $('#req_field').keyup(function() { if($(this).val() != '') { $('#disabled_field').attr('disabled', ''); $('#disabled_button').attr('disabled', ''); } else { $('#disabled_field').attr('disabled', 'disabled'); $('#disabled_button').attr('disabled', 'disabled'); } }); </script> </body> </html> Thanks again for your help, much appreciated!
-
Controlling HTML form using Javascript
Hello all, I am looking to design a simple form, which will contain a text box, drop down menu box, and a submit button. Basically, I want both the drop down menu and submit button to be disabled until the user has entered something into the text box. I can design build the form using HTML, but I need help with the Javascript that will control enabling of the drop down menu and submit button once the user has typed something into the text box. Thanks in advance!