So what do u suggest ?? will that also solve the firefox security
issue.
currenty i am just using the following html code
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Demo</title>
</head>
<body>
<img src="file://E:\MyDocuments\My Pictures\Lisa_simpson.gif" /
>
</body>
</html>
On Aug 16, 11:58 am, Adam Zedan <
zedan...@gmail.com> wrote:
> Thanks.. that what i just came across.
> It seems firefox doesnt let u load static fileshttp://
rubenlaguna.com/wp/2007/04/20/firefox-and-file-windows-unc-paths/
>
> On Tue, Aug 16, 2011 at 11:43 AM, Jani Tiainen <
rede...@gmail.com> wrote:
> > Hi,
>
> > You can't (and you shouldn't) use file urls in your original source but
> > should let the Django handle urls to them for you.
>
> > There is dedicated part about static file serving in documentation [1][2].
>
> > And if you really think that you're deploying your project to somewhere you
> > really expect everyone to have same directory structure on their machines as
> > you do? And even more, you think people really would appreciate browser to
> > load arbitrary files from a filesystem? :)
>
> > [1]
https://docs.djangoproject.**com/en/1.3/howto/static-files/<
https://docs.djangoproject.com/en/1.3/howto/static-files/>
> > [2]
https://docs.djangoproject.**com/en/1.3/ref/contrib/**staticfiles/<
https://docs.djangoproject.com/en/1.3/ref/contrib/staticfiles/>
>
> > --
>
> > Jani Tiainen
>
> > On 08/16/2011 09:23 AM, Adam Zedan wrote:
>
> >> okay going to error ansole of firefox here is what i got
>
> >> Error: Slick is not defined
> >> Source File:
http://127.0.0.1:8000/db/
> >> Line: 37
>
> >> which is : grid = new Slick.Grid("#myGrid", data, columns, options);
>
> >> and the warnings are
> >> Security Error: Content athttp://
127.0.0.1:8000/db/may not load or
> >> link to file:///D:/Django-1.3/django/**bin/SlickGrid/slick.grid.js.
> >> Security Error: Content athttp://
127.0.0.1:8000/db/may not load or
> >> link to file:///D:/Django-1.3/django/**bin/SlickGrid/slick.core.js.
> >> Security Error: Content athttp://
127.0.0.1:8000/db/may not load or
> >> link to file:///D:/Django-1.3/django/**bin/SlickGrid/lib/jquery.**
> >> event.drag-2.0.min.js.
> >> Security Error: Content athttp://
127.0.0.1:8000/db/may not load or
> >> link to file:///D:/Django-1.3/django/**bin/SlickGrid/lib/jquery-1.4.**
> >> 3.min.js.
> >> Security Error: Content athttp://
127.0.0.1:8000/db/may not load or
> >> link to file:///D:/Django-1.3/django/**bin/SlickGrid/slick.grid.js.
> >> Security Error: Content athttp://
127.0.0.1:8000/db/may not load or
> >> link to file:///D:/Django-1.3/django/**bin/SlickGrid/slick.core.js.
> >> Security Error: Content athttp://
127.0.0.1:8000/db/may not load or
> >> link to file:///D:/Django-1.3/django/**bin/SlickGrid/lib/jquery.**
> >> event.drag-2.0.min.js.
> >> Security Error: Content athttp://
127.0.0.1:8000/db/may not load or
> >> link to file:///D:/Django-1.3/django/**bin/SlickGrid/lib/jquery-1.4.**
> >> 3.min.js.
> >> Security Error: Content athttp://
127.0.0.1:8000/db/may not load or
> >> link to file:///D:/Django-1.3/django/**bin/SlickGrid/examples/**
> >> examples.css.
> >> Security Error: Content athttp://
127.0.0.1:8000/db/may not load or
> >> link to file:///D:/Django-1.3/django/**bin/SlickGrid/css/smoothness/**
> >> jquery-ui-1.8.5.custom.css.
>
> >> I think it cant link to those files when rendered or something... not
> >> sure though ?? what do u guys think??
>
> >> On Aug 16, 11:01 am, Landy Chapman<landy.chapm...@gmail.**com<
landy.chapm...@gmail.com>>
> >> wrote:
>
> >>> From what I can tell it's not your fault. have a look at:
> >>>
http://code.google.com/p/**slickgrid/issues/detail?id=19<
http://code.google.com/p/slickgrid/issues/detail?id=19>
>
> >>> fix might be here
> >>>
http://drupal.org/node/**1094054#comment-4825024<
http://drupal.org/node/1094054#comment-4825024>
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to
django...@googlegroups.com.
> > To unsubscribe from this group, send email to django-users+unsubscribe@**
> >
googlegroups.com <
django-users%2Bunsu...@googlegroups.com>.
> > For more options, visit this group athttp://
groups.google.com/**
> > group/django-users?hl=en<
http://groups.google.com/group/django-users?hl=en>
> > .
>
>