From: Earl Hood <ehood(_at_)hydra(_dot_)acs(_dot_)uci(_dot_)edu>
To: "Yu Wei Jian (leol)"
<wjyu(_at_)sun1(_dot_)phy(_dot_)cuhk(_dot_)edu(_dot_)hk>
CC: mhonarc(_at_)ncsa(_dot_)uiuc(_dot_)edu
Subject: Re: The problem is representing the "Page 1 2 3 4 5 6 [.....] N"
...
Date: Fri, 24 Sep 1999 14:40:42 -0700
On September 25, 1999 at 00:18, "Yu Wei Jian (leol)" wrote:
> What I would like to do is page indexing structure like so:
>
> Page Prev 10 < 11 | 12 | 13 | 14 | 15 | 16 | 17 |
> 18 | 19 | 20 > Next 10
>
> When I click " Next 10", it may be:
>
> Page Prev 10 < 21 | 22 | 23 | 24 >
>
> I try to find a solution to represente the above structureas via the
> resource model as following:
>
> Add two resource varibles "$TenS$" and "$OneS$",
> $TenS=$PageNum/10 (i.e. quottient takes a integer),
> $OneS=$PageNum%10 (i.e. remainder),
>
> Is it possible to print out the above links with these varibles? How
> can it be done?
By modifying the code. There are some subtle issues that arise with
supporting such functionality. I can spell out what one has to consider
to support such functionality if anyone is interested. You can
check out
<http://www.xray.mpe.mpg.de/mailing-lists/mhonarc/1999-08/msg00084.html>
(message-id =
<199908292009(_dot_)NAA16986(_at_)medusa(_dot_)acs(_dot_)uci(_dot_)edu>).
--ewh
Do you mean that we should add such a function to deal with the following
page structure:
<ListEnd>
<UL>$PGLINK(PREV10)$ $PGLINK(CURR10)$ &nb
sp;$PGLINK(NEXT10)$</UL><BR>
</ListEnd>
But in which program deal with such tags? Or may I compose another CGI
to deal with such them?
--viking
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com