You can put a JS variable in a Turbogears page that holds the
urlbase... and then use that to create your urls.

> I'm happily using MochiKit in TurboGears.   TurboGears has a nice
> setting to add prefixes to all URLs (server.webpath).
>
> For example, for server.webpath = /myapp:
>
> /a -> /myapp/a
> /b -> /myapp/b
>
> etc.
>
> This does *not* seem to affect Javascript code.
>
> Anyway to do something similar in my MochiKit/Javascript code?
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to