[jQuery] Re: ClueTip focus/blur trouble

2009-10-26 Thread Shawn
s close. Your code works, but due to the unbind of the blur.cluetip event, it only works once. Which makes sense. So I modified it slightly to the following. This seems to be working so far. $this.unbind('blur.cluetip'); $(#cluetip).hover(

[jQuery] Re: $.Event is not a function js/jquery/ui.core.js Line 345

2009-10-26 Thread Maxime FAYE
Not this neither : jQuery UI 1.7.2 says ui.core.js 2009/10/23 Maxime FAYE maxime.f...@gmail.com OK i'll check this and i'll keep you posted :) 2009/10/23 Richard D. Worth rdwo...@gmail.com How bout an old version of jQuery UI then? If you're using jQuery v1.3.2 make sure you're not using a

[jQuery] Re: How can i set a number inside a h1 tag before the text starts?

2009-10-26 Thread bc04Inc.
Hi, i solved one problem. I can change the text inside a tag with the .prepend method. But i dont know how to extend the above jquery function to number my table of contents like 1. 2. 2.1. 2.2. 2.2.1 2.3 3. regards yavuz On 23 Okt., 16:44, bc04Inc. bc04...@googlemail.com wrote:

[jQuery] Re: How to get active image centeres in jCarousel?

2009-10-26 Thread Ghprod
Hi all, can someone help me out? thanks n regards :)

[jQuery] Re: How can i set a number inside a h1 tag before the text starts?

2009-10-26 Thread bc04Inc.
I have solved it! Now after 3 days of hard work :) it works! regards yavuz On 26 Okt., 12:00, bc04Inc. bc04...@googlemail.com wrote: Hi, i solved one problem. I can change the text inside a tag with the .prepend method. But i dont know how to extend the above jquery function to number my

[jQuery] take 3 values at time for fade in fade out effect.

2009-10-26 Thread deep
Hello I have following code which i am using for fade in fade out effect. with this code at time only one image is coming. I want at time it should show 3 images. like 1,2,3 then 4,5,6 Here is my code. var index_news = 0; // function initNews() { $('div#feed-ticker')

[jQuery] How can I call a function in jQuery plugin js file?

2009-10-26 Thread Deng
Hello, I am new guy for jQuery, and I got a problem where I am going to call a function in jQuery plugin js file. That's a json plugin file and named json.js, it has a function named $.json.encode(obj), I am sure I set it referred in html file correctly, then I call it in

[jQuery] Autocomplete

2009-10-26 Thread mik...@produktion203.se
Hi, I use jQuery's Autocomplete plugin on my website. What I need help with is sorting the list that appears. I want it to have the same sort that I have in the array where all the options are available. Best regards, Mikael

[jQuery] Tooltip Plugin: How to change Tooltip text later

2009-10-26 Thread stoffel
I found a Problem with the jQuery.Tooltip Plugin. I want to change the tooltip text of an element LATER after calling .tooltip() Trying to set $(.element).attr('title', 'New Tooltip text'); creates a SECOND old style tooltip. Not what I want! Calling .tooltip() a second time an the element

[jQuery] Extending jQuery.fn and Wordpress issues

2009-10-26 Thread Alexander Nyquist
Hi! I'm building a jQuery (1.32) plugin for use with Wordpress (2.85). My problem is that when i'm extending the jQuery.fn object, the function is not added to jQuery.fn. Suppose that the plugin is a simple one like the following. jQuery.fn.zapp = function() { alert(zapp!); } It is

[jQuery] Re: tablesorter reset?

2009-10-26 Thread rortelli
You can try with: $(yourTable).trigger(update); Shazzaam wrote: I have a table that dynamically changes columns/headers and uses the tablesorter plugin. I'd like to reset my tablesorter, so that I can assign different sorting options for these new headers. I tried using

[jQuery] Re: How to tell if option is selected when it always defaults to first value?

