Re: [jQuery] Not working for me in IE7, but works in IE8

2010-01-02 Thread Michael Geary
If I tell you the (possible) answer, will you turn off the music on the home page? :-) Karl Swedberg mentioned in another thread today that you may have trouble in IE6 if you try to set a background color on a TR. It has to be on the TD's instead. Maybe this is the case for IE7 too. So I would

[jQuery] Re: trying to do Math.min on 3 tds by excluding if one = 0

2010-01-02 Thread hollow
Thanks , great solution. i figured out on on my own that is quite different. i don't know which is the best i terms of performance. i create an array numbArray first of the elements then i do this. var index= $.inArray(0, numbArray); if(index== -1) { //Value not found in the array. }

Re: [jQuery] Not working for me in IE7, but works in IE8

2010-01-02 Thread Michael Geary
Just to clarify that thought, I really like the music a lot! I just don't like having it start playing automatically when I visit the home page. -Mike On Sat, Jan 2, 2010 at 1:56 AM, Michael Geary m...@mg.to wrote: If I tell you the (possible) answer, will you turn off the music on the home

[jQuery] Help needed with textarea.

2010-01-02 Thread direheart
Im unable to store any values from the textarea input. When ever I run the for loop to retrieve the values from the array, it is displayed as undefined. I not sure how to solve that problem. Any help would be appreciated.

[jQuery] get serializeArray of form which should not contain some elements having certain names

2010-01-02 Thread csplrj
I want to get the array of all the formElements except some input type having specific name. I know the normal way is $ ('#form1').serializeArray() but how to use selectors to get me array of all elements except some elements having given name as method and trId? Let me give you a example I have

[jQuery] Anchor Child Not Responding to Hover

2010-01-02 Thread Steven
I have the following markup: a href=# id=closespan/span/a The span is hidden by CSS. I then have the following jQuery code: // Hook close button hover $('a#close').hover( function(){ $('span',this).fadeIn(); },

[jQuery] Re: Element Exact Width

2010-01-02 Thread Šime Vidas
obj.html(obj.children().html()); obj.children() selects the SPAN that we created... obj.childern().html(), therefore, returns all the content of the SPAN, which was originally the content of the P we want to set the content back from the SPAN to the P... so, we have to put the content that we

[jQuery] Re: Anchor Child Not Responding to Hover

2010-01-02 Thread Steven
I solved it by hiding the span with hide() rather than CSS. Although I'd like to know why straight CSS breaks this while adding display:none; via JavaScript works fine.

[jQuery] TreeView in WordPress (how to install and use?)

2010-01-02 Thread cimenta
Hi, I want to implement bookmarks (something like when you press CTRL+B in your browser) in my WordPress site. It seems to me that TreeView jQuery plugin would be the best solution. I have no idea how to implement it. Could somebody guide me? I searched and found that jQuery is part of

[jQuery] $.ajax - different results in Chrome and Safari.

2010-01-02 Thread bookmarc
The following code gives a a parser error in Google Chrome and Firefox but seems to work in Safari. Can anyone see what I am doing wrong or understand why this is happening? Thanks for your help and time. html header script src=js/jquery-1.3.2.min.js type=application/x-javascript

[jQuery] Help with dynamicaly created table

