Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Jan. 17, 2011 03:26:37

Fletcher H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

jQuery UI Stylesheet


Hello,
I'm having some trouble getting jQuery UI to work. It doesn't seem to be
finding the CSS static file...here is my base.html and the page that
inherits from it. It does find my style.css file fine, which is my
non-jQuery stylesheet.http://dpaste.com/324572/I'd appreciate any help.

--
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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 17, 2011 05:19:30

G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

jQuery UI Stylesheet


Fletcher,

Hope you have copied all the files that JQueryUI requires, when am
using JQueryUI, this how my directory structure looks like,
-MyProject
- media
- css
- images
- js
- themes ( specific to JQueryUI )
- ui ( specific to JQueryUI )
- template
- app

Then my base.html;

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<script type="text/javascript" src="/site_media/js/jquery-1.4.2.js"></
script>
<script type="text/javascript" src="/site_media/js/
jquery.curvycorners.source.js"></script>
<link rel="stylesheet" type="text/css" href="/site_media/css/
master.css" media="screen" />
<link rel="stylesheet" type="text/css" href="/site_media/css/
table_style.css" media="screen" />
<link rel="stylesheet" href="/site_media/themes/start/
jquery.ui.all.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript" src="/site_media/js/jquery-
ui-1.8.custom.min.js"></script>
<script type="text/javascript" src="/site_media/ui/
jquery.ui.core.js"></script>
<script type="text/javascript" src="/site_media/ui/
jquery.ui.datepicker.js"></script>
<script type="text/javascript" src="/site_media/ui/
jquery.ui.dialog.js"></script>

Hope this helps ...

Gath

On Jan 17, 6:26 am, Fletcher Haynes <kuroskni...@gmail.com> wrote:
> Hello,
> I'm having some trouble getting jQuery UI to work. It doesn't seem to be
> finding the CSS static file...here is my base.html and the page that
> inherits from it. It does find my style.css file fine, which is my
> non-jQuery stylesheet.
>
>http://dpaste.com/324572/>
> I'd appreciate any help.

--
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 athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Jan. 17, 2011 13:16:59

T.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

jQuery UI Stylesheet


Does any of the link to the static files work?
Can you point your browser to: {{ STATIC_URL }}jqueryui/css/style.css
(exchange STATIC_URL of course)?
Can you point it to {{ STATIC_URL }}jqueryui/css/ui-lightness/jquery-
ui-1.8.8.custom.css
{{ STATIC_URL }}jqueryui/js/jquery-1.4.4.min.js
{{ STATIC_URL }}jqueryui/js/jquery-ui-1.8.8.custom.min.js

If any of the above works, then there must be a typo in the path. If
none of them works then investigate the STATIC_URL variable.

/Torbjörn



On 17 Jan, 04:26, Fletcher Haynes <kuroskni...@gmail.com> wrote:
> Hello,
> I'm having some trouble getting jQuery UI to work. It doesn't seem to be
> finding the CSS static file...here is my base.html and the page that
> inherits from it. It does find my style.css file fine, which is my
> non-jQuery stylesheet.
>
>http://dpaste.com/324572/>
> I'd appreciate any help.

--
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 athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 12th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support