You can pack your javascript code:
http://jquery-howto.blogspot.com/2009/01/minimize-and-pack-your-javascript-code.html

You might find this jquery and javascript performance posts useful:
http://jquery-howto.blogspot.com/search/label/performance



On Wed, Jan 14, 2009 at 6:45 PM, ion <ikasso...@yahoo.co.uk> wrote:
>
> I have not changed anything but strangely enough sometimes it works on
> firefox and sometimes it does not ????
> Could you check on explorer as well.
> About the products being on the same page, that's what the client
> asked for ... it takes a long time....
> While on the subject, I'm using qute a few external jquery related
> javascript files, do you know how I
> could optimize loading time ... also I have tried using the $
> (function) of jquery as detailed as possible when
> reffering to an element. For example as you can see the cluetip is not
> called as a.load-local but as '#content div.product_photo a.load-
> local. I read somewhere that this increases performace as jquery has
> to search less.
> Are there any other tips concerning performance.
> Thanks a million:)
>
> On Jan 14, 2:43 pm, "jQuery Lover" <ilovejqu...@gmail.com> wrote:
>> Did you change anything, because it works and shows nicely on my browser.
>>
>> PS. I would suggest not printing all products on the same page (you've
>> got at lease 100 items there).
>>
>> -------------
>> Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com
>>
>> On Wed, Jan 14, 2009 at 1:31 PM, ion <ikasso...@yahoo.co.uk> wrote:
>>
>> > Hi,
>> > I'm using cluetip in the following way:
>>
>> > $('#content div.product_photo a.load-local').cluetip({
>> >  cursor:'pointer',
>> >  cluetipClass:'rounded',
>> >  dropShadow:false,
>> >  width:'260px',
>> >  hoverIntent: {
>> >   sensitivity:  1,
>> >   interval:     100,
>> >   timeout:      200
>> >   },
>> >  fx: {
>> >  open:       'fadeIn',
>> >   openSpeed:  ''
>> > }
>> > });
>>
>> > I have several links that when are hovered cluetip is activated and
>> > makes an ajax get call to
>> > a php file. The call is like: file.php?var1=dfs&var2=sfd&var3=238479
>>
>> > The problem is that the result is gibberish!!
>> > All files are utf-8 (saved like that and the meta content-type)
>> > Database is in the utf-general format.
>> > What is even weirdest is that the result in Safari works fine however
>> > in firefox & explorer it does not.
>>
>> > Also, if you view the page source the characters look fine but when
>> > the call is viewed through firebug
>> > it is full of gibberish.
>>
>> > You can test it here:http://www.deliverde.gr/shop
>> > Choose a product with greek name and hover over the image. The result
>> > should be the above.
>> > Please any help would be appreciated
>>
>> > ion

Reply via email to