[Coco] New CoCo site and ftp
Brian Blake
random.rodder at gmail.com
Mon Mar 22 09:26:47 EDT 2010
Hi Jason, and thanks for the feedback and compliment. Yes, the Scrib'd
document really slow things down, I'd hate to see it on dial up. I had
planned to change to thumbnails, just hadn't worked out the details yet.
Thanks for the code snippet, I'll test it out. I'm just starting JS, so this
is like giving candy to a baby!!!
Brian
On Mon, Mar 22, 2010 at 1:46 AM, Jason Law <jmlaw at iprimus.com.au> wrote:
> Hi Brian,
>
> Nice site! The ftp is great, thanks :)
>
> Just some constructive feedback...
>
> The Scribed docs all load at once and kinda slow things down a fair bit.
>
> If you create a thumbnail image of each article, then do something like
> this:
>
> <html>
> <head>
> <script language="javascript">
> var articlelLeft = Math.floor((screen.availWidth - 830) / 2);
> var articleTop = Math.floor((screen.availHeight - 540) / 2);
> </script>
> </head>
> <body>
>
> <img src="mlbasic1.png"
>
> onclick="window.open('mlbasic1.html','mlbasic1','status=0,toolbar=0,menubar=
>
> 0,scrollbars=0,location=0,resizable=1,width=820,height=540,top='+articleTop+
> ',left='+articleLeft+'')"/>
>
> </body>
> </html>
>
> (html tags just shown for where to put code in your main page).
>
> This will open a new window, center it on the screen, remove all the
> toolbars, allow the window to be resized and load the document they clicked
> on.
>
> Just create a html doc for each Scribd document and add the scribd
> object/embed code in each one.
>
> This way the articles are only loaded when the user clicks on them and the
> page will load a lot more quickly.
>
> They look like great articles, I'll be sure to have a read of them
> sometime.
>
> If you need any help getting it to work, let me know, happy to help.
>
> For you first site it's a really good effort, well done!
>
>
>
>
>
>
> Brian
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>
More information about the Coco
mailing list