I got it figured out.
I appreciate the help and advice about JS - it is running much faster
now...thanks!

For anyone hitting this on a Google search,
All I had to do was include a default theme css file like so:
<link type="text/css"
href="includes/js/jquery/themes/ui-lightness/jquery-ui.css"
rel="stylesheet" />

On Tue, Dec 8, 2009 at 6:29 PM, Clayton Dukes <[email protected]> wrote:
> Thanks Steve!
> I re-coded everything today to place all js in the footer (before the
> body close). The exception was only a couple of items, no big deal.
>
> Now for my dumb question:
> which css?
>
> Say, if I want the default to be ui-lightness, do I do this in the header?
>
> <link rel="stylesheet" type="text/css" media="screen"
> href="js/jquery/themes/ui-lightness/jquery-ui.css" />
>
> or something else?
>
>
>
> On Tue, Dec 8, 2009 at 10:38 AM, Steven Black <[email protected]> wrote:
>> Looking at the source at the first hit, no theme .CSS is present, so
>> therefore no theme.
>>
>> You should definitely load a default theme CSS so first-time visitors
>> get eye-candy.
>>
>> Any new theme, once selected in the themeroller widget, is stored in a
>> cookie so theme preference persistance should work.  I note that the
>> cookie expires at end-of-session so that explains it.
>>
>> By the way, a nice performance tip: place ALL your JS just prior to
>> the close body </body> tag.
>>
>> **--**  Steve
>>
>>
>> On Dec 7, 7:34 pm, Clayton Dukes <[email protected]> wrote:
>>> Hi,
>>> I'm trying to figure out why, upon first visit to my site, the theme
>>> portlets aren't showing up.
>>> Once you select a ui theme from the dropdown, everything looks ok, but
>>> until then the portlets don't show.
>>> This is only happening on the first visit to the page.
>>>
>>> http://lztest.gdd.net
>>> login/pass is guest/guest
>>>
>>> --
>>> ______________________________________________________________
>>>
>>> Clayton Dukes
>>> ______________________________________________________________
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups 
>> "jQuery UI" 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/jquery-ui?hl=en.
>>
>>
>>
>
>
>
> --
> ______________________________________________________________
>
> Clayton Dukes
> ______________________________________________________________
>



-- 
______________________________________________________________

Clayton Dukes
______________________________________________________________

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en.


Reply via email to