Archive for the javascript Category
Drag an element,image etc using javascript,html,css
Hey fellas, Today I am going to show you how you can make an element draggable or moveable on your webpage. This webpage element can be either image, div or even input box. We are going to use simple Javascript, CSS and HTML for this purpose. You can see a working demo on this page and can save t
Read Full PostCheck username availability and validation using ajax,php
So you are creating a signup form and you want to create a fancy looking username validation Ajax script. I know that looks fancy when you signup for Gmail or Yahoo mailbox, instead these kind of validation are now on every signup form. We are going to create this simple script using Javascript, A
Read Full PostSimple tabs using Javascript and CSS
Hey Folks, Its been long since Digimantra got these Javascript tabs in the sidebar. They are pretty sleek and light in weight. Many of my friends & visitors requested me to share the tutorial for these kind of tabs so that they can customize it and put it on their blogs/websites. These ta
Read Full PostAjax powered city state Dropdown
Hey Geeks, Many of you have already gone through a simple javascript example script, which lets you swap elements from two select boxes. I posted this blog post few months back. In this post I am going to show you, how you can use ajax to populate a dropdown, on the basis of value selected i
Read Full Postis_object function for javascript
If you are programming in Javascript then you might need to test a variable for object or null at various levels. Some like to rewrite the code while others like to create a generic function or a php like function to make their life easy. So this is going to be a small snippet of code but is a life
Read Full PostSubmit form with enter key, when there is no submit button
Hey Folks, During your web development odyssey, you might have encountered a situation when you need to perform certain action without the "Submit button". Or you want as soon as user completed the form and hits Enter the form gets submitted. Well this is true when you have submit button embe
Read Full PostGetting started with BBC Glow javascript library
Hey Folks, You might have recently read on Digimantra that we discussed about the Glow, an open source javascript library by BBC. Many of my readers did not believe this at first that a company like BBC can release an open source library. But the fact is yeah they have been releasing this since
Read Full PostGlow an open source javascript library by BBC
Open Source a big bang which is spreading like a fire in the forest. Everything today has an open-source alternative, let it be Microsoft Windows, Photoshop, Microsoft Office, Outlook Express or whatever. The best thing about Open Source is that people actually love it and the community contributes
Read Full PostHow to remove digg or any other site bar
So you do not like the digg bar as well ? Or someone told you that you are losing traffic cause of the digg bar ? Well whatever the case is you really do no want that fancy bar to hang on top of your website, right ? It is very simple to get rid off that annoying bar, i have showed you in my
Read Full PostMake sure your site is not rendered in an iframe
This is going to be short and simple tip. There are chances that your site can be put into iframe and you probably do not want that to happen. But there are not chances for your site to handle such situation, only before reading this post :P So how do you avoid that ? Well it is fairly simple usi
Read Full PostCSS Properties To JavaScript Reference Conversion
Heya Peeps, Today one of my colleague was stuck in very basic Javascript function, in which he was trying to change the font-size of a paragraph by tweaking the CSS "font-size" property with the help of a Javascript function. His code was perfect but with one problem, that was proper reference of
Read Full PostSleep or wait function in javascript
Always wondered that why does Javascript do not have some extraordinary functions like trim, wait, sleep etc. Oh well, i think at that time they din bother to add them or din feel the requirement. I was working on a script last week and somehow i wondered if i can trick around such that my Java
Read Full Post