[jQuery] Re: Plugin design pattern (common practice?) for dealing with private functions

2010-01-16 Thread Tim Molendijk
: $.myplugin.fill.call( this, red ); On Wed, Jan 13, 2010 at 6:47 PM, Tim Molendijk taw.molend...@gmail.comwrote: Hey all, I've been developing jQuery plugins for quite some time now, and I like to think I got pretty good at it. One issue keeps nagging me though, and that is how to deal

[jQuery] Plugin design pattern (common practice?) for dealing with private functions

2010-01-13 Thread Tim Molendijk
frequently. Thanks for your ideas. Regards, Tim Molendijk

[jQuery] Cycle Plugin -- Multiple Divs manipulated with one pager

2009-10-13 Thread Tim Knapton
Hey all -- I've built a site that has two divs with variable content (eventually this will become 3, but I assume it will scale up to that with no major issues). I'd like to be able to change content with each of them using the same pager. I found a similar post in this group concerning that,

[jQuery] Creating a tabbed UI

2009-09-23 Thread Tim
Can someone post a simple example of creating a tabbed UI with JQUERY?

[jQuery] Re: Pop-up, hover or focus -problem

2009-08-05 Thread Tim
Adapt the code to something like this: $(#search).hover(function() { //On hover... $(#Google).show(); } , function() { //On hover out... $(#Google).hide(); }); Tim :o] On Aug 5, 6:53 am, Charlie

[jQuery] Re: Basic questions about jQuery validation plugin.

2009-07-30 Thread Tim
Also, you might have a missing curly-bracket after rules: { score_1 : {required: true} unless you just mis-typed it. Tim :o] On Jul 30, 7:57 am, Anoop kumar V anoopkum...@gmail.com wrote: I think the validation plugin depends only on the name and not the id. On 7/29/09, Leon leon

[jQuery] Ajax Failing in Firefox 3.0.10

2009-06-10 Thread Tim
running under Apache with jQuery 1.3.2. Just on the off chance that someone else has noticed this, I am running under Django on a Webfaction shared host. Any thoughts? - Tim

[jQuery] $ajax does not send all data

2009-05-10 Thread Tim Johnson
, RFCs, dicussions welcome as well. thanks tim

[jQuery] image for public usage

2009-05-04 Thread Tim Johnson
Since jQuery is one of my tools - I'd like an appropriately public image to use on my website. Are any available? thanks tim

[jQuery] Re: image for public usage

2009-05-04 Thread Tim Johnson
On Monday 04 May 2009, Sam Sherlock wrote: http://docs.jquery.com/Design_and_Identity Thanks a lot! Does the trick.. tj

[jQuery] Change text items in URL

2009-04-29 Thread Tim
I have three radio boxes set up where each one is a different value. - red - blue - green I'd like when one of them is clicked to change the value of the url. So for example --Changethisvalue-- would be actively updated on each click. http://domain.com/ad/campaign/g/--Changethisvalue--/dck/35

[jQuery] IE display issue

2009-04-09 Thread Tim
i am setting reducing a tbody height when the user clicks a row and then showing content below the table. in IE7 when i show() or set display to block for the content below the table, IE resets the tbody height to the original size such that it overlaps my content. i've put the code in to reset

[jQuery] Re: IE display issue

2009-04-09 Thread Tim
you can go to the following link. http://dev.inflatableoffice.com/myaccount/leads.php username: thanks password: thanks when you click on a row in IE you will see the issue. for some reason, after i use the following code: $(table#leadheader).show(); $(#leadControls).show();

[jQuery] Re: IE display issue

2009-04-09 Thread Tim
sorry, try this: username: thankyou password: thankyou may take 30 minutes to work

[jQuery] Re: .load of content does not always include DB connection

2009-03-25 Thread Tim
Unfortunately it's in a cms, that I can't really expose. My host company is looking at the problem as I expect there are server issues. Tim On Mar 24, 5:49 pm, James james.gp@gmail.com wrote: This sounds more like a server-side issue. Are you running into highloadissues on yourdatabase

[jQuery] .load of content does not always include DB connection

2009-03-24 Thread Tim
I have a website where I pull a lot of different pages into one CMS page. The problem is the loaded page will occasionaly say No database selected. But if I click the link and load the page again the content will show correctly. Is there a way to check if connection has been made or a way to

[jQuery] Re: Recommend tree widget toolkit

2009-03-12 Thread Tim Johnson
a lot of resource loading! Cheers tim

[jQuery] Recommend tree widget toolkit

2009-03-11 Thread Tim Johnson
Hello: If jquery itself does not support a tree widget toolkit, can anyone recommend one, I've tried dojo but two problems: 1)doesn't work - even verbatim example 2)No support 3)Very big system Any comments or recommendation welcome. thanks tim

