Works great!!! Many thanks for your time!!!

On 19 nov, 14:34, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> Andres and anyone else using ClockPick,
>
> I've released a new version, 1.2.  It adds support for the bgIframe plugin
> by setting a configuration variable when calling ClockPick.  All the details
> plus downloads for the new version can be found here:
>
> http://www.oakcitygraphics.com/jquery/clockpick/trunk/ClockPick.cfm
>
> Let me know if you encounter any issues.
>
> -- Josh
>
> ----- Original Message -----
> From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> To: "jQuery (English)" <jquery-en@googlegroups.com>
> Sent: Friday, November 16, 2007 11:49 AM
> Subject: [jQuery] Re: I need use bgIframe plugin with ClockPick puglin
>
> Hhi Josh,
>
> I´m calling in this way:
>
> <script type="text/javascript">
>
> $(document).ready(function() {
> opts = {};
> opts.starthour = 0;
> opts.endhour = 23;
> opts.military = true;
> opts.valuefield = "ftpHora";
> $("#clockpick2").clockpick( opts, function() {$("div[class^=CP],
> div[id^=CP]").bgIframe();});
> });
> </script>
>
> The clockPick works ok, but the callback for the bgIframe doesn´t work
> and I don´t really know how to do it.
> If we can make this work I think it would be a good idea to put it in
> the ClockPicks docs page.
>
> andres
>
> On 16 nov, 14:55, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> > Hi Andres,
>
> > I don't see where you are calling ClockPick?
>
> > Also, you will probably need to apply bgIframe to ALL the classes of
> > ClockPick, or else they will appear under the select menu.  They all start
> > with "CP", so probably the easiest way to do that would be like so:
>
> > $("div[class^=CP], div[id^=CP]").bgIframe();
>
> > Finally, since the divs are not added to the DOM until the plugin is
> > executed, you may have to pass the bgIframe call as a callback to the
> > ClockPick call, like so:
>
> > $("#inputelement").clockpick( options,  function() {
> >        $("div[class^=CP], div[id^=CP]").bgIframe();
> >     });
>
> > Let me know if that works for you, and I will add it to the ClockPick docs
> > page so others can use the information in the future.  Or, if it's still
> > not
> > working please mention exactly what is not working.
>
> > -- Josh
>
> > ----- Original Message -----
> > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > To: "jQuery (English)" <jquery-en@googlegroups.com>
> > Sent: Friday, November 16, 2007 7:16 AM
> > Subject: [jQuery] Re: I need use bgIframe plugin with ClockPick puglin
>
> > hi Josh, thanks for your reply. I try to do that, but it didn´t work.
> > Here is how I put the code in the head:
>
> > <script type="text/javascript" src="../js/jquery-1.2.1.min.js"></
> > script>
> > <script type="text/javascript" src="../js/jquery.clockpick.1.1.js"></
> > script>
>
> > <script type="text/javascript" src="../js/date.js"></script>
> > <script type="text/javascript" src="../js/jquery.bgiframe.js"></
> > script>
>
> > <script type="text/javascript" src="../js/jquery.datePicker.js"></
> > script>
> > <script type="text/javascript" charset="utf-8">
> > $(function()
> > {
> > $('.date-pick').datePicker({startDate:'01/01/1996'});
> > $(".CP").bgIframe();
> > });
>
> > </script>
>
> > The datepicker is another plugin that I´m using.
>
> > Andres
>
> > On 15 nov, 19:06, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> > > Hi Andres,
>
> > > Josh here, the ClockPick plugin creator...both the hour and minute
> > > container
> > > have a class of "CP", so you should be able to use bgIframe on that
> > > class
> > > without changing the ClockPick plugin itself.
>
> > > Somewhere after you include the ClockPick script, add this:
>
> > > $(".CP").bgIframe();
>
> > > Give that a try and see how it goes.
>
> > > -- Josh
>
> > > ----- Original Message -----
> > > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > > To: "jQuery (English)" <jquery-en@googlegroups.com>
> > > Sent: Thursday, November 15, 2007 12:26 PM
> > > Subject: [jQuery] I need use bgIframe plugin with ClockPick puglin
>
> > > Hi, I´m new. I want to use the bgIframe plugin with ClockPick puglin,
> > > because I have a "select" near to the clockPick and when you make a
> > > click and the clockpick expands the select is always first in Internet
> > > Explorer. I made this change in the ClockPick.js but only fix the div
> > > of the hours, not the div of minutes:
>
> > > line 56 of version 1.1 so so
>
> > > $hourcont = jQuery("<div id='CP_hourcont' class='CP' />");
> > > $hourcont.bgIframe();//this is my line
> > > jQuery("body").append($hourcont);
> > > binder($hourcont);
>
> > > I hope you can help me and sorry for my bad english.
>
> > > andres.

Reply via email to