On Fri, 2006-10-11 at 23:46 -0800, iain duncan wrote:
> On Fri, 2006-10-11 at 00:50 -0800, iain duncan wrote:
> > On Fri, 2006-10-11 at 09:18 +0100, Diez B. Roggisch wrote:
> > > iain duncan schrieb:
> > > > I feel that I must be missing something simple because I didn't manage
> > > > to find any google results on this. How am I supposed to include an
> > > > external javascript file?
> > > > 
> > > > doing in the head:
> > > > <script type="text/javascript" src="cart.js"></script>
> > > > 
> > > > Seemed to do nothing, even will a full path name to cart.js. 
> > > 
> > > You have a directory /static under your project. Use e.g.
> > > 
> > >      <script src="/static/javascript/admin.js" 
> > > type="text/javascript"></script>
> 
> Is there some kind of behind the scenes caching that happens with that?
> When I make changes to the linked js file they do not get reflected even
> if I clear my browser cache. 

Never mind, I think I'm just getting hung up on weird errors. Gah, Bob
is a saint but javascript still sucks. ;)

Iain


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to