Author Archive

IE8, IE9 does not repeat repeat-x background image

I had some trouble with Internet Explorer – IE8 and IE9 not repeating a background image. All other browsers were fine.
In IE, the background image was not tiled, but only shown once, no matter what I changed – widths, heights, px-sizes, %sizes, auto-margins etc.

Solution

For some reason IE does not repeat my gif image, but saving it as jpg solved the problem.

New website for Fuengirola Unihockey

CUF Fuengirola new websiteThe unihockey team of Fuengirola has got a new website. RJ has created a dynamic site with an inspiring design and features to help members of the team share results, experiences and communicate about practices.

CUF Fuengirola plays in the Spanish National Unihockey League and ended fifth in 2011.

RJ Constructs Meeting Point for Swedes in Fuengirola

Fuengirolakontakt.se information för svenskar i FuengirolaReine Johansson has constructed fuengirolakontakt.se, a meeting point for swedes in Fuengirola. The site is constructed so that everybody can contribute to the content with useful information about the city, events, shopping, sports, kids activities and so on. Fuengirolakontakt.se also has a forum for the same audience.

Matching domain names using JavaScript RegExp

This is a Regular Expression that I used to check validity for a domain entered by a user. It covers the top domains which the particular service covered and you should change it for your own top domains.

If you need a RegExp that matches all valid domains, including all top domains and all subdomains, there is a good attempt (no support for special characters such as åäö) here.

Here is the code:

var domainPattern = new RegExp("^[a-z](-?[a-z0-9]+)*\.(se|com|net|biz|org|es|co.uk|dk|info|eu|mobi|name|nu)$");
if (!domainPattern.test(domainField.value.toLowerCase())) {
// Not ok
}
else {
// Ok
}

Hope it’s of any use to someone!

Return top