ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

custom navigation - page dependent

December 29, 2012 9:59pm

Subscribe [1]
  • #1 / Dec 29, 2012 9:59pm

    sub_stance

    35 posts

    At the moment I have a listed navigation that has over 15 links

    the first 5 links are anchored to sections of the page and are working properly (using a ‘switch’)

    what i need to have is 6-10 and 11-15 link to their respective ‘next page’s
    and if the page with 6-10 is viewed/selected, so essentially the outcome will be this:

    Page 1
    1-5 to link within page1
    6-10 to link to page2
    11-15 to link to page 3

    Page 2
    1-5 to link to page 1
    6-10 to link to sections within page2
    11-15 to link to page 3

    Page 3
    1-5 to link to page 1
    6-10 to link to page2
    11-15 to link to sections within page3

    also, all of these pages are essentially one page that is using ‘pagination’ to toggle between 3 pages

    should i use a super complex ‘if’ statement? Or is there a more efficient way of doing this?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases