Archive for the 'Javascript' Category

Operator ===

Have you ever used the strict equal operator? I learned about it few days ago…
Below is a quick explanation of its behavior:
“The strict equal to operator returns true if both operands are equal (and of the same type). It doesn’t perform any data type conversion, so an expression like 1 === true returns false […]

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Technorati
  • digg
  • Reddit
  • SphereIt
  • DotNetKicks
  • YahooMyWeb

Hide div and the white space it occupies

Problem
Most of the developers will say “I can use javascript and CSS ‘visibility’ property to do that”, but shortly after that they’ll realize that this is not enough. This solution will hide the div tag content, but the space it occupies will stay.
You can reproduce this behavior using the code below:

if (objDiv.style.visibility == ‘visible’ […]

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Technorati
  • digg
  • Reddit
  • SphereIt
  • DotNetKicks
  • YahooMyWeb

ASP.NET 2.0 AJAX Extensions 1.0 Released

ASP.NET 2.0 AJAX Extensions 1.0 framework was released some days ago. You can use it for developing and running AJAX-style applications. Download the framework and the documentation or just read more about ASP.NET AJAX.
ASP.NET AJAX Control Toolkit was also released along with the framework. It is a shared-source community project consisting of samples and components […]

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Technorati
  • digg
  • Reddit
  • SphereIt
  • DotNetKicks
  • YahooMyWeb

Add scrollbar to DIV tag content

Problem: Add horizontal and/or vertical scrollbar to the content of a DIV tag
Solution: There are different ways to add a scrollbar to DIV tag content. The easiest one is to use the CSS “overflow: scroll” property. Unfortunately in this case the scrollbar looks like the standard browser one and can be styled only in IE.
The […]

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Technorati
  • digg
  • Reddit
  • SphereIt
  • DotNetKicks
  • YahooMyWeb

Image rollover using CSS

Today I read a really cool article about creating image rollover effect using CSS and one image. This totally eliminates the usage of Javascript and OnMouseOver and OnMouseOut attributes.
Browsers supported: IE 5.5+, Firefox 1.07+, Opera 7.23+, Mozilla 1.7.12+, Netscape 6.02+, Safari 2.0+, Konqueror 3.4.3+
You can review the full artcile with example how to achieve […]

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Technorati
  • digg
  • Reddit
  • SphereIt
  • DotNetKicks
  • YahooMyWeb

“Back” link not working in Firefox

Maybe some of you use the following approach to create “back” links:
<a href=”#” onclick=”javascript:history.back();”>back</a>
I used to do it this way until it turns out that this is not working under Firefox.
Fortunately I found the solution while I was reading an article posted at Code Project website. The back button there was working even in […]

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Technorati
  • digg
  • Reddit
  • SphereIt
  • DotNetKicks
  • YahooMyWeb



Google

Blogroll


Blogroll Me!

Enter your email address:

Delivered by FeedBurner







Academics Blogs - Blog Top Sites