This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > September 2005 > Recodset paging
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| dan brown5 2005-09-30, 6:19 pm |
| I have set up a recodset paging links Next, Previous, Last & First. All works
very well, but the problem is - if you are on the last page then the links -
next and last are still there. Also if you on the first page then the previous
and first still appear. This obviously looks a bit bad - what is the best way
to limit these links?
Any suggestions very welcome.
Cheers
Dan...
| |
| Nancy Gill 2005-09-30, 6:20 pm |
| Use the Show Region behaviors to show PREVIOUS if recordset is not empty and
the same with last so when it is actully the first record and there is
nothing before that (therefore the recordset is empty, it won't show.
With first and last, there are specific SHOW REGION behaviors in the Server
behaviors panel menu to cover those cases.
--
Nancy Gill
Team Macromedia Member: Dreamweaver MX/UltraDev
http://www.macromedia.com/go/team/
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development
"dan brown5" <webforumsuser@macromedia.com> wrote in message
news:dhj8dc$2kl$1@forums.macromedia.com...
> I have set up a recodset paging links Next, Previous, Last & First. All
works
> very well, but the problem is - if you are on the last page then the
links -
> next and last are still there. Also if you on the first page then the
previous
> and first still appear. This obviously looks a bit bad - what is the best
way
> to limit these links?
>
> Any suggestions very welcome.
>
> Cheers
> Dan...
>
| |
| Lionstone 2005-09-30, 6:20 pm |
| The 'show region' behaviors have 'if last record', 'if first record', and
the corresponding 'not' versions of each.
"dan brown5" <webforumsuser@macromedia.com> wrote in message
news:dhj8dc$2kl$1@forums.macromedia.com...
>I have set up a recodset paging links Next, Previous, Last & First. All
>works
> very well, but the problem is - if you are on the last page then the
> links -
> next and last are still there. Also if you on the first page then the
> previous
> and first still appear. This obviously looks a bit bad - what is the best
> way
> to limit these links?
>
> Any suggestions very welcome.
>
> Cheers
> Dan...
>
| |
| dan brown5 2005-09-30, 6:21 pm |
| Both,
Thanks a lot, exactly what I was after.
Dan...
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|