[jQuery] Re: posting onclick a datepicker value

2009-07-29 Thread Ca-Phun Ung
gt; alert (msg); >} >}); >} >}); > >} > Any feedback on this is appreciated. Thanks. > > > Regards, > Nat > -- Ca-Phun Ung + http://yelotofu.com + hongkong, zce, jquery, jqueryui, php, css, html

[jQuery] Re: datepicker UI select multiple date

2009-06-24 Thread Ca-Phun Ung
picker UI. > > > Is it possible to be selected multiple events, dates taken from a > mysql with PHP? > > can you give me links to similar developments > -- Ca-Phun Ung + http://yelotofu.com + hongkong, zce, jquery, jqueryui, php, css, html

[jQuery] Re: Datepicker UI Opening at Random / Unexpected Locations

2009-02-06 Thread Ca-Phun Ung
6324568.jpg > > I need this resolved as I really don't want to use a calendar > component from some other module if jquery has it. > > Thanks > > -- Ca-Phun Ung + http://yelotofu.com + hongkong, zce, jquery, php, css, html

[jQuery] Re: problem with jqmodal and ui datepicker

2009-01-22 Thread Ca-Phun Ung
ncel > > });//#x.Ready > > function windowMod() > { >$("#wmContent").jqmShow(); > } > -- > View this message in context: > http://www.nabble.com/problem-with-jqmodal-and-ui-datepicker-tp21593716s27240p21593716.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com. > > -- Ca-Phun Ung + http://yelotofu.com + hongkong, zce, jquery, php, css, html

[jQuery] Re: datepicker not showing up

2009-01-22 Thread Ca-Phun Ung
wing style > sheets. > > uicore.css > uitheme.css > uidatepicker.css > > My initial thoughts were I had the wrong path two the style sheets yet > I managed to get new selectors in those style sheets to show up. > > Am I missing something? I'm using jquery 1.3 and

[jQuery] Re: datepicker css

2009-01-22 Thread Ca-Phun Ung
tepicker > > to end up like the ones on the theme roller page? Maybe someone can > > steer me in the right direction here. > > > > Here is my input item: > > > > > > Here is my datepicker instantiation page: > > $(function(){$('#datepicker').datepicker();}); > -- Ca-Phun Ung + http://yelotofu.com + hongkong, zce, jquery, php, css, html

[jQuery] Re: Init datepicker in dynamically inserted input

2009-01-05 Thread Ca-Phun Ung
that the datepicker does not work when the cloned input is > in focus? For all elements in place when the page loads it works, but > for this cloned element nothing happens. I can see that the input is > assigned an id utilized by the datepicker. > > If this turns out to be a ne

[jQuery] Re: Dateformat problem

2009-01-05 Thread Ca-Phun Ung
Try: $("#sd,#ed").datepicker({dateFormat: '-mm-dd'}); On Mon, Jan 5, 2009 at 1:10 PM, Praveen wrote: > > Hi all, > i have tried my best and googled like anything but could not get the > solution > when i use datepicker (all are in small letters) > > > function customRange(input) { >re

[jQuery] Re: JQuery calendar

2008-12-31 Thread Ca-Phun Ung
uot;).animate({opacity: "hide", top: "-85"}, > "fast"); > > }); > > > > }); > > > > $("#basics").datepicker(); > > > > > > > > > > .embed + img { position: relative; left: -21px; > > top: -1px; } > > > > its not giving me any function error but its not showing me calendar.. > > i do not know what i am doing wrong? if i could get any error then > > could have rectified? > -- Ca-Phun Ung + http://yelotofu.com + hongkong, zce, jquery, php, css, html

[jQuery] Re: Can datepicker do individual linking?

2008-12-24 Thread Ca-Phun Ung
rmat: 'yy-mm-dd', onSelect: function(datestr, inst){ window.open(datestr + '.html'); } }); dateFormat accepts a date representation format not an actual date, much like the PHP date() function but simpler. Good luck! :) -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: Can datepicker do individual linking?

2008-12-23 Thread Ca-Phun Ung
his is not possible I would settle for select anydate and get > taken directed to a single webpage. > > Thank you for all your help and patience. > > On Dec 23, 2:59 pm, "Ca-Phun Ung" wrote: > > No problem. That's what we're here for - here to help whe

[jQuery] Re: Can datepicker do individual linking?

2008-12-23 Thread Ca-Phun Ung
I want to > > do is when a date is chosen in datepicker a person will be > > automatically linked to a webpage, I used google as an example. > > > > On Dec 23, 2:35 pm, "Ca-Phun Ung" wrote: > > > > > > For instance $('#datepicker').

[jQuery] Re: Can datepicker do individual linking?

