[Coco] New CoCo site and ftp

Jason Law jmlaw at iprimus.com.au
Mon Mar 22 11:05:11 EDT 2010


You're welcome :)

Yeah Javascript is awesome! Especially when you can use it to created HTML
Applications just by renaming .html to .hta. These are designed for
prototyping, but for those of us without a PC programming language, it's the
next best thing.

With HTA's you don't have the security restrictions you do with HTML and you
can access the local file system to process text documents and use add-on
dll files as active x-controls, for say a bmp capture or whatever.

Not intended for the web, but just another reason to learn Javascript :D

Also too, incase you don't already know, you can download programs to
convert html & hta's to .exe

They don't actually convert the scripts to code, but package them into a
single .exe and then decompress to a temporary folder when run.

Best of luck with your web designer aspirations :)

Jason

-----Original Message-----
From: coco-bounces at maltedmedia.com
[mailto:coco-bounces at maltedmedia.com]On Behalf Of Brian Blake
Sent: Monday, March 22, 2010 11:27 PM
To: CoCoList for Color Computer Enthusiasts
Subject: Re: [Coco] New CoCo site and ftp


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
>

--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco




More information about the Coco mailing list