First of all, thanks for the answer. Actually I've read those pages you sent. However I couldn't get the result I expected. You suggested me to share a sample page, which I don't think is necessary in order to understand my question. Anyway, I solved the problem (just a work-around) like the following: I gave up using a "div", and trying to theme it with the same look of an accordion, instead I built an accordion having only one div. It doesn't have a real function at all (expand/collapse/etc) however it has the same look and feel with the accordion next to it.
I hope I managed to explain what I said this time. without the need for screenshots :) Thanks anyway! On Mar 14, 11:37 am, "Richard D. Worth" <[email protected]> wrote: > Can you share a sample page or a pastie (http://paste.pocoo.org/) so we > can see what you're seeing? > > If you take a look here: > > http://docs.jquery.com/UI/Accordion#theming > > you can see all the classes used to style the accordion. There are some > plugin-specific ones, like > > ui-accordion > ui-accordion-header > ui-accordion-content > ui-accordion-content-active > > but it sounds like you'd be more interested in the more generic framework > classes, like > > ui-widget > ui-widget-content > ui-helper-reset > ui-state-active > > These are documented here: > > http://jqueryui.com/docs/Theming/API > > - Richard > > On Fri, Mar 13, 2009 at 8:22 AM, Ozgur <[email protected]> wrote: > > > Hi all! > > First of all, thanks for this great project! > > > My question may sound stupid to people doing rocket science via > > jquery, however still I will ask it. > > I am using jquery for a long while. But I never user ui for a real > > project. Now I am using some components from ui, and I am having a > > strange problem. Strange in the sense that this has never been a > > problem for anybody else. > > I put an accordion to the page, and I can apply themes to it > > perfectly. However it conflicts with the other elements in the web > > page in their looks. For instance, my ordinary div laying side by side > > to the accordion is not themeable at all. I tried applying some css > > classes out of the [theme].css files. They did not work out as I > > expected. > > > Simply, can anyone guide me through how to apply a style to an > > ordinary div, so that it looks like the divs contained in the > > accordion? > > > Thanks in advance --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
