[jQuery] Re: Loading before dom = ready - Best Practices.

2009-04-24 Thread dhtml
On Apr 23, 3:45 pm, Adam wrote: > > That sounds like a potential accessibility issue. > > I certainly think so, hence the question :] > Why can't you just include the content from the server? If the goal is to have the information when the page loads, send it in the initial request. Bots will

[jQuery] get(), load(), ajax() nothing works right in ie7

2009-04-24 Thread Mathew
I have been trying everything i can try and nothing is working. i have a module position that should load a php file that populates user pictures and links to their profile. It works fine in everything but ie7 and in ie7 it just loads the last picture. ive tried load, get, and ajax. I have tried t

[jQuery] Re: Get first child within an element

2009-04-24 Thread RobG
On Apr 24, 9:43 pm, dgb wrote: > Hi, > > I've got a reference to a TableCell and I'd like to use jQuery to get > the first instance of an tag within that TableCell, but can't > get the syntax right, I understand how it would work if I were to > reference the TableCell by and ID or class, but n

[jQuery] Re: Protect page which loaded by $.ajax

2009-04-24 Thread Jim D
You can also check the HTTP_X_REQUESTED_WITH server variable. If the page is requested via $.ajax then this will be set to "XMLHttpRequest" but if it is requested straight through the browser, then it will not exist. On 23 апр, 21:51, donb wrote: > If you are not familiar, you need to investiga

[jQuery] Re: Is it possible to select on multiple attribute values?

2009-04-24 Thread barton
That is very interesting, can you explain it a bit. I can't find any documentation on jQuery.expr[":"] -- I can find it in the code but don't really understand what/how it does/works. jQuery.expr[":"] = jQuery.expr.filters; but now I'm really lost. On Apr 24, 6:13 pm, mkmanning wrote: > You can

[jQuery] Re: Is it possible to select on multiple attribute values?

2009-04-24 Thread mkmanning
You can always create your own selector: jQuery.extend(jQuery.expr[':'], { 'values': function(a,i,m) { return a.value && $.inArray(a.value,m[3].split(','))!=-1; } }); Use like: $('input[name=fooA]:values(foo1,foo4)'); On this markup it returns the first and last inputs:

[jQuery] Re: slideUp and slideDown works only once

2009-04-24 Thread adw999
I tried using slideToggle but the screen flickers badly, any reasons for this? Thanks On Apr 25, 12:53 am, amuhlou wrote: > The function you are calling calls slideUp for the first div and > slideDown for the 2nd item.  When you click it a 2nd time it won't > work because the divs are already i

[jQuery] Re: slideUp and slideDown works only once

2009-04-24 Thread amuhlou
The function you are calling calls slideUp for the first div and slideDown for the 2nd item. When you click it a 2nd time it won't work because the divs are already in the positions they should be (having already been slid up and down). I think you may have better luck with the slideToggle metho

[jQuery] refactoring code

2009-04-24 Thread Calvin
Hello, Does anyone have any advice in regard to refactoring jQuery code to make it more efficient/elegant/simple? I have some experience with this (making variables etc.) but was wondering if there were some key things to think about or do to push myself up the learning curve a bit. Th

[jQuery] Re: jQuery + document.write + ajax

2009-04-24 Thread Ricardo
document.write() doesn't work after the body has loaded, if you use it the page will go blank. I was going to suggest using $.getScript() instead, but I assume the banner script which is being loaded from file_with_the_banner also uses document.write, so it wouldn't matter. I suggest you look ove

[jQuery] Is it possible to select on multiple attribute values?

