Display large text fields in html

Display large text fields in html

am 23.04.2002 22:40:51 von Jan Peuker

Hi List,

I want to display large text fields if a user changes wants to, like a
dictionary. for example, a php-database generated page hosts a combobox
filled with ids, if a user changes it, a text otherwhere changes. Simple
Javascript would you say, but what's if this combobox has about >1000
entries(every entry about 10lines of text)? The page loads and runs very
slow. But I don't want to reload the page everytime the user changes the
field. Do you know any solution?
I know a few: a) As is said, a 2nd textbox filled with value coming from
array.
b) The box is filled by a set of textfiles which are generated before
c) above but w/ layer
d) no box but an image, b/w-gif generated by php
e) inline-frameset which is reloaded
f) an applett which get its resource by getURL
g) ...
As I said, do you know which would be the best?
Thanks a lot,

Jan

PS. Yes, I think this is rather a PHP question.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: Display large text fields in html

am 23.04.2002 23:05:30 von Jan Peuker

Ok, but true frames load very slow - not on an intra, but on internet.
The select is not the problem, I use cursors to output every line. At first
I did an implementation like yours but users said it's to uncomfortable
(they like static VB-Tools). Then I asked JS to reload a frameset using a
LIMIT-query from 50 +/- of selectedIndex and then just reload if a new index
is out of this range, but for me there is no ability to hide/show these
fields from JS. So i think i would have to use an Applett?

Jan

----- Original Message -----
From: "Julio Nobrega Trabalhando"
To:
Sent: Tuesday, April 23, 2002 11:05 PM
Subject: [PHP] Re: Display large text fields in html


> If you have over 1000 entries, each one with ~10 lines of text, I would
go
> with frames. Not inline-frames, but a true frames. So each change can load
> the frame and show the information.
>
> Also, a with 1000 entries? Break it apart. For example make one
with (imagine this is a select in your browser):

/------------------------------\
Abba .... Bee Gees |V|
Beethoven .... Coolio |
ManyOptions .... ZillionOptions |
\-------------------------------/

It's an interval of choices, first the user selects the interval, which
loads another select with only these "in between" entries.



--

Julio Nobrega.

Um dia eu chego lá:
http://sourceforge.net/projects/toca

Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=66417674 2884


"Jan Peuker" wrote in message
news:006c01c1eb07$28d79500$7ca990d4@toshiba...
> Hi List,
>
> I want to display large text fields if a user changes wants to, like a
> dictionary. for example, a php-database generated page hosts a combobox
> filled with ids, if a user changes it, a text otherwhere changes. Simple
> Javascript would you say, but what's if this combobox has about >1000
> entries(every entry about 10lines of text)? The page loads and runs very
> slow. But I don't want to reload the page everytime the user changes the
> field. Do you know any solution?
> I know a few: a) As is said, a 2nd textbox filled with value coming from
> array.
> b) The box is filled by a set of textfiles which are generated before
> c) above but w/ layer
> d) no box but an image, b/w-gif generated by php
> e) inline-frameset which is reloaded
> f) an applett which get its resource by getURL
> g) ...
> As I said, do you know which would be the best?
> Thanks a lot,
>
> Jan
>
> PS. Yes, I think this is rather a PHP question.
>



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: Display large text fields in html

am 24.04.2002 06:18:30 von Ray Hunter

What type of database are you using?

You might want to look into the creating temp tables and accessing them...

"Jan Peuker" wrote in message
news:00e101c1eb0a$9a50c730$7ca990d4@toshiba...
> Ok, but true frames load very slow - not on an intra, but on internet.
> The select is not the problem, I use cursors to output every line. At
first
> I did an implementation like yours but users said it's to uncomfortable
> (they like static VB-Tools). Then I asked JS to reload a frameset using a
> LIMIT-query from 50 +/- of selectedIndex and then just reload if a new
index
> is out of this range, but for me there is no ability to hide/show these
> fields from JS. So i think i would have to use an Applett?
>
> Jan
>
> ----- Original Message -----
> From: "Julio Nobrega Trabalhando"
> To:
> Sent: Tuesday, April 23, 2002 11:05 PM
> Subject: [PHP] Re: Display large text fields in html
>
>
> > If you have over 1000 entries, each one with ~10 lines of text, I
would
> go
> > with frames. Not inline-frames, but a true frames. So each change can
load
> > the frame and show the information.
> >
> > Also, a