I just came across mParallax built by Piksite team. It was a visual delight as i saw the demo of the image at mParallax’s home page. The parachute and the moving sky gave a nice feeling before my developer instincts took over and i was forced to think about the implementation part.
It felt like this [...]
Every javascript programmer comes across the client side validations where he has to restrict user inputs depending on the requirement.
Yesterday i came along an issue where i required only numeric input for the textbox.
So i wrote a script which allowed me to enter only digits in a text field.
Here’s my script snippet.
<input onkeypress="return validateNumericCharacter();" name="zipCode" [...]
I was browsing net when i came across mozilla lab’s new mashup product “UBIQUITY“. I saw the demo video and was left wondering how this extension will change the way we browse the web.
Suppose a user want to invite his friend for a breakfast at a restaurant. So he will find out the location using [...]
I was working on my project and i needed a select list of US states. I googled and found the list here.
But this was not what i was looking for. I needed the list with US state names as values. So i created the list and thought it would be nice to share with people [...]
Web development and Firefox are like synonyms for me. I cannot think of developing a web page without Firefox. Professionally i am a middleware guy but my interest force me to do HTML+CSS and javascript. I developed my first website www.mdakia.com using firefox and fell in love with the open source browser. Firefox is very [...]
Posted in WEB 2.0 | Tagged web 2.0 |
I had a requirement in my project where i had to attach some information to a dom node using javascript.
I created some checkboxes using DOM’s createElement method. Now the task was to assign userId information to each checkbox.
I knew that i can’t use the userId attribute for the “input” tag.
1
<input id="chk1" type="checkbox" />
The above code [...]
I was doing some dom manipulation in my code when i got stuck with this issue.
“ISSUE” :- I had to assign a js function to onclick event of img tag.
I was assigning the function to the onclick event like this
document.getElementById(’buttonImg’).onClick=”postComment(’1′)”;
To my surprise this thing didn’t worked. I was following the rules and this is perfecly [...]
Now a days everyone related to web development use a word which i think is very difficult to define. The word is WEB 2.0.
Web 2.0 ??
Web 2.0 is a trend in the use of www and webdesign that aims to enhance creativity, information sharing, and, most notably, collaboration among users. Web 2.0 is a [...]
I am using JBOSS 5 for my latest project. I was stuck when oracle instance was required in project because both JBOSS and oracle instance run on port 8080.
So i decided to change JBOSS port to 8776. Here are the steps i followed.
My JBOSS is installed in D:\jboss5
Go to the D:\jboss5\server\default\deploy\jbossweb.sar folder
Open the server.xml file [...]
Posted in JAVA | Tagged 8080, JAVA, JBOSS PORT |
Recently in my poject i was writing a restlet(very similar to sevlet/jsp). I wrote the code in a normal javabean style.
I declared few static variables. I was happy that i did the job nicely. But when code review happened i found out that the code was not Thread safe.
These Local variables were killing the code [...]