Try
.dialog({ ... autoOpen: false ... })
instead of
.dialog({ ... }).dialog("close")
- Richard
On Mon, Oct 27, 2008 at 3:26 PM, David Burns <[EMAIL PROTECTED]> wrote:
>
> I am trying to use jQuery with Google App Engine and am having a small
> issue that my login links are no longer clickable. The links are being
> formed properly but something seems to be catching the event when I
> click.
>
> I am fairly new to jQuery so am probably doing something really
> stupid. my code is below so any help would be appreciated.
>
>
>
>
> <script src="../scripts/jquery-1.2.6.js" type="text/javascript"></
> script>
> <script src="../scripts/jquery-ui-1.6rc2.js"
> type="text/javascript"></
> script>
> <script>
> $(document).ready(function() {
> $('#newproject').dialog({
> modal: true,
> overlay: {
> opacity: 0.5,
> background: "black"
> }
> });
> $('#newproject').dialog('close');
> $("#newtask").dialog({
> modal: true,
> overlay: {
> opacity: 0.5,
> background: "black"
> }
> });
> $('#newtask').dialog('close');
>
> $('.help').draggable();
> })
> </script>
> <link rel="shortcut icon" href="favicon.ico" >
> </head>
> <body>
> <div id="top">
> <div id='logo'><a href='/'><img
> src='../images/Logo.png'
> alt='Home'></a></div>
> <div class="toplogin">{% if user.nickname %}<b>
> Welcome
> {{user.nickname}}!</b> {% else %} {% endif %}<a id="Login"
> class="login" href="{{ url }}">{{ url_linktext }}</a></div>
> </div>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---