New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

How cna I use DNN's built in JQuery UI CSS with my JQ UI Dialog box?

Return to previous page

  • 3/26/2015
  • 2617 Views

Question:

Akheem Isaac long time ago

Hello DNN,

I created a product diagram using JQuery and JQuery UI dialog boxes (the same dialog boxes that DNN uses), and I put it all in an HTML module. In the HTML Module's settings, I put the CSS for the product diagram in the Header and its JS in the footer. For the product map's HTML, I simply added it using the HTML module's Edit Content button. Functionally, everything works fine; however, the dialog boxes appear un-styled. I thought they would just inherit the styling that DNN uses for its own dialog boxes, but it didn't.

To remedy the issue, within the Header section found in the HTML Module's Settings, I added the JQ UI CSS file and it worked; however it ended up breaking the styles that DNN uses for its own JQ UI assets.

I need to know how I can make the dialog boxes in my HTML module inherit the styling used on DNN's JQ UI dialog boxes.

I wrote my JQuery and JQuery UI using versions 1.9.1 (JQ) and 1.10.3 (JQ UI), but what I wrote should work in all versions.

Thank you in advance,

Akheem

How cna I use DNN's built in JQuery UI CSS with my JQ UI Dialog box?

Akheem Isaac
Akheem Isaac long time ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member