[thelist] table layout (help!)

Jeff jeff at lists.evolt.org
Tue Sep 26 12:45:15 CDT 2000


: From: <Rudy_Limeback at maritimelife.ca>
: note you can make it toggle the table border
: on/off by a slight enhancement
: at the end, instead of assigning the border a
: value of 1, assign it this value instead --
:    (document.all[i].border=='0')?'1':'0'

you can even make it ask you how big you want the borders to be:

javascript:border=prompt('How many pixels do you want the table borders to

copy, paste, rinse, lather, repeat.

the reason we (josh and myself) edited it from the toggle bookmarklet is
that occasionally you'll wanna see the overall table structure of a page
where one of the embedded tables already has it's border turned on.  what
will happen is all tables with borders turned off will be set to 1 and all
tables with their borders on will be set to 0.  that's obviously not the
intended result as you'd rather see them all on.



mailto:jeff at members.evolt.org

More information about the thelist mailing list