Max Carlson | 2 Aug 00:08
Favicon

Re: tip to avoid frustration with IE7 and caching of iframes in html component

An even better way is to use the

http://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en 
which gives you the ability to turn off the cache altogether...

Henry Minsky wrote:
> I'm debugging a test case which uses an <html> component, and I found 
> that in IE7, if I modify the
> page content that the iframe points to, IE7 doesn't  update  the iframe 
> when  you reload the app.
> 
>  I found I had
> to kill and restart IE7 to get it to load the modified content into the 
> iframe.
> 
> Be warned!
> 
> 
> 
> 
> 
> -- 
> Henry Minsky
> Software Architect
> hminsky <at> laszlosystems.com <mailto:hminsky <at> laszlosystems.com>
> 
> 

--

-- 
Regards,
(Continue reading)

Raju Bitter | 3 Aug 15:32

Firefox and modiying CSS properties

Max,

I added support to Firefox and moz-transform: rotation(90deg) to the  
kernel, but it doesn't work. I can see the value being set, but the  
visual object doesn't rotate.

Is there an event that needs to be send for FF to re-render the object?

- Raju

André Bargull | 3 Aug 21:52

Re: Firefox and modiying CSS properties

You need to use __LZdiv.style["MozTransform"] instead of 
__LZdiv.style["-moz-transform"], then it'll work.

- André

> Max,
>
> I added support to Firefox and moz-transform: rotation(90deg) to the  
> kernel, but it doesn't work. I can see the value being set, but the  
> visual object doesn't rotate.
>
> Is there an event that needs to be send for FF to re-render the object?
>
> - Raju
>   

P T Withington | 3 Aug 22:36
Picon
Favicon
Gravatar

Re: Firefox and modiying CSS properties

Interesting.  I thought that most browsers would take either format.

On 2009-08-03, at 15:52EDT, André Bargull wrote:

> You need to use __LZdiv.style["MozTransform"] instead of  
> __LZdiv.style["-moz-transform"], then it'll work.
>
> - André
>
>> Max,
>>
>> I added support to Firefox and moz-transform: rotation(90deg) to  
>> the  kernel, but it doesn't work. I can see the value being set,  
>> but the  visual object doesn't rotate.
>>
>> Is there an event that needs to be send for FF to re-render the  
>> object?
>>
>> - Raju
>>

Raju Bitter | 3 Aug 22:41

Re: Firefox and modiying CSS properties

Thanks, but what is the reason for that? On the Mozilla page the  
property is listed as -moz-transform, as you can see here:
https://developer.mozilla.org/en/CSS/-moz-transform-origin

Is this OpenLaszlo specific?

- Raju

On Aug 3, 2009, at 9:52 PM, André Bargull wrote:

> You need to use __LZdiv.style["MozTransform"] instead of  
> __LZdiv.style["-moz-transform"], then it'll work.
>
> - André
>
>> Max,
>>
>> I added support to Firefox and moz-transform: rotation(90deg) to  
>> the  kernel, but it doesn't work. I can see the value being set,  
>> but the  visual object doesn't rotate.
>>
>> Is there an event that needs to be send for FF to re-render the  
>> object?
>>
>> - Raju
>>

Max Carlson | 3 Aug 22:52
Favicon

Re: Firefox and modiying CSS properties

Can you send me a copy of your change?  It _should_ work, if you add 
support for the rotation capability (a la webkit) and change the css 
property in LzSprite#setRotation()...

Raju Bitter wrote:
> Max,
> 
> I added support to Firefox and moz-transform: rotation(90deg) to the 
> kernel, but it doesn't work. I can see the value being set, but the 
> visual object doesn't rotate.
> 
> Is there an event that needs to be send for FF to re-render the object?
> 
> - Raju

--

-- 
Regards,
Max Carlson
OpenLaszlo.org

P T Withington | 3 Aug 23:04
Picon
Favicon
Gravatar

Re: Firefox and modiying CSS properties

The names like `-moz-transform` work in a CSS style sheet, or you set  
the style as a string.  Because `-moz-transform` is not a valid  
Javascript identifier, the convention is that the Javascript  
properties corresponding to a CSS style name are CamelCased the  
mapping is 'hyphen followed by letter' becomes 'uppercase letter'.

