[jQuery] Fwd: Urgent - Harper killing Copenhagen

2009-12-17 Thread Jonny Miller
-- Forwarded message -- From: Ricken Patel - Avaaz.org Date: Wed, Dec 16, 2009 at 11:13 AM Subject: Urgent - Harper killing Copenhagen To: "presidentand...@gmail.com" Dear friends, *Canada is blocking cruc

[jQuery] Re: Modifying href attribute values

2009-03-15 Thread Jonny Stephens
This seems to work: $('a').each(function() { $(this).attr('href','path/to/' + RegExp("[^#]+$").exec($(this).attr ('href')) + '.html'); }); On Mar 15, 7:03 pm, Jonny Stephens wrote: > Oops. Wrote too soon. > > Works fine f

[jQuery] Re: Modifying href attribute values

2009-03-15 Thread Jonny Stephens
Oops. Wrote too soon. Works fine for a single anchor. With multiples, all receive the same href value as the first. Needs an .each() somewhere? On Mar 15, 5:44 pm, Jonny Stephens wrote: > Thanks Brad, that's perfect! > > Jonny > > On Mar 15, 5:29 pm, Brad wrote: >

[jQuery] Re: Modifying href attribute values

2009-03-15 Thread Jonny Stephens
Thanks Brad, that's perfect! Jonny On Mar 15, 5:29 pm, Brad wrote: > There is probably a more concise way to do this, but I'll break down > the steps > > // regular expression pattern to get the hash value > var patt = new RegExp("[^#]+$"); > > // The

[jQuery] Modifying href attribute values

2009-03-15 Thread Jonny Stephens
Can anyone provide guidance on how to modify href attributes in this way: Markup: Modify to: i.e. removing everything up to and including the #, prepending a fixed path value and appending ".html" Thanks Jonny

[jQuery] Re: How to use anchor text as title attribute?

2009-03-05 Thread Jonny Stephens
Thanks for pointing out the omission. I'll use this solution as it's more compact. Jonny On Mar 5, 6:49 am, Klaus Hartl wrote: > > $('a').attr('title' , function() { $(this).text() } ); > > > I must be missing something simple here. > &

[jQuery] Re: How to use anchor text as title attribute?

2009-03-04 Thread Jonny Stephens
Many thanks for your quick response Brian. Works fine. Images do produce an empty title string as you predicted. I'm solely targeting text so no problem there. Jonny On Mar 4, 11:27 pm, brian wrote: > $('a').each(function() > { >         $(this).attr('title',

[jQuery] How to use anchor text as title attribute?

2009-03-04 Thread Jonny Stephens
I want to generate title attributes from existing anchor text, e.g. Foo Foo becomes Foo Foo The code below works in FF3 with Firebug reporting no errors, but Safari reports a parsing error. IE is no go. $('a').attr('title' , function() $(this).text()); adding curly brackets clears the parsin

[jQuery] [Cluetip] Anchor text as title

2009-03-04 Thread Jonny Stephens
aute irure dolor in reprehenderit in voluptate velit esse cillum dolore Thanks Jonny

[jQuery] Re: autocomplete and json

2009-02-27 Thread Jonny B
It seems there are a few undocumented features now in Autocomplete - see this demo: http://view.jquery.com/trunk/plugins/autocomplete/demo/json.html I've got mine (mostly) working now thanks to that (and thanks to zendog74 for the initial pointers ;)

[jQuery] Re: How to reverse direction of scrollVert fx?

2009-02-22 Thread Jonny Stephens
ts.animOut = { left: 0 }; }; > On Feb 22, 3:57 pm, Jonny Stephens wrote: > > > Cycle's scrollHorz and scrollVert fx options allow "back and forth" > > functionality for the Prev/Next and Pager functions. > > > The scrollVert transition scrolls Next con

[jQuery] Re: How to reverse direction of scrollVert fx?

2009-02-22 Thread Jonny Stephens
On Feb 22, 3:57 pm, Jonny Stephens wrote: > Cycle's scrollHorz and scrollVert fx options allow "back and forth" > functionality for the Prev/Next and Pager functions. > > The scrollVert transition scrolls Next content downwards and Prev > upwards. > > I&#x

[jQuery] [Cycle] How to reverse direction of scrollVert fx?

2009-02-22 Thread Jonny Stephens
Thought I'd found an answer in the undocumented "rev" option, but this turns out to reverse the Prev and Next functions i.e. clicking Next moves to the previous slide etc. Anyone know how to achieve what I'm after? Thanks Jonny

[jQuery] Re: Seeking div hide/show plugin with access by URL

2009-01-27 Thread Jonny Stephens
My oversight. Looking at the comments more closely shows Tabs 2 provides options for separation of navigation and content markup (assigning navClass and containerClass classes respectively). Thanks again. Jonny On Jan 27, 4:58 pm, Jonny Stephens wrote: > Thanks for your suggestions Rica

[jQuery] Re: Seeking div hide/show plugin with access by URL

2009-01-27 Thread Jonny Stephens
support at present. I'll study the Tabs 2 code to see if I can figure out how to allow the triggers to reside in a separate div. Jonny On Jan 26, 3:07 pm, Ricardo Tomasi wrote: > Tryhttp://stilbuero.de/jquery/tabs/ > > or the Tabs funcionality in jQuery UI. > > Or venture int

[jQuery] Seeking div hide/show plugin with access by URL

2009-01-26 Thread Jonny Stephens
fills this? idTabs - http://www.sunsean.com/idTabs/ - comes close, but lacks the ability to load divs by URL string. A mod to this perhaps? Thanks for reading, Jonny

[jQuery] Re: $.get ajax method callback being called before the script return...

