Hi,

> > [snip]
> > Has anybody used Javascript to handle navigational tasks?
> > I'm considering using Joust (which can be found at
> > http://www.alchemy-computing.co.uk/joust/), a very nice
> > free implementation of a hierarchical menu (a la Windows
> > Explorer), but it requires frames and (of course) is
> > implemented in Javascript. At this point, it is not clear
> > to me whether Joust can be integrated into Turbine. Perhaps
> > someone has hints to share?
>
> I doubt you'll have much trouble integrating this JavaScript library
> into your Turbine application, but I am -1 on seeing a JavaScript
> library packaged with the TDK.

I'm also against packaging a JavaScript library with the TDK.  Still, there
are some really excellent JavaScript libraries out there and I feel that you
should make use of them if your app requires that functionality.  Just make
sure your JavaScript works on all browsers (even those that doesn't support
it) otherwise you'll do more harm than good.

We do mostly client-side validation with JavaScript without a problem.  If
you're planning to use WebMacro you should just disable { } blocks (It is in
WebMacro.properties and I think it is called C-Blocks)  and use #begin #end
blocks, as not to confuse WebMacro with the JavaScript { } blocks.

If you're using # or $ characters in your JavaScript (and anywhere else in
your template for that matter) you can use WebMacro's #text block to make
sure WebMacro does not try to parse these.

If you have an external .js file you must make sure that the client browser
can reach it.  Kinda the same way you do with images.

>From here on things should pretty much be the same as if you're using plain
html.

~ Leon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to