On Fri, Nov 6, 2009 at 10:40 AM, Paul <
pa...@lofte.net> wrote:
>
> on the CSS front. I believe that @import are supposed to be at the
> top of a CSS file, currently your andreas08/theme.css is just a bunch
> of additional imports and they are being put in the middle of the
> file.
>
> also, it appears that the imports are going to a relative path one
> level back ../themes/ instead of /themes/andreas08/
>
> this may be why you are having CSS issues.
>
> you may want to try changing the configuration line
> <css>/themes/andreas08/theme.css</css>
> to
>
> <css>/themes/andreas08/styles/tools.css</css>
> <css>/themes/andreas08/styles/typo.css</css>
> <css>/themes/andreas08/styles/forms.css</css>
> <css>/themes/andreas08/styles/layout-navtop-subright.css</css>
> <css>/themes/andreas08/styles/layout.css</css>
> <css>/themes/andreas08/styles/andreas08.css</css>
This fixed my CSS issues and I'm successfully combing 9 css files into
1 now - thanks!
Unfortunately, I'm still having issues with JS. I was able to reduce
the # of JS files from 11 to 8, but wasn't able to get a couple things
working - notably Twitter and Prototype, Scriptaculous and Lightbox.
So this works:
<script type="text/javascript"
src="/themes/andreas08/scripts/prototype.js"></script>
<script type="text/javascript"
src="/themes/andreas08/scripts/scriptaculous.js?load=effects"></script>
<script type="text/javascript"
src="/themes/andreas08/scripts/lightbox.js"></script>
But this doesn't:
http://raibledesigns.com/wro/lightbox.js
The group definition is:
<group name="lightbox">
<js>/themes/andreas08/scripts/prototype.js</js>
<js>/themes/andreas08/scripts/scriptaculous.js?load=effects</js>
<js>/themes/andreas08/scripts/lightbox.js</js>
</group>
Also, this works for Twitter:
<script type="text/javascript"
src="
http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript"
src="
http://twitter.com/statuses/user_timeline/mraible.json?callback=twitterCallback2&count=3"></script>
But if I combine them in a group and try to use:
http://raibledesigns.com/wro/lightbox.js
It doesn't display the @username of anyone I reply to. It displays the
status messages, but displays "undefined" for the person I replied to.
Any advice on solving these issues would be great.
Other than that, I'm very pleased to have my YSlow rating go from F to C. ;-)
Cheers,
Matt