Brice,
Just some background on the switchTxt funciton, basically I have a bunch of
different elements (tables, forms, etc.) that need text replaced with text
that is in an xml file and that is achieved with:
switchTxt = function(){
$.log('LOG: switchTxt();');
$('.xmltext').each(function(){
var txt = $(this).attr('xmltext')
$(this).text(getText(txt));
$(this).removeClass('xmltext');
});
}
So, everything I pull in an element, that function needs to get executed to
ensure the text gets changes with what is in the xml file:
<snippet>
<item tag="BTNCANCEL" whatfor="" txt="cancel"/>
<item tag="BTNSAVE" whatfor="" txt="save"/>
</snippet>
That is an approach I did not think of, what I did was edit the plugin
slightly at line 56 and added that function.
As for the center part, that link you sent me is basically what I would have
normally done, except I still don't have a finished/approved design and
don't know the dimensions on things just yet, so I was hoping there would be
a way of checking the height and width on the fly.
I will figure something out on this one.
I really appreciate your help.
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/