Hi all, new to the list, new to jquery, getting my feet wet.
I've got a script that I could use some help fine-tuning and optimizing, and
I'm hoping you all can help. The script is used to collapse forum topics and
can be seen in place at
http://gretschpages.com/forum/modern-gretsch-guitars/
Yeah, paginating those is on my to-do list... most aren't that bad (yet),
but they're getting bigger every day. Thanks for the help on showLatest. Any
thoughts on the rest of it (the collapsing part?)
On 12/8/06, Dave Methvin [EMAIL PROTECTED] wrote:
I've got a script that I could use some
Dave, I tried that, but $(div.recentposts a:first).each(function(i){
seems to only find the first div.recentposts a instead of the first a in
each div.recentposts.
On 12/8/06, Dave Methvin [EMAIL PROTECTED] wrote:
I've got a script that I could use some help fine-tuning and optimizing,
Well, you've still given me some good ideas, in particular restricting to
div.recentposts, so I thank you!
On 12/8/06, Dave Methvin [EMAIL PROTECTED] wrote:
Dave, I tried that, but $(div.recentposts a:first)
seems to only find the first div.recentposts a
instead of the first a in each
I just know this is a dumb question with a simple answer, but here goes...
I have something like:
a href=#div1 class=triggerLink a/a
a href=#div2 class=triggerLink a/a
and
div id=div1/div
div id=div2/div
I need to match the link to it's div, but can't figure out the selector. Non
working test
I'm not following. I tried
targetDiv = $(this.hash);
but still didn't get the element.
On 2/15/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
almost too simple!
$(this.hash)
On 2/15/07, Tim Baxter [EMAIL PROTECTED] wrote:
I just know this is a dumb question with a simple answer, but here
goes...
I have
Thanks.. it just took a while to see how it fits.
On 2/15/07, Klaus Hartl [EMAIL PROTECTED] wrote:
Tim Baxter schrieb:
But that's not what I need. I need to match up the div to the link. I'm
going to be manipulating it in several ways, not always onclick, but the
relationship between
Guys, they're just anchor links:
http://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html#anchors-with-id
On 2/15/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
Mozilla agrees with Aaron..
http://developer.mozilla.org/en/docs/DOM:window.location
Properties
All of the following properties are
This is odd, and may be difficult to describe
On my forum, I have a file upload field for images, along with a
helper/formatter for inserting images that are on the web.
Both of these are in a box that drops down when you click the icon (that's
where jquery comes in). Problem is, in safari the
Your first example. Inline javascript on a link is bad.
Actually, even in the first example, the link should do SOMETHING when JS
isn't available, if that's not possible, than you should insert the link
with your JS.
On 2/16/07, hcabbos [EMAIL PROTECTED] wrote:
What's the best way to apply a
No... you don't put the onclick handler on the link either. Keep your JS out
of your HTML.
If it's a link that's ONLY there for the JS to do something, insert the link
with the JS.
If it's a link that can degrade gracefully (the preferred scenario), then
put the link in, then override it's
Has anyone built a parser for hcal-formatted events on a page, building a
calendar from them?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
12 matches
Mail list logo