making the menu text fluid

making the menu text fluid

I'm trying to resize text in menu items using jquery.
I managed to use the the specific selctors for the li and anchor elemets but don't know how to implement the algorithm.
Can someone help please?
I. Sher