Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing IFrame
Message
From
15/12/2011 10:12:52
 
 
To
15/12/2011 04:33:41
General information
Forum:
Javascript
Category:
IFrame
Title:
Miscellaneous
Thread ID:
01531057
Message ID:
01531109
Views:
45
>My $.03... I would:
>1- declare c and loIFrame as var otherwise JavaScript adds them as properties to the Global Object,
>2- make sure iframe exist, just in case ...,
>3- use a frameWork such as jQuery or Prototype (my favorite) to be sure code is cross-browser...

Point 1 is good. Thanks

Point 2 is within a close environment and it will already exist. This is a special script that is only executed at one place. If it would be made to be generic, I would do as you suggest.

Point 3 cannot apply here as I am not using it.

But, I would still be interested on how to simplify line 2.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform