[jQuery] Re: Help with tabsLoad

2008-06-14 Thread Klaus Hartl
So what is going wrong now? To me it looks like everything works as expected (Tabs are loading correctly and the link saying "This link load page 3 in current tab via ajax" does exactly what it says)... --Klaus On 15 Jun., 00:36, keny <[EMAIL PROTECTED]> wrote: > hi thanks for helping > > i hav

[jQuery] ui.datepicker trouble

2008-06-14 Thread Shawn
I'm having a problem wit the ui.datepicker. Specifically setting/getting the default date. I have the following function: function setDefaultDates() { var temp = new Date(); var sd = new Date(temp.getFullYear(), temp.getMonth(), temp.getDate() - 8); var ed = new Date(temp.getFullYear(

[jQuery] Re: [localScroll] How do I acess the value of an inline anchor?

2008-06-14 Thread Ariel Flesler
Why not just retrieve the id/name ? onAfter:function( anchor ){ //... $('#detailsContainer .description').load('/index/description/id/' + anchor.id ); //... } Cheers -- Ariel Flesler http://flesler.blogspot.com On 14 jun, 20:23, "Michael Ray" <[EMAIL PROTECTED]> wrote: > Hi, I am using the exam

[jQuery] Re: Can i work with string? exp. i want get first 4 letter from string. Can I?

2008-06-14 Thread Shawn
var mystring = "Only want the first four letters"; var first4 = mystring.substr(0, 4); alert(first4); So, in your case, you would do something like this: var out = $("h2.Title").text().toString().substr(0,4); alert(out); You *should* see "2.1 " as the output... (notice the extra spa

[jQuery] How do I acess the value of an inline anchor?

2008-06-14 Thread Michael Ray
Hi, I am using the example code written on the localScroll page I am trying to figure out how to pass the anchor value of the inline link to the load() function. $('#detailsContainer .description').load('/index/description/id/' + ?); The full code is below: jQuery(function( $ ){

[jQuery] Re: New JQuery Plugin - Menu Toggle Adder

2008-06-14 Thread Ed
Thanks Chuck, I fixed an error on the demo page (not the script) that was causing the error. On the demo page, I had an extra comma at the end of the last value in the settings object... rookie mistake. I appreciate you help! -Ed On Jun 13, 10:32 pm, "C.Everson" <[EMAIL PROTECTED]> wrote: > On

[jQuery] Re: replace html on ajax success ie7

2008-06-14 Thread Fred
no, just html. On Jun 14, 3:03 am, ilrobyt <[EMAIL PROTECTED]> wrote: > On 14 Giu, 01:02, Fred <[EMAIL PROTECTED]> wrote: > > > > > Hi guys, I am having a wierd issue. It seems all is fine in firefox > > but in IE for some reason, although I can alert the value returned to > > the ajax post, I ca

[jQuery] Form Plugin - Feature Request

2008-06-14 Thread Jonathan Vanasco
The Form Plugin is pretty rad... however I tried to patch some functionality in it, and failed. All I'm trying to do is make the options persist into the success callback - just like they do in the beforeSubmit callback. This way some information can be stashed on dynamically generated javascri

[jQuery] Two clicks to show a div...

2008-06-14 Thread Chuncho
Hi... I have a little problem... I'm using this code to load some ajax querys... var LoadPhotosJQuery = { load : function() { var links = $(".box_link"); links.each( function(e) { var elements = links[e].id.split('#')[1]; $(links[e]).click( funct

[jQuery] Re: Help with tabsLoad

2008-06-14 Thread keny
hi thanks for helping i have upload a new version and still dont work no sherif code in this one http://www.snipvideo.com/tabs/ help is very appreciate On 14 juin, 01:58, Klaus Hartl <[EMAIL PROTECTED]> wrote: > On 13 Jun., 23:17, keny <[EMAIL PROTECTED]> wrote: > > > Thanks > > > Is there a

[jQuery] Re: replace html on ajax success ie7

2008-06-14 Thread Fred
Nope, there is no javascript, just html.. thanks..anything else you can think of? On Jun 14, 3:03 am, ilrobyt <[EMAIL PROTECTED]> wrote: > On 14 Giu, 01:02, Fred <[EMAIL PROTECTED]> wrote: > > > > > Hi guys, I am having a wierd issue. It seems all is fine in firefox > > but in IE for some reason,

[jQuery] Re: Help with tabsLoad

2008-06-14 Thread keny
Hi, I upload the demo to my own website and whitout red sherif code i still have the same problem after loading my ling via my function tabs stop to work Check by yourself http://www.snipvideo.com/tabs/ Thanks you very very much for your help i appreciate it. keny On 14 juin, 01:58, Klaus Ha

[jQuery] Can i work with string? exp. i want get first 4 letter from string. Can I?

2008-06-14 Thread mtest
Hi everybody. If I have string, for example: 2.1 Bla bla bla And I want get number of position -2.1. How can I do this? Thanks beforehand :)

[jQuery] $.ajax timeout basics

2008-06-14 Thread Ollie
Hi everyone, I've been using jQuery for a bit of time now, and getting quite comfortable with it... except something that's been frustrating the hell out of me all day! Can anyone explain to me the basics of the ajax timeout function works? I've tried defining a timeout in the global ajax handle

[jQuery] non-html elements

2008-06-14 Thread Andy Chambers
Hi, Are you supposed to be able to use jquery to search for non-html elements? I've got a web-app that is sending out xrefs which are recursively expanded by jquery using the following function. function expand_refs (context) { $("xref",context||document).each(function (i) { var rpl = cac

[jQuery] Re: European Mirrors

2008-06-14 Thread Alexandre Plennevaux
On Thu, Jun 12, 2008 at 10:39 PM, Tim Swann <[EMAIL PROTECTED]> wrote: > > Glad I'm not the only one finding it slow. > > I do think that some official mirrors would be a good thing. > While I'm not in a position to make an offer of an Ireland/UK mirror > for jQuery, I could make a suggestion to t

[jQuery] Re: I love JQuery but why is it slower than Dojo and ExtJS Core

2008-06-14 Thread Michael Geary
Um, the difference between 300ms and 800ms is half a second! :-) But I agree that the SlickSpeed test doesn't mean much. What counts is how fast it is with the code you actually write. And a little optimization in your own code will usually take care of any speed problems (e.g. Don't repeat an ex

[jQuery] Re: Opacity Problems in IE 6 and IE 7 with 1.2.5 and 1.2.6

2008-06-14 Thread Matthieu BARBE
I tested this code *z=c.zIndex* (replace to z=(/^\d+$/.test(h.w.css('z-index')))?h.w.css('z-index'):c.zIndex) and it's ok for me with ie 6 and 7, firefox, opera 9.5 and safari for windows ! 2008/6/10 Matthieu BARBE <[EMAIL PROTECTED]>: > This modification z= !$.browser.msie ? h.w.css('z-index')

[jQuery] Re: Best practice to get form field values

2008-06-14 Thread mar10
Thank you Dan, this looks good. Still wondering, if form field access shouldn't be part of the core. (I need it more frequently than all these slideUpBlendFadeToggle effects ;-) Martin On Jun 12, 9:16 am, mar10 <[EMAIL PROTECTED]> wrote: > Hi, > > what would you consider the 'best practice' to

[jQuery] Re: tricky for loop

2008-06-14 Thread yo2lux
Heh, my code is complicated? I need to stop the loop if container row is found. But I don't need to kill the loop with "return false;". The loop need to run again with another number. On Jun 14, 1:07 am, yo2lux <[EMAIL PROTECTED]> wrote: > I have an HTML Table: > > 1: > 2: > 3:class=

[jQuery] Re: I love JQuery but why is it slower than Dojo and ExtJS Core

2008-06-14 Thread Abdul-Rahman Advany
Thnx for responding, sorry I didn't search on SlickSpeed, should have though of that! On Jun 14, 5:06 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > Abdul... > > Please do a Google search through the groups archive for messages regarding > the SlickSpeed tests. Even the authors of the test admi

[jQuery] Re: New JQuery Plugin - Menu Toggle Adder

2008-06-14 Thread C.Everson
On Sat, 7 Jun 2008 09:25:33 -0700 (PDT), steve_f wrote: > Your demo page does not work in FF3, also I get a script error running > IE8.0 but in IE7.0 compat mode. > > > On Jun 7, 4:20 pm, Ed <[EMAIL PROTECTED]> wrote: >> Here's a new JQuery Plugin: Menu Toggle Adder >> >> http://code.google.com

[jQuery] Re: How to hide several values in an option select box?

2008-06-14 Thread mickes
Thank you very much. That was just the push I needed. it worked! I think what I will try and do is since I know the values I want to remove I will load them into an array and loop through them applying the remove() function. Again, thank you very much! Mike On Jun 13, 9:56 pm, Dave Methvin <[EM

[jQuery] Re: Optimizing jQuery Tabs - improving load time

2008-06-14 Thread Illah
Thanks for the feedback...so I guess I was correct in my assumption that the general page load was affecting the script? The majority of that ~1MB page load is the images, and I can't really get rid of those (all the flash will be gone soon, it's part of an ad campaign ending this weekend). I ch

[jQuery] jQuery Plugins Group dead?

2008-06-14 Thread Georg
Hi there, i joined the jquery plugins group a few days ago to ask some questions about the treeview plugin. On second glance i mentioned that there are only 26 threads in this group till now and the last post dates from March 15 2007. Also it is not possible to make new posts at all. You can writ

[jQuery] Re: replace html on ajax success ie7

2008-06-14 Thread ilrobyt
On 14 Giu, 01:02, Fred <[EMAIL PROTECTED]> wrote: > Hi guys, I am having a wierd issue. It seems all is fine in firefox > but in IE for some reason, although I can alert the value returned to > the ajax post, I cannot seem to populate the html of my div. Here is > my code: > > $.post(SERVER_URL,

[jQuery] Re: Optimizing jQuery Tabs - improving load time

2008-06-14 Thread Illah
Thanks for the feedback...so I guess I was correct in my assumption that the general page load was affecting the script? The majority of that ~1MB page load is the images, and I can't really get rid of those (all the flash will be gone soon, it's part of an ad campaign ending this weekend). I ch

[jQuery] how to get jquery working inside XUL extension ?

2008-06-14 Thread Stefan Petrea
Hi, I've so far developed an extension. Now it's time to start using jquery in it. How do I include it inside the extension so that I can use it ? I've seen here an example http://www.learningjquery.com/2006/12/jquerify-bookmarklet . >From there I see that I should do something like this in my co