Announcement

Collapse
No announcement yet.

Link Problem(s) "target="_self"

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

    Link Problem(s) "target="_self"

    Right - third time lucky...

    First of all, I tried to create several forms in Actinic, but got no answers, but was given advice from a professional web deisgner that it would be much quicker to use 'formmail.pl' which I've done and had results. Next, I asked if someone could point me in the right direction of pulling an external HTML page into the page layout itself - came to the conclusion that it'd make more sense to put the external form HTML into a pop up window (activated by a click, so it's not blocked...obivously). Now I got that the [LINK] doesn't work in the first version of version 8, so I found a way round that with other threads in this forum. Now that I've got the pop up window the right size, I'm getting not just the text for the link that is clicked, but Actinic has put "target="_self" before the link text.

    The code I've got in the fragment page in the URL field for the link is:
    A HREF="http://www.bwshop.co.uk/therapeutic/therapeutic.html" onClick="popup = window.open('http://www.bwshop.co.uk/therapeutic/therapeutic.html', 'PopupPage', 'height=450,width=500,scrollbars=yes,resizable=yes'); return false" target="_blank">

    The code I've got in the fragment text is:
    <actinic:variable name='LINK'/>

    Any ideas on how to get rid of the "target="_self"??

    #2
    The target="self" is coming from some prompts in 'Design | Text', which you shouldn't really change as it will affect all links generated by your fragments.

    Probably a better idea would be to create a new fragment layout just for this fragment, and then use the 'Design' tab to edit this layout to include your custom link code in exactly as you want it.

    To create a new fragment layout, locate the 'Fragment Layout' field within the 'Layout' tab of your fragment and then select the '<New>' option right at the bottom.

    Comment

    Working...
    X