Announcement

Collapse
No announcement yet.

pop-up from a fragment

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

    pop-up from a fragment

    I'm a beginner, so I beg forgiveness for any stupid questions.

    Here's the first. My home page has a number of fragments which are essentially headlines, intended to link not into the catalogue, but to a page which gives the whole of the story. I would like that page to appear as a pop-up activated by a text link on the headline.

    Can't figure out how to do that. Found an article in the Knowledge Base called "How do I create a pop-up window for a section". Is that it, and can I substitute "fragment" for "section" and make it work?

    #2
    Against a fragment the link text is generally provided in the description area. To activate from the fragment title you need to create a new fragment - in the library find the fragment style that you currently use eg "fragment layout using css" ... right click on this and select "new layout" give it a new name and base it on "none" .... copy and paste the content of your regular fragment into your new fragment (this overcomes known Actinic bugs when transferring sites)

    In your new fragment look for the blue variable FragmentTitle and wrap this into the standard pop-up script used in Actinic eg:

    HTML Code:
    <a href="javascript:ShowPopUp('<actinic:variable name="ExtendedInfoPageEncoded" />',<actinic:variable name="ExtInfoWindowWidth" />,<actinic:variable name="ExtInfoWindowHeight" />);">
             <actinic:variable name="FragmentTitle" encoding="strip" />
    </a>
    You may need to style the <a> tag to remove any underlines, colours etc. When you need to use simply select your new layout on the fragment "layout tab"

    note - not tried


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Many thanks.

      Comment

      Working...
      X