Re: template for newsletter

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Martin Eyles (martin.eyles_at_NOSPAM.bytronic.com)
Date: 12/21/04


Date: Tue, 21 Dec 2004 14:47:11 -0000

Are you manually splitting the pages? If so, you can do this with script, if
each page contains some identifier of this. In asp.net you have a form with
the runat="server" attribute. You could put in this two hidden inputs. Then,
so these are picked up by your asp.net script, you also give them
runat="server" attributes and an appropriate id (eg. "page_no" and
"total_pages"). Then the templates can also contain server script which look
for these two attributes.

HTH,
        ME

-- 
Martin Eyles
martin.eyles@NOSPAM.bytronic.com
"Mike Brearley" <mike_brearleyNOSPAM@DONTDOIT.hotmail.com> wrote in message
news:OMBrwRw5EHA.4072@TK2MSFTNGP10.phx.gbl...
> I need to know how do I (in asp) I have it see how many pages named
exactly
> as page1.asp, page2.asp, etc.... exist and put a bottom nav bar on the
> bottom that has:
>
> Previous      page 1 | 2 | 3 | 4 | 5 | 6 | Contents        Next
>
> The page your on won't be hyperlinked, but the rest are and the last page
> doesn't have the next button.
>
> This isn't for a newsletter where the text in entered in a database.
We'll
> actually be coding the context in each page, but I want all the rest to be
> controlled by a template so it's easier for us down the road if we decide
to
> change the layout and so that we can just slap the content in without
> worrying about the navigation.
>
> -- 
> Posted 'as is'.  If there are any spelling and/or grammar mistakes, they
> were a direct result of my fingers and brain not being synchronized or my
> lack of caffeine.
>
> Mike Brearley
>
>

Quantcast