June 30, 2007

How to do javascript redirects

I have just been setting up an affilliate deal to sell Article Post Robot which is a software that I am currently evaluating.

however the URL for the affilliate link is really ugly:

http://www.srtsoft.com/cgi-bin/lyre.cgi/jvm/package/go_homepage.html?pack_id=664&aff_id=2592

 

I was seriously not into using that so I have used a little bit of code in a page to make it a little neater, here it is…

<script type="text/javascript">
<!–
window.location = "http://www.srtsoft.com/cgi-bin/lyre.cgi/jvm/package/go_homepage.html?pack_id=664&aff_id=2592"
//–>
</script>

The page is www.ricklomas.com/article-post-robot which is much much more tidy.

 

 

Filed under Blogging, Web, HTML, Tech, web 2.0 by

del.icio.us Digg StumbleUpon Help

Permalink Print