[jQuery] Re: 'nodeName' is null or not an object

2008-07-09 Thread Pickledegg
$("#charges-gsm-faq").html(html); $("#charges-gsm-prices").html(html); } }); }); On Jul 9, 5:20 pm, Carl Von Stetten <[EMAIL PROTECTED]> wrote: > You might try addi

[jQuery] Re: 'nodeName' is null or not an object

2008-07-09 Thread Pickledegg
its 'c_name'. I've discovered something now, if I just use 1 div as the selector to update only 1 div, $('#charges-gsm) it works fine. But when I add multiple ones: $('#charges-gsm,#charges-gsm-faq,#charges-gsm-prices') thats when I get the error...I know that the divs exist and it works in

[jQuery] 'nodeName' is null or not an object

2008-07-09 Thread Pickledegg
I have the following code that loads on $(document).ready: - $('.ajaxdropdown').change(function(){ $('#charges-gsm, #charges-gsm-faq, #charges-gsm-prices').load('/ mobell/includes/html/gsm

[jQuery] Re: Fadein with ajax load()

2008-07-02 Thread Pickledegg
ECTED]> wrote: > try > > $('#id-of-my-div').load('somescript.php?name='+escape($(this).val()), > {},function(){ $('#id-of-my-div').fadeIn("slow") > });http://docs.jquery.com/Ajax/load#urldatacallback > > On 1 июл, 14:26, Pickledegg <

[jQuery] Fadein with ajax load()

2008-07-01 Thread Pickledegg
I'm using an ajax load() with an onChange event: $('#id-of-my-div').load('somescript.php?name='+escape($(this).val())); Which is lovely, but how can I add a fadeIn to it so that every time my div is updated, it fades into the div in a sultry & provocative fashion? Thanks.

[jQuery] Re: Linking & showing Subsection of page

2008-06-16 Thread Pickledegg
visible: > > > .hiddenBits { > display:none; > : > : > > } > > > > > style="display:block">FAQs go here > ($_GET["section"]=="prices") { ?> style="display:block"> name="#prices">Prices

[jQuery] Re: Linking & showing Subsection of page

2008-06-16 Thread Pickledegg
Does anyone have any ideas to offer by any chance? On Jun 13, 1:02 pm, Pickledegg <[EMAIL PROTECTED]> wrote: > Heres my page: > > http://tinyurl.com/5eov82 > > If you click on the 'FAQ' or 'Prices' buttons you wil see that it > shows/hides certain div

[jQuery] Linking & showing Subsection of page

2008-06-13 Thread Pickledegg
Heres my page: http://tinyurl.com/5eov82 If you click on the 'FAQ' or 'Prices' buttons you wil see that it shows/hides certain divs on the page. If the javascript is disabled it, autmaticaly shows all of the content in one long page. The problem is, I'll need to link directly to the 'FAQ' secti

[jQuery] Hiding an causes list to shift over.

2008-05-29 Thread Pickledegg
Heres my page: http://tinyurl.com/65ffwr Click on the FAQ & Prices buttons to see the functionality and the problem. I'm using jquery to hide the 'Go Back' button until the other buttons are clicked. When they are, the 'Go Back' Button fades into view. See the problem? When the the 'Go Back' b

[jQuery] Re: Strange Delay

2008-05-21 Thread Pickledegg
Fixed, it was an error in my code where I'd placed an event handler function inside another event handler, and it was triggering both instead of the one. On May 21, 1:38 pm, Pickledegg <[EMAIL PROTECTED]> wrote: > HERES THE LINKhttp://tinyurl.com/3m7t4n > > On May 21,

[jQuery] Re: Strange Delay

2008-05-21 Thread Pickledegg
HERES THE LINKhttp://tinyurl.com/3m7t4n On May 21, 1:28 pm, Pickledegg <[EMAIL PROTECTED]> wrote: > Heres an explanation of my problem: > > If you click DIRECTLY onto the 'faq' link and then click on one of the > bold questions, the answer is faded in withou

[jQuery] Strange Delay

2008-05-21 Thread Pickledegg
Heres an explanation of my problem: If you click DIRECTLY onto the 'faq' link and then click on one of the bold questions, the answer is faded in without a problem, and I'm happy. The weird thing is though, if you click on the 'rates' link or the 'main' link and then back to the 'faq' link, when

[jQuery] Re: Syntax question regarding value of currrent element being clicked.

2008-05-12 Thread Pickledegg
Thanks andrea ;) On May 12, 12:27 pm, Pickledegg <[EMAIL PROTECTED]> wrote: > Sussed it: > > $('this').val() does the trick! > > On May 12, 12:05 pm, Pickledegg <[EMAIL PROTECTED]> wrote: > > > Heres my code: > > > This fires on any dropdow

[jQuery] Re: Syntax question regarding value of currrent element being clicked.

2008-05-12 Thread Pickledegg
Sussed it: $('this').val() does the trick! On May 12, 12:05 pm, Pickledegg <[EMAIL PROTECTED]> wrote: > Heres my code: > > This fires on any dropdown with the class 'ajaxdropdown': However, it > errors telling me that event.val() is not a function. How do I

[jQuery] Syntax question regarding value of currrent element being clicked.

2008-05-12 Thread Pickledegg
Heres my code: This fires on any dropdown with the class 'ajaxdropdown': However, it errors telling me that event.val() is not a function. How do I refer to the current dropdown being changed, and get its value? I know $ ('#idofdropdown').val() will work, but I need to use multiple dropdowns. $(

[jQuery] Autocompleter using a static dropdown

2008-05-06 Thread Pickledegg
I have a dropdown of countries that has already been output to the browser. All the autocompleter examples I have seen use ajax to look up the input data and return a SQL like match. How do I make an autocompleter by just using the available option tags?

[jQuery] Re: yet another beginner's diary (pls review!)

2008-02-06 Thread Pickledegg
I like your Blog Cherry, the structure is a bit random and I struggled to find a way of contacting you or leaving comments etc. Otherwise I can totally relate to the content as I'm pretty much in the same boat as you are. Keep it up, but in my opinion I'd try to make the site a bit easier to snoo

[jQuery] Re: Most basic of basic fundamental questions.

2008-02-06 Thread Pickledegg
document).ready. > $(document).ready expects to get a function, not a jQuery object of > HTML elements, and will probably throw an error. > > I think Javascript 2 will have a more elegant way of expressing "a > block of code to be stored and executed later" but for now we have

[jQuery] Most basic of basic fundamental questions.

2008-02-05 Thread Pickledegg
I'm reading 'learning jQuery'. In this example, and in fact every example, why do you pass a function as an argument. $(document).ready(function() { $('.poem-stanza').addClass('emphasized'); }); why can't I do this? $(document).ready( $('.poem-stanza').addClass('emphasized'); ); Thanks. I'm as

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-02-04 Thread Pickledegg
next: '#next', > prev: '#prev', > pause: 1 > }); > }); > > On Feb 1, 4:13 am, Pickledegg <[EMAIL PROTECTED]> wrote: > > > Hi Ange > > &g

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-02-01 Thread Pickledegg
page load being over > 4MB:http://www.circleatseven.com/test/portfolio.php > > On Jan 31, 12:05 pm, Pickledegg <[EMAIL PROTECTED]> wrote: > > > SEAN-O > > > The above link is what I found too, but you're missing the original > > post slightly. He needs

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-01-31 Thread Pickledegg
SEAN-O The above link is what I found too, but you're missing the original post slightly. He needs something that you can plug into a database, as preloading the images is impractical with large files. Does anyone know of a database ready version? On Jan 31, 4:17 pm, Sean O <[EMAIL PROTECTED]>

[jQuery] Coda Type Slideshow

2008-01-31 Thread Pickledegg
I've just started with jquery, and I'm looking at producing the following: I've just started looking at jquery, so I'm a complete jquery/ajax rookie, but I was hoping to create a slideshow for my personal photo blog that I hope to launch end of Feb. I wanted to create something similar to the cod

[jQuery] Re: Quick simple syntax question.

2008-01-25 Thread Pickledegg
eClass('highlighted'); > } > }); > > }); > > hope this helps, > > Alexandre > > On 24 jan, 10:44, Pickledegg <[EMAIL PROTECTED]> wrote: > > > In one of the tutorials on this page: > > >http://docs.jquery.com/Tutorials:jQuery_For

[jQuery] Quick simple syntax question.

2008-01-24 Thread Pickledegg
In one of the tutorials on this page: http://docs.jquery.com/Tutorials:jQuery_For_Designers in this bit of code, (on the starred line), the 'event' is passed to the function that toggles the .thebody class. I don't understand what this 'event' is and why is it passed on this line and not any of