[jQuery] simple jquery question

2010-01-02 Thread jason
Hey, was wondering if anyone could help me with a basic JQ question. Ok so I am trying to select each element that has a certain class on my page, and then use what is inside of the I am selecting to populate a drop down select box with the id of deptFilter. (with each result found inside of the

[jQuery] Simple jQuery question

2009-11-23 Thread Julesfrog
Hi! I'm new here and also pretty bad at writing javascript. I'm using a snippet of code by Lloyd Irvin (http://agyuku.net/2009/05/back-to-top- link-using-jquery/) that allows the user to scroll back to the top of the page by clicking on a fixed button that fades in only when you begin scrolling do

Re: [jQuery] Simple jQuery question

2009-11-22 Thread Julesfrog
Works like a charm! Thanks! Olaf wrote: > > Julesfrog schrieb: > >> Now my question. At this point, the button disappears only when the user >> hit >> the 500 mark. I would like it to disappear and stay invisible when the >> user >> reaches the 500 mark and anything below. I think it's got to

Re: [jQuery] Simple jQuery question

2009-11-22 Thread Olaf Bosch
Julesfrog schrieb: Now my question. At this point, the button disappears only when the user hit the 500 mark. I would like it to disappear and stay invisible when the user reaches the 500 mark and anything below. I think it's got to do with this line: if(jQuery(this).scrollTop() != 500) but I ju

[jQuery] Simple jQuery question

2009-11-20 Thread Julesfrog
Hello Forum! I'm new here and also pretty bad at writing javascript. I'm using a snippet of code by Lloyd Irvin (http://agyuku.net/2009/05/back-to-top-link-using-jquery/) that allows the user to scroll back to the top of the page by clicking on a fixed button that fades in only when you begin scr