Published October 3rd, 2007
in HTML, CSS and Javascript.
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’ […]
Published November 2nd, 2006
in HTML, CSS and Javascript.
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 […]
Published October 21st, 2006
in HTML and Javascript.
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 […]
Recent Comments