A Problem to solve

R

Rivotti

I have a page that is loaded with 12 labels and potentially 100s
i have placed and icon next to each label. What I need to do is to
have a 'hidden layer' of sort that displays a long list of choices
(500 or more). I need this layer to popup below the icon and when the
user selects an item, the label should be replaced with the item
selected.

I can not offord to have potentially 100 drop down lists for obvious
rendering delays. Can someone point me in the right direction ?

As usual; an example is highly appreciated since I am a newbee to
layers

many thanks for your effort
 
D

Darko

I have a page that is loaded with 12 labels and potentially 100s
i have placed and icon next to each label. What I need to do is to
have a 'hidden layer' of sort that displays a long list of choices
(500 or more). I need this layer to popup below the icon and when the
user selects an item, the label should be replaced with the item
selected.

I can not offord to have potentially 100 drop down lists for obvious
rendering delays. Can someone point me in the right direction ?

As usual; an example is highly appreciated since I am a newbee to
layers

many thanks for your effort

Can you please rephrase your question? I'm having hard time to
understand
both what your problem is and what the page purpose is. It would be
good
to accompany it with a piece of code what you've tried so far, or
better
yet, a URL of the page where it can be looked upon.
 
C

Camo

From my understanding, heres how I would approch it

What is needed is a hidden div (<div style="display:none"></div>)
below each label, then on the on click event, do an ajax request
getting the choices. Then on complete of the ajax request, load the
choices into the div and show the div.
Then on the choice click change the name of the label, and send the
information back to the server.

What framework are you using?
 
C

Camo

Who fed you that load of crap? There are better ways to get data into a
page.

Of course you can do it with out the XHR request, It really comes done
the actual problem hes trying to solve, a XHR request would atleast
reduce all the pointless data being sent back to the client every
time, if 90% of the time the user isn't going to even see the
choices.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,148
Messages
2,570,838
Members
47,385
Latest member
Joneswilliam01

Latest Threads

Top