[Proto-Scripty] How indicate media type for a style

2010-01-18 Thread gillesvds
Hello, I would dynamically set up this style for an element with id 'opacite' : @media print{ #opacite{ display:none; } } How can I do that with prototype (e.g. with method setStyle) ? Thanks, Gilles (France) -- You received this message because you are subscribed to the Google Groups "Pr

[Proto-Scripty] How to observe the event window.resize ?

2010-01-18 Thread gillesvds
Hello, How to observe the event window.resize with prototype ? The window object is not an instance of Element... so, is there a cross-browser solution using prototype ? Thanks, Gilles (France) -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.