Website message overhaul
Vladimir Panteleev
vladimir at thecybershadow.net
Mon Nov 14 13:05:47 PST 2011
On Mon, 14 Nov 2011 22:43:05 +0200, Jacob Carlborg <doob at me.com> wrote:
> On 2011-11-14 21:09, Vladimir Panteleev wrote:
>> Speaking of which, the twitter widget needs to be placed in an iframe so
>> that it doesn't block the page load (inline scripts cause browsers to
>> stop parsing the page until the script is loaded and executed, which
>> creates a network dependency on a website we don't control).
>>
>
> Put the JavaScript at the end of the page instead.
The script writes its content during execution. Unless the Twitter JS
supports writing to a specified element, it can't be at the end without
CSS positioning hacks.
--
Best regards,
Vladimir mailto:vladimir at thecybershadow.net
More information about the Digitalmars-d
mailing list