All the html related posts.
Category: Html

Detect multiple key press in javascript for your website
Many a times we end up in situations where in our clients are windows app migrants to web. And they could not let go off the "hotkey" concept. Let's say "Ctrl + S" or "Alt + R" to perform save or submit operation on a website. The options are endless. A scalable code that you ...

Best Practices for jQuery Developers
Following are some of the best practices that you could follow while working with jQuery: Plugins: Please avoid unnecessary use of plugins If a plugin is being used, respect the authors work and ensure that the plugin file is reused with the license comments intact If you are writing a reusable functionality in the code, ...

Solve Flickering jQuery accordion issue in MOSS 2007
MOSS 2007 for the simple reason of missing a DOCTYPE can screw up the smoothness of animations created through jQuery. One of my situations didn't allow me to add DOCTYPE to my master and my clients ended up seeing flickering animation of the accordion. Seriously that was irritating. Being an ardent admirer and an evangelist ...

‘Add to Favourites’ button javascript
Here is a simple code, that i found useful from dynamicdrive. You can use for 'Add to Favourites' button in HTML. Add them in your head tag: <script type="text/javascript"> /*********************************************** * Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ ...

Grouping inside dropdown
Grouping inside the dropdown list is normally misunderstood by developers for a long time. The required outcome is shown below: To get an output like this on a dropdown, it is not good to add a new item in the dropdown and then add validations for not selecting that option. The solution to this problem ...

div with 100% height
With div design catching up, we end up having issues with the stretching div to the max height. Most of the time this is noticed in the footer section, which has to always stretch to the edge of the browser scroll. I came across of a browser compatible solution to this problem and thought of ...

3D Carousel jQuery
One of the widely used and personally, i too recommend this one. the Cloud Carousel. Thought of attaching a sample here. Try it out. Its pretty simple and effective. The main site: Professor Cloud You can download the source code here: 3d Carousel [Please rename the .pdf to .zip... WordPress complications.. :P]