6 Replies Latest reply on Sep 3, 2008 4:17 AM by Newsgroup_User

    Next - Previous page/mage -SOLVED

    Karlhevera Level 1
      Some while ago I asked a similar question. But did not write down the snippet. I wish to display a page, at the bottom of which I want to put 'Next..' and on click the visitor will go to the next page. Of course, on the 2nd page, he would see 'Previous..Next' message, having the choice to either go back or to the next page.

      UPDATE:
      I just linked February to January on the 'Previous' tab and March on the 'Next' tab... and so on for each month. December NOT having a 'Next' and January not a 'Previous' tab. Perhaps NOT the most elegant way, but it works...:-)))


        • 1. Re: Next - Previous page/mage
          Level 7
          Karlhevera wrote:
          > Some while ago I asked a similar question. But did not write down the snippet.
          > I wish to display a page, at the bottom of which I want to put 'Next..' and on
          > click the visitor will go to the next page. Of course, on the 2nd page, he
          > would see 'Previous..Next' message, having the choice to either go back or to
          > the next page.

          I take it you have a Recordset on the page already?

          If so, type your text Next, then highlight it, and from your Server
          Behaviours click on the + symbol, then Recordset Paging, and then Move
          To Next Record.

          This will create the link for you. Do a similar thing for your previous
          link.

          You can also show/hide these dynamically with the Show Region server
          behaviours.

          For your next link use "Show Region If Not Last Record"

          For your previous link use "Show Region If Not First Record"

          Dooza

          • 2. Re: Next - Previous page/mage
            Karlhevera Level 1
            [
            I take it you have a Recordset on the page already?

            In short... No. When I asked a same question some months ago, I was told the code was something like html+ and html-, or similar?


            • 3. Re: Next - Previous page/mage
              Level 7
              Whoever told you that was smoking something illegal.

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              ==================


              "Karlhevera" <webforumsuser@macromedia.com> wrote in message
              news:g9juk7$ofb$1@forums.macromedia.com...
              > [
              > I take it you have a Recordset on the page already?
              >
              > In short... No. When I asked a same question some months ago, I was told
              > the code was something like html+ and html-, or similar?
              >
              >
              >

              • 4. Re: Next - Previous page/mage
                Karlhevera Level 1
                Murray: Smoking? Gave up 10 years ago! Nothing to do with llegality, but health and price... :-))

                Resolved my problem - my way - as described in my Update -- I am sure you may have a more 'elegant' way, but I don't consider myself to an 'elegant, chic' person...:-0
                • 5. Re: Next - Previous page/mage
                  Level 7
                  Karlhevera wrote:
                  > [
                  > I take it you have a Recordset on the page already?
                  >
                  > In short... No. When I asked a same question some months ago, I was told the code was something like html+ and html-, or similar?

                  I have never heard of html+ and html- before, sorry.

                  If your paging between static pages then you just need to manually
                  create the links on each page. Its a rather tedious process, something I
                  would never do.

                  Dooza
                  • 6. Re: Next - Previous page/mage
                    Level 7
                    There is no such thing as html+ or html-, so if it solved your problem it's
                    magic.

                    --
                    Murray --- ICQ 71997575
                    Adobe Community Expert
                    (If you *MUST* email me, don't LAUGH when you do so!)
                    ==================
                    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                    ==================


                    "Karlhevera" <webforumsuser@macromedia.com> wrote in message
                    news:g9ldcv$cgn$1@forums.macromedia.com...
                    > Murray: Smoking? Gave up 10 years ago! Nothing to do with llegality, but
                    > health and price... :-))
                    >
                    > Resolved my problem - my way - as described in my Update -- I am sure you
                    > may
                    > have a more 'elegant' way, but I don't consider myself to an 'elegant,
                    > chic'
                    > person...:-0
                    >