[jQuery] Accessing initialized plugin options from public method (?)

2009-02-20 Thread Tim
return undefined (see the comments in the pseudocode) Thanks in advance, Tim

[jQuery] Counting Lists inside of Lists

2009-02-19 Thread Tim
So I have a main list of states in an unordered list and then a unordered list of cities within each of those. So I wanted to count the number of cities per state. ul class=state_list li h2Alabama/h2 ul lia href=http://www.google.com;Alabama State/a/li lia

[jQuery] Re: Counting Lists inside of Lists

2009-02-19 Thread Tim
This worked. Thank you! On Feb 19, 5:27 pm, James james.gp@gmail.com wrote: Try: $('li', this).length; On Feb 19, 3:14 pm, Tim tim.myer...@gmail.com wrote: So I have a main list of states in an unordered list and then a unordered list of cities within each of those. So I wanted

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Tim Johnson
is that two different types of data are returned: 1)Script 2)Text The answer may be in the mime type. $()load is so much easier to use. I will research futher. regards tim

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Tim Johnson
On Wednesday 18 February 2009, Alexandre Plennevaux wrote: you can use load, you just have to setup the ajaxSetup controlling your ajax main parameters so you set it to your liking, then you call the load(). It is built on top of the ajax method to ease its use. See:

[jQuery] serializing data from a jquery-rendered form

2009-02-18 Thread Tim Johnson
the 'myform' argument? thanks tim

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Tim Johnson
could be tried. In the meantime, :-( I'm stymied on another issue - see subject: serializing data from a jquery-rendered form Keep up your good work! Tim ... $(document).ready(function(){ $.ajaxSetup( { dataType: 'script' }) ; $(#dynamic_content).load(myscript,task=entry

[jQuery] Re: serializing data from a jquery-rendered form

2009-02-18 Thread Tim Johnson
On Wednesday 18 February 2009, Tim Johnson wrote: The goal is a multi-stage process schema where a form is rendered by a cgi script and inserted into a static web page via this method: The second stage is to validate the input form that is rendered by the method above and write out

[jQuery] Javascript Generated by $()load does not render

2009-02-17 Thread Tim Johnson
see the javascript in the response. Does anyone have an answer for this mystery. Or a work-around. Any links to discussions on this topic? thanks Tim

[jQuery] Re: jQuery Plugin Hello World

2009-02-16 Thread Tim Johnson
On Sunday 15 February 2009, mtsmit2 wrote: The following is a pretty good starting point. http://docs.jquery.com/Plugins/Authoring What is was looking for you. thank you tim

[jQuery] jQuery Plugin Hello World

2009-02-15 Thread Tim Johnson
Google gives me lots of hits on jQuery Plugin However, I have yet to find a _very_ simple example. One that would demonstrate the simplest syntax and also demonstrate where to install the file with the plugin.. Links are welcome. I'll take it from there. thanks Tim

[jQuery] Generate Session ID

2009-02-14 Thread Tim Johnson
in the onload or document.ready phase and pass it to the server-side script? Comments, caveats and examples are welcome. thanks tim

[jQuery] Re: Generate Session ID

2009-02-14 Thread Tim Johnson
On Saturday 14 February 2009, C.Everson wrote: On Sat, 14 Feb 2009 10:41:05 -0900, Tim Johnson wrote: Using Ajax with jQuery - would it be practical and safe for the document to generate a Session ID in the onload or document.ready phase and pass it to the server-side script? Tim, IMHO

[jQuery] Re: Status Codes = docs

2009-02-12 Thread Tim Johnson
strings were being returned. I just did my first successful ajax call using jquery and the status returned in the callback was success, not 200. I hope the question is clearer now. thanks tim

[jQuery] Re: Status Codes = docs

2009-02-12 Thread Tim Johnson
On Thursday 12 February 2009, Mike Alsup wrote: Textual status is fine. Where is documentation on status strings? Thanks Tim When the 'success' handler is invoked the textual status is always success (unless you're using the ifModified option). When the 'error' handler is invoked

[jQuery] Re: $.post NOT_ENOUGH_ARGS

2009-02-11 Thread Tim Johnson
ajax here and return false }); But what would bind the form in your example? I frequently work with multiple forms. I.E. is 'form' in your $.submit() above the name or ID of the form or is it an object from which name or ID could be extracted as a property. Thanks Tim

