Archive for the ‘Web Design’ Category

SELECT tag and border style

HTML <select> tag (aka DropDownList) do not suport BORDER style. But you can add border with a trick… by adding a SPAN/DIV tag around it with required style.
Here is the code:

<span style="border:solid 2px red">
<select style="border:solid 2px red">
<option>asdf</option>
<option>asdf</option>
<option>asdf</option>
</select></span>

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Ramp up your skills in SharePoint

Ramp Up is a free, online, community-based learning program, with a number of different tracks that will help you build your portfolio of professional development skills. Ramp Up has a solid foundation of premium technical content from subject-matter gurus, and provides easy-to-access content in a variety of forms that guide you in learning the important [...]

Leave a Comment

How to add Windows Live Messenger to your website?

Check: http://settings.messenger.live.com/applications/CreateHtml.aspx
Simply paste the <iframe> code in to your website.

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Prototype JavaScript Framework

URL: http://www.prototypejs.org/

Prototype is a JavaScript Framework that aims to ease development of dynamic web applications.
Featuring a unique, easy-to-use toolkit for class-driven development and the nicest Ajax library around, Prototype is quickly becoming the codebase of choice for web application developers everywhere.
Lastest version (as on 21 April 2008) is 1.6.

Tutorials available at http://www.prototypejs.org/learn
VN:F [1.1.6_502]Rating: 0.0/5 (0 [...]

Leave a Comment

How to disable button after submit - ASP.NET

Button1.Attributes.Add(”onclick”, ClientScript.GetPostBackEventReference(Button1,”") + “;
this.value=’Please wait…’;this.disabled = true;”);

If you check the source after rendering, it will look like this:

onclick=”__doPostBack(’Button1′,”);this.value=’Please wait…’;this.disabled = true;”

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

How to Refresh iFrame

function reload() {
fr = document.getElementById(”iframe1″);
fr.src = fr.src;
}

test contents

VN:F [1.1.6_502]Rating: 1.0/5 (1 vote cast)

Leave a Comment

Silverlight Samples Gallery

I found this interesting link while digging the net - http://blogs.msdn.com/tims/archive/2007/07/07/from-a-to-z-50-silverlight-applications.aspx
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Web Developer browser add-on for Internet Explorer and Firefox

May be you people are already aware of these “web developer” plug-ins.
• Internet Explorer Developer Toolbar
• Web Developer Extension for Mozilla Firefox
Some of the features a developer/designer may interested in are –
• Preview of website in various resolutions
• Show outline on tables, divs, tds, images etc.
• Cache and cookie management
• W3C validations
• Ruler, Color picker
• DOM tree view
• Disable/Enable css, scripts etc.
IE [...]

Leave a Comment

W3C Markup Validator with c#

I developed a HTML/XHTML Validator tool in C# 2.x.

Further development will be based on the user’s response

URL: http://www.ninethsense.com/validator/
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

Reorder listbox items with JavaScript and ASP.NET

Default.aspx:

< %@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" ValidateRequest="false" %>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

#lstWishList {
background-color:lightgrey;
font:10px notmal arial;
overflow:visible;;
}
#divNumbers {
font:10px notmal arial;
line-height:13px;
}
.imgbutton {
cursor:pointer;
}

function LoadNumbers() {
lst = document.getElementById(”lstWishList”);
lst.size = lst.options.length;
lstNumbers = document.getElementById(”lstWishListNumbers”);
div = document.getElementById(”divNumbers”);
s = “”;
for (i=1;i

Leave a Comment