[Seaside] head attributes
arning315 at comcast.net
Tue Jul 23 01:37:48 UTC 2013
something like this on your session:
super updateRoot: anHtmlRoot.
anHtmlRoot title: 'blah'.
content: 'initial-scale = 1.0, user-scalable = no';
On 7/22/13 8: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,
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside