I can already detect the screen resolution, and i have the width / height multiplier for every resolution i need to support... my problem is this...
I want the include file to be totally universal so heres my plan
I will use CSS styles to set the current text box size... i want the javascript to then detect the screen size and apply the correct multiplier to the textbox size...
Where i run into issues is getting the current textbox size and adding it to itself, it seems i cannot use the current textbox size because the javascript is loading before the text boxes themselves...
I am triggering this java on the BODY ONLOAD event....
Expand|Select|Wrap|Line Numbers
- frmMain.txtLogin.style.width=frmMain.txtLogin.style.width*intWidthMultiplier
[HTML]<input type=text name=txtLogin style="height:20; width:200; font-size:12" />
[/HTML]
Thanks in advance for any help you can add.