Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adjusting window width to table width
Message
 
À
02/08/2001 10:47:11
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00538712
Message ID:
00538835
Vues:
13
>>>Is there a way to adjust the window width based on the table width? The table width may vary based on the length of some fields. I would like the browser window to adjust based on it.
>>
>>In java script you can use self.resizeto(width,height) to set the window size. So if you set the table width to 'width=710' you should be able to use the same 710 in the java code self.resizeto(720,200).
>
>We do not know the table width. It's size may vary depending on the column content. I was looking mostly for a function such as Table.Width.

Michel;

If you use ADO, you might try this:

1. Create a variable for width
2. Set the value of the variable to < %=ors("lastname").definedsize% >
3. Use this value for your width

This should use the length of the field to establish the width of the window.

Tom
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform