Archive for the ‘HTML and Javascript Tips’ Category

Modern browsers in their default settings are blocking pop up windows. A simple window.open will not open a pop-up as most probably it will be blocked. But what to do if you need to show a special offer or something like this? I’d suggest you to open a window on user action, e.g. clicking a [...]

Here is a small piece of code that allows to reload a page only once. This is necessary to prevent some data being cached and this is the only solution I found good for my needs. Meta tag nocache did not save me, and meta tag refresh does not allow to refresh the page only [...]

If you’re hotlinking images from other servers (this is often used when adding banner codes), you might face the situation when remote server becomes unavailable. This will spoil your site look, if you don’t add a simple code, that allows to solve this issue. <img src=”BANNER URL(REMOTE)” onError=”this.src=’LOCAL URL SHOWN ON REMOTE SERVER ERROR’” height=31 [...]

Earn money from your website/blog by, selling text links, banner ads - Advertisers can, buy links, from your blog for SEO. Get paid through PayPal