Announcement

Collapse
No announcement yet.

[LINK] in fragment page

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

    [LINK] in fragment page

    I have a fragment page that contains a link to an external site and I'm trying to get the link to open in a new window.

    I found these tips from the v7 forum, but neither seem to work on my v8 Business


    Put
    HTML Code:
    target="_blank" after the url in the links tab.
    For LINK launching a separate window, simply add target="new_window" at the end of the page name or url you are connecting the link onto, so if a URL it might look now like:

    http://www.domaintolinkto.co.uk and change this to...

    http://www.domaintolinkto.co.uk target="new_window"
    I know I'm doing something stupid here but, for the life of me, I can't see what!

    Can anyone point me in the right direction?

    Richard

    #2
    I think I've answered my own question.

    <actinic:variable name="LINK" /target="new_window"> in the Fragment's text (in the Genral Tab) works.

    Richard

    Comment


      #3
      There is a bug in the fragment [LINK] it will be fixed on the next release.

      Comment


        #4
        Originally posted by Waggers
        <actinic:variable name="LINK" /target="new_window"> in the Fragment's text (in the General Tab) works.
        This didn't work for me, Actinic ignored target="new_window" and generated the following:

        Code:
        <tr>
        <td align="center" width="25%">
        <a href="http://support.microsoft.com/search/?adv=0">
        <img src="../logo-microsoft.gif" alt="Microsoft" border="0" height="24" width="129">
        </a>
        </td>
        <td align="left" width="75%">
        <a href="http://support.microsoft.com/search/?adv=0" target="_self">Microsoft Support Knowledge Base</a>
        </td>
        </tr>
        ... note the target="_self" that's been inserted. I also tried
        Code:
        <actinic:variable name="LINK" /target="_blank">
        without success.

        I've searched around for the fragment link code to maybe change the target - any idea where it might be?

        Malcolm
        ¤ The world wide web needn't cost the earth
        ¤ ARTISAN INTERNET LTD
        ¤ www.artinet.co.uk

        Comment


          #5
          place <actinic:variable name="LINK" /> into the fragment description (as you would [LINK] if it was working) and then enter the link details into the link tab as normal. Use the target="_blank" at the end of the url as normal.

          Comment


            #6
            Thanks, Malcolm. That's exactly what I did in the first place, and it didn't work, which is why I ended up posting here. However, I stumbled across the solution accidentally, it worked when I left in the quote mark after ?adv=0 in the url:

            Code:
            http://support.microsoft.com/search/?adv=0" target="_blank"
            These don't work:

            Code:
            "http://support.microsoft.com/search/?adv=0" target="_blank"
            http://support.microsoft.com/search/?adv=0 target="_blank"
            How obscure is that?

            Malcolm
            ¤ The world wide web needn't cost the earth
            ¤ ARTISAN INTERNET LTD
            ¤ www.artinet.co.uk

            Comment


              #7
              You need to leave a space between the end of the url and target="_blank" otherwise it will not work.

              Comment


                #8
                Yep, there's definitely a space between ?adv=0" and target="_blank". Is that what you meant?

                Malcolm
                ¤ The world wide web needn't cost the earth
                ¤ ARTISAN INTERNET LTD
                ¤ www.artinet.co.uk

                Comment


                  #9
                  Yes - strange that it does not work?

                  Comment


                    #10
                    I have just had a call from someone about a link not working and sure enough it does not - this is a link that has been working ok for years and has not been altered. When I checked several websites all the links are now not working that use the target_blank.

                    I wonder if there has been a change with ie

                    Comment


                      #11
                      Mal,

                      based on the Act2pdf download problem that suddenly materialised in IE, I would bet money there has been a change inIE.
                      Bill
                      www.egyptianwonders.co.uk
                      Text directoryWorldwide Actinic(TM) shops
                      BC Ness Solutions Support services, custom software
                      Registered Microsoft™ Partner (ISV)
                      VoIP UK: 0131 208 0605
                      Located: Alexandria, EGYPT

                      Comment


                        #12
                        Great

                        Comment

                        Working...
                        X