[Seaside] Read the browser size

dtrussardi at tiscali.it dtrussardi at tiscali.it
Tue Oct 30 12:42:20 UTC 2012


Hi,

	i need to render some components	 based on the browser size.

	I work with JQuery and i do a test with this  code in the	renderContentOn: 


		html jQuery ajax  
   		 	callback: [ :width | " do something with width " ]
		 	value: (JSStream on: 'window.innerWidth').



	But the callback block is never call.


	Any suggestions ?

	Thank,
			Dario


More information about the seaside mailing list