Announcement

Collapse
No announcement yet.

Link work with IE but not with Firefox

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Link work with IE but not with Firefox

    How do I clear characters Firefox add in the link?
    This is the link I have in the product layout:
    <a href="http://www.dinhoj.se/webshop/e-post-kundserviceprodukt.html?<Actinic:Variable Name="ProductName"/>&nbsp;&nbsp;Ref:&nbsp;<actinic:variable name="ProductReference" />">Kundservice</a><br>

    Look in
    http://www.dinhoj.se/webshop/nordia_...Forgasare.html
    and press link "Kundservice"

    #2
    Google for a JavaScript tutorial regarding escape and unescape and use the first on your Actinic page and the second on your popup.

    UPDATE: You may get away with just using unescape on yout popup page.

    Don't forget to test in Firefox2,3, Opera, Safari, Chrome, IE6,7,8, etc.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Or try this:
      Code:
      <a href="http://www.dinhoj.se/webshop/e-post-kundserviceprodukt.html?<actinic:block php="true">echo rawurlencode('<Actinic:Variable Name="ProductName" encoding="perl" selectable="false" /> Ref: <actinic:variable name="ProductReference" encoding="perl" selectable="false" />');</actinic:block>">Kundservice</a><br>
      And in your popup have:
      Code:
      var produkt = unescape(location.search.substr(1));
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Originally posted by NormanRouxel View Post
        Or try this:
        Code:
        <a href="http://www.dinhoj.se/webshop/e-post-kundserviceprodukt.html?<actinic:block php="true">echo rawurlencode('<Actinic:Variable Name="ProductName" encoding="perl" selectable="false" /> Ref: <actinic:variable name="ProductReference" encoding="perl" selectable="false" />');</actinic:block>">Kundservice</a><br>
        And in your popup have:
        Code:
        var produkt = unescape(location.search.substr(1));
        Thanks Norman, now is the extra characters gone.

        Comment

        Working...
        X