2010-01-02 Thread Jahvi
Hi, Im currently using the tablesorter plugin to style a table im using, the code is the following: $(document).ready(function(){ $(#shop_list) .tablesorter({widthFixed: true, widgets: ['zebra'], headers: { 2: {

[jQuery] css editor with jquery

2010-01-02 Thread orazio.nelson
Hello, i made a proof of concept about a css editor made with jquery. You can see and download it from: http://tt4fn.netsons.org/fonte Is possible to edit almost all the page, for each section there are 34 css customizable options. But now I've a trouble: how can I push the generated css and

[jQuery] Re: Help needed with textarea.

2010-01-02 Thread MorningZ
The issue seems to be that you are thinking that the second for loop will run after the keypress event is called... *it's not*.. it will only be called on document.ready... I was going to use jsbin.com to work up an example for you, but i have absolutely no idea what the first for loop's purpose

[jQuery] Re: jquery sortable question

2010-01-02 Thread MorningZ
jQuery core's method .index() would be a solution here's an example: http://jsbin.com/ozoda/edit On Jan 2, 12:17 am, laredotorn...@zipmail.com laredotorn...@zipmail.com wrote: Hi, I'm using the sortable plugin with JQuery 1.3.  After a list item has been moved to a new place, how do

[jQuery] Re: Anchor Child Not Responding to Hover

2010-01-02 Thread Šime Vidas
You mean this? http://vidasp.net/jquery-example5.html

[jQuery] jquery too long to load

2010-01-02 Thread attilio
I've created a webpage, its just a test sample, but i'm having a problem. It seems that jquery is taking too long to load, but I could be wrong. What happens is when I load the page the drop down menu shows until the page is completely loaded then it disappears which is how it should look from

[jQuery] Re: jquery too long to load

2010-01-02 Thread Šime Vidas
Well, it depends from which URL your're loading from... this one shoud be pretty fast: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js Consider hiding the dropdown with CSS... hidden *is* the default state for it, anyway.

[jQuery] Re: jquery too long to load

2010-01-02 Thread attilio
that's exactly where i'm loading it from even though i can hide it using CSS the animations still take a few seconds to load which isn't good in my opinion

RE: [jQuery] css editor with jquery

2010-01-02 Thread Rick Faircloth
Very interesting work, Alfredo! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of orazio.nelson Sent: Saturday, January 02, 2010 9:26 AM To: jQuery (English) Subject: [jQuery] css editor with jquery Hello, i made a proof of concept

[jQuery] Re: jquery too long to load

2010-01-02 Thread Šime Vidas
Well, it is kind of slow... I'm here on vacation so I don't have the tools (firefox plug-ins) to analyze the situation... first, install the HttpFox plug-in and then, look what HTTP requests are made, at what time, in what order, how long they take to be answered if you want your page to

Re: [jQuery] Help with dynamicaly created table

2010-01-02 Thread aquaone
You need to trigger the update event for the table for tablesorter to rebuild the cache. At the bottom of your .delete_button click function, add $(#shop_list).update(); and it should fix your problems. For more information, please see http://tablesorter.com/docs/example-ajax.html. aquaone On

[jQuery] Re: css editor with jquery

2010-01-02 Thread Johan Borestad
How do you internally represent your edited data? I didn't read the entire fonte.js script, but this should probably be solved by a representing each editable areas as separate objects with different id's. Then serialize everything to a JSON-object and post it to your backend where you could save

[jQuery] Re: jquery too long to load

2010-01-02 Thread Corey
Looks to me like the www.000webhost.com analytics code is what is slowing the process, not the loading of jQuery. I got waiting for attilio.site50.net and/or www.000webhost.com messages from your site. As I'm sure you know jQuery waits for the entire page to load before it is enacted hence the

Re: [jQuery] Re: jquery too long to load

2010-01-02 Thread audiofreak9
Looks to me like the www.000webhost.com analytics code is what is slowing the process, not the loading of jQuery. I got waiting for attilio.site50.net and/or www.000webhost.com messages from your site. As I'm sure you know jQuery waits for the entire page to load before it is enacted hence the

[jQuery] How to check whether an element is bound to an event or not?

2010-01-02 Thread ranacseruet
I need to check whether an element is bound to an event or not. How to achieve this?

[jQuery] Autocomplete

2010-01-02 Thread AndrewM
Hi, I am new to jQuery and have 2 questions: I am using the bassistance.de jQuery plug-in. 1. For speed I have created my Array of data to be searched client side in a .js file as I have 25k + items. In Firefox and IE8 the auto prompt is very fast - however in for some clients it is not - for

Re: [jQuery] Autocomplete

2010-01-02 Thread waseem sabjee
i would suggest you check out jQuery UI On Sat, Jan 2, 2010 at 9:35 PM, AndrewM amer...@amwebright.com wrote: Hi, I am new to jQuery and have 2 questions: I am using the bassistance.de jQuery plug-in. 1. For speed I have created my Array of data to be searched client side in a .js file

Re: [jQuery] How to check whether an element is bound to an event or not?

2010-01-02 Thread waseem sabjee
usually when I bind a click event I do this. unbind before bind $(elm).unbind('click'); $(elm).bind(click, function() { }); may be a modification like this if(!$(elm).unbind('click')) { $(elm).bind(click, function() { alert(This element was only bound if it was not bound); }); } On

Re: [jQuery] $.ajax - different results in Chrome and Safari.

2010-01-02 Thread Nathan Klatt
On Sat, Jan 2, 2010 at 1:13 AM, bookmarc mmelc...@gmail.com wrote: The following code gives a a parser error in Google Chrome and Firefox but seems to work in Safari.  Can anyone see what I am doing wrong or understand why this is happening? I see a couple things that make me wonder: header

[jQuery] Re: simplemodal next/back functionality

2010-01-02 Thread nevgenevich
I had time to play around with it more and narrowed it down to the onClose function... this works: onClose: function (dialog) { jQuery.modal.close(); } this doesn't: onClose: function (dialog) { dialog.data.fadeOut(300); dialog.container.fadeOut(100);

[jQuery] Re: jquery too long to load

2010-01-02 Thread attilio
the000webhost.com analytics code was definitely the problem, i disabled it and everything is working fine now, thanks!!!

[jQuery] Select with different fonts for each element

2010-01-02 Thread Steffan A. Cline
I have a select where a user selects a font (style) and it is applied to text on the page. What I am after is if there is a way via plugin etc where the dropdown will have the style applied to each row. I am after something like a font menu in MS Word buy using web fonts. Any suggestions?

[jQuery] Re: Select with different fonts for each element

2010-01-02 Thread Šime Vidas
I made it work in Firefox, but in IE it seems impossible to style each OPTION element individually, same problem in Chrome But, I have an idea... give me a minute :)

[jQuery] simple jquery question

2010-01-02 Thread jason
Hey, was wondering if anyone could help me with a basic JQ question. Ok so I am trying to select each element that has a certain class on my page, and then use what is inside of the h3 class=example I am selecting to populate a drop down select box with the id of deptFilter. (with each result

[jQuery] Animate or ToggleClass

2010-01-02 Thread Once
Hi. I'm new to jQuery and ran into this dilemma. In the portfolio section of my homepage ( http://invitro.vegasoftweb.com/es/ ). I have a div with 9 items but only 3 are showing, the other 6 are hidden by another div that has a fixed height and thus clip them. I am trying to implement a soft

Re: [jQuery] Select with different fonts for each element

2010-01-02 Thread Steffan A. Cline
This is basically the select in question. select name=line1font onchange=changeFont(this,1); option value=Arial, Helvetica, sans-serifArial/option option value='Arial Black', 'Arial Black', Gadget, sans-serifArial Black/option option value='Comic Sans MS', cursiveComic Sans/option option

[jQuery] Table striping still not working in IE7

2010-01-02 Thread cybervigilante
I've tried :odd, :even, and :nth-child. They work fine in IE8 but not in IE7 (using compatibility mode to check). Is this common or something I have to figure out? I'm just striping a table at http://celestialchurchqueens.org with: $('tr:nth-child(even)').addClass('alt'); I temporarily tried

Re: [jQuery] Table striping still not working in IE7

2010-01-02 Thread audiofreak9
Just an off the hip thought, IE7 may still have the pseudo issues in IE6 and earlier... Corey camwebdesign.com On Sat, Jan 2, 2010 at 5:16 PM, cybervigilante cybervigila...@gmail.comwrote: I've tried :odd, :even, and :nth-child. They work fine in IE8 but not in IE7 (using compatibility

[jQuery] Re: Table striping still not working in IE7

2010-01-02 Thread Šime Vidas
Just an off the hip thought, IE7 may still have the pseudo issues in IE6 and earlier... http://vidasp.net/Internet%20Explorer%20and%20CSS.txt

[jQuery] Re: simplemodal next/back functionality

2010-01-02 Thread nevgenevich
in case others have the same issue, i guessed the problem in the last post... adding a setTimeout(function() { before the call to modal, set for more than the time of closing the previous modal, makes it work. interestingly enough, setting a timeout value less than total closing time but greater

Re: [jQuery] Re: Select with different fonts for each element

2010-01-02 Thread Steffan A. Cline
Well, this was the closest. It sounds like what you tried. Maybe his div overlay is the only option. http://fullfatcode.wordpress.com/2009/06/05/a-simple-jquery-font-chooser-plu gin/ Thanks Steffan From: Šime Vidas sime.vi...@gmail.com Reply-To: jquery-en@googlegroups.com Date: Sat, 2

Re: [jQuery] Animate or ToggleClass

2010-01-02 Thread waseem sabjee
lets say I have this HTML CSS markup . extendcontent { display:none; } div class=extender a href=# class=extend+/aa class=extend href=#Click to extend/a div // all your extend content goes here div class=extendcontent This is div #1 of extended content /div div This is div #2 of extended content

[jQuery] Re: Select with different fonts for each element

2010-01-02 Thread Šime Vidas
OK, this is it :) We can call this version alpha 0.1... the code is super-messy, and it most certanly won't work if you just copy-paste it... but this example actually works in all browsers... http://vidasp.net/jquery-example6.html

Re: [jQuery] Re: Select with different fonts for each element

2010-01-02 Thread Steffan A. Cline
Wow. That was quick and VERY cool. Think you'll package that into a plugin architecture? Simply, WOW! Thanks Steffan From: Šime Vidas sime.vi...@gmail.com Reply-To: jquery-en@googlegroups.com Date: Sat, 2 Jan 2010 14:59:34 -0800 (PST) To: jQuery (English) jquery-en@googlegroups.com

[jQuery] Re: Table striping still not working in IE7

2010-01-02 Thread cybervigilante
On Jan 2, 3:22 pm, audiofreak9 audiofre...@gmail.com wrote: Just an off the hip thought, IE7 may still have the pseudo issues in IE6 and earlier... I thought jQuery had its own model, so it can use stuff that isn't even in IE7, like some CSS3 selectors. Anyway, I can't even seem to get

[jQuery] Re: Select with different fonts for each element

2010-01-02 Thread Šime Vidas
I had to go play cards with my cousin, so i left the code messy... it has several bugs for now (try hovering over the list and then hovering out without clicking any item)... It should take my 30 minutes to refactor the code and kill the bugs...

Re: [jQuery] Re: Select with different fonts for each element

2010-01-02 Thread Steffan A. Cline
Sweet! I'll be watching for it! Thanks Steffan --- T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline stef...@execuchoice.net Phoenix, Az http://www.ExecuChoice.net

Re: [jQuery] Re: Table striping still not working in IE7

2010-01-02 Thread Michael Geary
jQuery does have its own selector engine that is used in *jQuery selectors*. However, it does not add any capabilities that are not already there in *CSS selectors*. This is a jQuery selector: $('.foobar').whatever(); This is a CSS selector: style type=text/css .foobar { whatever } /style

[jQuery] Re: Select with different fonts for each element

2010-01-02 Thread Šime Vidas
Done! http://vidasp.net/jquery-example6.html

[jQuery] Formatting long chains of jQuery code

2010-01-02 Thread Šime Vidas
Is there a prefered way of formatting jQuery code when you have 5 or more chained methods? I came up with this... http://vidasp.net/jquery-example6.html (look at the code at the bottom of the source) ... how do you format it?

[jQuery] How do I extract this value?

2010-01-02 Thread laredotorn...@zipmail.com
Hi, I am using JQuery 1.3. I have this basic structure in my HTML ... li id=myid ... a class=edit href=javascript:edit(1234) ... /a ... /li How do I extract the 1234 from HTML assuming I know the id of the li element? Thanks, - Dave ps - I know its bad practice to have the javascript

[jQuery] Re: Formatting long chains of jQuery code

2010-01-02 Thread MorningZ
I would guess preferred = however someone wants to do it as long as it works what you have is perfectly fine.. and bonus points for it working :-) On Jan 2, 9:03 pm, Šime Vidas sime.vi...@gmail.com wrote: Is there a prefered way of formatting jQuery code when you have 5 or more chained

[jQuery] Re: How do I extract this value?

2010-01-02 Thread MorningZ
var hit = $(#myid).find(a).attr(href).match(/^.+\((\d+)\)$/); if (hit hit.length == 2) { // hit[1] = 1234 in the example you provided } else { // didn't find the value } On Jan 2, 9:13 pm, laredotorn...@zipmail.com laredotorn...@zipmail.com wrote: Hi, I am using JQuery 1.3.  I have

[jQuery] Re: How do I extract this value?

2010-01-02 Thread laredotorn...@zipmail.com
Perfect! 5 stars - Dave On Jan 2, 8:15 pm, MorningZ morni...@gmail.com wrote: var hit = $(#myid).find(a).attr(href).match(/^.+\((\d+)\)$/); if (hit hit.length == 2) {      // hit[1] = 1234 in the example you provided} else {      // didn't find the value } On Jan 2, 9:13 pm,

[jQuery] Re: Animate or ToggleClass

2010-01-02 Thread Once
Waseem, thanks for your answers. I tried to implement what you suggested but it seems the script only hides and show the .extendedcontent container. Since the portfolio also has a small script that filters the item depending on the category (web, print, branding), all the items have to be in the

Re: [jQuery] How to check whether an element is bound to an event or not?

2010-01-02 Thread Md. Ali Ahsan Rana
hi, thanks. But, what is happening here is: There is an DOM element, which is reloading(replaced by ajax response with same id/tag), then the event isn't no more bounded. I want it to be bounded all the time. Do you think, here unbound will work? Or Is there any way to keep the binding

[jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-02 Thread Joe Sondow
Yes, the live function. http://docs.jquery.com/Events/live Added in jQuery 1.3: Binds a handler to an event (like click) for all current - and future - matched element. Can also bind custom events. On Jan 2, 11:44 pm, Md. Ali Ahsan Rana ranacser...@gmail.com wrote: hi, thanks. But, what is

[jQuery] jquery.ckeditor non functional?

2010-01-02 Thread Met00 - Met00Cigar
It can't get easier than this... 1) include the libraries 2) set up the forms ajax submit 3) call the ckeditor to set up. BUT... It doesn't set up the CKEditor ### script type=text/javascript src=../ckeditor/ckeditor.js/script script language=javascript type=text/javaScript src=../js/

Re: [jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-02 Thread Md. Ali Ahsan Rana
Hi, Thanks for your reply. It helped me a lot. Regards