Archive

Posts Tagged ‘HTML’

Controlling JavaScript Execution Order

Feb 26th, 2010

Here is my experiment with delaying JavaScript execution order. I have tried various methods I can remember and all failed. So, I have written an efficient script (I think!) for delaying the execution of dependent JavaScript code.
I had three lines of code. First was External JavaScript file. Second was… READ MORE

Add Input Fields Dynamically to Form Using JavaScript

Feb 8th, 2010

Here you will get working code for adding input fields dynamically using a link or button. Default number of input fields are provided and you want to give users a option to add more input elements then this script will work. Be it Input box field, Textarea or any other… READ MORE

Web Scripting Top Blog Posts of 2009

Dec 20th, 2009

All are writing something something related to year end. So, what should I write. I though to write about the top visited posts of 2009 on my blog.
I hope you will enjoy reading it. I am sure my regular visitors will like this post.
Dynamically Populate Select List by… READ MORE

Image Swap with Text for Search Engine Optimization

Nov 29th, 2009

This article is for CSS Image swap with text for SEO purpose. This article is also for the following reasons:
I need to create a template kind of system on a page, so that new row can be added easily without any new consideration of the styling. All image was… READ MORE

HTML5 – What I don’t like?

Oct 25th, 2009

I have not read everything about the HTML5, but whatever I have read and come to know from different places, I have these objections in HTML5 specification, which is still in draft mode.

HTML5 has no restriction on attributes value quoted or not.
HTML element name can be small case… READ MORE

Permanent 301 Redirect, using HTML and PHP

Oct 25th, 2009

Yes, its true. You can 301 redirect using META HTML tag according to Sebastian. He says, Yahoo and Google accept it as 301 redirect. Though, it must be least preferred method. Using server side script or Server redirect (apache) is preferred method.
HTML 301 Permanent Redirect:

<html>
<head>
<title> –Title… READ MORE

Display Message for Short Duration

Oct 13th, 2009

This is another post in beginners series. Suppose you want to dispaly dynamic message after form submit for short duration. You want the massage to dissapper after some time.
User can have option to hide it if he wants also. How you will do it?
Here is a example script… READ MORE

Avoid Form Resubmit on Refresh/reload

Oct 12th, 2009

All of us write a PHP script where script submit the form and data need to put on database or in some file. This is a very important step we learn when we start doing programming in PHP. After everything went correct you may has faced the problem of resubmitting… READ MORE

JavaScript: Default Values in Input Elements

Sep 13th, 2009

This script provides input help to users going to fill a form on your website.
Sometimes you will see a tool-tip for each input-box or you see a default text is already entered in box to understand what should go inside the input box. This script is to provide a… READ MORE

Adding Content Before & After HTML Tags using CSS

Aug 15th, 2009

Using css2 we can add content before or after any HTML elements. This gives us control over the dynamically generated content.
Suppose, some HTML contents are coming through widget, And we do not have any control over them. Then, we can either use server side scripting language to get the… READ MORE