[jQuery] Re: $.post NOT_ENOUGH_ARGS

2009-02-11 Thread Tim Johnson
Thank you very much James. this is great! cheers tim On Wednesday 11 February 2009, James wrote: You can use a generic classname on all your forms. form action=process1.php id=form1 class=myForm ... /form form action=process2.php id=form2 class=myForm ... /form $(function

[jQuery] Status Codes = docs

2009-02-11 Thread Tim Johnson
In Advance_ and thanks for all the help I've had so far. tim

[jQuery] $.post NOT_ENOUGH_ARGS

2009-02-10 Thread Tim Johnson
? It would be helpful if someone could point me to what I have done incorrectly. Thanks Tim (not an ajax virgin, but a jQuery noob)

[jQuery] Re: $.post NOT_ENOUGH_ARGS

2009-02-10 Thread Tim Johnson
into a JS object? I've worked with another framework that does that 'auto-magically'. Could you refer me to an example of how to do that? And I will research it as well :-) not asking you to do my homework for me. thanks tim

[jQuery] Convert from AjaxRequest to jQuery/ajax

2009-02-08 Thread Tim Johnson
help me with the transition. I'd like an approach that requires as few changes to the form tag as possible. Thanks Tim

[jQuery] Re: Convert from AjaxRequest to jQuery/ajax

2009-02-08 Thread Tim Johnson
and learn to write a wrapper. cheers tim }); [/code] On Feb 8, 4:23 pm, Tim Johnson t...@johnsons-web.com wrote: For some time I've been using a little ajax library called AjaxRequest. Because I'm working with code generation tools, I'd like to make a first - step switch to jQuery as simple

[jQuery] Re: Convert from AjaxRequest to jQuery/ajax

2009-02-08 Thread Tim Johnson
On Sunday 08 February 2009, pedalpete wrote: Sorry Tim, I didn't understand it that way. :-) You should still be able to do this fairly simply. Looks like I will also have to use a wrapper to get the form using the 'this' keyword, since I work with multiple forms. I think I can get what I

[jQuery] Re: simple checkbox and display text problem

2009-02-07 Thread Tim Tran
Thanks Aaron, I kinda figured that out when I found that things worked fine except when both checkboxes are checked and you uncheck one, my script breaks. I just wanted to use jquery to show the price of a course when its checkbox is checked. i've already solved the server side with java. I guess

[jQuery] Writing Ajax to table cells.

2009-02-05 Thread Tim Johnson
this is a general question, links to discussions or documents are welcome and may be sufficient. Furthermore, caveats and warning are welcomed also. thanks tim

[jQuery] Re: Writing Ajax to table cells.

