Announcement

Collapse
No announcement yet.

Adding an Anchor to a Fragment ...

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

    Adding an Anchor to a Fragment ...

    Can this be done?

    I am pulling together a brochure page made up a several fragments. I was wondering if i could begin with a navigating fragment to jump to anchor's on the subsequent fragments on the same page

    Code:
    </a><a href="#sect1">Section 1</a>
    </a><a href="#sect2">Section 2</a>
    and so on through later sections which have the details in Fragments?

    I noticed NETQUOTEVAR:FRAGMENTANCHOR but not sure how to use it ?

    Thanks, Simon.
    esafetysigns.co.uk
    your instant download portal for self printable health and safety signs and posters
    ... download once use as many times as you like !


    http://www.esafetysigns.co.uk/index.html
    http://www.esafetysigns.co.uk/acatalog/index.html

    #2
    Your code shown above should work ok.

    Not sure how to use that NQV - but I think you could test it quite easily - just add some obscure word into a fragment and make sure the fragment text is seletced to be added to the search index. Then do a search in the site for that word and look at the returned link in the search results.

    Comment


      #3
      Originally posted by simonwar
      Code:
      </a><a href="#sect1">Section 1</a>
      </a><a href="#sect2">Section 2</a>
      If im coding for internal anchors on a page, i put:

      <a name="AAAA" id="AAAA"></a>

      where i want the link to go to, and then link to it via:

      <a href="#AAAA">blah blah here</a>

      You also have 2 </a>'s at the start of each line, what are these for?

      Comment


        #4
        Code:
        You also have 2 </a>'s at the start of each line, what are these for?
        Aye! .... bad Copy and Pasting... there's no<a/> at the front.

        Q. How do ID the Fragment from Actinic?

        I cannot seem to find a checkbox/text field to ID them?

        I was thinking of dropping the anchor ID into the description box inside the !!< >!! but will mean i jump passed the title, which will confuse the user?

        Any ideas?
        esafetysigns.co.uk
        your instant download portal for self printable health and safety signs and posters
        ... download once use as many times as you like !


        http://www.esafetysigns.co.uk/index.html
        http://www.esafetysigns.co.uk/acatalog/index.html

        Comment


          #5
          Try embedding it within its own embedding tags at the end of the title, it should be invisible anyway.

          Comment


            #6
            If your fragments all have different Titles, then you could add

            <a name="NETQUOTEVAR:BROCHURE_TITLE"></a>

            to your Fragment Layout. And link to them at the top.

            Best to use plain text titles without special charcters.
            Last edited by NormanRouxel; 09-May-2007, 02:20 PM. Reason: Gave V8 solution. Fixed for V7.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment

            Working...
            X