I _thought_ that most browsers supported using the '[' operator and  
the actual CSS string as an equivalent form, but maybe that is not the  
case.

On 2009-08-03, at 16:41EDT, Raju Bitter wrote:

> Thanks, but what is the reason for that? On the Mozilla page the  
> property is listed as -moz-transform, as you can see here:
> https://developer.mozilla.org/en/CSS/-moz-transform-origin
>
> Is this OpenLaszlo specific?
>
> - Raju
>
> On Aug 3, 2009, at 9:52 PM, André Bargull wrote:
>
>> You need to use __LZdiv.style["MozTransform"] instead of  
>> __LZdiv.style["-moz-transform"], then it'll work.
>>
>> - André
>>
>>> Max,
>>>
>>> I added support to Firefox and moz-transform: rotation(90deg) to  
(Continue reading)

Raju Bitter | 3 Aug 23:17

Re: Firefox and modiying CSS properties

Max, the code is already in changeset 20090803-raju-n, which I sent  
you for review. I'll test with André's solution right now.

- Raju

On Aug 3, 2009, at 10:52 PM, Max Carlson wrote:

> Can you send me a copy of your change?  It _should_ work, if you add  
> support for the rotation capability (a la webkit) and change the css  
> property in LzSprite#setRotation()...
>
> Raju Bitter wrote:
>> Max,
>> I added support to Firefox and moz-transform: rotation(90deg) to  
>> the kernel, but it doesn't work. I can see the value being set, but  
>> the visual object doesn't rotate.
>> Is there an event that needs to be send for FF to re-render the  
>> object?
>> - Raju
>
> -- 
> Regards,
> Max Carlson
> OpenLaszlo.org

Raju Bitter | 3 Aug 23:25

Re: Firefox and modiying CSS properties

André's solution works, updated the changeset for review.

On Aug 3, 2009, at 11:17 PM, Raju Bitter wrote:

> Max, the code is already in changeset 20090803-raju-n, which I sent  
> you for review. I'll test with André's solution right now.
>
> - Raju
>
> On Aug 3, 2009, at 10:52 PM, Max Carlson wrote:
>
>> Can you send me a copy of your change?  It _should_ work, if you  
>> add support for the rotation capability (a la webkit) and change  
>> the css property in LzSprite#setRotation()...
>>
>> Raju Bitter wrote:
>>> Max,
>>> I added support to Firefox and moz-transform: rotation(90deg) to  
>>> the kernel, but it doesn't work. I can see the value being set,  
>>> but the visual object doesn't rotate.
>>> Is there an event that needs to be send for FF to re-render the  
>>> object?
>>> - Raju
>>
>> -- 
>> Regards,
>> Max Carlson
>> OpenLaszlo.org
>
>
(Continue reading)

Max Carlson | 4 Aug 00:45
Favicon

Re: Firefox and modiying CSS properties

I think only webkit is nice enough to support both...

P T Withington wrote:
> The names like `-moz-transform` work in a CSS style sheet, or you set 
> the style as a string.  Because `-moz-transform` is not a valid 
> Javascript identifier, the convention is that the Javascript properties 
> corresponding to a CSS style name are CamelCased the mapping is 'hyphen 
> followed by letter' becomes 'uppercase letter'.
> 
> I _thought_ that most browsers supported using the '[' operator and the 
> actual CSS string as an equivalent form, but maybe that is not the case.
> 
> On 2009-08-03, at 16:41EDT, Raju Bitter wrote:
> 
>> Thanks, but what is the reason for that? On the Mozilla page the 
>> property is listed as -moz-transform, as you can see here:
>> https://developer.mozilla.org/en/CSS/-moz-transform-origin
>>
>> Is this OpenLaszlo specific?
>>
>> - Raju
>>
>> On Aug 3, 2009, at 9:52 PM, André Bargull wrote:
>>
>>> You need to use __LZdiv.style["MozTransform"] instead of 
>>> __LZdiv.style["-moz-transform"], then it'll work.
>>>
>>> - André
>>>
>>>> Max,
(Continue reading)


Gmane