[Seaside] head attributes

Erik Ferguson eleison at muraiki.com
Wed Jul 24 00:33:28 UTC 2013


Thanks Bob and Paul, that did it!


On Mon, Jul 22, 2013 at 9:46 PM, Paul DeBruicker <pdebruic at gmail.com> wrote:

> 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
> >
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20130723/0dd1a073/attachment.htm


More information about the seaside mailing list