get an event when the font size changes

C

catbutt

I have a function that positions "decorations" on a page via
javascript and absolute positioning, based on the current positions of
other items (that are not absolutely positioned). Yes, this is a
messy way to do things but its the only way to do what I am trying to
do.

You can see what I am trying to do here:
http://12.236.248.188/t/threads.html
The idea is to display connector lines to better indicate a threaded
conversation. The lines are positioned by javascript, while the
colored boxes are just divs with differring left margins (there are no
tables), and are positioned automatically by the browser.

I have it set up to reposition the items in the onload and onresize
events. However, if the user changes the font settings, the function
won't be called so the things will be in the wrong place. Also, I
notice that they won't be printed in the right place either, as you
can see if you do a print preview.

Is there any way to get an event, or otherwise tell, when font
settings have changed? (or when it is laying things out to print)

Thanks!
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top