2009-04-24 Thread machineghost
Hello, I already know that you can combine multiple attribute selectors, &&- style, by doing: $("*[name='someName'][value='someValue']"); However, what I was wondering is, is there any way to combine multiple attribute selectors, ||-style, such that I could select: $("*[name='someName'][value='s

[jQuery] slideUp and slideDown works only once

2009-04-24 Thread adw999
Hi, I have the following code: $(document).ready(function() { $('.artistspanel').hide(); $("#teamcontainer h2").click(function(){ $('#teamcontainer div:visible').not('.hr').slideUp('slow'); $('.'+$(this).attr("id")).slideDown('slow').show();

[jQuery] Re: Table sorter.

2009-04-24 Thread aquaone
some rows or some columns? if columns, then the link Remon provided is correct. If rows, I'm not entirely sure I understand what you mean. If you need them at the top, have them in your thead. if you need them at the bottom, put them in your tfoot. if you want to sort within specific groups, the pl

[jQuery] Re: Help : sort name in an where the li's a created from drag and drop.

2009-04-24 Thread mkmanning
I said 'something like' :) Try this: $('#mylist ul').click(function(e){ var sorted = $.makeArray($('#mylist ul li')).sort(function(a,b){ return ($(a).text() < $(b).text()) ? -1 : 1; }); $('#mylist ul').html(sorted); }); On Apr 24, 1:46 pm, hollow wrote

[jQuery] Re: $.getScript Must Take .js File?

2009-04-24 Thread nlloyds
See also this discussion: http://groups.google.com/group/jquery-en/browse_thread/thread/f9b57a8e00662d84/fb73b4affb81a816 Nathan

[jQuery] Re: Help : sort name in an where the li's a created from drag and drop.

2009-04-24 Thread hollow
mkmanning Thanks for the response. Yes, but this doesn't give me the result i've changed it to work on click but the result doesn't appear all li's disappears. $('#mylist ul').click(function(){ var sorted = $.makeArray($('#mylist ul li')).sort(function(a,b){ return $(a)

[jQuery] Re: Animating height but closing any already open (like an accordion)

2009-04-24 Thread Musixz Man
Ahhh..sweet. Now I understand. Caffeine does wonders! Thanks Remon. _ Rediscover Hotmail®: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile2_042009

[jQuery] Re: Tablesorter with pager extension check boxes not present on form submit

2009-04-24 Thread Jack Killpatrick
Checkbox names are only posted if they're checked. You'll need to check for the presence of the name on the server side and if it's not there, then none were checked. That's not a tablesorter issue (doesn't sound like it). - Jack Justin wrote: Hello everyone, This is my first post to the

[jQuery] Re: Safari Layout Issues

2009-04-24 Thread Nic Hubbard
Ok, sorry guys, I realized I had come .css files below my .js files, this was causing the conflict in Safari. On Apr 24, 12:55 pm, Nic Hubbard wrote: > Here is the cycle code I am using: > > if ($('#home_exhibition_hold').length) { >                 $('#home_exhibition_hold').cycle({ >          

[jQuery] Re: Tablesorter with pager extension check boxes not present on form submit

2009-04-24 Thread Justin
Bump message please.

[jQuery] Re: Safari Layout Issues

2009-04-24 Thread Nic Hubbard
Here is the cycle code I am using: if ($('#home_exhibition_hold').length) { $('#home_exhibition_hold').cycle({ fx: 'fade', speed:2000, timeout: 7000, pause: 0,

[jQuery] Safari Layout Issues

2009-04-24 Thread Nic Hubbard
For some strange reason I am only having layout issues in Safari, even IE6 renders the page correctly! I have using jQuery Cycle on the page, and I am starting to wonder if that is what is causing the layout issue. Example: http://www.caldwellsnyder.com/home It seems that the div #home_exhibit

[jQuery] Re: Background flash white briefly

2009-04-24 Thread James
Is your background being set dynamically (e.g. through Javascript on runtime) or is it through CSS on load? On Mar 3, 6:18 am, marc0047 wrote: > I have a project where I am implementing the jQuery library, and I > believe it is causing my body backgrounds to flash white very quickly > from page

[jQuery] Re: What's the best way to pass parameters through jQuery's ajax?

2009-04-24 Thread imrane...@gmail.com
I think going on json way is much better function hello_world(param1, param2, param3, param4) { $.ajax( { type: 'POST', url: 'foo.php', dataType: 'html', data: {param1 : param1_value, para2 : param2_value, param3 : param3_value}, success: function(d

[jQuery] Re: "Please Wait While Processing" help

2009-04-24 Thread Mike Alsup
> I'm looking for some sort of "Please wait while we process your > request." message/decal/modal that freezes the screen while the > payment is processing, and releases once a response comes back from > the server. > > Any ideas/links to examples. I googled and searched the UI...and > didn't find

[jQuery] Re: What's the best way to pass parameters through jQuery's ajax?

2009-04-24 Thread Dexter's Brain
JSON will work efficiently, Else, you can pass an XML String which you can parse and extract parameters thru your PHP code. Thanks, Dexter. On Apr 24, 11:58 pm, "imrane...@gmail.com" wrote: > I think going on json way is much better > > function hello_world(param1, param2, param3, param4) > { >

[jQuery] Re: Get first child within an element

2009-04-24 Thread Karl Swedberg
this should do the trick: $(tdRef).find('img:first'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 24, 2009, at 7:43 AM, dgb wrote: Hi, I've got a reference to a TableCell and I'd like to use jQuery to get the first instance of an tag within th

[jQuery] Re: Help : sort name in an where the li's a created from drag and drop.

2009-04-24 Thread mkmanning
Something like this? var sorted = $.makeArray($('ul li')).sort(function(a,b){ return $(a).text() > $(b).text(); }); $('ul').html(sorted); On Apr 24, 9:16 am, hollow wrote: > Hi as the title says i'm looking to order a list taht is created by > drag and drop. > > the structure is a norm

[jQuery] jQuery + document.write + ajax

2009-04-24 Thread Don
Hi Folks, by clicking on a link I want to reload a skyscraper banner. The code for the skyscraper banner is in a file_with_the_banner.html I want to include this file with jquery ajax. I have this code in the index.html $(function() { $('a').click(function() { $('<

[jQuery] jQuery “Superfish” Menu: Newbie needs h elp...

2009-04-24 Thread cfDEV
Hello all. I've used several jQuery scripts with success, but I haven't ever coded with it. Anyway, I have implemented an old Suckerfish menu that was pulled an tweaked from another site. See link below. I really like the way it looks and would like to make a jQuery version of this menu to work th

[jQuery] Re: jquery validation using thickbox

2009-04-24 Thread Phill Pafford
Did you ever find a solution? I'm facing the same problem. Thanks, --Phill bookme wrote: > > > Hi, > > Sorry to bother you but I am not able to solve this problem so posting > in forum > > I am using two jquery plugin > 1 Thickbox > 2 Jquery validation > > Without thickbox validation is

[jQuery] Re: integrating galleria and scrollto

2009-04-24 Thread allroad02
I have this functioning much better now mostly thanks to Jesse Pinho who sent me his script of basically the same. A few mods and it worked horizontally as I needed. Seems to work well in FF. It functions in IE 7.0.x but always displays (xx items remaing) in the status bar and appears to be loa

[jQuery] Re: creating an animated PNG loader pinwheel (sprite)

2009-04-24 Thread Adam
Excellent! Thanks mkmanning! On Apr 24, 11:49 am, mkmanning wrote: > Here's quick plugin for you: > > http://actingthemaggot.com/test/jquery_example/animbg.html > > On Apr 24, 7:47 am, Adam wrote: > > > > > Thanks everyone, but none of these use jquery- the mootools version is > > exactly what

[jQuery] Re: Jquery 1.3 - Not all selectors work in IE 8?

2009-04-24 Thread John Resig
Interesting. Do you think you could file a bug on this and then post it to the jQuery-dev list? Thanks! http://dev.jquery.com/newticket http://groups.google.com/group/jquery-dev --John On Thu, Apr 23, 2009 at 5:11 PM, giovanni wrote: > > I found that certain selectors work in all browsers exc

[jQuery] Open browse UI on clicking a button

2009-04-24 Thread Dexter's Brain
Hi, I have a form to upload a photo/file. I have the following html code snippet. The problem is that I don't want to show the default "Browse" button with the input type="file". So, I have made the first input invisible, and instead, I am showing a text field and an image button. I want to

[jQuery] Re: creating an animated PNG loader pinwheel (sprite)

2009-04-24 Thread mkmanning
Here's quick plugin for you: http://actingthemaggot.com/test/jquery_example/animbg.html On Apr 24, 7:47 am, Adam wrote: > Thanks everyone, but none of these use jquery- the mootools version is > exactly what I am looking to do. Anyone interested in helping me port > that to JQ? I have posted o

[jQuery] Re: very stupid question

2009-04-24 Thread MorningZ
you could name if "foo.js" for all you want, as long as the file name matches what is on the disk.. On Apr 24, 11:28 am, ryanfred wrote: > I'm brand new to jQuery... > just getting started, not really a programmer/developer more a > designer. > > when i download my copy of jQuery, the file

[jQuery] very stupid question

2009-04-24 Thread ryanfred
I'm brand new to jQuery... just getting started, not really a programmer/developer more a designer. when i download my copy of jQuery, the file is named: jquery-1.3.2.js or something like this... all the tutorials reference a file: jQuery.js do I simply rename the file I've downloaded as jquery

[jQuery] Help : sort name in an where the li's a created from drag and drop.

2009-04-24 Thread hollow
Hi as the title says i'm looking to order a list taht is created by drag and drop. the structure is a normal unordered list C item E item D item F item F item A item Can someone help me with that please. Have looked at sort , sortable , etc... But no real explanation found. Regards

[jQuery] Re: "Please Wait While Processing" help

2009-04-24 Thread Dexter's Brain
If you are using Ajax, then this can be a simple solution Just before making the ajax call, show an animated picture, or a blinking text saying "Please wait". When you get the response from the server, in the success method, remove this pic/text and display a success message. Dexter... On

[jQuery] flexigrid and coldfusion

2009-04-24 Thread garrettjohnson
If anyone has used flexigrid and coldfusion before I would really appreciate your insight! I have my flexigrid set up... $(document).ready(function(){ $("#flex1").flexigrid({ url: "../com/nyumba/test/Test.cfc? method=getTestData&returnFormat=json",

[jQuery] Re: performance of jQuery.each

2009-04-24 Thread Matt Kruse
On Apr 24, 3:24 am, "Magnus O." wrote: > I saw that the jQuery.each function iterates over the array like this: > for ( name in object){} Only for objects which lack the 'length' property. That's why the code exists below this comment: // A special, fast, case for the most common use of each

[jQuery] Re: Lightbox with thumbnails

2009-04-24 Thread Rick Faircloth
Hi, Dayjo... Yes, prettyPhoto is nice and simple, but the conversation started with needing to find a plug-in which offered thumbnail images below the main imageas a slideshow or as click-able thumbnails for manual navigation. Thanks for the link! Rick On Fri, Apr 24, 2009 at 11:50 AM, Dayj

[jQuery] Re: basic image gallery, running into a few problems

2009-04-24 Thread Daniel
A simple solution would be: function forwardClick() { var i = $('#images .visible').attr('id'); var currentImg = $('#images .foo:eq(' + i + ')'); var nextImg = $('#images .foo:eq(' + j + ')'); var curr

[jQuery] Re: Lightbox with thumbnails

2009-04-24 Thread Dayjo
If you're looking for something simple I would suggestion prettyPhoto by Stephane Caron; http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/ On Apr 23, 3:25 pm, Laker Netman wrote: > Hi. > > I am looking for a version of lightbox that would allow the user to > click

[jQuery] [Star Rating Plugin] How to change the star rating display WITHOUT firing off the click callback?

2009-04-24 Thread kevin
Hello, I am using the Star Rating Plugin from http://www.fyneworks.com/jquery http://jquery-star-rating-plugin.googlecode.com/svn/trunk/index.html What I am trying to do is when a star rating is initially requested, an ajax submit is fired off to update the database on the server side. However

[jQuery] Re: Animating height but closing any already open (like an accordion)

2009-04-24 Thread Remon Oldenbeuving
Maybe you can use the toggleClass() function? You could give them all a class from the beginning (e.g. closed), and in the animate function you can toggle this class. and use the class $('.closet').animate({height:'toggle',opacity:'toggle'}, 'fast'); You can also use this in combination with the c

[jQuery] What's the best way to pass parameters through jQuery's ajax?

2009-04-24 Thread Thierry
Right now, I'm using jQuery's ajax like the following: function hello_world(param1, param2, param3, param4) { $.ajax( { type: 'POST', url: 'foo.php', dataType: 'html', data: 'param1=' + param1 + '¶m2=' + param2 + '¶m3=' + param3 + '¶m4=' + param4,

[jQuery] Re: performance of jQuery.each

2009-04-24 Thread Daniel
Well, you have to keep in mind that not all arrays will be as "structured" as yours. with an array like [1=>4,5=>3,"foo"=>4], your iteration won't work. In fact, yours will only work for arrays with sequential numeric keys. If that is the array that you have, a for loop might be the best way to go

[jQuery] Re: SuperFish Arrows

2009-04-24 Thread Brad Hile
it's set in the css file at the bottom. Just change the file name and dimensions to suit On Apr 24, 12:09 am, Praveen wrote: > How is the arrows displayed in the superfish menus? If I would like to > change to an image of my choice, how do I go about? > > Regards, > Praveen

[jQuery] Re: jQuery Recursion/Iteration through JSON variable.

2009-04-24 Thread Remon Oldenbeuving
It is only returning the information of the last entry because you overwrite 'teste' two times. When I change the setting to: var collectionElements = { teste1: { var1: 'teste[]', var2: 'brincadeira-2', var3 : 'Elemento 2' }, teste2:

[jQuery] Re: serialScroll option : start --> no effect

2009-04-24 Thread Ariel Flesler
Your 'items' selector ('li') is not JUST matching the panes, but other LIs as well. The plugin is indeed scrolling to the forth LI within the container. Cheers On Fri, Apr 24, 2009 at 2:37 PM, Niels wrote: > > Sorry for my late response. > > here is the demo: > > If you click on: > http://www.e

[jQuery] Re: Animating height but closing any already open (like an accordion)

2009-04-24 Thread Musixz Man
Thanks Remon. But since I'm using a toggle, wouldnt I still have to know the current state before I assigned it the "opened" class? You could just add classes for open divs? On Fri, Apr 24, 2009 at 4:59 PM, Musixz Man wrote: Hi all! I have anywhere from 3 - 8 DIVs on a page that I

[jQuery] basic image gallery, running into a few problems

2009-04-24 Thread roryreiff
Hello there, I have created a simply navigable image gallery with a bit of json, as well as .animate() and altering the margin of elements. Currently, I am pulling in the 5 most recent images with a tag of 'spock' from flickr. It seems to be working fine, except that when clicking through very fa

[jQuery] Re: serialScroll option : start --> no effect

2009-04-24 Thread Niels
Sorry for my late response. here is the demo: If you click on: http://www.egoactive.com/transfer/jquery-demo/#technical/django It shouls scroll to item # 3... As we defined in de serialScroll methode (interfase.js): start: 3 Thanks in advance On Apr 14, 1:16 am, Ariel Flesler wrote: > Can

[jQuery] Re: Get background-image url ?

2009-04-24 Thread Daniel
$$.css('background-image').replace(/^url|[\(\)]/g, ''); should do the trick. On Apr 24, 6:34 am, Mech7 wrote: > What is the best way to get the background image url in css? > i have found this in crossfade plugin but does not work in opera.. > > var target = $$.css('backgroundImage').replace(/^

[jQuery] Re: "Please Wait While Processing" help

2009-04-24 Thread Remon Oldenbeuving
If youre using ajax you should look at the "Ajax-events" section here: http://docs.jquery.com/Ajax You can easily bind a function to an ajax-event. This way you will be able to freeze the screen, or disable all buttons. On Fri, Apr 24, 2009 at 5:02 PM, Shadraq wrote: > > I've designed a payment

[jQuery] Re: Cycle Plugin - Can't Get Pause To Work

2009-04-24 Thread Nic Hubbard
Anyone? On Apr 23, 9:44 pm, Nic Hubbard wrote: > Shawn, > > Yes, I have pause on hover set, and this is correctly working.  It is > when the overlay comes up, and it is suppose to pause the current > image, which, my code seems to be correct to do so $ > ('#artistCycleParent').cycle('pause'); bu

[jQuery] Re: animate color over time using Timers plugin

2009-04-24 Thread Remon Oldenbeuving
Is there a reason why you dont just use setInterval()? When you do it that way, you are able to make a function for the countdown, and in the function set some nice effects as time passes on. (like fading it from green to blue to red, or something like that). On Fri, Apr 24, 2009 at 4:56 PM, kgoss

[jQuery] Re: $.getScript Must Take .js File?

2009-04-24 Thread nlloyds
On Mar 26, 1:11 am, Code Daemon wrote: > I am using codeigniter and it forms urls like this: > > http://mydomain/index.php/system/edit_js > > I'm trying to call $.getScript by going: > > $.getScript( ") but I get a > 404 not found error. I pasted the url in my webbrowser and it works > just fine.

[jQuery] Re: Animating height but closing any already open (like an accordion)

2009-04-24 Thread Remon Oldenbeuving
You could just add classes for open divs? On Fri, Apr 24, 2009 at 4:59 PM, Musixz Man wrote: > Hi all! > > I have anywhere from 3 - 8 DIVs on a page that I open/close (animate height > toggle) via a button and want to close any (one) that are already open when > another is opened - just like an

[jQuery] Re: Table sorter.

2009-04-24 Thread Remon Oldenbeuving
Is this what your looking for? http://tablesorter.com/docs/example-meta-headers.html On Fri, Apr 24, 2009 at 5:10 PM, Mazi wrote: > > Hallo all. > I'm using this plugin and I consider it fantastic. > > I need in a table to ignore some rows from ordering. > Is it possibile to accomplish a task li

[jQuery] Re: Delayed execution

2009-04-24 Thread Remon Oldenbeuving
The following will do the trick i guess: var timeout; $('#search').keyup(function(){ clearTimeout(timeout); timeout = setTimeout($.ajax(),200); } On Fri, Apr 24, 2009 at 2:46 PM, Dragon-Fly999 wrote: > > Hi, my page allows the user to enter a number in a text box and a > search request i

[jQuery] jQuery Recursion/Iteration through JSON variable.

2009-04-24 Thread Bruno Gama
Hi I would like to know if there is a simple way to show all elements of that variable? var collectionElements = { teste: { var1: 'teste[]', var2: 'brincadeira-2', var3 :

[jQuery] "Please Wait While Processing" help

2009-04-24 Thread Shadraq
I've designed a payment system that, generally gets a response quickly. However, if there is any delay at all, customers will click "Pay" again, thinking that they didn't hit it. This, of course, will cause duplicate transactions. I'm looking for some sort of "Please wait while we process your re

[jQuery] Re: traversing UL: Request for help

2009-04-24 Thread paulinstl
thanks @mkmanning... it works perfectly. On Apr 24, 12:35 am, mkmanning wrote: > From the sample markup with the highlight classes, it looks like the > OP wants to highlight anchors in the LI tags that are in direct line > to the final anchor. In that case, just adding the class to all the > anc

[jQuery] Re: Table sorter.

2009-04-24 Thread Mazi
Hallo all. I'm using this plugin and I consider it fantastic. I need in a table to ignore some rows from ordering. Is it possibile to accomplish a task like this? Kind regards Massimo On Apr 21, 1:26 pm, MorningZ wrote: > Why not base your use/non-use of a plugin based on features and > applic

[jQuery] Animating height but closing any already open (like an accordion)

2009-04-24 Thread Musixz Man
Hi all! I have anywhere from 3 - 8 DIVs on a page that I open/close (animate height toggle) via a button and want to close any (one) that are already open when another is opened - just like an accordion. How do I either determine the current open state of a DIV so I know which to close, or m

[jQuery] animate color over time using Timers plugin

2009-04-24 Thread kgosser
Hey all, I'm using the Timers plugin to do a count down timer. I like it a lot. I would like to enhance my UI by having the numbering being counted down transition from black to red as it gets closer to 0. The jQuery UI demo for animate seems to be what I need, but what I'm having trouble figur

[jQuery] Re: creating an animated PNG loader pinwheel (sprite)

2009-04-24 Thread Adam
Thanks everyone, but none of these use jquery- the mootools version is exactly what I am looking to do. Anyone interested in helping me port that to JQ? I have posted on devthought as well. Thanks! On Apr 23, 4:03 pm, Ricardo wrote: > Seems it has already been done, and more than > once:http://

[jQuery] Re: finding mouse position within a div with a scrollbar

2009-04-24 Thread Charlie Park
Marv - I could be mistaken here, but I think your solution's really good so long as the entire sub-element (the DIV or image or whatever) is visible. But if there's a scrollbar on that element, I think your code will only tell you where you clicked in terms of the position on the page (relative t

[jQuery] Re: Changing the arrow color : Superfish

2009-04-24 Thread Charlie
arrows are image files, modify the image in css images folder Praveen wrote: How to change the arrow color(right and down arrows) in the superfish menu? -Praveen

[jQuery] Re: AJAX Response causing character display problems with chars like

2009-04-24 Thread Michael Lawson
I mean, convert it in your java application to an entity, that way when it hits your javascript its a plain ASCII character representation of the special character. When the rendering engine picks it up, it'll display as the special character. cheers Michael Lawson Content Tools Developer, Glob

[jQuery] Re: AJAX Response causing character display problems with chars like

2009-04-24 Thread rmeder
when displaying as html content it works fine soon as you pass this text through js the problem occurs by converting the é character as a ?. Any thoughts On Apr 24, 2:59 pm, Michael Lawson wrote: > You could always try converting it to an html entity in your application, > then you don't hav

[jQuery] Re: traversing UL: Request for help

2009-04-24 Thread paulinstl
This looks promising. I'll give it a shot and report back. On Apr 24, 12:35 am, mkmanning wrote: > From the sample markup with the highlight classes, it looks like the > OP wants to highlight anchors in the LI tags that are in direct line > to the final anchor. In that case, just adding the cla

[jQuery] Re: File uploads, Form plugin and XMLHttpRequest?

2009-04-24 Thread Donny Kurnia
oi_antz wrote: > I'm trying to ajaxify my application, which requires submitting forms > via $.post or $(form).ajaxSubmit. Problem I'm having with $.post is > that file fields don't work. So I use $(form).ajaxSubmit and my > response text is something like this: > > { > '_JS':'/* javascript c

[jQuery] Re: Delayed execution

2009-04-24 Thread temega
something along the lines of this: var interval; $("#searchField").keyup(function(){ clearInterval(interval); interval = setInterval($.post(), '200'); }); On Apr 24, 1:46 pm, Dragon-Fly999 wrote: > Hi, my page allows the user to enter a number in a text box and a > search reque

[jQuery] Re: AJAX Response causing character display problems with chars like

2009-04-24 Thread Michael Lawson
You could always try converting it to an html entity in your application, then you don't have to worry about character sets. cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-828-355-5544 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold a

[jQuery] File uploads, Form plugin and XMLHttpReques t‏

2009-04-24 Thread oi_antz
I'm trying to ajaxify my application, which requires submitting forms via $.post or $(form).ajaxSubmit. Problem I'm having with $.post is that file fields don't work. So I use $(form).ajaxSubmit and my response text is something like this: { '_JS':'/* javascript code to evaluate, contains esc

[jQuery] AJAX Response causing character display problems with chars like

2009-04-24 Thread rmeder
Hi Guys, When passing a é character as part of an an ajax responset and printing the text to the screen from js, the value display as a ?. I tried converting the piece of text to utf8 and then it displays correctly on a windows server however on Linux server the vallues still displays as a ?. I

[jQuery] Re: Autocomplete Question

2009-04-24 Thread Tom Worster
On 4/23/09 10:27 PM, "pjecty" wrote: > Is there's a way to link each seach result value in the localdata.js > to another page so that when i search for something and click it, it > goes to another page? could you write such redirection into a .result() handler? http://docs.jquery.com/Plugins/A

[jQuery] Delayed execution

2009-04-24 Thread Dragon-Fly999
Hi, my page allows the user to enter a number in a text box and a search request is sent to the server (if the user stops typing for 200 ms) using AJAX. The following is the desired behavior. (1) User starts typing a number in the text box. As the user is typing, no search requests are sent to

[jQuery] Re: Cluetip override Error to stop showing cluetip

2009-04-24 Thread Karl Swedberg
Wonderful, Marv! Thanks for that note. I'm glad it's working for you. My next step, before I start on a complete rewrite, is to update the documentation with the added/improved features. Cheers, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 24, 200

[jQuery] Re: validation plug in flicker

2009-04-24 Thread Jörn Zaefferer
Could you provide a testpage? Haven't seen that yet... Jörn On Fri, Apr 24, 2009 at 4:45 AM, Rabbott wrote: > > I am using the jquery validation plugin, i am wanting to place all the > errors in one div at the top of the form - which works. The problem is > that the first time I submit the form

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-24 Thread Zeeshan Khan
so what shud i do to solve my prblm? Regards; Zeeshan Ahmed Khan On Fri, Apr 24, 2009 at 3:58 PM, MorningZ wrote: > > "I debugged the code & find htat its crashing at this line : > *head.insertBefore( script, head.firstChild );* " > > IE doesn't understand that you are dealing with a DOM node,

[jQuery] Autoreload in thickbox

2009-04-24 Thread anikutta
I have the page which is displayed in thickbox js, Once the values are entered it should automatically update in the parent window without refreshing the page. I tried with this line of code parent.top.tb_remove() parent.location.reload(1) But this is refreshing. I dont the page to get refresh

[jQuery] autocomplete

2009-04-24 Thread gianluca.corre...@gmail.com
Hi, I'm trying to use jQuery and the autocomplete plugin for the first time in a web application, so maybe I've made a gross mistake in using it. I tried to start with a plain copy and paste of the example provided implementing my own service for retrieving the data. The behavior I'm having, t

[jQuery] autocomplete stop providing entries when typing

2009-04-24 Thread gianluca.corre...@gmail.com
Hi, I'm trying to use jQuery and the autocomplete plugin for the first time in a web application, so maybe I've made a gross mistake in using it. I tried to start with a plain copy and paste of the example provided implementing my own service for retrieving the data. The behavior I'm having, t

[jQuery] Re: Jcarousel - Can I make a jcarousel completely reset and reload!

2009-04-24 Thread TomDB
I'm also trying to have access to the jcarousel object. there are a couple of methods accessbile via a callback function, but since I'd like to call them from an other objects callback function - I'd need them to be accessble directly. Unless somebody has an other solution? On Feb 28, 2:01 am, Al

[jQuery] Re: jeditable addition of checkboxes, doubleclick to select.

2009-04-24 Thread Wellington
A used your sugestion by Han to solve my problem, but because of problem of "undefined" don't works for me, then I tried done by other way as not add one item at result list. I create a function "noSelection". I used the 3 firsts steps that they used. the 4th step I rewrote as if(!config.mouseD

[jQuery] performance of jQuery.each

2009-04-24 Thread Magnus O.
Hi! I saw that the jQuery.each function iterates over the array like this: for ( name in object){} >From what I read this is one of the slowest ways of iterating over an array in js. I made a very simple test like: var array = [];

[jQuery] SuperFish Arrows

2009-04-24 Thread Praveen
How is the arrows displayed in the superfish menus? If I would like to change to an image of my choice, how do I go about? Regards, Praveen

[jQuery] validation plug in flicker

2009-04-24 Thread Rabbott
I am using the jquery validation plugin, i am wanting to place all the errors in one div at the top of the form - which works. The problem is that the first time I submit the form (in FF for MAC) the classes that get assigned to the form elements get added, and removed real quickly. (I have a bg c

[jQuery] Re: Some pseudo help if you'd be so kind?

2009-04-24 Thread MOZ
How about this? Code: http://beski.wordpress.com/2009/04/24/show-more-comments-ajax-jquery-php-mysql/ Demo: http://mix26.com/demo/show_more/index.php -Beschi On Apr 22, 7:18 pm, ldexterldesign wrote: > Hey guys, > > I have 10 separate posts displayed on a page. I want to hide 7 (of the > olde

[jQuery] Autocomplete Question

2009-04-24 Thread pjecty
Is there's a way to link each seach result value in the localdata.js to another page so that when i search for something and click it, it goes to another page? Thanks

[jQuery] Superfish - permanently display drop-down

2009-04-24 Thread Alex
the superfish dropdown menu is almost perfect for some work i'm doing. however, on some pages i need the dropdown content from the relevant menu item to be on display. i'm competent enough to simply change the hover state in css for a javascript disabled menu to work, but would appreciate some hel

[jQuery] Get first child within an element

2009-04-24 Thread dgb
Hi, I've got a reference to a TableCell and I'd like to use jQuery to get the first instance of an tag within that TableCell, but can't get the syntax right, I understand how it would work if I were to reference the TableCell by and ID or class, but not when I have a direct reference to the cell

[jQuery] Changing the arrow color : Superfish

2009-04-24 Thread Praveen
How to change the arrow color(right and down arrows) in the superfish menu? -Praveen

[jQuery] Re: Background flash white briefly

2009-04-24 Thread advert_red
Try adding wmode: 'transparent' to .flash(); as in $('#hello').flash({ src: 'hello.swf', height:199, width:240, wmode: 'transparent', });

[jQuery] Re: 2 Superfish menus on one page (1 verticle, 1 horizontal)

2009-04-24 Thread kemie
can you post a link/example? hard to guess otherwise.

  1   2   >