2008-12-23 Thread Ca-Phun Ung
? > > where would this code go? Does it matter where in the ui.datepicker.js > file it goes? I recommend placing custom code in a separate file, not inside ui.datepicker.js. -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: Can datepicker do individual linking?

2008-12-23 Thread Ca-Phun Ung
ease write an example for me and show me where it needs to > > go and in which file. > > > > On Dec 23, 12:56 pm, "Ca-Phun Ung" wrote: > > > > > Sorry, yes this should be possible with the onSelect option. See: > http://docs.jquery.com/UI/Datepicker/date

[jQuery] Re: Can datepicker do individual linking?

2008-12-23 Thread Ca-Phun Ung
> > own individual html page. Is this possible in datepicker? > -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: using jquery to get at the img data???

2008-10-20 Thread Ca-Phun Ung
D]>wrote: > Canvas sounds like it might do the trick. Is canvas supported on IE and > firefox? > > I looked into dataurl and the other limitation is also the size of the > image must be small, which doesn't work for my purposes either. > > > > > On Mon, Oct 20, 2

[jQuery] Re: using jquery to get at the img data???

2008-10-20 Thread Ca-Phun Ung
nto HTML. A downer is I don't think IE6 and 7 support data URLs. -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: Disabling jQuery on printing?

2008-10-20 Thread Ca-Phun Ung
the page is printed *as it is* at the moment, > including styling via Javascript. If something is affecting your print > output, it is happening before you press 'print'. > > - ricardo > > On Oct 20, 6:39 am, "Ca-Phun Ung" <[EMAIL PROTECTED]> wrote: > >

[jQuery] Re: Linkselect Plug-in Released...

2008-10-20 Thread Ca-Phun Ung
gt; http://blog.pengoworks.com/index.cfm/2008/10/17/Linkselect-jQuery-Plugin-Rel > eased > > You can download the plug-in from: > http://www.givainc.com/labs/linkselect_jquery_plugin.htm > > Here's an example page: > http://www.givainc.com/labs/linkselect_example.htm > > -Dan > > -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: Disabling jQuery on printing?

2008-10-20 Thread Ca-Phun Ung
On Mon, Oct 20, 2008 at 4:13 PM, iantresman <[EMAIL PROTECTED]> wrote: > > I'm sure my jQuery scripts are doing something, because I when I REM > them out, my printouts are fine. Could you post up a demo? -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: using jquery to get at the img data???

2008-10-19 Thread Ca-Phun Ung
gt; see how to actually get the image into the applet. > > On the return route, I couldn't figure out how to get the applet to > update the DOM with the new image. > > Any ideas? > -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: Resetting the html in a div affects the behaviour of event handling?

2008-10-19 Thread Ca-Phun Ung
position me at the beginning of the page. > So it works just the first time I load the page. > > I also tried to empty() the div before step 2, but no improvements. > > Any suggestion? > > Best, > > Mario > > -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: dynamic image preload

2008-10-16 Thread Ca-Phun Ung
age-loading/ -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: jQuery clone - problem with array inputs

2008-10-12 Thread Ca-Phun Ung
d they are definitely inside. Here's the clone code: > > var js_new_ip = $('#ip_template').clone(); > >js_new_ip.attr('id', ''); >js_new_ip.appendTo('#ip_holder'); >js_new_ip.contents().find("[name='ip[]']").val(''); >js_new_ip.contents().find("[name='mac[]']").val(''); > > Any thoughts? > > Thanks > -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: Looping + queuing animation of elements

2008-10-10 Thread Ca-Phun Ung
nitially wanted it to me randomised, but I'm not sure how easy that > is to do...? It's not crucial. > There's a simple randomiser here - http://plugins.jquery.com/project/arrayshuffle -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php

[jQuery] Re: List overload

2008-10-03 Thread Ca-Phun Ung
t; > > > try a mailclient that supports threaded views (you have to turn it on > > > though), then regularly 'mark all as read' even though you only scanned > > > the headlines.. > > > > I already use Google Groups. Problem is there are so many new topics &

[jQuery] Re: IE Issues with addClass/removeClass

2008-09-29 Thread Ca-Phun Ung
> that 3rd box on a second row, then jQuery loads in the new class and > all layout items under the box shift up, which includes the footer > background. However, the footer P tags aren't shifting up. > > Any ideas? > -- Ca-Phun Ung + Yelotofu <http://yelotofu.com> + css, django, hongkong, html, javascript, php

[jQuery] Re: Problems with IE 6

