Ok I tryed it, and they say : "test.js is not loaded" in firebug. I don't see what to do next. What is strange also is that my background-body images are loaded on safari (no pb) and not on firefox... Any solution? thx
On 13 fév, 18:19, felix <crucialfe...@gmail.com> wrote: > use Firefox with Firebug installed if you aren't already. > > you can then see if you get any 404s and if any of the included files failed > with syntax errors > or if something happened during javascript runtime to kill it > > also, I like django-compress quite a bit for css and js > > felix : crucial-systems.com > > On Fri, Feb 13, 2009 at 6:11 PM, arbi <arbin...@gmail.com> wrote: > > > Thx, but I did this already. In fact i have no problem for a css doc, > > but problems for a js doc. I don't know why! > > My css is in "/media/css/css_file.css" and my js is in "/media/js/ > > test.js". A simple "alert" in my test.js file doesn't work. I don't > > understand. > > Any help? > > Thx! > > Arbi > > > On 12 fév, 23:29, Alex Gaynor <alex.gay...@gmail.com> wrote: > > > On Thu, Feb 12, 2009 at 5:28 PM, arbi <arbin...@gmail.com> wrote: > > > > > Hi all, > > > > > I am trying to execute a javascript doc to display a google map. The > > > > javascript doc to refer to is "google-map.js". How do I write it in > > > > here ? : > > > > TEMPLATE : > > > > <script src="/what/path/to/use/google-map.js" type="text/javascript"> > > > > </script>. > > > > > I tryed many things and it did not work! I read many things, but I > > > > can't figure out how to solve this pb. > > > > Is there an easy solution? > > > > > Thx a lot for your help > > > > Arbi (newb) > > > > Take a look here: > >http://docs.djangoproject.com/en/dev/howto/static-files/?from=olddocs > > > > Alex > > > > -- > > > "I disapprove of what you say, but I will defend to the death your right > > to > > > say it." --Voltaire > > > "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---