• Tim
    The only problem I have with this code is that it relies on Javascript to work.

    Generally it's bad to statically assign a javascript action to a link. If someone with javascript disabled clicked the link, nothing would happen. Javascript is meant to make the page more convenient without destroying functionality for non-javascript users.

    It's not too hard to create a piece of php code that would do the same thing, and it doesn't force the client to have any special settings. If you wanted to change it so it opens a popup for the link, you can add a DOM script to the page that would change the link href when the page is loaded.
blog comments powered by Disqus

 

twitter_icon

Sample Original Content


Information Security

Tutorials and Primers

Culture & Society

Technology & Science

Politics

Philosophy & Religion

Miscellaneous

Tools & Projects


Blog Archives