2009-02-05 Thread Tim Johnson
the opposite way, as well. Hope that helps, somewhat. My suggestion to him was consider div or span tags inside of td elements. I'm probably a bit ahead of myself - I should try a test with jquery writing to such a tag inside of a table cell - - - thanks for the reply tim

[jQuery] Append Form IE7 Ajax Submit

2009-02-02 Thread Tim
I've spent the whole day trying to figure this out. I'm appending a form into a td, then that form has a submit action on it. It works in all browsers except for IE, where it just goes redirects to another page. I'm thinking that it might be that the new form isn't a part of the DOM in IE7. But

[jQuery] Re: Append Form IE7 Ajax Submit

2009-02-02 Thread Tim
Will using $(#c_t_form_container form).live('click', function() { submit the form? On Feb 2, 2:09 pm, Mike Alsup mal...@gmail.com wrote: I've spent the whole day trying to figure this out. I'm appending a form into a td, then that form has a submit action on it. It works in all browsers

[jQuery] Move element after Fade

2009-01-25 Thread Tim
Hello, I'm trying to write a script to move a li element from one unordered list to another after it fades. Here is my code, I can get it to fade but not move. If I remove the fade I can get it to move correctly. Thanks for the help. $(document).ready(function(){

[jQuery] Re: Possible 1.3 bug

2009-01-15 Thread Tim Banks
That worked for me Balazs. Thanks for your help. If anyone is having a problem with this feel free to contact me about it. -Tim On Jan 15, 10:01 am, Balazs Endresz balazs.endr...@gmail.com wrote: In jquery.liveFilter.js a pseudo selector defined as a string, which was deprected since 1.2

[jQuery] relative positioning spans inside cluetip

2008-12-16 Thread Tim
i'm using inline styles to position some spans inside the cluetip. using an ajax loaded cluetip. they are ignoring the positioning css. however, when i open the page directly in my browser, everything is properly positioned. fyi, i put some color to the text using css just to see if inline

[jQuery] Re: relative positioning spans inside cluetip

2008-12-16 Thread Tim
oops. i need to put leftL xxxpt. forgot the pt. it always helps to post. seems that as soon as i do, i find the answer myself.

[jQuery] thickbox and blockui conflict

2008-12-01 Thread Tim
i appear to be having a thickbox and blockui conflict. blockui works on the page fine until i open and close a thickbox. i am using tb_remove() to close the box. after which, i get a message in firebug that blockui is not a function. any ideas? thanks.

[jQuery] Re: thickbox and blockui conflict

2008-12-01 Thread Tim
nevermind...i had jquery and blockui initialized in the main page and the thickbox. oops. i just took them out of the thickbox and it worked. On Dec 1, 9:04 am, Tim [EMAIL PROTECTED] wrote: i appear to be having a thickbox and blockui conflict. blockui works on the page fine until i open

[jQuery] $.fn.data() is significantly slowed down by $.fn.trigger().

2008-10-29 Thread Tim Molendijk
$.fn.data() internally uses $.fn.trigger() for whatever reason. When using $.fn.data() heavily, $.fn.trigger() starts to slow down the code. In my situation Firebug profiler tells me 20% of the time is consumed by $.fn.trigger() as a result of $.fn.data() calls. Shouldn't it be possible to get

[jQuery] Binding multiple custom namespaced events not working correctly

2008-10-28 Thread Tim Molendijk
Hello, Run the following code snippet in Firefox and open up Firebug. It fires a custom event upon left or right click. The handlers for 'myclick.left' and 'myclick.right' work as expected. The problem is that 'any click' is only logged to the console in case of a right click, and not in case of

[jQuery] jqmodal overlay is flashing with internet explorer

2008-10-15 Thread Tim Schumacher
this helps you, to help me ;). Greetings Tim

[jQuery] Re: id same as name confuses JQuery?

2008-10-14 Thread Tim Scott
First sorry for the errors in my example. Braces was a typo. Div with name attribute was an error also. My real issue is with a select tag. Anyway...while creating a sample page I have found that the problem is different than I thought. It seems the problem is that jQuery cannot find