2008-08-29 Thread Jonny
Hey thanks, didn't know that tool, awesome =) i was just using fiddler and there's something bizarre happening around here... When i change the select box , sometimes the ajax execute sucefully, showing response 200 on fiddler. But most times its just don't respond... i click the select box and

[jQuery] Re: $.get ajax method callback being called before the script return...

2008-08-29 Thread Jonny
I didn't knew fiddler, nice tool =) im testing the script with fiddler now, and something very strange is happening... When i change the select box designated with the function, the first times it's ok, and a 200 OK line pops on fiddler. But after de 3th or 4th change it stop showing messages on

[jQuery] $.get ajax method callback being called before the script return...

2008-08-29 Thread Jonny
I'm far from a specialist , but i think its a piece of cake so , here we go... I have the following function being called whenever a combobox is changed: function ajax_do(pAcao, pId , pIdt){ if (typeof pId == 'undefined' ) pId = '0'; if (typeof pIdt == 'undefined' ) pIdt = '0'; $('#message

[jQuery] Re: Help

2008-04-08 Thread Jonny Polite
Clearly. On Apr 8, 8:32 am, "Jake McGraw" <[EMAIL PROTECTED]> wrote: > Spam? > > On Tue, Apr 8, 2008 at 4:46 AM, Sarah Johns <[EMAIL PROTECTED]> wrote: > > > Hello guys, i need some serious help here. My dad made a site, this > > http://www.videoriporter.hu. And he cant make it work. Can any of

[jQuery] Re: Nested Ajax callbacks not working in IE7

2008-04-08 Thread Jonny Polite
Not sure why that wouldn't work, but have you tried putting your second AJAX call into a separate function that the first AJAX success calls? That's generally how I structure my code and I haven't had any browser issues so far. On Apr 8, 2:38 am, Dannster <[EMAIL PROTECTED]> wrote: > Hi Guys > >

[jQuery] Re: problem with tablesorter and dynamic table content

2008-04-08 Thread Jonny Polite
orter source code, > that the only solution is to rebuild the entire table with each > dynamic reload. The idea was originally posted here: > > http://groups.google.com/group/jquery-en/browse_thread/thread/32732ee... > > On Apr 3, 1:05 pm, Jonny Polite <[EMAIL PROTECTED]> wrot

[jQuery] Re: Selecting part of table structure

2008-04-04 Thread Jonny Polite
I'm not entirely sure what you're trying to accomplish, but selecting that first is easy since it has its own id, just use $ ("#first").clone() On Apr 2, 8:32 pm, Pete Kruckenberg <[EMAIL PROTECTED]> wrote: > Assuming I have > > > > > 1 > > > 2 > > > > > i

[jQuery] Re: Tablesorter 2.0 : Problem with Sort Direction

2008-04-04 Thread Jonny Polite
Pretty sure that's just how it works. Clicking on a column always makes it run the opposite of the last sort that was used. On Apr 2, 9:30 am, cl4ncy <[EMAIL PROTECTED]> wrote: > Hi, > > I'm finding this plugin very useful, however i have one major problem > with it (i dont know if its just me).

[jQuery] problem with tablesorter and dynamic table content

2008-04-03 Thread Jonny Polite
Hello, So I have this table where the is initially blank. Then when the document is ready I call a function that runs an AJAX query for the table content. The initial content is sorted awesomely! But when I call my function again with different parameters to get new content, things start to g

[jQuery] Re: Execute JavaScript that is added to the page by AJAX?

2008-03-05 Thread Jonny
if not they can jump in to the frey :) On Mar 5, 11:56 am, chrismarx <[EMAIL PROTECTED]> wrote: > if you load the minified or packed version of jquery, and have gzip > compression on your server (which everyone should have anyways), > jquery is only around 15kb! is that heavy? > &g

[jQuery] Re: Execute JavaScript that is added to the page by AJAX?

2008-03-05 Thread Jonny
e who are asking this question (through me) are not wanting to load a heavy js library (Jquery), so the advice below won't really work :( - J On Mar 4, 2:54 pm, "Jonny M" <[EMAIL PROTECTED]> wrote: > I posted this almost an hour ago and it is still not showing up

[jQuery] Re: Execute JavaScript that is added to the page by AJAX?

2008-03-05 Thread Jonny M
I posted this almost an hour ago and it is still not showing up in the Google Group... why? - Jonny On Tue, Mar 4, 2008 at 2:01 PM, Jonny <[EMAIL PROTECTED]> wrote: > Basically, I have a JavaScript function (let's call the function > "displayDiv") that ends up

[jQuery] Execute JavaScript that is added to the page by AJAX?

2008-03-04 Thread Jonny
If anyone can tell me if this is even possible, and if so, where to go next, that would be most excellent! Many thanks, - Jonny

[jQuery] Re: Persistent menu using cookies based rather than location based

2008-01-07 Thread Jonny
ering, - Jonny On Jan 5, 7:12 am, Mali <[EMAIL PROTECTED]> wrote: > Hi, I am fairly new to jquery but I have been practicing for a month. > I would like to create a jquery persistentmenu. I've been searching > for a perfect solution but could not find one. > > I hav

[jQuery] Re: Menus states and cookies - simple DOM question, please help!

2007-12-21 Thread Jonny
aintain which tab > is open. > It should fundamentally be the same technique. > > http://stilbuero.de/jquery/history/ > > Glen > > On Dec 21, 2007 12:01 PM, Jonny <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > I think this should be a pretty simp

[jQuery] Menus states and cookies - simple DOM question, please help!

2007-12-21 Thread Jonny
his" into a cookie so that I can .show() the exact same element when the new page loads? I hope someone can help before I tear all my hair out ;) - Jonny