2009-10-26 Thread RobG
On Oct 25, 4:37 pm, Giovanni Battista Lenoci gian...@gmail.com wrote: nick ha scritto: select id=one    option value=1 selectedone/option    option value=2two/option    option value=3three/option /select The right syntax is : option value=1 selected=selectedone/option Only if the

[jQuery] jQuery Ajax Request Encoding

2009-10-26 Thread jigs
Hi I am trying to send Hindi अनुयायी characters to my PHP Script. I set request header as ascii, I want that it should store #2309;#2344;#2369;#2351;#2366;#2351;#2368; in database. When I am using form and submit it normally, it stores value #2309;#2344;#2369;#2351;#2366;#2351;#2368 in database

[jQuery] Re: cluetip memory leak

2009-10-26 Thread jfre...@gmail.com
I had the same problem with one of my application at work, that refresh data in divs by ajax, with cluetips. The user would stay on the page for 5/6 hours, with IE. So the only workaround I found was to force a refresh of the page every 15 minutes. It's a page that restore what was opened on the

[jQuery] Re: ClueTip focus/blur trouble

2009-10-26 Thread karthick p
hi i m karthick,i m ding MCA in VIT...for me honey well company is coming for placement so can u give any model paper thank u 2009/10/26 Shawn sgro...@open2space.com Thanks Karl. I'll look at this more in a bit. but from what I can see I think you have a

[jQuery] Re: Jquery issue with IE 6 (works in chrome and firefox)