[jQuery] id same as name confuses JQuery?

2008-10-13 Thread Tim Scott
Given this element... div id=foo name=foo/div ...why this does not match the element... ${'#foo'} If I change or remove the name attribute, it does match. Is this by design or a bug?

[jQuery] Detect Media Done Playing

2008-08-31 Thread Tim Scott
Is there any way to detect that a media (OBJECT or EMBED) is done playing? The specific action that I want to take is to go to another page; however, it would be ideal if I could take other different actions as well. I have seen an example of using a PARAM flashvars to to set a var named

[jQuery] Trying Media Plugin -- Problem With IE

2008-08-31 Thread Tim Scott
I am getting started with the Media Plugin. I am testing with a flash movie. It seems to be working fine in Firefox. In IE however, it does not play and instead shows a broken link. Here's the generated source: OBJECT

[jQuery] European Mirrors

2008-06-12 Thread Tim Swann
I'm based in Ireland and I find that accessing the docs is very slow. Are there any European based mirrors for the documentation? If not are you open to the idea of partnering with European Based hosting companies for mirroring the docs?

[jQuery] Re: European Mirrors

2008-06-12 Thread Tim Swann
: docs are realy slow. Im based in switzerland. On Jun 12, 12:07 pm, Tim Swann [EMAIL PROTECTED] wrote: I'm based in Ireland and I find that accessing the docs is very slow. Are there any European basedmirrorsfor the documentation? If not are you open to the idea of partnering

[jQuery] Odd append/jCarousel issue in IE7

2008-06-10 Thread Tim
ideas/suggestions why? TIA Tim

[jQuery] Calendar Over Dialog

2008-06-05 Thread Tim Scott
Does anyone know if there is any combination of plugins that would allow me to use a calendar control from inside a dialog? I have tried all combinations of jQuery UI dialog and calendar, BlockUI, and jQuery datePicker. The problem is, I guess, these calendars actually *are* modal dialogs too,

[jQuery] Re: random tab and simple content switching

2008-05-02 Thread Tim Marshall
Hi Can anyone else help with this? I tried adding a third item in var ids = [ 'latestArticle', 'inTheMag' ]; but have had no joy in getting it to randomnly appear. Any ideas? Cheers On Apr 5, 3:49 pm, Tim Marshall [EMAIL PROTECTED] wrote: Hi Sperks I'm a bit new at JQuery and have been

[jQuery] Re: random tab and simple content switching

2008-04-05 Thread Tim Marshall
Hi Sperks I'm a bit new at JQuery and have been following what you have done here. I'm trying though to add a third id in and can't figure out how to get it to work with an additional set of div's or more for that matter. Can you help? On Feb 22, 2:33 pm, sperks [EMAIL PROTECTED] wrote: I

[jQuery] [jCarousel] Automatically scroll circular items

2008-04-04 Thread Tim Gaunt
to avoid having to create the items in an array but that's the only way I can think of having a never ending loop otherwise. Thanks, Tim [1] http://sorgalla.com/jcarousel/ [2] http://www.agsalons.com/test.html

[jQuery] Menu using jQuery based on Joel Birch's Superfish menu

2008-02-25 Thread Tim
Check out http://forrestcroce.com. It's using a three-tiered dropline menu which is a style variant of Joel Birch's Superfish menu. It's styled for the child menus to step down from the parent with space between to give a see-through effect without transparency (except in IE6, but it works

[jQuery] Re: Translating XPath expressions to CSS selectors

2008-02-08 Thread Tim Cooijmans
://plugins.jquery.com/node/567 which fixes this. Tim

[jQuery] Re: Translating XPath expressions to CSS selectors

2008-02-08 Thread Tim Cooijmans
KNOWN_NODEs here (with jQuery 1.2.3 and the XPath plugin). I don't know how, but my patch to the XPath plugin fixes this behavior. Hope I haven't confused you even more, Tim

