[Seaside] head attributes

Paul DeBruicker pdebruic at gmail.com
Tue Jul 23 01:46:00 UTC 2013


In your #updateRoot: method do this:

	anHtmlRoot meta
		name: 'viewport';
		content: 'width=device-width, initial-scale=1.0'.



On 07/22/2013 05:45 PM, Erik Ferguson wrote:
> Hi all! Sorry if this is a dumb question but I'm having trouble figuring
> out how to set head attributes such as viewport. I tried something like:
> 
> anHtmlRoot attributeAt: 'viewport' put: 'width=device-width,
> initial-scale=1.0'
> 
> But this doesn't work at all. I also read on the Seaside manual about
> headAttributes and I tried using the Find function in Smalltalk to
> search for relevant code, but I couldn't really find anything useful for
> headAttributes.
> 
> I'm new to Smalltalk and Seaside so any help that you could offer would
> be most appreciated. Thank you!
> 
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 



More information about the seaside mailing list