2009-10-26 Thread RobG
On Oct 25, 12:06 am, ram sriva...@gmail.com wrote: This works fine in chrome and firefox but does not in IE6. i am yet to try it out in IE 7. As you can see, i have an input field and when user enters a value and clicks on Save, Jquery $(span.saveLink).click (function() gets invoked which

[jQuery] Superfish - Supersubs not being recognized?

2009-10-26 Thread net-genius
Hello, I am using jQuery Superfish (with Supersubs) but I'm getting an JS error when loading the page: Error: $(ul#topmenu).supersubs is not a function I looked at the supersubs.js file but I can't figure out what the problem is. I'm calling jquery.js, jquery.superfish.js, and

[jQuery] A Syntax question/problem

2009-10-26 Thread cdukes77
I have the following syntax problem ... $(#search).bind(keypress, function(e) { if (e.keyCode == 13) return false; }); $('#search').change(function() { var vKeyword = document.getElementById('search').value $.ajax({

[jQuery] Re: jQuery.get does not return proper JSON

2009-10-26 Thread Maarten
On 22 okt, 00:37, James james.gp@gmail.com wrote: try this: $data = array('votes_for'=7, 'votes_against'=4); echo json_encode($data); exit; Hi James, Thanks for your response but I managed to solve my problem in a different way. I said in my first post the view doesn't always know on

[jQuery] Re: take 3 values at time for fade in fade out effect.

2009-10-26 Thread deep
I have tried something like this index_news +=3; but its not working. can anyone please help me how can i increase my index_new value by 3? On Oct 26, 5:07 pm, deep deeps...@gmail.com wrote: Hello I have following code which i am using for fade in fade out effect. with this code at time

[jQuery] Re: take 3 values at time for fade in fade out effect.

2009-10-26 Thread Rick Faircloth
What about index_news = index_news + 3 ? hth Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of deep Sent: Monday, October 26, 2009 9:40 AM To: jQuery (English) Subject: [jQuery] Re: take 3 values at time for fade in fade out

[jQuery] Re: take 3 values at time for fade in fade out effect.

2009-10-26 Thread deep
Thanks for your reply Rick i was trying something similar index_news =0; index_news =+3; but that value is belong to li. so its taking 3 values but showing me one by one. do i need to write definition for ul then. i am new to jquery could you please tell me how can i write that? On Oct 26,

[jQuery] Nested :eq selector issue?

2009-10-26 Thread vtjiles
Shouldn't :first be the same as :eq(0)? I set up a basic test page with one div in the body. I ran the following statements to get the HTML element and the first works, but the second actually throws an error. alert($(*:has(BODY *:first)).eq(0)[0].tagName); alert($(*:has(BODY

[jQuery] Scroll area alert

2009-10-26 Thread billybrag
Hi all i want to do something so that when the page scrolls to the bottom of a div an alert pops up how would i go about this? thanks -- View this message in context: http://www.nabble.com/Scroll-area-alert-tp26061346s27240p26061346.html Sent from the jQuery General Discussion mailing list

[jQuery] Re: take 3 values at time for fade in fade out effect.

2009-10-26 Thread Rick Faircloth
Can you show me the html and jQuery involved? I'm not sure what your code setup is and how you're trying to manipulate it... Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of deep Sent: Monday, October 26, 2009 10:05 AM To: jQuery

[jQuery] jQuery Form plugin and jQuery File Tree plugin

2009-10-26 Thread Julien
Hi, I can upload a file with this setup : - the form.js jQuery Form plugin script http://jquery.malsup.com/form/jquery.form.js?2.33 - the files.php which upload my files and print a validation message ... move_uploaded_file($_FILES[file][tmp_name], $_POST

[jQuery] Re: A Syntax question/problem

2009-10-26 Thread brian
Maybe something like this? $(#search).change(doSearch($(this))).bind(keypress, function(e) { if (e.keyCode == 13) { doSearch($(this)); return false; } }); function doSearch(el) { var vKeyword = el.val; $.ajax({ type: GET, ... On Sun, Oct 25,

[jQuery] Superfish vertical - LEFT flyout??

2009-10-26 Thread DaveS
Has anyone modified Superfish vertical menus so the flyout is to the LEFT? How? Ideas?

[jQuery] Re: A Syntax question/problem

2009-10-26 Thread Michel Belleville
Forget about catching the enter key press, catch the form submit instead, make it do the ajax call and prevent default response, and execute the same ajax call on change : var ajax_search = function() { // whatever AJAX you want ... }; $('#search').change(function(event) { ajax_search(); })

[jQuery] Re: A Syntax question/problem

2009-10-26 Thread Michel Belleville
Forms already submit when the enter is pressed, though they can also submit when an input submit button is pressed. Binding the ajax call to the submit events covers both scenarios, plus it seems to me a lot less complicated than catching the key13 event. Michel Belleville 2009/10/26 brian

[jQuery] Re: cluetip memory leak

2009-10-26 Thread Karl Swedberg
On Oct 25, 2009, at 8:42 PM, Andrew Tan wrote: The memory is released when you refresh the page. However, the users of my web app will be using the same page for 8+ hours a day and the page will most likely not be refreshed since all the updates are displayed and retrieved via ajax and

[jQuery] Announce = ChessTwit now using jQuery

2009-10-26 Thread weepy
Hey there, Just wanted to tell everyone about ChessTwit that's using jQuery to good effect. The best place to play correspondence chess with your friends on Twitter. Log in and get playing! Hope you like ! Cheers @weepy

[jQuery] alter the font size of a dynamic header?

2009-10-26 Thread derek allard
Hello. We are working within a CMS and we have a dynamic text header that pulls into the top of the page. The problem is that there are certain titles that are too long and are breaking into other design elements. I'm thinking there should be a way to count the number of characters and then

[jQuery] Re: Superfish vertical - LEFT flyout??

2009-10-26 Thread Charlie
is quite easy, sub UL's are absolute position, change "right" to "left" in css. DaveS wrote: Has anyone modified Superfish vertical menus so the flyout is to the LEFT? How? Ideas?

[jQuery] Re: Unexpected $(document).ready() behavior when jQuery is loaded after the page

2009-10-26 Thread Server Herder
Under the latest nightly release bindReady() first checks for document.readyState === 'complete'. Browsers that support the readySTate property will then execute the jQuery.ready() function and this case will be handled properly. IE, Safari and Chrome all appear to have this; however, Firefox

[jQuery] validate plugin + cluetip plugin issue. Are these 2 compatible?

2009-10-26 Thread adwen
Hello jQuery community, What i'm trying to do is very simple yet it is probably not easy. I've configured the validation plugin that it works the way i want it to work. Now i want a kinda 'callout' action on on particular error that i use the validation 'remote' option. In the message are i add

[jQuery] Re: A Syntax question/problem

2009-10-26 Thread brian
I can't believe that I didn't notice that. On Mon, Oct 26, 2009 at 11:58 AM, Michel Belleville michel.bellevi...@gmail.com wrote: Forms already submit when the enter is pressed, though they can also submit when an input submit button is pressed. Binding the ajax call to the submit events

[jQuery] Re: alter the font size of a dynamic header?

2009-10-26 Thread Charlie
when in doubt w3schools is an excellent resource. See top link "return length of string" http://www.w3schools.com/JS/js_obj_string.asp derek allard wrote: Hello. We are working within a CMS and we have a dynamic text header that pulls into the top of the page. The problem is that

[jQuery] Re: Nested :eq selector issue?

2009-10-26 Thread Charlie
I think you'll do better at getting responses with an html example of what you are trying to find. vtjiles wrote: Shouldn't :first be the same as :eq(0)? I set up a basic test page with one div in the body. I ran the following statements to get the HTML element and the first works,

[jQuery] Re: clueTip display inconsistently

2009-10-26 Thread wendy.constantine
Thanks, Karl! That did solve most of the display issues, and I should have seen that earlier. Now, I'm noticing that the 4th link is consistently using the default style and not the jt class referenced. And in some cases, the arrow displays to close, yet in others it does not. Can you think of

[jQuery] Sort columns with URL in Tablesort

2009-10-26 Thread ChaosAD
I'm fairly new to Tablesort, but got it working for the most part. The only problem I have is any columns that have a a href/a in them. It seems to sort it based on the url and not that actual data in the cell. How do I get it to sort based on the data and not the url?

[jQuery] Sort after insert append?

2009-10-26 Thread Dave Maharaj :: WidePixels.com
I have a list of Educations that are ordered by Date Completed. Same page I have an ajax form to add new education. How can I insert the new education where it should go chronologically? Example: 2005 1997 And user add's new Education for 2002 how can I have that be inserted between 2005

[jQuery] Re: Sort after insert append?

2009-10-26 Thread Charlie
a lot depends on html , are these lists, tables, text etc?? hard to guess what you need Dave Maharaj :: WidePixels.com wrote: I have a list of Educations that are ordered by Date Completed. Same page I have an ajax form to add new education. How can I insert the new education where it

[jQuery] Re: return values

2009-10-26 Thread rob
Awesome thanks... On Oct 23, 12:16 pm, James james.gp@gmail.com wrote: $.each(data.feed.entry, function(i, entry){      var postlink = [];  // empty array      $.each(entry.link, function(j, link){           if(link.rel == self){                // add to array                

[jQuery] .toggle issues with TRs

2009-10-26 Thread D A
I'm working with a table where any particular TR will have a link to load a nested Table. The jquery will 1) create the new TR + TD (with appropriate colspan) 2) add a container (DIV set to display: none) 3) load a new table via AJAX into said DIV 4) animate the DIV

[jQuery] Re: Sort after insert append?

2009-10-26 Thread Dave Maharaj :: WidePixels.com
Sorry, my bad. Each Education is in its own div. They are sorted on initial page load thru php. The id's are generated unique Id's so they look like 125kj6756 and so on. Not sorted by id but by the complated date inside the DIV prior to the page loading. div id=education_{id}' html code dl

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-26 Thread MorningZ
You'll need to write a custom Parser so that you get what's inside the a tag and not the string itself... It's very easy to do if you just follow his example on the site On Oct 26, 3:00 pm, ChaosAD chao...@gmail.com wrote: I'm fairly new to Tablesort, but got it working for the most part. The

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-26 Thread ChaosAD
Thanks for the reply. My problem is rising from the fact that not all column are url based. Some are straight data and some others might have other tags such as em around them. I tried following the example for custom parser and I kept getting s integer errors. Sorry if this is simple problem, I

[jQuery] Can you remove styles from a certain UI

2009-10-26 Thread Luh Hooo Zer
i have a jquery slider, and jquery tabs on one page i dont want the tabs to have the theme the slider does... is there a way to set the tabs to not use the theme style, on the same page as the slider?

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-26 Thread MorningZ
Perhaps post an example of the table's HTML and it would (much) easier to help as your first post mentioned a tags and you implied it was nothing but those, now you have em or no tag at all, quite a bit more complicated now On Oct 26, 4:45 pm, ChaosAD chao...@gmail.com wrote: Thanks for

[jQuery] $.post(), php file in parent directory?

2009-10-26 Thread Vlad
Is it possible to use $.post() with the php file in parent directory or a completely different directory?

[jQuery] issue passing event to event handler in Firefox

2009-10-26 Thread The alMIGHTY N
Let's say I have a series of links on the page: a id=link0 href=#Link 0/aa id=link1 href=#Link 1/aa id=link2 href=#Link 2/aa id=link3 href=#Link 3/aa id=link4 href=#Link 4/a and so forth. I want to attach event handlers to each of them using a for loop for simplicity sake. I can't just do: for

[jQuery] Re: Sort after insert append?

2009-10-26 Thread Charlie
made an example that will do what you need based on parsing the text in the dd to determine years there are simpler ways with classes that could be added at server but this works with just the html provided. I used a select to show will insert before and after list if applicable

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-26 Thread ChaosAD
Thanks, I will tomorrow when back at work. Right now it is data in td themselves and links inside as well. I want to make it flexable though so it can handle other types such as em etc. On Oct 26, 6:26 pm, MorningZ morni...@gmail.com wrote: Perhaps post an example of the table's HTML and it

[jQuery] jQuery UI draggable

2009-10-26 Thread Thai Dang Vu
Suppose that I have this div div id='draggable' div id='header'x/div div id='content'zzz/div /div I use jQuery UI draggable to make the div 'draggable' draggable $('#draggable').draggable(); Then I can press the mouse anywhere in the 'draggable' div and drag that div. Now I

[jQuery] Re: cluetip memory leak

2009-10-26 Thread Dave Methvin
I think a lot of plugins have this problem but most people aren't creating and deleting them a lot. My splitter has this issue but I solved that problem because I was too lazy to support splitters being destroyed. See, the real problem is that you have a destroy option! :-) Since $this and

[jQuery] Re: clueTip display inconsistently

2009-10-26 Thread wendy.constantine
I've discovered the problem. Thanks again for your help, Karl.

[jQuery] AJAX and JSON

2009-10-26 Thread Mark Volkmann
I have some code working that invokes an HTTP service that returns JSON. From my JavaScript I call the service with: $.getJSON(url + ?callback?, function (json) { // do something with json here }); My service is implemented as a Java servlet with a doGet method. In that method I: 1) set the

[jQuery] Question regarding image grid

2009-10-26 Thread Arunkumar Puppala
Hi all, I am trying to build an application that displays the images in the form of a grid. We get the total number of images and number of images displayed on a page through a cgi parameter. Can someone suggest me how to build such an image grid with pagination controls? Thanks, Arun

[jQuery] how jquery handle the redirect quest from server(php)?

2009-10-26 Thread Loy
Hi everyone: I just started to learn jquery and met this problem: I would like to use .ajax to send a http request. For example: I got the code like the following $.ajax( { type:GET, url:./include/coor_generator.php, complete:function (xhr,statusText) { alert(xhr.status); } } );

[jQuery] Re: Sort after insert append?

2009-10-26 Thread Dave Maharaj :: WidePixels.com
Right on. Looks good. thanks Will try to integrate it into my app. Dave _ From: Charlie [mailto:charlie...@gmail.com] Sent: October-26-09 8:06 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Sort after insert append? made an example that will do what you need based on

[jQuery] Re: A Syntax question/problem

2009-10-26 Thread cdukes77
Both answers are excellent. Two different approaches, both teach me something new. Thank you both Chip

[jQuery] How to address elements (id? name? class?)

2009-10-26 Thread André Hänsel
Hi, I am wondering how one should mark elements to find them later, for example to attach event handlers to them. It is clear, that id certainly IS a way to do it, but having to use unique ids is quite uncomfortable, because it requires setting up some kind of id namespace plan. As a common

[jQuery] Re: How to address elements (id? name? class?)

2009-10-26 Thread Jeffrey Kretz
I suppose the solution depends largely on what you're trying to accomplish, as well as the event handlers. If you have an object on the page that performs search-type functions, and you need to bind events to it, you could use a class-based solution: div class=searchgrid ... Content /div

[jQuery] Re: How to address elements (id? name? class?)

2009-10-26 Thread MorningZ
I do not understand your issue, why not call the global header search something like #header_search and call it a day? On Oct 26, 10:48 pm, André Hänsel an...@webkr.de wrote: Hi, I am wondering how one should mark elements to find them later, for example to attach event handlers to them. It

[jQuery] Re: AJAX and JSON

2009-10-26 Thread MorningZ
if this is your *exact* code $.getJSON(url + ?callback?, function (json) { then you're missing an equal sign $.getJSON(url + ?callback=?, function (json) { As for the rest of your issue of what to do, this post should help:

[jQuery] Re: Can you remove styles from a certain UI

2009-10-26 Thread Richard D. Worth
Yes. See http://www.filamentgroup.com/lab/using_multiple_jquery_ui_themes_on_a_single_page/ - Richard On Mon, Oct 26, 2009 at 6:25 PM, Luh Hooo Zer anthonynori...@gmail.comwrote: i have a jquery slider, and jquery tabs on one page i dont want the tabs to have the theme the slider

[jQuery] announcing a simple progressbar

2009-10-26 Thread Nivanka
I did a simple progress bar which can work on top of jQuery for a project. and just uploaded it so everyone can use it. Check it out http://open.whynotonline.com/progress-bar/ A demo and a little description is here http://open.whynotonline.com/progressbar/index.html

[jQuery] Re: take 3 values at time for fade in fade out effect.

2009-10-26 Thread deep
Hello rick, here is my code. you need to run this file tweet.php base target=_blank style body { margin:0; padding: 0; background-color: transparent; } div#feed-ticker{ width:780px; display:block; min-height:82px;

[jQuery] Re: take 3 values at time for fade in fade out effect.

2009-10-26 Thread deep
please see this example http://tweet.seaofclouds.com/ in the first demo they are showing 3 tweets. but its not ticker so i just want it should keep on moving. How can i do that? :( On Oct 27, 9:26 am, deep deeps...@gmail.com wrote: Hello rick, here is my code. you need to run this file

[jQuery] Re: take 3 values at time for fade in fade out effect.

2009-10-26 Thread deep
please see this example http://tweet.seaofclouds.com/ in the first demo they are showing 3 tweets. but its not ticker so i just want it should keep on moving. here is similar demo which i am doing with fade in fade out effet they are showing 1 tweet at a time. but i want to show 3 tweets at

[jQuery] Re: Unexpected $(document).ready() behavior when jQuery is loaded after the page

2009-10-26 Thread Michael Geary
If that's true, shouldn't my test case fail in Firefox? http://mg.to/test/jquery/dynamic-nightly/jquery-dynamic-onload.html The page does use a nightly from several weeks ago and I haven't tested with a more recent version - but hopefully it hasn't gotten broken since then. -Mike On Mon, Oct