Table Floaters

By Daniel Dawson Last update Aug 12, 2008 — Installed 916 times. Daily Installs: 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0

Archived Comments (locked)

Subscribe to Archived Comments 7 posts, 4 voices

Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
hpt User

hi Dawson,
Thanks your suggestions. The table which cause table floater slower only when I am scrolling over the table head. After passing the head, it is smooth. I have changed the "delay after dynamic change" to "1000" but doesn't help. Since the URL cannot be visited from outside, I have sent the table file to you several days before :)

 
Daniel Dawson Script's Author

I have noticed the script is a bit slower under FF3. It may be related to the way the event model changed. For instance, before FF3, IIRC, if a piece of code does anything that triggers an event, that event will only fire once the code finishes; now, the event will fire instantly. That already caused an infinite recursion problem that I've fixed. I also implemented a way to mitigate performance problems that arise when the content is frequently altered (think DHTML-heavy sites like Google Maps).

You should use the "Configure Table Floaters..." command and set a nonzero value for "delay after dynamic change". Try that first; if that doesn't help, you can post the URL here or, if you need privacy/confidentiality/whatever, contact me at ddawson at icehouse dot net.

 
hpt User

I find that floater seems too slow on one web page. I am using FF3 now.
Could I send the web page to the author?

 
Daniel Dawson Script's Author

Yes. Please provide me a test case, so I can see the markup that isn't working.

In the meantime, make sure you understand how it's supposed to work:

  • The table must start to scroll off the top of the screen before the floaters appear.
  • The floaters don't show when the bottom of the floaters is within 10 pixels of bottom of the table, just because there's little point. So if the body is less than 10 pixels tall, you won't see anything for that table.

I should also mention that this is a very FF-specific script. I don't use Opera, so I can't currently make scripts work with it. Maybe I should install it just for that reason.

Anyway, please post a test page somewhere, and I'll take a look.

 
Al's scripts Scriptwright

Hi Daniel.. great idea for a script.. It's not working for me though.. on existing web pages, or a quick one I just wrote which has a plain vanilla table with thead and th row followed by regular tr td rows. I've also toggled the various config options you have Configure Table Floaters.

any advise?

 
Daniel Dawson Script's Author

Just discovered ad adverse side-effect. ("It's not a bug; it's an undocumented feature.") Floaters can appear on printouts, covering content. If in fixed-positioned-floaters mode, they appear at the top of every page; otherwise, they appear wherever the window is scrolled when the printout is sent. So now I need to figure out how to exclude print media. It's easy in a stylesheet, but when styling an element directly, it's another story.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel