|
Posted by McKirahan on 12/29/06 16:53
"Andy Dingley" <dingbat@codesmiths.com> wrote in message
news:1167409590.018789.296780@k21g2000cwa.googlegroups.com...
>
> Highlander wrote:
>
> > Consider the following HTA:
>
> I'd rather not. You posted it to c.i.w.a.h where it's off-topic
> because:
>
> It's a HTA (spawn of pure evil) rather than HTML
Huh?
> It's a HTML, thus not suitable for "web" use, as opposed to M$'s little
> play-nice-with-everyone sandpit.
HTA's are (primarily) meant to run locally.
> It uses VBScript so it's IE-restricted
So, this is a VBScript newsgroup.
> The HTML is a bit poor
Agreed.
> The CSS is a bit poor
Agreed.
>
>
> > The script works fine, but I'm wondering if there's any way to
> > dynamically populate the pulldown lists with all the months of the
> > year, days of the month, etc. - rather than have to list each one out
> > like this:
>
> HTML isn't a programming language, it's fundamentally a static text
> markup language. So stick static things into it statically.
VBScript is the programming language.
> If you want to generate this programmatically (probably overkill for
> days and months, but the principle isn't bad) then do it with some
> server-side program that's _external_ to the HTML document itself (and
> it's only a line or two of ASP, even ASP/VBScript).
HTA's are not an ASP topic.
> Embedding executables into static documents is only sensible if you're
> deliberately trying to obfuscate things, or you're drawing Hilbert
> curves.
Huh? What does this have to do with anything?
[Back to original message]
|