It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

News

Log In Sponsors
Partner Sites

Re: Screen Resolution Checker (V. Simple)



Yes Flabby.

The main purpose of using [b:vfnc030y]javascript[/b:vfnc030y] pseudo-url is just to cancel the tags (<a>) native behavior - which is redirection.

To cancel the tags nature behavior, we can add [b:vfnc030y]return false[/b:vfnc030y] at the end of the code, or use DOM's preventDefault().

Hope that makes sense.

Click here to read the whole forum topic