[jQuery] Translating XPath expressions to CSS selectors

2008-02-07 Thread tim
this with the children() method: $(document.documentElement).children().find(' KNOWN_NODE') Lemme see if I can hack that into the Basic XPath plugin... Thanks, Tim

[jQuery] Translating XPath expressions to CSS selectors

2008-02-06 Thread tim
I should do? Tim

[jQuery] attaching datepicker

2007-12-29 Thread Tim
i'm loading a page using ui tabs that has a date field on it. i would like to attach ui datepicker to it, but i can't seem to get it to work. i've always loaded datepicker through the onready function. it will not work in this case cause the document is already loaded and is inserting info

[jQuery] Re: attaching datepicker

2007-12-29 Thread Tim
nevermind, doing some more searching got me the answer. found it here. http://groups.google.com/group/jquery-ui/browse_thread/thread/57944de13405077b/9a36504f1068ef83?lnk=gstq=tab+ajax#9a36504f1068ef83 $(#tabs ul).tabs({ load: function() { testit();

[jQuery] Re: attaching datepicker

2007-12-29 Thread Tim
after some testing it really isn't a datepicker issue. the tab takes time to load and my attempt to attach the datepicker to the field fires before the field is loaded into the tab. anyone know how i can force the script to wait for the tab to be loaded?

[jQuery] Help making a table resizable with jQuery UI

2007-11-28 Thread Tim
i would like to make a table resizable. i thought that i could achieve this with jquery ui. so far, i'm not doing so well. examples show a div, textarea, and image. i thought that i could put the table inside the div, but that didn't work. any ideas? thanks.

[jQuery] Re: Help making a table resizable with jQuery UI

2007-11-28 Thread Tim
of the div? i feel like some positioning css might do it, but i haven't had any luck. On Nov 28, 12:16 am, Tim [EMAIL PROTECTED] wrote: i would like to make a table resizable. i thought that i could achieve this with jquery ui. so far, i'm not doing so well. examples show a div, textarea

[jQuery] Re: close clueTip by selecting element in clueTip box

2007-11-26 Thread Tim
Karl, $('#cluetip').hide(); this was all i needed. thanks a ton. Tim On Nov 25, 4:28 pm, Karl Swedberg [EMAIL PROTECTED] wrote: You could try something like this: $('someListItem').click(function() { $('#cluetip').hide().removeClass().children().empty(); }); Replace someListItem

[jQuery] close clueTip by selecting element in clueTip box

2007-11-25 Thread Tim
i am using clueTip with ajax to grab a list from a db. i would like the clueTip to close when the user selects an item from the list. i'm guessing there is an easy way to do this, but i've tried for a while now without any success. i tried calling cluetipClose() with the onclick event, but

[jQuery] Event binding memory leak

2007-11-04 Thread tim connor
When a page is unloaded, jQuery is not unbinding any bound events causing a memory leak in IE6. Below is a very simple test page. If it is opened in IE6 you can see the memory usage skyrocket. HTML HEAD script type=text/javascript src=http:// code.jquery.com/jquery-

[jQuery] Re: jquery 1.2 and rails

2007-10-16 Thread Tim W
The problem is that 1.2 does not send the xhr header if the call is made with a full http:// uri. If you just use the pathname it works fine. Took me a few hours of playing to figure this one out. Guess its a cross site security fix. On Oct 11, 4:30 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

[jQuery] setRequestHeader 1.1.4 vs 1.2.1

2007-09-26 Thread Tim W
Anyone have any idea why this code works in 1.1.4 and not in 1.2.1? The header apparently does not get sent... (using in a Ruby on Rails app where setting this head RoR responds with the proper js template) $.ajax({ url: event.target.href,

[jQuery] include children of previous siblings conditionally

2007-09-19 Thread Tim
Given the following as an example, does anyone know how I can highlight cells r2c1 and r2c2 whenever row 3 is moused over? Maybe something like, add the children of the previous sibling to the selection criteria only if they contain a rowspan attribute?