Test a webpage with IE5.5, IE6, IE7 and different javascript and css versions

Submitted by Anonymous (not verified) on Tue, 05/05/2009 - 01:14

I have just found a free software to test webpages with different Internet Explorer versions. Did anybody really test it ? Can this really simulate all css and javascript versions correctly on both XP and Vista?

This is the url where I downloaded IETester:

Thank you!

Case-insensitive replace with Mysql

Submitted by Anonymous (not verified) on Sun, 05/03/2009 - 18:14

Attention!!! This query will convert all matched records to lowercase, backup first!

UPDATE my_table SET my_text_field = REPLACE( LOWER(my_text_field), 'bad_string', 'good_string')
where my_text_field like '%bad_string%'

I tried to replace some spam-like words from a news queue. I tried this sql query above without where clause first. It was a big mistake because all queue converted to lowercase. I already read docs on mysql.man pages. But there is no function for a case-insensitive replace. I am still searching for a solution. Thanks for any help!

Mouseover images with CSS

Submitted by n8coder on Sun, 05/03/2009 - 15:39

Sometimes we need mouseover effect for two images or more. For pure-css image galleries with thumbnail or comparison of before-later photos or photoshop effects like dark-light etc... Be sure that all images have same image width-height. We use an empty container with fixed width-height. We set the first image as background and the second one as hover-background. Demo

Example page code:

How to add new sites to Drupal's service links module?

Submitted by Anonymous (not verified) on Fri, 05/01/2009 - 18:43


i am a beginner

I have installed drupal 6 with service links module

I want to add some non-international mostly german social sites like mister-wong.de, oneview and yigg to that block. I know where to put icon-iamge but where and which line should I change to add new sites? Under admin/settings/servicelinks I see some options but nothing to add new bookmarking sites. thanks

Sleep Function for JavaScript like PHP

Submitted by Anonymous (not verified) on Fri, 05/01/2009 - 18:34

I need to implement a general sleep function replacement for javascript. It should be possible to call it multiple times on a page. I googled and found some code on ozzu forums, which didnt work for me. I get alert messages immediately without waiting 2 or 5 seconds. I tried it (with MSIE+FF) as following :

Web 2.0 Style two Side Background, Dark to Light Effect

Submitted by n8coder on Fri, 05/01/2009 - 18:09

This is a demo page. We use two divs and two background images for left and right. And we use background-position attribute of css especially to align the right background to right of page. Dont forget to tell browser how bg should repeatet. Even if the page is resized, we have the same effect on the display. Demo and More

Left background image:

Regex (regular expression) password check with Java

Submitted by rex on Wed, 04/29/2009 - 18:13

Our String is

and with the regular

we check if our password contains at least one digit, one upper and lower case.
we also check the length of the password, if its greater than 6.

import java.util.regex.*;
public class RegexPwdCheck {

	public static void main(String[] args) {

		String passwd = "aaaaaZZaa44"; 
		String pattern = "((?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,})";


Best CMS and Web 2.0 Software in PHP-MySQL

Im not an expert but just collect best of web, while surfing & exploring.

CMS & Blog






Shopping-Systems & Cart




Drupal + Ubercart

Joomla + Virtuemart

Forum & Board-Systems