[jQuery] Re: Performance penalty for creating dom element from a string?

2009-01-15 Thread michael.hasenst...@googlemail.com
You confuse the text representation of the DOM tree with HTML source code. Single tags in XHTML must have the '/'. However, if you insert a tag using Javascript you are not writing XHTML!!! So what you see e.g. in Firebug is NOT XHTML source code, it is a CUSTOM (arbitrary) representation of the

[jQuery] Re: append changes width of select boxes in ie7

2009-01-15 Thread david
I see that i am not the only person who had this problem This post was sent two months ago with two additional persons who had the problem. http://groups.google.com/group/jquery-en/browse_thread/thread/92a792d07dab48a5/f2864e63fc595e25?lnk=gstq=append++select#f2864e63fc595e25 Can someone please

[jQuery] Re: append changes width of select boxes in ie7

2009-01-15 Thread david
I see it is a problem in ie7: It is a regression in it. http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/400656b5-6b3b-4a60-8265-1d82aad0cbcb/ Even then, is it possible to make something that append should work cross browser ? On Jan 15, 10:44 am, david

[jQuery] Re: append changes width of select boxes in ie7

2009-01-15 Thread emmj...@gmail.com
Do you have an example of what it's doing so we can get a better idea of what you mean? On Jan 15, 2:48 am, david michaelg...@gmail.com wrote: I see it is a problem in ie7: It is a regression in it.http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread... Even then, is it

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread jQuery Lover
Well, it says jQuery is undefined. Have you put your jquery.js file before colorpicker.js ? Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 15, 2009 at 2:27 PM, Sagar Arya sagararya...@gmail.com wrote: Hello, It doesn't seem to work even after

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Sagar Arya
Hello, Yes I included the jQuery file before the colorpicker.js file. And it works fine in Mozilla and chrome.. but it doesn't turn up in IE. Cheers ! Sagar On Thu, Jan 15, 2009 at 3:03 PM, jQuery Lover ilovejqu...@gmail.com wrote: Well, it says jQuery is undefined. Have you put your

[jQuery] Re: append changes width of select boxes in ie7