2008-09-29 Thread Ca-Phun Ung
) { ' at the top of the page? > It depends, here's a good start to understanding $(document).ready() - http://www.learningjquery.com/2006/09/introducing-document-ready -- Ca-Phun Ung + Yelotofu <http://yelotofu.com> + css, django, hongkong, html, javascript, php

[jQuery] Re: Uploading Plugins

2008-09-28 Thread Ca-Phun Ung
't see anywhere obvious for > developers to add plugins to the site. > > I've created an account, which lets me login on some pages but says my > user name is unrecognised on other pages. > > Am I missing something? > -- Ca-Phun Ung + Yelotofu <http://yelotofu.com> + css, django, hongkong, html, javascript, php

[jQuery] Re: Referencing elements with 2 or more classes and no Id

2008-09-23 Thread Ca-Phun Ung
t; > > > > > > >Title > > > > >www.learningjquery.com > > >www.learningjquery.com/ > > > 2007/02/ > > > > > > > > > > > ============ > > > I can't modify

[jQuery] Re: Where to download jquery's doc

2008-09-10 Thread Ca-Phun Ung
Yi Wang wrote: > Hi, > > I have a terrible speed on visiting doc.jquery.com. So I want to > download a copy of jquery's reference manual. Where Can I find it? > > Thanks very much! > > http://remysharp.com/2008/07/04/jquery-api-update-offline-and-anywhere/

[jQuery] Re: Jcrop v0.9.0 image cropping plugin - comments please

2008-09-10 Thread Ca-Phun Ung
Love it! I'm hooked! :) Kelly wrote: > Announcing initial release of Jcrop image cropping plugin for jQuery. > This is my first plugin release, so I would appreciate any feedback. > > http://deepliquid.com/content/Jcrop.html > Also posted to plugins.jquery.com > > There are some rough edges in th

[jQuery] Re: How to select a specific descendant of curent object

2008-09-09 Thread Ca-Phun Ung
Glen Lipka wrote: > Wouldnt this work too? > $("#box .grandchild"). Yes but if you read the original question you'd see why I gave that particular solution: > > > so is there a travesting method, or any other method which could > > select any descendant of curent element? >

[jQuery] Re: removing a row dynamically...

2008-09-09 Thread Ca-Phun Ung
[EMAIL PROTECTED] wrote: > Hi, > I have the requirement to dynamically add and remove a row. Below is > the code to dynamicaaly remove a row and it works fine in Mozilla but > not in IE. Can anyone please advise me on this. Thanks. > > $('a.remove').click(function(){ > $(this).parents("t

[jQuery] Re: How to select a specific descendant of curent object

2008-09-08 Thread Ca-Phun Ung
$('#box').find('.grandchild'); Greeg wrote: > > > hi grandma > > > > my question is how reach the .grandchild from .box? > > in theory, i can just use selector $("#box .grandchild") but this is > not much handy when you already have selected the "box" object and > pass it to some func

[jQuery] Re: Finding elements with some ID

2008-09-08 Thread Ca-Phun Ung
Olivier wrote: > How to find the elements with the id beginning by "myID_" and > terminated with any number > like "myID_25789". > Try this: $('*[id^="myID_"]').filter(function(){ return (/\_[0-9]+$/).test($(this).attr('id')); });

[jQuery] Re: .ajax POST question, script stops.

2008-09-07 Thread Ca-Phun Ung
[EMAIL PROTECTED] wrote: > Anyway we can clean this up a bit more? > > \$('#pixel-grid').click(function(e) { > if ( \$(e.target).is('.button px') ) > var color = \$("input#color_code").val(); > \$(this).css({ backgroundColor:color });

[jQuery] Re: .ajax POST question, script stops.

2008-09-07 Thread Ca-Phun Ung
Ca-Phun Ung wrote: > OK so I was right - you do have a double equal sign in your code! Change: > $(this).css(background-color) == p_color; > > to > > $(this).css(background-color) = p_color; > Actually, there shouldn't be an equal sign in the first place because

[jQuery] Re: .ajax POST question, script stops.

2008-09-07 Thread Ca-Phun Ung
[EMAIL PROTECTED] wrote: > Whoa just looking that and all the documentation makes it look way > over my head for a newbie ;). > Yup, I could imagine but it is quite simple when you realise what is involved. I did a write-up on this topic recently that might be of some help [1]. > If I did th

[jQuery] Re: .ajax POST question, script stops.

2008-09-06 Thread Ca-Phun Ung
[EMAIL PROTECTED] wrote: > http://hertzelle.com/pixel/ is where the demo is currently running. > Before you click you will see what is happening to the "grid" the > color is not returning to it's previous state. > OK so I was right - you do have a double equal sign in your code! Change: $(this

[jQuery] Re: Question about :contains filter

2008-09-06 Thread Ca-Phun Ung
nabrown78 wrote: > Thanks Ca-Phun Ung, I tried your suggestion, as you're quite right the > apostrophe I was using before was the wrong one. But no luck! I tried > this: > $("li:contains(ladies’ short-sleeve > tee)").addClass("selected&

[jQuery] Re: fix a few simple things

2008-09-05 Thread Ca-Phun Ung
Hi [EMAIL PROTECTED] wrote: > The issues is the... if when the page loads and some one closes the > top boxes the boxes below move up... that is a problem when you drag > the bottom one close to the top then close the box the started off > above it. It "last" box the was drug to the top now move

[jQuery] Re: Triggering a click

2008-09-05 Thread Ca-Phun Ung
jerpod wrote: > Thanks Ca-Phun Ung...that's exactly what I needed. > > Cool :)

[jQuery] Re: Question about :contains filter

2008-09-05 Thread Ca-Phun Ung
nabrown78 wrote: > I am trying to select a list element that contains the text > "ladies’ short-sleeve tee". I have tried > > $("li:contains(ladies' short-sleeve tee)").addClass("selected"); > $("li:contains('ladies\' short-sleeve tee')").addClass("selected"); > $("li:contains(ladies’ short-sleeve

[jQuery] Re: Triggering a click

2008-09-05 Thread Ca-Phun Ung
Try: $('.nominatelink').click(function(e){ $(this).siblings('img').trigger('click'); e.preventDefault(); });

[jQuery] Re: Does anyone know what $('div.myclass img[src$=png]').click(function(){ $(this).parents('div.myclass').hide('slow'); }) does?

2008-09-05 Thread Ca-Phun Ung
I know!!! That is too simple for a top jQuery hacker. I think you'd find most people in this list knows the answer too! Tempted to give the answer but don't want to spoil it for others :P

[jQuery] Re: .ajax POST question, script stops.

2008-09-05 Thread Ca-Phun Ung
[EMAIL PROTECTED] wrote: > \$(".button").hover(function () { > var color = \$("input#color_code").val(); > var p_color = \$(this).css("background-color"); > \$(this).css({ backgroundColor:color }); > }, function () { > \$(this

[jQuery] Re: .ajax POST question, script stops.

2008-09-05 Thread Ca-Phun Ung
[EMAIL PROTECTED] wrote: > Thank you for showing me the correct way to do that? > > My next question really is, why after the user clicks on my div, does > the content reload from creator.pl does jQuery stop watching the > pixels inside #results. It doesnt do my hover effect and you cannot > click

[jQuery] Re: Need help making a menu appear next to the users image....

2008-09-05 Thread Ca-Phun Ung
e mouse is off the users image I want the menu to > fade out only if the mouse is not over the menu. > > I can't get it to work. > Do you have a demo online? Would make it easier to help you if you could show us some code. -- Ca-Phun Ung + http://yelotofu.com

[jQuery] Re: .ajax POST question, script stops.

2008-09-05 Thread Ca-Phun Ung
lect: id_select}); Ajax load will inject the results into the #results div. Note: I'm giving you the benefit of the doubt regarding that backslash you have before each $ sign ;) -- Ca-Phun Ung + http://yelotofu.com

[jQuery] Re: jQuery test suite on new Google Chrome browser

2008-09-04 Thread Ca-Phun Ung
all it's developer extensions over night. > > I'm certainly not giving up my Firefox extensions over night but it is inevitable that some eating (how little it may be) will occur across the board. Let's hope it's not a significant chunk ;) -- Ca-Phun Ung + http://yelotofu.com

[jQuery] Re: jQuery test suite on new Google Chrome browser

2008-09-03 Thread Ca-Phun Ung
e and only time will tell... [1] http://www.google.com/googlebooks/chrome/index.html -- Ca-Phun Ung + http://yelotofu.com

[jQuery] Re: jQuery test suite on new Google Chrome browser

2008-09-03 Thread Ca-Phun Ung
Ca-Phun Ung wrote: > > I totally agree, a plugin acrhitecture is a must! And it does exist in > Chrome! Plugins are referred to quite a bit in this excellent comic > strip [1] by Scott McCloud. > > Ah, just correcting myself (I hope that's allowed here :) "

[jQuery] Re: jQuery test suite on new Google Chrome browser

2008-09-03 Thread Ca-Phun Ung
i's market... I expected this list to be more excited about V8 rather than Chrome itself ;) -- Ca-Phun Ung + http://yelotofu.com

[jQuery] Re: autocomplete plugin incompatible with jquery.ui ?

2008-08-22 Thread Ca Phun Ung
ui.autocomplete satisfies your requirements. -- Ca Phun Ung + http://yelotofu.com