Http://prod.snupnow.com/csp/dev/Playground.New.Template.cls
If I typed that accurately. Then in your pages instead of $(#tabs).tabs(... type out jQuery instead of $ like you would use the zen() function.
Thanks to Jason W for his help on this.
Good luck. --dawn
Typed on a mobile keyboard
> --
> You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
> To post to this group, send email to InterSys...@googlegroups.com
> To unsubscribe from this group, send email to InterSystems-Z...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
> Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
Jason
jQuery("#tabs").tabs(...)
instead of $("#tabs").tabs(...)
If your question was about writing code for manipulating both the dom
and the server-side dom, I'm trying to avoid that by sticking to use
of client-only features, but if others pave the way...
--dawn
> For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
> Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
--
Dawn M. Wolthuis
Take and give some delight today
jQuery(document).ready(function() {
jQuery("#progressbar").progressbar({ value: 59}); })
Let me know. --dawn
> For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
> Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
I am not sure where your issue is, so I'l review what we did. I took
some of these practices from the html5boilerplate. I made a component
named endScripts that prints out the scripts into the html at the end
of the XData. You can see that is includes using the google CDN (easy
enough to do if you suspect that the jQuery stuff is not loading
properly - then later decide whether to host locally
http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-you/
)
In the endScripts, we have this (in mvbasic, just printing out html,
with colon for concat)
print '<script
src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>'
print '<script>window.jQuery || document.write(' : "'" : '<script
src="js/libs/jquery-1.6.2.min.js"><\/script>' : "'" : ')'
print '</script>'
print '<script
src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>'
print '<script src="plugins.js" defer="defer"></script>'
print '<script src="scripts.js" defer="defer"></script>'
In the scripts.js we have
jQuery(document).ready(function() {
jQuery("#tabs").tabs({ fx: { height: 'toggle', opacity: 'toggle' } });
});
Then when we want to do something with the tab, we use jQuery("#tabs")...
I'm not sure where the magic is in here, but I am not spotting an
error in your code at first glance. Good luck. --dawn
> For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
> Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
Thanks,
Jonathan
> "InterSystems: Zen Community" group.
> To post to this group, send email to InterSys...@googlegroups.com To
> unsubscribe from this group, send email to InterSystems-ZEN-
> unsub...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/InterSystems-ZEN?hl=en
> Zen Community Terms and Conditions:
> http://groups.google.com/group/InterSystems-ZEN/web/community-terms-
> and-conditions
> --
> You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
> To post to this group, send email to InterSys...@googlegroups.com
> To unsubscribe from this group, send email to InterSystems-Z...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
> Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
--
Cheers,
Neerav
Sent from my iPhone
document.body.style.cursor='wait';
I am forgetting what I encountered, but I tried to do this with statements like
zenPage.enclosingClass = "progressCursor";
and css like
.progressCursor {
cursor: progress;
}
.defaultCursor {
cursor: default;
}
but I do not recall getting that to work nicely (it might have been a
cross-browser issue, I'm forgetting now). Has anyone figured out Zen
and a css-cursor progress indicator? --dawn
> For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
> Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
> >> > > error in your code at first glance. Good luck.. --dawn
>
> >> > > On Mon, Feb 20, 2012 at 10:18 AM, Jorge Serrão <jorge.serra...@gmail.com> wrote:
> >> > > > Dawn,
>
> >> > > > Continues to error but this time says "onloadevt : undifened".
> >> > > > Anyway I can't use this method because this method should be invoked
> >> > > > when client press the button "Search".
>
> >> > > > Robert I will try these tools.
>
> >> > > > On 20 Fev, 16:09, Roberto <rcaha...@gmail.com> wrote:
> >> > > >> Hello Jorge,
>
> >> > > >> What is the error that you are getting?
>
> >> > > >> Tip for adding external css/javascript - use either FF with FireBug or
> >> > > >> Chrome Developer Tools. With these, you can tell if the external files
> >> > > >> have been loaded.
>
> >> > > >> I think that's the first step in fixing the problem.
>
> >> > > >> -Roberto
>
> >> > > >> On Feb 20, 9:17 am, Jorge Serrão <jorge.serra...@gmail.com> wrote:
>
> >> > > >> > Hi,
>
> >> > > >> > I apologize for the delay in my reply..
> >> > > >> > > > > On Feb 17, 2:03 pm, Dawn Wolthuis<dawnwolth...@gmail..com> wrote:
> >> > > >> > > > >> Yes we are using it in our development using the approach used by the html5boilerplate and googles cdn for serving it. I just left my windows computer behind traveling to grand kids for the weekend but you can look at this not very pretty generated page to see the js and CSS resources.
>
> >> > > >> > > > >> Http://prod.snupnow.com/csp/dev/Playground.New.Template.cls
>
> >> > > >> > > > >> If I typed that accurately. Then in your pages instead of $(#tabs).tabs(... type out jQuery instead of $ like you would use the zen() function.
>
> >> > > >> > > > >> Thanks to Jason W for his help on this.
>
> >> > > >> > > > >> Good luck. --dawn
>
> >> > > >> > > > >> Typed on a mobile keyboard
>
> >> > > >> > > > >> On Feb 17, 2012, at 12:35 PM, Jorge Serrão<jorge.serra...@gmail.com> wrote:
>
> >> > > >> > > > >>> Hi,
>
> >> > > >> > > > >>> I created a Page Zen but I need to use jQuery because I need a
> >> > > >> > > > >>> progressbar.
> >> > > >> > > > >>> I do not know how to use jQuery with Zen, can anyone help me?
>
> >> > > >> > > > >>> Thanks
>
> >> > > >> > > > >>> Jorge Serrão
>
> >> > > >> > > > >>> --
> >> > > >> > > > >>> You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
> >> > > >> > > > >>> To post to this group, send email to InterSys...@googlegroups.com
> >> > > >> > > > >>> To unsubscribe from this group, send email to InterSystems-Z...@googlegroups.com
> >> > > >> > > > >>> For more options, visit this group athttp://groups.google.com/group/InterSystems-ZEN?hl=en
> >> > > >> > > > >>> Zen Community Terms and Conditions:http://groups.google.com/group/InterSystems-ZEN/web/community-terms-a...
>
> >> > > > --
> >> > > > You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
> >> > > > To post to this group, send email to InterSystems-ZEN@googlegroups..com
> >> > > > To unsubscribe from this group, send email to InterSystems-Z...@googlegroups.com
> >> > > > For more options, visit this group athttp://groups.google.com/group/InterSystems-ZEN?hl=en
> >> > > > Zen Community Terms and ...
>
> >> > mais informações »
>
> > --
> > You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
> > To post to this group, send email to InterSys...@googlegroups.com
> > To unsubscribe from this group, send email to InterSystems-Z...@googlegroups.com
> > For more options, visit this group athttp://groups.google.com/group/InterSystems-ZEN?hl=en
> > Zen Community Terms and Conditions:http://groups.google.com/group/InterSystems-ZEN/web/community-terms-a...
>
> --
> Dawn M. Wolthuis
>
> Take and give some delight today
--
You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
To post to this group, send email to InterSys...@googlegroups.com
To unsubscribe from this group, send email to InterSystems-Z...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/InterSystems-ZEN?hl=en
Zen Community Terms and Conditions: http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
Jason
>>>> On Feb 17, 2012, at 12:35 PM, Jorge Serr�o<jorge.serra...@gmail.com> wrote:
>>>>> Hi,
>>>>> I created a Page Zen but I need to use jQuery because I need a
>>>>> progressbar.
>>>>> I do not know how to use jQuery with Zen, can anyone help me?
>>>>> Thanks
>>>>> Jorge Serr�o