multipage form and text resizing
Hi everyone,
I have a project involving a multipage form with a text resizing function. I'd like to be able to keep the size the user selects as persistent throughout the multipage form (on other pages).
I tried creating a hidden input form and passing the value through it, but for some reason, it didn't work (it's a proprietary templating tool they're using). Am I missing something, or is there some easier way of going about this?
Just in case you're wondering, here's the code. It works beautifully, if only I could keep the font size.
- function ResizeText(resize)
{
var curFontSize = $('body, p, div, tr, td, center, table, select, textarea, input').css('font-size').replace('px', '');
var newFontSize = parseInt(curFontSize) + resize;
$('body, p, div, tr, td, center, table, select, textarea, input, font').css({'font-size': newFontSize+'px'});
$('h2').css({'font-size': (newFontSize+2)+'px'});
return false;
Thanks!
Eggers