[jQuery] Re: adding two functions together

2008-04-02 Thread Drake Aedus
$("#functionClick").click(function(){ function1(value); function2(value); return false; }); ID's are unique, you don't need to prefix this with the element. Use an anonymous function, that calls both of your custome functions. Prevent the link from being followed by returning false. Kri

[jQuery] Re: www.na3.it

2008-04-01 Thread Drake Aedus
Very clean and concise markup, degrades wonderfully. Truly the type of work one would look for and appreciate. Thanks for sharing. Kris On Apr 1, 5:15 pm, GianCarlo Mingati <[EMAIL PROTECTED]> wrote: > Hi Chris > yep there's a CMS entirely built from scratch by a friend of mine. > > Since the b

[jQuery] Re: Re-invoking the jQuery config file dynamically

2008-04-01 Thread Drake Aedus
You document ready event is perfect for firing off javascript on existing elements. But thats it. If you create elements on the fly, you'll have to call the applicable functions you require when you load the new DOM objects. For instance, if you create a new draggable element, you are going to

[jQuery] Re: Calling a jQuery function from within an ajax-loaded div

2008-03-29 Thread Drake Aedus
Lets backtrack for a moment. I have a similar situation, but I don't use that particular plugin (its an older setup, recently modified with jQ). When you load the new div with your ajax call, add the sort to your success: function. For example, in your test case: $.ajax({ type: "GET", cont

[jQuery] Re: Register click event on dynamically generated anchor tag

2008-03-28 Thread Drake Aedus
Try this: $(document).ready(function(){ $("#btn").click(function () { $("#outerdiv").html('click me'); $("a").click(function(){ alert('in here'); return false; }); }); }); Kris On Ma

[jQuery] Re: jquery scripts in internet explorer not running

2008-03-09 Thread Drake Aedus
Try this: Checkbox Test Checkbox 1: Checkbox 2: Checkbox 3: Checkbox 4: Checkbox 5: $(function(){ $("#buttons").children("fieldset").append('

[jQuery] Re: innerfade.next issue

2008-03-09 Thread Drake Aedus
jQuery plugin Cycle helped me out earlier, and it can probably help you too. Check out the "pager" transition on this page, though you would want the fx = fade: http://malsup.com/jquery/cycle/int2.html Kris On Mar 9, 12:46 am, jerpod <[EMAIL PROTECTED]> wrote: > I'm working with innerfade and i

[jQuery] Re: execute click in the scrip

2008-03-09 Thread Drake Aedus
Have you already bound a function to that elements click event? Kris On Mar 9, 12:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I have this link that I like to automatically 'click' in the script: > > test link > > here is my code, but it does not 'click', any idea? tha

[jQuery] Re: Looping through child nodes

2008-03-06 Thread Drake Aedus
elements with text in them as well. > > --Karl > _ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Mar 5, 2008, at 4:19 PM, Drake Aedus wrote: > > > > > > > I'm pretty new to jQuery, and I'm having a lot of fun with i

[jQuery] Looping through child nodes

2008-03-05 Thread Drake Aedus
I'm pretty new to jQuery, and I'm having a lot of fun with it. I tried a quick search and didn't find anything really helpful, so maybe this is a good question, or maybe I'm having a brain-fart... What I am trying to do, is loop through a list of child nodes, and only display one at a time. It i