HighDots Forums  

Next - Previous page/mage

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Next - Previous page/mage in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Karlhevera
 
Posts: n/a

Default Next - Previous page/mage - 09-02-2008 , 07:58 AM






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.





Reply With Quote
  #2  
Old   
Dooza
 
Posts: n/a

Default Re: Next - Previous page/mage - 09-02-2008 , 08:30 AM






Karlhevera wrote:
Quote:
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



Reply With Quote
  #3  
Old   
Karlhevera
 
Posts: n/a

Default Re: Next - Previous page/mage - 09-02-2008 , 01:54 PM



[
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?




Reply With Quote
  #4  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Next - Previous page/mage - 09-02-2008 , 02:07 PM



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 (AT) macromedia (DOT) com> wrote

Quote:
[
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?





Reply With Quote
  #5  
Old   
Karlhevera
 
Posts: n/a

Default Re: Next - Previous page/mage - 09-03-2008 , 03:12 AM



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


Reply With Quote
  #6  
Old   
Dooza
 
Posts: n/a

Default Re: Next - Previous page/mage - 09-03-2008 , 04:09 AM



Karlhevera wrote:
Quote:
[
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


Reply With Quote
  #7  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Next - Previous page/mage - 09-03-2008 , 07:17 AM



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 (AT) macromedia (DOT) com> wrote

Quote:
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



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.