Announcement

Collapse
No announcement yet.

Image Fragments opening in new window

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

    Image Fragments opening in new window

    I have created a duplicate Fragment image layout and wish to have clickable images opening in a new window. I cannot see in the following layout where I can enter the code target="blank".

    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentImageALink%22%20%2f%3e" >
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToURL%22%20%2f%3e" >
    <a href="<actinic:variable name="FragmentLinkedItemID" />">
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToProduct%22%20%2f%3e" >
    <a href="<Actinic:Variable Name="SearchCGIURL"/>?PRODREF=<actinic:variable name="FragmentLinkedItemID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&amp;NOLOGIN=1</actinic:block>">
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToSection%22%20%2f%3e" >
    <a href="<Actinic:Variable Name="SearchCGIURL"/>?SECTIONID=<actinic:variable name="FragmentLinkedItemID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&amp;NOLOGIN=1</actinic:block>">
    </actinic:block>
    </actinic:block>
    <img src="<actinic:variable name="FragmentImageFileName" />"
    alt="<actinic:variable name="FragmentTitle" />"
    border="0"
    width="<actinic:variable name="FragmentImageWidth" />"
    height="<actinic:variable name="FragmentImageHeight" />"
    />
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentImageALink%22%20%2f%3e" >
    </a>
    </actinic:block>

    Can anyone assist with this?
    Fitness for life!www.fitness-focus.co.uk


    DIFN - Doing nothing is not an option

    The Supplement Warehouse - Bodybuilding & Fitness Supplements

    #2
    Slightly changed - also not tested, but try this:

    Code:
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentImageALink%22%20%2f%3e" >
       <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToURL%22%20%2f%3e" >
          <a href="<actinic:variable name="FragmentLinkedItemID" />" target="_blank>
       </actinic:block>
       <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToProduct%22%20%2f%3e" >
          <a href="<Actinic:Variable Name="SearchCGIURL"/>?PRODREF=<actinic:variable name="FragmentLinkedItemID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&amp;NOLOGIN=1</actinic:block>" target="_blank>
       </actinic:block>
       <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentLinkToSection%22%20%2f%3e" >
          <a href="<Actinic:Variable Name="SearchCGIURL"/>?SECTIONID=<actinic:variable name="FragmentLinkedItemID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<Actinic:Variable Name="ShopID"/></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e">&amp;NOLOGIN=1</actinic:block>" target="_blank>
       </actinic:block>
    </actinic:block>
    <img src="<actinic:variable name="FragmentImageFileName" />"
       alt="<actinic:variable name="FragmentTitle" />"
       border="0"
       width="<actinic:variable name="FragmentImageWidth" />"
       height="<actinic:variable name="FragmentImageHeight" />"
       />
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFragmentImageALink%22%20%2f%3e" >
       </a>
    </actinic:block>

    Comment


      #3
      Tried it but it doesn't work
      Fitness for life!www.fitness-focus.co.uk


      DIFN - Doing nothing is not an option

      The Supplement Warehouse - Bodybuilding & Fitness Supplements

      Comment


        #4
        Long shot - code modified above slightly - not able to test though, but give it a try again.

        Comment


          #5
          Still doesn't work I am afraid.
          Fitness for life!www.fitness-focus.co.uk


          DIFN - Doing nothing is not an option

          The Supplement Warehouse - Bodybuilding & Fitness Supplements

          Comment


            #6
            You can however do the attached which will definitely work for the fragment LINK. This might help.
            Attached Files

            Comment

            Working...
            X