RE: Server Side Include Question

2001-05-14 Thread Jones Robert Contr 81 CS/SCK


You could pass a parameter to the script that could indicate which hyperlink
position to start at.  If no parameter then start 1-10, if 11 then run 11-20
... etc ...

http://www.some.url.here.com?index=

And you could set this up as the  for your next button or do it via
a .

-Original Message-
From: Andy Jennings [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 10:29 AM
To: steve silvers; Perl Win32
Subject: Re: Server Side Include Question


The only way I think you may be able to do this would be through frames and
you would need some persistent variables for the Perl script - maybe a
hidden text input var for where you are in the list.

Andy
- Original Message -
From: "steve silvers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 14, 2001 10:02 AM
Subject: Server Side Include Question


> Im using SSI and have a question. My home page (index.shtml) calls in two
> Perl scripts. One delivers a scroll box, that is populated from my
database,
> and the other delivers hyperlinks, also populated by my database.
>
> I deliver a max of 10 hyperlinks to fit in the allowed area. I have it so
> when there is more than 10 hyperlinks, my script puts a next button below
> them.
>
> My question is, and I don't think it can be done in Perl???
>
> When the next button is clicked I just want to deliver the next 10
> hyperlinks without reloading the index.shtml page. Can this be done using
> SSI with Perl.
>
> If not, any suggestions.
> Thanks in advance.
> Steve.
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> ___
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
>
>


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Server Side Include Question

2001-05-14 Thread Andy Jennings

The only way I think you may be able to do this would be through frames and
you would need some persistent variables for the Perl script - maybe a
hidden text input var for where you are in the list.

Andy
- Original Message -
From: "steve silvers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 14, 2001 10:02 AM
Subject: Server Side Include Question


> Im using SSI and have a question. My home page (index.shtml) calls in two
> Perl scripts. One delivers a scroll box, that is populated from my
database,
> and the other delivers hyperlinks, also populated by my database.
>
> I deliver a max of 10 hyperlinks to fit in the allowed area. I have it so
> when there is more than 10 hyperlinks, my script puts a next button below
> them.
>
> My question is, and I don't think it can be done in Perl???
>
> When the next button is clicked I just want to deliver the next 10
> hyperlinks without reloading the index.shtml page. Can this be done using
> SSI with Perl.
>
> If not, any suggestions.
> Thanks in advance.
> Steve.
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> ___
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
>
>


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Re: Server Side Include Question

2001-05-14 Thread Philip Newton

steve silvers wrote:
> My question is, and I don't think it can be done in Perl???
> 
> When the next button is clicked I just want to deliver the next 10 
> hyperlinks without reloading the index.shtml page. Can this 
> be done using SSI

I don't think so. This is probably the case regardless of whether SSI calls
Perl, C, or Bourne shell. The browser would have to fetch the document again
to get any changes.

> If not, any suggestions.
> Thanks in advance.

You might be able to do it in JavaScript: Load up a JS array and page
through that array ten links at a time.

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



Server Side Include Question

2001-05-14 Thread steve silvers

Im using SSI and have a question. My home page (index.shtml) calls in two 
Perl scripts. One delivers a scroll box, that is populated from my database, 
and the other delivers hyperlinks, also populated by my database.

I deliver a max of 10 hyperlinks to fit in the allowed area. I have it so 
when there is more than 10 hyperlinks, my script puts a next button below 
them.

My question is, and I don't think it can be done in Perl???

When the next button is clicked I just want to deliver the next 10 
hyperlinks without reloading the index.shtml page. Can this be done using 
SSI with Perl.

If not, any suggestions.
Thanks in advance.
Steve.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users