2009-01-15 Thread david
Hi Thanks, Here is a mockup. It is not nice. I just wanted to show you the problem html head style type=text/css select {width:30%; float:left} .select {width:500px; float:left} fieldset input { clear:left;

[jQuery] Re: $(area) not working in IE (sorry if this is a repost)

2009-01-15 Thread jQuery Lover
Did you solve the problem? My FF and IE show the same border and act the same way (except FF has fade in/out effect). I'm using IE7. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 15, 2009 at 10:44 AM, Chrisw chris.p.wel...@gmail.com wrote: Let me try to

[jQuery] Re: Covering multiple elements with a single function, but passing a variable?

2009-01-15 Thread Beres Botond
This really depends on the exact html structure you have. Ideally I would put the 'ul' and it's related 'a' within the same div. But if you have it exactly like in the example above, this will work: $('a.additem').click(function() { var list_id = $(this).prev('ul').eq(0).attr('id')

[jQuery] Re: getJSON - how to retrieve plain text?

2009-01-15 Thread jQuery Lover
Documentation quote: As of jQuery 1.2, you can load JSON data located on another domain if you specify a JSONP callback, which can be done like so: myurl?callback=?. jQuery automatically replaces the ? with the correct method name to call, calling your specified callback. About JSONP:

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread jQuery Lover
Is it possible to have your page published somewhere? Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Jan 15, 2009 at 2:44 PM, Sagar Arya sagararya...@gmail.com wrote: Hello, Yes I included the jQuery file before the colorpicker.js file. And it works

[jQuery] Re: .append() into style element causes error in IE only

2009-01-15 Thread Ant
Hi, Yea, I went for adding a new style element for every new style, which works, but isn't as neat as I was hoping for. I was trying to append a string into the style element: HTML style type=text/css body{color:#333;} /style JS $(style).append(#content{color:#f00;}); In Firefox, this adds

[jQuery] Imade fade loop on mouseenter

2009-01-15 Thread evo
Hi Guys, I'm having some trouble looping through images by fading one into the next. This is the jQuery $(ul.list li a).bind(mouseenter, function () { var a; var max_img = $(this).children().size(); for(a=0;a=max_img;a++) {

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Sagar Arya
Hello,I am very sorry.. I am not supposed to publish the code.. Cheers ! Sagar On Thu, Jan 15, 2009 at 3:28 PM, jQuery Lover ilovejqu...@gmail.com wrote: Is it possible to have your page published somewhere? Read jQuery HowTo Resource - http://jquery-howto.blogspot.com

[jQuery] Re: How best to create Google Calendar functionality in Jquery?

2009-01-15 Thread Richard D. Worth
You may also want to check out the jQuery UI selectable plugin. With it you could have a grid of DIVs or a table and with the mouse you can drag a lasso around cells to select and it will highlight them. See here for some demos: http://ui.jquery.com/demos/selectable - Richard On Fri, Jan 9,

[jQuery] Re: sortable jQuery 1.3 don't work well

2009-01-15 Thread Richard D. Worth
jQuery UI 1.6rc4 is not compatible with jQuery 1.3. You can either grab the svn trunk http://docs.jquery.com/UI/Subversion or wait until tomorrow as 1.6rc5 (which will be compatible with 1.3) is coming today. - Richard On Wed, Jan 14, 2009 at 7:27 PM, Alexsandro_xpt bagul...@gmail.com wrote:

[jQuery] Re: Form plugin and ui-dialog issue (never submits)

2009-01-15 Thread Richard D. Worth
Your issue may be related to the fact the when you call .dialog(), it moves the element it wraps (the dialog content) to the end of the body (no other way to get it to be on top in IE). This trips up some people because they'll turn a part of a form (say a fieldset or a div inside a form) into a

[jQuery] new fisheye menu ?

2009-01-15 Thread fabrice.regnier
hi to all, I'm looking for a fisheye menu that would be integrated in jquery (ui ?). I already know fisheye from Interface. It seems this menu doesn't exist yet. May be someone can tell us more ? regards, f.

[jQuery] Re: Issue upgrading to 1.3

2009-01-15 Thread Richard D. Worth
Those aren't nested ids. The comma separates it into two (effectively) separate queries ul#loginSection li#emilyLogin:not(.loggedIn) ul#loginSection li#joeLogin:not(.loggedIn) and should join the results. - Richard On Wed, Jan 14, 2009 at 11:42 PM, James Van Dyke jame...@gmail.com wrote:

[jQuery] Re: jQuery Tabs

2009-01-15 Thread Richard D. Worth
jQuery UI 1.6rc4 is not compatible with jQuery 1.3. You can either grab the svn trunk http://docs.jquery.com/UI/Subversion or wait until tomorrow as 1.6rc5 (which will be compatible with 1.3) is coming today. - Richard On Wed, Jan 14, 2009 at 11:30 AM, Eric Garside gars...@gmail.com wrote:

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Sagar Arya
Hello, This completely works fine.. How ever it was a v v v v vv simple mistake when i include the .js files... there shouldn't be any spaces between the double() codes.. Eg: style=javascript src== Illegal In IE. ( Really Sucks ! ) style=javascript src= = Legal in FF (

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Sagar Arya
Oops.. tat was a mistake.. double quotes i must notice that... :) Those 3 examples are exactly the same? : Nope... notice that there's a small space after the ending double quote.. ( got it ? ) :) tat's where IE sucks ! Cheers ! Aryan On Thu, Jan 15, 2009 at 5:05 PM, Liam Potter

[jQuery] Alternative stylesheet for jQuery.com

2009-01-15 Thread Mark Gibson
Any chance of getting an alternative stylesheet added to jquery.com? I've got a small 1024x600 display, and the heading of jquery.com, nice as it is, takes up a lot of space. I'd just like to suggest adding the following as an alternative (using link rel=alternate stylesheet ...) for folk with

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Liam Potter
I see it now, and I also noticed you put it in style tags, you should use script tags script type=text/javascript src= /script That's how you would include a script. Sagar Arya wrote: Oops.. tat was a mistake.. double quotes i must notice that... :) Those 3 examples are exactly the same?

[jQuery] Re: Alternative stylesheet for jQuery.com

2009-01-15 Thread Liam Potter
you should give stylish a try to do client side CSS changes rather then greasemonkey. https://addons.mozilla.org/en-US/firefox/addon/2108 Mark Gibson wrote: Any chance of getting an alternative stylesheet added to jquery.com? I've got a small 1024x600 display, and the heading of jquery.com,

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Liam Potter
Those 3 examples are exactly the same? Also, they are double quotes, not doube codes. Sagar Arya wrote: Hello, This completely works fine.. How ever it was a v v v v vv simple mistake when i include the .js files... there shouldn't be any spaces between the double() codes..

