NetTalk Central

Author Topic: Locator & First/Previous/Next/Last on one line?  (Read 3702 times)

vsorensen

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Locator & First/Previous/Next/Last on one line?
« on: October 23, 2008, 01:25:54 PM »
I'd like the First/Previous/Next/Last buttons followed by the locator on one line.  The code that creates these two sections is not together, however... it seems that a queue is used:  the locator is added, then browse, then the buttons are added back in front of the locator, but outside of the table.

1. Is there any way to do this?
2. Could we make the generated code more readable please?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Locator & First/Previous/Next/Last on one line?
« Reply #1 on: October 24, 2008, 12:50:06 AM »
Hi Vince,

As with many things that appear simple - this is somewhat more complicated than it seems.
Not so much the locator & browse on the same line, but the way in which the code is generated, then re-worked, and sent.

specifically the _footer_ of a browse table is sent immediately after the header and _before_ the body. (This is how HTML is designed). So NetTalk has to generate the whole browse page into a queue, then send the stuff in the queue out in the HTML order, not necessarily the Generate order.

Cheers
Bruce