Making a browser smaller
David Bovill
david at viral.academy
Sun Aug 9 16:59:27 EDT 2015
Thanks - that works great. I'm actually just adding the transforms to the
CSS of the body and footer elements. I did not realise quite how powerful
CSS is - the transformations of whole pages are stunning and fast.
Has anyone experimented with adding these via Livecode scripts to pages to
induce similar transitions that you get when playing with CSS in the
browser toolkits?
On 9 August 2015 at 16:11, Bob Warren <bobwarren at howsoft.com> wrote:
> David Bovill wrote:
>
> I've a web site that I want to make smaller in Livecode. In Chrome or
>> Firefox I can shrink the browser view using Zoom In / Zoom Out. In
>> Livecode
>> we have "revBrowserMakeTextSmaller" - but this only shrinks the text.
>>
>> Any CSS or other tricks to zoom / shrink an entire web site? I guess not -
>> just hoping
>>
> Try this David (works for me):
>
> <style>
> iframe {
> -moz-transform: scale(0.50, 0.50);
> -webkit-transform: scale(0.50, 0.50);
> -o-transform: scale(0.50, 0.50);
> -ms-transform: scale(0.50, 0.50);
> transform: scale(0.50, 0.50);
> -moz-transform-origin: top left;
> -webkit-transform-origin: top left;
> -o-transform-origin: top left;
> -ms-transform-origin: top left;
> transform-origin: top left;
> }
> </style>
>
> <iframe id="IDNAME" src="http://www.howsoft.com"></iframe>
>
> -----------------------------------------------
> Regards,
>
> Bob Warren
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list