[jQuery] propagation in 1.3

2009-01-15 Thread Javier Martinez
First of all, thanks to all jQuery members for the new release! is a great gift! With this release, one of the main features is the new event propagation logic. As I can understand, it seems that, for example, if I have a div(inside) inside other div(outside) and I attach a click event to the

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Sagar Arya
Geees.. script type=text/javascript src= /script Cheers ! Aryan On Thu, Jan 15, 2009 at 5:19 PM, Liam Potter radioactiv...@gmail.comwrote: I see it now, and I also noticed you put it in style tags, you should use script tags script type=text/javascript src= /script That's how you would

[jQuery] Re: To check if an element value is of a particular class type

2009-01-15 Thread Santo
thanks Ricardo for the genuine help On Jan 13, 8:16 pm, Ricardo Tomasi ricardob...@gmail.com wrote: $('.emailSuffix').click(function(){ var field = $('#element'); if(field.val() == 'something'){ //ok } else { //not ok } }); On Jan 13, 7:39 am, Santo

[jQuery] Re: sortable jQuery 1.3 don't work well

2009-01-15 Thread Alexsandro_xpt
Thanks Richard Worth, I will wating for. Thz.. On 15 jan, 08:30, Richard D. Worth rdwo...@gmail.com wrote: jQuery UI 1.6rc4 is not compatible with jQuery 1.3. You can either grab the svn trunk http://docs.jquery.com/UI/Subversion or wait until tomorrow as 1.6rc5 (which will be compatible

[jQuery] Re: To check if an element value is of a particular class type

2009-01-15 Thread Santo
thanks a lot MorningZ... will check and get back to you... On Jan 13, 9:05 pm, MorningZ morni...@gmail.com wrote: Your problem isn't very clear but regardless, there is a .hasClass function http://docs.jquery.com/Attributes/hasClass#class so $(#element_id).hasClass(emailSuffix)

[jQuery] Re: blockUI - Bug overlapping fixed elements

2009-01-15 Thread Beaver6813
Hey, Yea I can, its my private test site so its all still really unstable but it shows the bug: http://www.new.fetchmp3.com/dev/search.php?q=Fall+Out+Boy user: admin pass: google123 Once its loaded change to the myspace tab and you will see that the overlay overlaps the bar at the bottom... is

[jQuery] Re: Imade fade loop on mouseenter

2009-01-15 Thread Liam Potter
Ok, so now I know it's just the loop isn't waiting for the fadeIn animation to complete before moving on. I'm trying to use a setTimeout, but I can't put this into a function because when I do $(this) no longer relates to what I need it to. I tried changing it to this function doThis() {

[jQuery] Re: Imade fade loop on mouseenter

2009-01-15 Thread Liam Potter
I've just taken another look and it is actually fading the rest of the images, all at the same time. It seems to me the loop is running, but doesn't wait for the first image to finish fading, would using setTimeout doing anything? evo wrote: Hi Guys, I'm having some trouble looping through

[jQuery] Re: Jeditable submitting to function question

2009-01-15 Thread Mika Tuupola
On Jan 13, 2009, at 9:56 AM, Rhys M wrote: just continues on. I can't seem to figure out a way to get the function to wait for the Ajax function to return and then in the callback somehow pass the value to the original function that Jeditable is expecting the return value from. Take the

[jQuery] datepicker is not a function

2009-01-15 Thread divsystem
$('.Datepicker1').datepicker({beforeShow: customRange, rangeSelect: true, numberOfMonths: 2}); function customRange(input) { return { minDate: (input.id == startDatepicker ? $ (#endDatepicker).datepick(getDate) : null), maxDate: (input.id ==

[jQuery] tablesorter

2009-01-15 Thread dyutiman
Hi, If my table contains near about 1 rows, because of tablesorter plugging the page is getting hanged in Firefox2. I didn't check in other browser as it must be fixed in FF first. And I have no idea how to debug or solve the problem. Anybody faced the problem before?

[jQuery] Show element inside this

2009-01-15 Thread eXistent
Hi, is there some easy way to make something like this: $(document).ready(function() { $(.track).mouseover(function(){ $(.track .label).show(1000); }); }); but only for each child element separately? I mean something like this: $(document).ready(function() {

[jQuery] namespacing events

2009-01-15 Thread Stephan
Hi, I have problems with namespacing my events. When I use something like my.event everything works fine, but if I have my.event.a and my.event.b, both events are bound to my.event. Is this a bug or a special feature? my test code: JavaScript: var trigger = 0; var clicked =

[jQuery] Re: jQuery 1.3 Released

2009-01-15 Thread ryan.joyce...@googlemail.com
nice one, a 30% speed increase on selectors is impressive.

[jQuery] quick note about cross domain getScript function

2009-01-15 Thread Lars Rune Nøstdal
Hi, A note about 1.3; I still need to do this http://groups.google.com/group/jquery-en/msg/996ace3956f70102 to get $.getScript or $.ajax to call the `complete' callback when `dataType' is script and I'm doing cross-domain requests. (i cba. registering at a bug-tracker)

[jQuery] Wordpress using jQuery problem

2009-01-15 Thread Rakan
Hello, i noticed on IE6 that some widgets disappear when clicking the edit link of some widgets like the RSS and Text widgets. Now, i am not seeking support for wordpress it's self but after i traced the code: var addWidgetControls = function( context ) { if ( !context )

[jQuery] How get data objects from a php file called via ajax

2009-01-15 Thread Mikael
I am new to javascript and jQuery programming so my problem might be very simple to explain but please bare with me. I want to make a selection in a list created by a php-file that is called from another php-file using jQuery and ajax but it fails. My example is very limited but shows the main

[jQuery] Re: [ TR.click not work in Firefox]

2009-01-15 Thread Chandan Luthra
Try this : function inicializarEventos() { var x; x=$(tr); x.click(presionFila); } function presionFila() { var x; x=$(this); x.css(background-color,ee); } var x; x=$(document); x.ready(inicializarEventos); With Regards, Chandan Luthra Intelligrape Software Pvt. Ltd.

[jQuery] Re: tablesorter

2009-01-15 Thread Michael Smith
I think for tables this big you probably need to do the sorting server side instead of client side. So personally, I'd have the sorting re-request the page with a parameter of say orderby=name and then present the page accordingly. On Thu, Jan 15, 2009 at 1:20 PM, dyutiman

[jQuery] Re: Show element inside this

2009-01-15 Thread Mauricio (Maujor) Samy Silva
I'm not sure what are you trying to do but try: $(this).children(.label).show(1000); Maurício -Mensagem Original- De: eXistent pirkl.lu...@gmail.com Para: jQuery (English) jquery-en@googlegroups.com Enviada em: quinta-feira, 15 de janeiro de 2009 07:58 Assunto: [jQuery] Show

[jQuery] Re: propagation in 1.3

2009-01-15 Thread Ariel Flesler
The propagation was only added to fake events, that is, those generated by calling $(...).trigger(); Real events were already bubbling (propagating) natively. We only normalized event bubbling for all events, by adding it to our fake events. You can always stop the propagation by calling

[jQuery] Re: Safely Extend Native Objects

2009-01-15 Thread Eric Garside
Basically, because of the Object type. Extension of native objects is done in javascript through the prototype method. This adds functionality to each native object, allowing you to do things like: .trim() The problem arises with the Object native. This encompasses a large portion of the

[jQuery] Re: tablesorter

2009-01-15 Thread MorningZ
It's 100% unrealistic to expect to run something like TableSorter on the client side for 10,000 rows of data what user is really going to see/use that much data at once? look into paging the data and make the UI more usable On Jan 15, 8:20 am, dyutiman dyutiman.chaudh...@gmail.com wrote:

[jQuery] Re: Alternative stylesheet for jQuery.com

2009-01-15 Thread Mark Gibson
Ah, fantastic, works much better than Greasemonkey, thanks for the link. The only trouble with FF Add-ons is there are so many of them! On Jan 15, 11:52 am, Liam Potter radioactiv...@gmail.com wrote: you should give stylish a try to do client side CSS changes rather then

[jQuery] Re: Possible 1.3 bug

2009-01-15 Thread Diego
I'm having the same problem. Has anyone overcome this yet? It sounds like we're using a selector that is no longer supported in jQuery 1.3. But which On Jan 15, 7:39 am, emmj...@gmail.com emmj...@gmail.com wrote: I was checking all of my random plugins/scripts to make sure they all work

[jQuery] Re: How get data objects from a php file called via ajax

2009-01-15 Thread Miloš Rašić
Try fixing your html in the php code like this: echo 'input class=test_select type=button name=test_select_1 id=test_select_1 value=Select /'; You forgot to close that class property in the input. On Thu, Jan 15, 2009 at 12:12 PM, Mikael mhedeng...@gmail.com wrote: I am new to javascript and

[jQuery] Re: jQuery Tabs

2009-01-15 Thread Eric Garside
Ah, thanks. :) On Jan 15, 5:23 am, Richard D. Worth rdwo...@gmail.com wrote: jQuery UI 1.6rc4 is not compatible with jQuery 1.3. You can either grab the svn trunk http://docs.jquery.com/UI/Subversion or wait until tomorrow as 1.6rc5 (which will be compatible with 1.3) is coming today. -

[jQuery] Re: Possible 1.3 bug

2009-01-15 Thread Diego
FYI. I found my offending code. It's a combination of these selectors: :text, :password, :file, :select, :button I just can't figure out why! On Jan 15, 7:39 am, emmj...@gmail.com emmj...@gmail.com wrote: I was checking all of my random plugins/scripts to make sure they all work with jQuery

[jQuery] ajax :: how to load script

2009-01-15 Thread dirk w
hello community, i've got a textfield and a searchbutton. a click on the searchbutton schould execute the following java script which will return some data to a callbackfunction called showmyvideos: $('#searchButton').click(function() { var url =

[jQuery] Re: Form plugin and ui-dialog issue (never submits)

2009-01-15 Thread cmulist
The form that is turned into a dialog is a separate form at the end of the main form. Relevant code below. It seems the combination of dialog + File element + Form plugin (ajaxSubmit() or ajaxForm() ) is a no-go. The ajaxSubmit() works fine when there is no FILE element OR the form is moved

[jQuery] Re: Show element inside this

2009-01-15 Thread Richard D. Worth
Looks like maybe you want $(.label, this).show(1000) or (nearly equivalent) $(this).find(.label).show(1000) - Richard On Thu, Jan 15, 2009 at 4:58 AM, eXistent pirkl.lu...@gmail.com wrote: Hi, is there some easy way to make something like this: $(document).ready(function() {

[jQuery] Re: ajax :: how to load script

2009-01-15 Thread James Van Dyke
The simple solution would be to use $.getScript(url, callback). However, know that if you insert HTML anywhere in the page using jQuery, it will search for and execute any script tags in that HTML automatically. For example: $.get('/my/url/with/html_and_jscript.html', function(data) {

[jQuery] Re: datepicker is not a function

2009-01-15 Thread Richard D. Worth
Which javascript files have you included? And have you verified (perhaps using Firebug) that the paths are valid and they are being loaded? Also, the order is significant. They should be loaded in this order jquery.js ui.core.js ui.datepicker.js - Richard On Thu, Jan 15, 2009 at 4:24 AM,

[jQuery] Loop doesn't wait for fadeIn

2009-01-15 Thread Liam Potter
Hi Guys I'm trying to loop through images contained in a li tag. HTML is this ul class=list lia href=# img src=assets/images/portfoliostrip/testimg.gif alt=test width=74 height=42style=display:block; / img src=assets/images/portfoliostrip/testimg1.gif alt=test width=74 height=42

[jQuery] Re: datepicker is not a function

2009-01-15 Thread Richard D. Worth
Ah, now that I look at your code again, you've got .datepicker(options) in one place, that looks right. Below you have .datepick(getDate) That should be .datepicker(getDate) - Richard On Thu, Jan 15, 2009 at 4:24 AM, divsystem divsys...@gmail.com wrote:

[jQuery] Re: Possible 1.3 bug

2009-01-15 Thread Diego
Hi (me again), the problem was being caused by the moreSelectors plugin on this page: http://www.softwareunity.com/jquery/JQueryMoreSelectors/ On Jan 15, 2:40 pm, Diego diego.a...@gmail.com wrote: FYI. I found my offending code. It's a combination of these selectors: :text, :password, :file,

[jQuery] Don't 'X' if already 'X'd'

2009-01-15 Thread davebowker
Hey, I'm trying to get a little hover script running. It's using the hoverIntent plugin, but substituting that for hover will work for this example. What I'm trying to do is hover a link which will fade out a paragraph, change the contents of that paragraph, and then fade that paragraph back

[jQuery] Re: Possible 1.3 bug

2009-01-15 Thread tpb976
It seems the problem has to do with creating custom selectors. I have a custom selector that I created and I am receiving this exact error. I am currently looking into the problem to see what I can figure out. On Jan 15, 9:05 am, Diego diego.a...@gmail.com wrote: Hi (me again), the problem was

[jQuery] Re: Don't 'X' if already 'X'd'

2009-01-15 Thread Liam Potter
You could add a class say, nochange check for that on hover, if found, no dothing, if not, continue to change. davebowker wrote: Hey, I'm trying to get a little hover script running. It's using the hoverIntent plugin, but substituting that for hover will work for this example. What I'm

[jQuery] Re: Standards box model

2009-01-15 Thread Ami
Thank you. I mean I afraid css bugs I am devloping in 5 cumputer language, buy I never understand what it's mean W3C Box render model (or somethink like that( Thank you again. On 15 ינואר, 07:19, James Van Dyke jame...@gmail.com wrote: I've always used transitional and had no problems, even

[jQuery] Re: ajax :: how to load script

2009-01-15 Thread dirk w
thanks for the quick response, james! it works now, i used your first suggestion since i had a problem with the other one (got an error): $(#searchButton).click(function() { var url = 'http://gdata.youtube.com/feeds/api/videos?q=' + $('#searchText').val() +

[jQuery] Re: Don't 'X' if already 'X'd'

2009-01-15 Thread Liam Potter
here is some untested code $('ul.sub-text-points li a.point-1').hover(function() { if ( $(this).class(current_point) {} else{ $('a.point-2, a.point-3').removeClass(current_point); $(this).addClass(current_point); $('p.sub-text').fadeOut(300, function(){ /* Looks like this is the start

[jQuery] Re: Don't 'X' if already 'X'd'

2009-01-15 Thread Liam Potter
just noticed a mistake forget to actually do anything with the if try this $('ul.sub-text-points li a.point-1').hover(function() { if ( $(this).attr(class) == current_point) { } else{ $('a.point-2, a.point-3').removeClass(current_point); $(this).addClass(current_point);

[jQuery] Re: How get data objects from a php file called via ajax

2009-01-15 Thread Mikael
Thanks Milos. When I fixed this coding error I get a button but I still can not get any click event for this button. This is how I try to get this click event: $('.test_select').bind(click, function() { var thisName = $(this).attr('name');

[jQuery] Re: Don't 'X' if already 'X'd'

2009-01-15 Thread davebowker
Liam, Thanks for your reply. As soon as I posted this I also had that idea. Guess a Mr Kipling and a coffee is brain food after all! I haven't tried your code as I have it working now. Here's my code incase anyone else would like it. Cheers Liam. $('ul.sub-text-points li

[jQuery] really working cross browser color picker palette ?

2009-01-15 Thread EugeneS
any one knows really working cross browser color picker palette ? ive tried to find but i cant :(

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Ricardo Tomasi
Not really - after all I was wrong too :D I didn't notice the other closing braces under quoted text in the OP. cheers, - ricardo On Jan 14, 2:56 am, Karl Swedberg k...@englishrules.com wrote: good eye, Ricardo! thanks for the back up. :-) --Karl Karl

[jQuery] Re: Don't 'X' if already 'X'd'

2009-01-15 Thread Liam Potter
That always happens to me as well, as soon as I post something I'll realise what I could do. But you can chain a quite a bit of this, make a bit more efficient $('ul.sub-text-points li a.point-1').hoverIntent(function() { $('a.point-2, a.point-3').removeClass(current_point);

[jQuery] Re: Possible 1.3 bug

2009-01-15 Thread Balazs Endresz
In jquery.liveFilter.js a pseudo selector defined as a string, which was deprected since 1.2 if I remember right. jQuery.extend( jQuery.expr[':'], { insContains : jQuery(a).text().toUpperCase().indexOf(m [3].toUpperCase())=0 }); This should be a function instead:

[jQuery] jQuery Jitter in Firefox Problem (Please Help!)

2009-01-15 Thread Ian
I have created a website for a friend of mine that is a musician. The website is not live yet, it is on a hidden portion of the server. Anyways, the website is using jQuery to handle the pages. All of the code is actually on the index page and the jQuery tells what div on the page to show when a

[jQuery] Re: Capture a click outside of a specific object?

2009-01-15 Thread vincent voyer
You can do : $(document).bind('click', function(e){ var $clicked = $(e.target); if (!($clicked.is('#element') || $clicked.parents().is ('#element'))) { //click

[jQuery] Problem with nav bar style menu

2009-01-15 Thread cajchris
Hi there, I am new to this so please bear with me. I have used the superfish menu for my navigation on a site that I am working on and have run into a few problems. Following the instructions on http://users.tpg.com.au/j_birch/plugins/superfish/#sample4 and by looking at the source of that page

[jQuery] :last :first not working??

2009-01-15 Thread the cliff
Hi there, I am doing some table row colouring with :odd (this works as expected), but: $(tr td:last).css(border, none); does nothing! I did some further testing on other selectors with other more obvious classes and the selector :last and :first don't seem to select anything. I have tried this

[jQuery] How to force two connected sortable lists to behave like one list?

2009-01-15 Thread twn
How to force two connected sortable lists to behave like one list? Small example. I have two connected lists (ListA, ListB). Each one has 5 elements. When I drag 2nd element form ListA to 3th position in ListB, ListA will have 4 elements and ListB will have 6 elements. Is it possible, to get two

[jQuery] How to make ajax links bookmarkable? (history)

2009-01-15 Thread cbandes
Hi - I've got a site that uses a jquery ui accordion to load content into a container div via an ajax call. I would like to have the links in the accordion update the page's href with their url onclick, but I don't want to force a page reload since content is served via ajax. I've tried using

[jQuery] Tabs Documentation

2009-01-15 Thread Jared
Hi The documentation page for Tabs has not been working for a couple of days, any idea when it will be available again? Thanks

[jQuery] Re: :last :first not working??

2009-01-15 Thread MorningZ
that will get the :last (or :first) for the first row only as it will return 1 single object you need to do something like $(tr).each(function() { $(this).find(td:last).css(border, none); }); which will loop across each row and do the code to the last or first object On Jan 15, 9:05 am,

[jQuery] Re: issue with pathClass: current on nav style menu

2009-01-15 Thread cajchris
Also notice that the jQuery is adding lots of information into my HTML tags such as jQuery1232031575583=... in the anchor tags and list item tags. it also adds span class=sf-sub-indicator jQuery1232031575583=null»/span inside the anchor tags, I presume to get the arrows. I noticed in the source

[jQuery] Re: Condense this function

2009-01-15 Thread DJCarbon43
I'm not sure what it is that its choking on. It doesnt throw any errors in Firebug or Inspector If I do $(function() { var i, numStickies = 9; for (i = 1; i = numStickies; i += 1) { setTimeout( function() { $(.sticky1:hidden).fadeIn(500); }, 100 * i); }

[jQuery] Re: function text() in jquery

2009-01-15 Thread kazuar
thanks a lot ricardobeat. work like a charm :) ricardobeat wrote: There are two alternatives: $('#testText').contents(':not(select)')[0].nodeValue; this one is unsupported but works too: $('#testText').contents('[nodeType=3]')[0].nodeValue; Notice that both will keep the

[jQuery] Re: Issue upgrading to 1.3

2009-01-15 Thread Balazs Endresz
Looks like it's related to this: http://dev.jquery.com/ticket/3837 On Jan 14, 9:32 pm, Joe Morgan thewast...@gmail.com wrote: Hello, When I attempt to upgrade my site from 1.2.6 to 1.3, I get an unresponsive script error that causes my browser (both IE7 and FF3) to hang if the script is not

[jQuery] Re: function text() in jquery

2009-01-15 Thread Balazs Endresz
$('#testText').contents(':not(select)')[0].nodeValue; $('#testText').contents('[nodeType=3]')[0].nodeValue; I fear these aren't going to work in 1.3 as the new selector engine doesn't handle textnodes anymore! On Jan 15, 5:09 pm, kazuar kazuar...@gmail.com wrote: thanks a lot ricardobeat.

[jQuery] Re: blockUI - Bug overlapping fixed elements

2009-01-15 Thread Beaver6813
EDIT: Resolved, noticed that blockUI sets the z-index of it to 1000, so in order for fixed elements to appear above it their z-index needs to be higher than that value. Quite simple really :D On Jan 15, 12:27 pm, Beaver6813 s...@beaver6813.com wrote: Hey, Yea I can, its my private test site so

[jQuery] Re: blockUI - Bug overlapping fixed elements

2009-01-15 Thread Beaver6813
EDIT: Resolved, noticed that blockUI sets the z-index of it to 1000, so in order for fixed elements to appear above it their z-index needs to be higher than that value. Quite simple really :D On Jan 14, 12:55 am, Mike Alsup mal...@gmail.com wrote: There seems to be a bug that when you have a

[jQuery] Re: new Jquery Cheat Sheet

2009-01-15 Thread skube
I haven't seen an updated static cheat sheet yet, but there is the cool API browser: http://api.jquery.com On Jan 14, 12:50 pm, ericb...@gmail.com ericb...@gmail.com wrote: Is there a new Jquery cheat sheet for 1.3?

[jQuery] Re: issue with pathClass: current on nav style menu

2009-01-15 Thread cajchris
Anyone got any ideas? On Jan 15, 4:08 pm, cajchris cajch...@gmail.com wrote: Also notice that the jQuery is adding lots of information into my HTML tags such as jQuery1232031575583=... in the anchor tags and list item tags. it also adds span class=sf-sub-indicator

[jQuery] Re: :last :first not working??

2009-01-15 Thread the cliff
Thanks for this, I tried it and firebug tells me it didn't work :( The thing is :last doesnt seem to work AT ALL for me, EG: $(ul li:last).css(border, 1px solid red); does absolutely nothing On Jan 15, 4:06 pm, MorningZ morni...@gmail.com wrote: that will get the :last(or :first) for the

[jQuery] Re: Don't 'X' if already 'X'd'

2009-01-15 Thread davebowker
Chaining is a good idea! I used your chain, but combined the addClass into a single line. eg addClass('point-2 point-3') Cheers again! On Jan 15, 3:59 pm, Liam Potter radioactiv...@gmail.com wrote: That always happens to me as well, as soon as I post something I'll realise what I could do.

[jQuery] Re: .append() into style element causes error in IE only

2009-01-15 Thread Ricardo Tomasi
appendChild on a style element fails on IE and you get an unknown error if you try to modify it's innerHTML. I haven't found any workaround. Use this to add styles: //addStyles 0.1 // Ricardo Tomasi ricardobeat at gmail com // Licensed under the WTFPL - http://sam.zoy.org/wtfpl/ function

[jQuery] Re: Condense this function

2009-01-15 Thread Liam Potter
front what I can tell it is not looping. DJCarbon43 wrote: I'm not sure what it is that its choking on. It doesnt throw any errors in Firebug or Inspector If I do $(function() { var i, numStickies = 9; for (i = 1; i = numStickies; i += 1) { setTimeout( function() {

[jQuery] Re: Condense this function

2009-01-15 Thread Liam Potter
ignore that, put the console.log() in the wrong place Liam Potter wrote: front what I can tell it is not looping. DJCarbon43 wrote: I'm not sure what it is that its choking on. It doesnt throw any errors in Firebug or Inspector If I do $(function() { var i, numStickies = 9; for (i

[jQuery] Re: .append() into style element causes error in IE only

2009-01-15 Thread Ant
That's been a real help, thanks so much Ant On Jan 15, 4:36 pm, Ricardo Tomasi ricardob...@gmail.com wrote: appendChild on a style element fails on IE and you get an unknown error if you try to modify it's innerHTML. I haven't found any workaround. Use this to add styles: //addStyles 0.1

[jQuery] Re: :last :first not working??

2009-01-15 Thread MorningZ
Check out the :last-child selector http://docs.jquery.com/Selectors/lastChild and if it doesn't work, then start small... copy the example HTML from the link above and have a page with nothing but that, so you see it works in your environment. something else codewise (wrong selector,

[jQuery] Re: Possible 1.3 bug

2009-01-15 Thread Tim Banks
That worked for me Balazs. Thanks for your help. If anyone is having a problem with this feel free to contact me about it. -Tim On Jan 15, 10:01 am, Balazs Endresz balazs.endr...@gmail.com wrote: In jquery.liveFilter.js a pseudo selector defined as a string, which was deprected since 1.2 if

  1   2   >