Can I use onClick to just go to a URL

OK I admit I am violating CSS by wrapping an HREF around a div but I have done this before with full knowledge that it is not done but it worked in other instances including empty divs & nested divs with other javascript widgets like Hide All except One with no problem.

The one that this is not working is a javascript scroller based on this example.
http://jscroller2.markusbordihn.de/example/

My HREF does click thru in FF but not in IE.

Could I try something like

<a href="http://yahoo.com" OnClick="MyFunction(getURL);" title="Click here">