How can I disable Firefox Pop-up blocker for local html files?

Submitted by Anonymous (not verified) on Thu, 05/14/2009 - 00:08

Mozilla firefox has a nice Pop-up blocker, normally you can disable it for websites you trust. But I have a problem while testtin something with javascript on local files: I have a .html file on my desktop, when I double click it opens in ff with an url like: file:///c:/......html. I try to add it to ff trusted list it adds just "c". And when I try it next time my popup blocked again. How can I solve this issue without turning off popup-blocker completely?

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 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, 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: