Did anyone notice problems after using rounded corners with drupal 5?
I have a problem with jquery, that i used massively into a web-site. Now it takes 10 seconds before stop and letting the page show up.
I don't know hoe to debug it, i've found a sort of plugin to do this but i'm not sure if and how to use it.
I'm supposing this is an issue with rounded corners just because i have many divs with rounded corners but could be jquery in any different way.
So i'm going to try disabling rounded corners to see what happens
Thanks,
Da.

Comments

planctus’s picture

Title: colud be rounded corners js the reason for slowing down page loading? » could be rounded corners js the reason for slowing down page loading?

Ok, i've done some trials with this,
and rounded corners seems to be a problem for the http client, expecially with firefox i experienced a total resources consuming with a dual core cpu.
Decreasing the number of the rounded divs the problem reduced but it still cause a delay in the page loading and a extreme resources consuming.
I'm unhappy about this, cause the module worked very well and it was so easy to configure and use.
But actually i'm wondering if other js providing rounded corners will be more delicate with cpu engagement
Thanks
Da.

akahn’s picture

Here's a quote from the JQuery Corner Gallery page:

Minimize height and number of adorned divs for best performance. Each pixel of additional height requires an element to be dynamically created and inserted into the document, plus two more to wrap the top and bottom groups. So, an effect that is 8 pixels high on both the top and the bottom inserts 18 elements into the document for each element on the page that is adorned.

Maybe you can give the effects less height, and see if there is a performance increase. I think there are rounded corner methods out there that are less intensive to render, but take more code and modification of markup, so it's a trade-off. This method is easier to implement, as you mentioned.

planctus’s picture

this is true, and it is a "common sense" answer to my problem....
I already decreased most of the px rounding and total amount of rounded divs.
It works so much better, now.
Thanks,
Da.

planctus’s picture

Status: Active » Closed (fixed)

I'm closing this...
This is a powerful feature, but we have to test it in drupal 6 with an updated jquery library
Thanks
Da.