There's not much code to see…

<head>
    <script type="text/javascript" src="lib/jquery-1.3.2.js"></script>
    <script type="text/javascript" src="lib/jquery-
ui-1.7.1.custom.js"></script>
    <script type="text/javascript">
        $(document).ready(function ()
        {
            $("form").submit(function ()
            {
                if ($("input[name=install_guild_name]").val() == "")
                {
                    $("#formError").dialog();
                    $("input[name=install_guild_name]").addClass(\'ui-
state-error\');
                    return false;
                }
            });
        });
    </script>
</head>

So, the dialog pops up, no problems. But is it just plain text, no bg-
images etc. All classes are correctly applied, but they are not
styled. I tried to implement the css-file itself by using

<link rel="stylesheet" type="text/css" href="lib/css/custom-theme/
jquery-ui-1-7-1.custom.css" />

But not even this made the dialog styled… Which is quite confusing oO"

On 7 Apr., 20:36, Steven Black <[email protected]> wrote:
> Do you have some code, a sample, for us to look at?
>
> What happens when you try the ThemeRoller development bookmarklet?
>
>  http://jqueryui.com/themeroller/developertool/
>
> This will inject the proper CSS for sure.  If this works, then likely
> you have the wrong path to your theme's CSS.
>
> **--**  Steve
>
> On Apr 7, 5:01 am, ApoY2k <[email protected]> wrote:
>
>
>
> > Hi there,
>
> > I tried using jquery ui for my website. right now, everything works
> > just fine at least as long as the code itself is looked at.
>
> > but none of my dialogues, tabs or whatever is styled! I tried custom
> > themes, prebuilt themes, no themes, anything i could think of. the
> > result was always the same:
>
> > script works, but no css. so I included the css file by using "link
> > rel…". still no css. and then i discovered, that there was an error in
> > my webdeveloper: "Wrong MIME/Type for jqery-ui.min.js".
>
> > Now: what the heck? i never had any errors using jsui on my other
> > websites but all over sudden: mime-type error?
>
> > honestly I don't have any idea what is happening here. still, I hope
> > anybody could help me out, as I'm really… badly… stuck
>
> > (ps: please excuse my possibly horrible english, I'm more used
> > listening it rather than writing it myself  )
--~--~---------~--~----~------------~-------~--~----~
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