2 Replies Latest reply on Sep 19, 2008 2:43 PM by Newsgroup_User

    Javascript to "Turn Pages" Within Div?

    PAB1953 Level 1
      I want to create a text block that can be continued within the same div (and therefore the same HTML page) by clicking on links (e.g. 1 | 2 | 3) that essentially "turn the page" by replacing the first block of text with a second, and so on. Does that require Javascript to accomplish?

      Thanks.
        • 1. Re: Javascript to "Turn Pages" Within Div?
          Level 7
          Consider using STOL (set text of layer) behavior.


          "PAB1953" <webforumsuser@macromedia.com> wrote in message
          news:gb13o5$eg9$1@forums.macromedia.com...
          > I want to create a text block that can be continued within the same div
          (and
          > therefore the same HTML page) by clicking on links (e.g. 1 | 2 | 3) that
          > essentially "turn the page" by replacing the first block of text with a
          second,
          > and so on. Does that require Javascript to accomplish?
          >
          > Thanks.
          >


          • 2. Re: Javascript to &quot;Turn Pages&quot; Within Div?
            Level 7
            Yes, it would require javascript, and Ken has given you the right clue (in
            CS3 it's called "SetText - of container).

            --
            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
            ==================


            "Ken Binney" <kenbinney@ossiningdesignguild.com> wrote in message
            news:gb165l$ha2$1@forums.macromedia.com...
            > Consider using STOL (set text of layer) behavior.
            >
            >
            > "PAB1953" <webforumsuser@macromedia.com> wrote in message
            > news:gb13o5$eg9$1@forums.macromedia.com...
            >> I want to create a text block that can be continued within the same div
            > (and
            >> therefore the same HTML page) by clicking on links (e.g. 1 | 2 | 3) that
            >> essentially "turn the page" by replacing the first block of text with a
            > second,
            >> and so on. Does that require Javascript to accomplish?
            >>
            >> Thanks.
            >>
            >
            >