Home » Posts tagged "HTML"

Archive for the 'HTML' Tag

Link to network files

Ever wanted to access network files from your webpage? Here is how to create the link: <a target=”_blank” href=”file:///D:/MyCompanyShare/MyDoc.docx”>View</a>

CSS Horizontal Navigation Menu

CSS code – horizontal navigation menu /* ‘defines width, font and position */ #nav { font-family: verdana, sans-serif; position: relative; width: 100%; font-size:11px; color:#FFF; padding-top: 0px; } /* ‘defines list type */ #nav ul { list-style-type: none; background-color: #000; } /* ‘defines the drop-down container */ #nav ul li { float: left; position: relative; height: […]

Drop-down onChange event

Chose file type: <select onChange=”window.location=this.options[this.selectedIndex].value;”> <option selected>Please select</option> <option value=”Music.aspx”>Music Files</option> <option value=”Movie.aspx”>Movies</option> <option value=”OfficeDoc.aspx#word”>Word Files</option> </select> EXAMPLE: Chose file type: Please select…Music FilesMoviesWord Files