Different link for different brower

I have written this test page.

If you view this page IE6, the link will take you to http://spreadfirefox.com, but if you view the page in Firefox, it will take you to http://google.com.

But the weird thing is that I did not check browser UA string.

(javascript required, no badware in it)

Any idea?

test.zip

Attachment: test.zip

#398816

It's possible that Firefox honors Javascript onClick events over href links, whereas IE does the opposite.

Personally, I'd use CSS to display a link in Internet Explorer for spreadfirefox.com that won't appear in other browsers. Then again, I'm more familiar with CSS than JS.

-NC

#398907