Stumped on getting link to work in IE :-(

Discussion in 'HTML & Website Design' started by nellyelephant, Dec 30, 2010.

  1. #1
    Hi all,

    I have been battling with this issue over Christmas but it has me stumped.

    I can't understand why the link in this code works perfectly in Firefox but does nothing when clicked in IE. If I right click in IE and choose "open" it works fine..

    The "thumb" class refers to a zoom function using jquery.

    Anyone able to throw some light on it before my head explodes please? :) :)

    <a href='<?php print $product["productHREF"]; ?>' <?php print javascript_statusBar("More information about ".$product["name"]); ?>>
    <ul class="thumb"><li><img border='0' height='100' src='<?php print $product["image_url"]; ?>' alt='<?php print $product["name"]; ?>' /></li></ul></a>
     
    nellyelephant, Dec 30, 2010 IP
  2. nellyelephant

    nellyelephant Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Fixed it with this addition-

    <span class="link" onclick="window.location='<?php print $product["productHREF"]; ?>'">

    Merry Christmas to me :)
     
    nellyelephant, Dec 31, 2010 IP