[jQuery] Re: Creating a Plugin

2008-12-04 Thread Kevin Kietel
How about this jQuery editor: http://markitup.jaysalvat.com/ it's called markItUp! and uses Html, Textile, Wiki Syntax, Markdown, BBcode On 5 dec, 08:27, Brian Ronk <[EMAIL PROTECTED]> wrote: > I'm making an edit in place plugin, and am running into an issue, > mainly because I'm not sure how

[jQuery] Creating a Plugin

2008-12-04 Thread Brian Ronk
I'm making an edit in place plugin, and am running into an issue, mainly because I'm not sure how to do it. The data I am working with is bbcode, so what is seen on screen (non editing) is not bbcode, but it decoded. I would like to be able to return the bbcode to work with it in another area.

[jQuery] Re: Changing Class using Jquery

2008-12-04 Thread WebNot
Thanks Paul It worked absolutely perfect. once again thank you very very much. On Dec 5, 3:05 am, Paul Mills <[EMAIL PROTECTED]> wrote: > Here is some basic jQuery that does what you want. > First hide all elements with class="blocked" > Then add click handler to elements with class="a

[jQuery] Re: ask : jquery validation plugins not working

2008-12-04 Thread Adwin Wijaya
the reason I am not put unique names on each fields because on grails (grails.org) it will render as array. and i want it to become array of fields. I put unique id on each fields. i think, validation should look at the id instead of names. Okay i will try you validate modification :) Thanks !

[jQuery] Re: Tabs - External link not working on remote tab in IE 7

2008-12-04 Thread Klaus Hartl
On Dec 4, 5:59 pm, strummer75 <[EMAIL PROTECTED]> wrote: > Is there a secret handshake in this group? No, I was on vacation. :) External links do not work as remote tabs - because of security reasons cross-domain Ajax requests are not allowed. --Klaus

[jQuery] Re: Trouble with Facebox and Ajax submitted form

2008-12-04 Thread benjam
Apparently Facebox doesn't act on the element itself. When Facebox displays an element, it makes a copy of that element and displays the copy. The copy therefore does not have the actions associated to it anymore. I worked around this issue by converting my selector to a class selector instead of

[jQuery] how to create a javascript Extension using jquery

2008-12-04 Thread abhi
hi , i was trying to replace my javascript statements with jquery statements by including the jquery file in *.xul file. the xul file line is as under: and i am trying to access the "$"/ jquery functions in the other js file of my plugin. but its not working. plz help.

[jQuery] Trouble Understanding getJSON call

2008-12-04 Thread Guy
Hi, I'm trying to use the $.getJSON() but with no luck. Here's the code I'm using to make the call. $.getJSON(http://the.domain.com/getJSON.php? experiment=104&callback=handleIt104.callback&format=jsonp&askingfor=recipetransaction'); This calls a php script which as an example would return the

[jQuery] How do you get the name of a tag/node/element?

2008-12-04 Thread DC
I'm trying to convert an xml node into an object...all I want to do is find the name of the tag...function function initObjArray(xml, arr, tagName){ (xml).find(tagName).each(function(){ var o = new Object(); var t = $(this); var c = t.chi

[jQuery] Re: IE6 is not animating the menus and a bunch of JS errors

2008-12-04 Thread conticreative
I just found out one more thing that is pretty puzzling: After furtehr review I noticed that the JCE editor is also bringing in JQuery in the form of: jquery-126.js So I went ahead and deleted the reference to the superfish jquery JS file: (jquery-1.2.6.min.js) and tested in Firefox. Superfish sti

[jQuery] Re: jcluetip problems with multiple on a page (when local = true)

2008-12-04 Thread Karl Swedberg
Hi, It sounds like you want to match each link with a corresponding local- content div based on the order in which they appear in the DOM. There isn't a good way to do this with the plugin, but if you don't have too many of these elements, maybe you could do something like this (assuming t

[jQuery] Re: IE6 is not animating the menus and a bunch of JS errors

2008-12-04 Thread conticreative
Well, for anyone there that has problems with "Superfish Menu" in IE6, I think I found at least one reason why it won;t work. The site I am working on has the "ajax header rotator" which uses Jquery. I took it out of the site and the superfish menu started working again like a charm (well, not lik

[jQuery] Re: Selecting a table cell based upon it's header?

2008-12-04 Thread brian
Ha! I struggled with the very same thing yesterday. On Thu, Dec 4, 2008 at 12:59 PM, Josh Rosenthal <[EMAIL PROTECTED]> wrote: > To answer my own question, yes, I was. > jQuery("#myHeaders>th:eq("+idxCol+")").text()); > > Thanks! > On Thu, Dec 4, 2008 at 12:45 PM, Josh Rosenthal <[EMAIL PROTECTED

[jQuery] Re: IE problem

2008-12-04 Thread Michael Geary
It doesn't seem to work for me in Firefox either. For some reason, $('.promotion_content').length evaluates to 0. Oh! I get it. I'm missing the HTML code! Sorry, just kidding around with you. :-) But seriously, it's pretty hard to guess what might be wrong without a test page to look at. The

[jQuery] [tooltip] Problem in IE 6 with multiple tooltips of different 'extra' classes

2008-12-04 Thread Eric P
Hi, Just started messing around with Jörn's tooltip plugin, and I think I found a bug while using IE 6 (not a problem in IE 7 and FF 3). Here's some reference code. http://epierce.freeshell.org/jquery-tooltip-bug/index.html In the example I'm assigning three different tooltips each with their

[jQuery] Re: SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-04 Thread Mike Alsup
> No matter what I set the z-index to, it always blinks through the > layer. Here's a very straightforward example that shows the issue in > every version of FF2 I have: Dan, do you have the "cursor keys" option enabled?

[jQuery] Re: Functions and variables

2008-12-04 Thread Michael Geary
jQuery isn't a separate language with its own rules. It's still JavaScript code, just like any other JavaScript code. Functions, variables, reusable code, those are all good practice, and none of it changes because you're using jQuery. Could you give a specific example of some jQuery code that do

[jQuery] Jquery UI Tabs

2008-12-04 Thread ramiro77
http://d40541.u24.gazungle.com/portfolio.php working for me fine in FF .. but not in IE7 ... any suggestions ? I am using the AJAX call method instead of DIVS as well. thank you !!!

[jQuery] Re: Object Oriented Form Handling

2008-12-04 Thread Max
This sort of goes against the grain of what jQuery is about -- UJS (unobtrusive javascript). I think what you're normally do (or at least, what I'd do; I'm not a huge buff on passing validation) is add a record_id property to the input, then have like $("input.my_show_button").click(function()

[jQuery] Re: Object Oriented Form Handling

2008-12-04 Thread Michael Geary
As with your other question about functions and variables, could you give a specific example of some jQuery code that doesn't look good to you, and then we can talk about how to clean it up? One thing to keep in mind is that jQuery focuses pretty much on DOM manipulation. It doesn't provide much

[jQuery] Re: Functions and variables

2008-12-04 Thread Max
Sorry...this question is a little ambiguous to me. Can you be more specific or give an example/use case? I think you will have to "hard code every event", because otherwise there's no logic dictating what happens when, say, you click something. As for defining actual functions and reusable code

[jQuery] using jquery to implement google maps on phpbb3

2008-12-04 Thread Bob
I have a small phpbb3 bulletin board and I'm trying to implement google maps via a mod/bb code solution. I have got it working where I can embed a single map. But unfortunately, when a 2nd map is added to a thread, the first one disappears. I've isolated this as having to do with the div tag id u

[jQuery] Object Oriented Form Handling

2008-12-04 Thread Will
Does anyone know of a way to use class like objects in event handling using jQuery? For Example, where .show() is a method of the Record object. This would be really cool to be able to reuse the method name .show() but with different objects verses just coding a huge list of functions that ar

[jQuery] Functions and variables

2008-12-04 Thread Will
I'm sure this is dealt with somewhere in the jQuery tutorials but I have not been able to find it. I'm new to jQuery and used to working with functions and variables so that I can create reusable code and not have to hard code every event that could happen. This is pretty much basic programming.

[jQuery] Re: jEditable - simple datepicker

2008-12-04 Thread Ethan
Any updates on this plugin, I have tried to make it myself, I'm almost there, but maybe someone can just finish the job!!! :))

[jQuery] Electricity - Make It, Dont Buy It.

2008-12-04 Thread yingwen2...@gmail.com
Electricity - Make It, Dont Buy It. http://dispaying.com/electricity-make-it-dont-buy-it--s-157.html Build A Wind Generator http://dispaying.com/build-wind-generator-s-158.html Simple Water Car http://dispaying.com/simple-water-car-s-156.html Create electricity at home - renewable energy. Make

[jQuery] using jquery to implement google maps on phpbb3

2008-12-04 Thread Bob
I have a small phpbb3 bulletin board and I'm trying to implement google maps via a mod/bb code solution. I have got it working where I can embed a single map. But unfortunately, when a 2nd map is added to a thread, the first one disappears. I've isolated this as having to do with the div tag id u

[jQuery] Re: div hides ok, but doesn't show up again.

2008-12-04 Thread Max
Try putting some logging in the .load callback, on the ct variable...make sure it's getting bound correctly. On Dec 4, 2:19 pm, Polskaya <[EMAIL PROTECTED]> wrote: > Hi all, > I am trying to load content from another file in several divs on one > page. > If i use this script: > > var ct=0; > $(".

[jQuery] Re: SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-04 Thread Karl Swedberg
Hi Dan, I wish I could give you some good news, but instead I can only commiserate. FF 2 had all sorts of problems like that. Try having an absolutely positioned div overlapping the scrollbar of a div with overflow: scroll. Ugly. I even recall seeing a cursor in one tab's textarea blinkin

[jQuery] Re: Simple Selector Question -- Context

2008-12-04 Thread Joe
Thanks Ricardo, looks good. On Dec 3, 10:14 am, ricardobeat <[EMAIL PROTECTED]> wrote: > Or pError.filter(':visible'). > > By using 'pError' as a context, you are looking for it's children, not > the elements themselves. > > - ricardo > > On Dec 3, 1:17 pm, Liam Potter <[EMAIL PROTECTED]> wrote:

[jQuery] Re: Simple Selector Question -- Context

2008-12-04 Thread Joe
Liam, Right, but that defeats the point of "caching" the jQuery object that was created by: var pError = $('p.error'); Since I'm just calling it again with a different selector, namely, the :visible one. On Dec 3, 9:17 am, Liam Potter <[EMAIL PROTECTED]> wrote: > it would be this > > $('p.erro

[jQuery] Re: problem with document ready function

2008-12-04 Thread firstarsbrnwhite
works great but now with the subs.hide() the toggle on the category no longer works :(

[jQuery] Re: Confirm Delete from DB

2008-12-04 Thread james182
I really need to get this fixed please help.. am new to jquery. james182 wrote: > > > Okay I'm getting there, how would i combine the delnews javascript to the > jQuery statement? > > [CODE] > > function delnews(user_id, user_firstname){ > if (confirm("Are you sure you want to de

[jQuery] IE problem

2008-12-04 Thread luke adamis
Why isn't tis working in IE? $(document).ready(function(){ //tabber var e = $('.promotion_content').length; var n = Math.floor(Math.random()*e); $('#promotion_holder > .promotion_content').hide(); $('#promoti

[jQuery] newbie: making a sortable table by some hidden value

2008-12-04 Thread pantagruel
Hi, I would like to sort a table a number of table rows by values inside hidden form elements inside cells of the table. These form elements can represent different 'datatypes' (I put datatypes in quotes because the types my application defines aren't necessarily always the classic types one migh

[jQuery] Re: SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-04 Thread Dan Switzer
Josh, > There are some issues in FF with cursors and absolute positioned divs. > Might've been fixed in FF3. Another one is the cursor won't show up in a > text field within an absolute positioned div that is in a layer above the > document body. If you do a google search on "firebox cursor bug

[jQuery] Re: jquery.cycle scrollDown FX

2008-12-04 Thread web_dev123
> > You just need to get the right style rules in there.  Here's a hint: > > http://jquery.malsup.com/cycle/test/dec4.html Wow that was easy! Thanks again Mike!

[jQuery] Re: Expanding div over an image on mouse-over

2008-12-04 Thread ricardobeat
One way to do it: http://jsbin.com/owamu/ (yeah I went crazy on the math :D) - ricardo On Dec 4, 5:24 pm, Robert K <[EMAIL PROTECTED]> wrote: > *cough* bump! :) > > On Dec 3, 1:43 pm, Robert K <[EMAIL PROTECTED]> wrote: > > > I want to add a description/info to some images, I came across this

[jQuery] div hides ok, but doesn't show up again.

2008-12-04 Thread Polskaya
Hi all, I am trying to load content from another file in several divs on one page. If i use this script: var ct=0; $(".container").each(function () { var id=this.id; $("[id="+id+"]").append("d");//alert('r'); $("#pic"+ct).hide() .load("ajax_getimage.php?url="+id); $("#pic

[jQuery] Re: Select checkbox when click on row

2008-12-04 Thread Karl Swedberg
off the top of my head: $('tr').click(function(event) { if (event.target.type !== 'checkbox') { $(':checkbox', this).click(); } }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 4, 2008, at 10:44 AM, Chizo wrote: Hi people, i need a little h

[jQuery] Re: Changing Class using Jquery

2008-12-04 Thread Paul Mills
Here is some basic jQuery that does what you want. First hide all elements with class="blocked" Then add click handler to elements with class="add" to locate the first hidden within the Category and to remove class="blocked" and show the Add similar click handler for remove element. $('.bloc

[jQuery] Re: How to animate frameset properties?

2008-12-04 Thread Jeffrey Kretz
I'm going to toss this out there, though you may not want the effort. You could sort of "roll your own" animation that uses the attribute, rather than the CSS. It would involve a setTimeout, and use the $(el).attr('cols',val); Again, that's a lot of plumbing to tackle, but any attribute that ca

[jQuery] Re: Stupid question: what is the return value of replaceWith good for?

2008-12-04 Thread ricardobeat
You can also do the opposite: $('my div').replaceAll (someHtmlElement).somethingWithTheNewElement() - ricardo On Dec 4, 5:02 pm, machineghost <[EMAIL PROTECTED]> wrote: > For some reason I didn't think that would work, because of issues with > $myDiv not being on the page when it's created (and

[jQuery] Re: SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-04 Thread Dan Switzer
No matter what I set the z-index to, it always blinks through the layer. Here's a very straightforward example that shows the issue in every version of FF2 I have: http://www.pengoworks.com/workshop/bugs/ff2_blink_through.htm -Dan > Can't reproduce it. Have you played with the z-indexes? > > On

[jQuery] Re: How to animate frameset properties?

2008-12-04 Thread andriscs
I tried it, believe me. :) Yet I had to use frames due to close deadlines as divs that I used were placed abnormally everwhere depending on which browser were presented in. I have to create a navigation side on the left and a content area on the right. The menu should always be visible while the

[jQuery] Re: SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-04 Thread Josh Nathanson
There are some issues in FF with cursors and absolute positioned divs. Might've been fixed in FF3. Another one is the cursor won't show up in a text field within an absolute positioned div that is in a layer above the document body. If you do a google search on "firebox cursor bug" or the like y

[jQuery] Re: SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-04 Thread ricardobeat
Can't reproduce it. Have you played with the z-indexes? On Dec 4, 4:02 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > I have a weird problem I'm running into again, but haven't been able to find > a fix. In FF2, when I place a over an element that > currently has focus, the blinking curs

[jQuery] Re: problem with document ready function

2008-12-04 Thread firstarsbrnwhite
ricardo your the man. thank you so much.

[jQuery] livequery not acting on radgrid ajax row elements

2008-12-04 Thread kevin mckinley
I have a livequery function that doesn't run after elements are added with an AJAX RadGrid control. the elements are image thumbnails ie: $(function() { $(".thumb").livequery(function() { $(this) .resizeToScale({ width: 50, height: 50 }); }); }); If elements are added dy

[jQuery] InnerFade bug

2008-12-04 Thread Austin S.
I'm using the InnerFade plugin for cycling through an underorderd list, works great until I resize my window to get a horizontal scroll bar and scroll to the right, the content within the InnerFade gets cut off. Not sure how to fix this? http://s54419.gridserver.com/

[jQuery] SimpleModal v1.2 released

2008-12-04 Thread Eric Martin
A new version of SimpleModal has been released. It contains a few improvements and fixes for browser related issues. There are some new options and a few that have been deprecated, so make sure to check out the project homepage for a list changes and upgrade details. Homepage: http://www.ericmma

[jQuery] Re: Expanding div over an image on mouse-over

2008-12-04 Thread Robert K
*cough* bump! :) On Dec 3, 1:43 pm, Robert K <[EMAIL PROTECTED]> wrote: > I want to add a description/info to some images, I came across this > really cool effect that I think is created usingMooTools, just > wondering if it is possible to replicate in jQuery? > > Half way down the page (http://w

[jQuery] Re: jQuery works locally, but not online

2008-12-04 Thread Michael Geary
Your #featuredProject div has a width of 0. I don't know if that is the only problem, but it's the first thing I noticed while poking around the page in Firebug. On another issue, do you not want people to be able to contact you? :-) Your phone number and email address are almost invisible. The c

[jQuery] Re: Stupid question: what is the return value of replaceWith good for?

2008-12-04 Thread machineghost
For some reason I didn't think that would work, because of issues with $myDiv not being on the page when it's created (and events only being hook-up-able to on-page elements). But after testing your example I realized that jQuery does keep it's references straight even when you create the element

[jQuery] Re: jQuery works locally, but not online

2008-12-04 Thread MorningZ
Looking at the HTML you have inside the that is the carousel, you have like meaning according the the path it would look at for the image would be http://www.fireloopcreative.co.uk/clients/new_fireloop/images/home/featuredProject-1.jpg which throws a 404 not found error On Dec 4, 1:3

[jQuery] Re: selector question

2008-12-04 Thread clorentzen
Thanks! The lack of something else wrapping each s content was indeed the problem. On Dec 4, 1:34 pm, "Charlie Griefer" <[EMAIL PROTECTED]> wrote: > On Thu, Dec 4, 2008 at 10:28 AM, Charlie Griefer > <[EMAIL PROTECTED]>wrote: > > > > > On Thu, Dec 4, 2008 at 9:56 AM, clorentzen <[EMAIL PROTECTE

[jQuery] Re: jquery + struts action

2008-12-04 Thread Eric Martin
Marta - what exactly are you trying to do? By using an Ajax call, you are going to get a response that should be the output of the forwarded action. $.ajax({ url: '/listReports.do', type:'post', cache: false, dataType:'xml', success: function (resp) { // do something with resp } }

[jQuery] Re: autocomplete help

2008-12-04 Thread Jörn Zaefferer
Take a look at the source of this demo: http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/json.html That should be very close to what you're looking for. Jörn On Thu, Dec 4, 2008 at 4:13 PM, monk.e.boy <[EMAIL PROTECTED]> wrote: > > My JS: > > var data = [ {text:'Link A', url:'/page1'},

[jQuery] Re: Stupid question: what is the return value of replaceWith good for?

2008-12-04 Thread Michael Geary
Don't forget that you don't have to do everything with chaining. Simply grab a reference to any jQuery object or DOM element you want to use later. var $myDiv = $('my div'); $(someHtmlElement).replaceWith($myDiv); $myDiv.click( function() { alert( $(this).html() ); } ); -Mike > From

[jQuery] Re: Radio Buttons - checking a option by value.

2008-12-04 Thread adita
alo. maybe like this: if ($("input[name='dita']:checked").val() == 0) is that what you mean? On Nov 11, 12:02 pm, cchurch <[EMAIL PROTECTED]> wrote: > I'm trying to work out how to a check a radio button of a particular > group based on it's value. > > Here's the html > Female > Male

[jQuery] jquery + struts action

2008-12-04 Thread Marta Figueiredo
Hi I need to call an action using jquery.. The following piece of code works correctly for it is calling and executing code the correct struts action. However.. the action itseft is not being correcty forwarded. I don't think that the problem is the action, for if I call it in other ways the

[jQuery] jQuery works locally, but not online

2008-12-04 Thread FireloopCreative
Hi, I've got 2 jQuery features in 2 pages of a site I'm building. One is a show/hide list that's working perfectly, but on another page I've got a carousel image slide feature that's working when viewed locally but not when it's uploaded to our test server, which I can't understand. I've tried r

[jQuery] Re: selector question

2008-12-04 Thread Charlie Griefer
On Thu, Dec 4, 2008 at 10:28 AM, Charlie Griefer <[EMAIL PROTECTED]>wrote: > On Thu, Dec 4, 2008 at 9:56 AM, clorentzen <[EMAIL PROTECTED]>wrote: > >> >> I'm trying to hide all the contents from s within a table *except* >> for the first in each ... I don't want to hide the s, >> just their conte

[jQuery] Re: Can't understand why this won't work

2008-12-04 Thread Marcelo Wolfgang
Hi, sorry my mistake, I've pasted the wrong part of the code :/ this is the relevant info: forget about the Thanks for spotting this On 4/12/2008 16:17, MorningZ wrote: Your selector $("#homeMenu A.colecao").click(function(e){ alert('menu'); }); says: g

[jQuery] Re: selector question

2008-12-04 Thread Charlie Griefer
On Thu, Dec 4, 2008 at 9:56 AM, clorentzen <[EMAIL PROTECTED]> wrote: > > I'm trying to hide all the contents from s within a table *except* > for the first in each ... I don't want to hide the s, > just their contents, but I'm having trouble finding the correct > selector(s) to accomplish this.

[jQuery] Re: selector question

2008-12-04 Thread MorningZ
If you don't want to manipulate the 's themselves, then you have to have the content of the 's wrapped in some sort of object so that you can show/hide it... something your example HTML doesn't have On Dec 4, 12:56 pm, clorentzen <[EMAIL PROTECTED]> wrote: > Hi -- > > I'm trying to hide all the

[jQuery] Re: Can't understand why this won't work

2008-12-04 Thread MorningZ
Your selector $("#homeMenu A.colecao").click(function(e){ alert('menu'); }); says: give me all tags with the class of "colecao" inside the object 'homeMenu' but inside the HTML you show, there is no object with the ID of "homeMenu", nor are there any tags with a class of "colecao", s

[jQuery] SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-04 Thread Dan G. Switzer, II
I have a weird problem I'm running into again, but haven't been able to find a fix. In FF2, when I place a over an element that currently has focus, the blinking cursor shows up through the top layer. I put together this little video to show off the problem: http://blog.pengoworks.com/index.cf

[jQuery] Re: Selecting a table cell based upon it's header?

2008-12-04 Thread Josh Rosenthal
To answer my own question, yes, I was. jQuery("#myHeaders>th:eq("+idxCol+")").text()); Thanks! On Thu, Dec 4, 2008 at 12:45 PM, Josh Rosenthal <[EMAIL PROTECTED]> wrote: > Basically doing that, though using eq rather than nth-child. However, I > can't seem to get eq or nth-child to take a vari

[jQuery] selector question

2008-12-04 Thread clorentzen
Hi -- I'm trying to hide all the contents from s within a table *except* for the first in each ... I don't want to hide the s, just their contents, but I'm having trouble finding the correct selector(s) to accomplish this. So, for example, if the table is: one two three four five six I'

[jQuery] Re: Stupid question: what is the return value of replaceWith good for?

2008-12-04 Thread machineghost
Aha! Thank you, that was something I totally didn't consider (moving the replaced element somewhere else_. It still seems to me that you're more likely to want to do something (like say, hookup events) to the replaced element than you are to append the replaced element somewhere else, but at lea

[jQuery] Re: Mouse Out with two divs

2008-12-04 Thread Mike Alsup
> I have a two div with two id : > > > many Contenet > >      $('#result').fadeOut();}); > > $("#result").bind("mouseleave",function(){ >      $('#result').fadeOut(); > > }); > > But i don't want that result dissapears if if move my mouse on the > other div. > > Is there a way to say : hide a d

[jQuery] Re: Targetting .class-0 .class-1 .class-2 .class-3

2008-12-04 Thread ricardobeat
A horrible solution, but in case someone is wondering: var count = 0; var cal = $('.jquery-calendar-'+count); while (cal.length) { cal.doSomething(); cal = $('.jquery-calendar-'+(++count)) } or $('[class*=jquery-calendar-]').each(function(i){ //but this way you won't be sure the in

[jQuery] Re: strange ie7-related font behaviour - jQ/ie7 bug?

2008-12-04 Thread Mike Alsup
> I'd love to see someone find a fix for this.  It seems to crop up when > the opacity is set, however removing the opacity doesn't seem to > matter.  Best workaround is to avoid fading text.  If you absolutely > have to, try putting a div in front of the text the same color as the > background an

[jQuery] Re: Selecting a table cell based upon it's header?

2008-12-04 Thread Josh Rosenthal
Basically doing that, though using eq rather than nth-child. However, I can't seem to get eq or nth-child to take a variable. When I do var idxCol = 3; jQuery("#myHeaders>th:eq(idxCol)").text(); it returns nothing, while jQuery("#myHeaders>th:eq(3)").text(); returns the header Same with nth-child

[jQuery] Re: Stupid question: what is the return value of replaceWith good for?

2008-12-04 Thread Mike Alsup
> While I love most things in jQuery, one thing I don't get is > replaceWith.  This method returns the object you just replaced, which > as far as I can see is 100% worthless, rather than the the object > you're replacing it with.  If you do: > > $.(someHtmlElement).replaceWith("my div"); 100% wo

[jQuery] Re: siblings() not working properly in IE7

2008-12-04 Thread ricardobeat
I bet that is related to incorrect markup. Are you using tbody, thead, tfoot elements? On Dec 3, 9:47 pm, Marc <[EMAIL PROTECTED]> wrote: > Has anyone ever seen the behavior where $('#someId').siblings() > returns an empty set in IE7 while returning a non-empty set in FF3? > This seems to specifi

[jQuery] Mouse Out with two divs

2008-12-04 Thread Kpitn
Hi, I have a two div with two id : many Contenet

[jQuery] Stupid question: what is the return value of replaceWith good for?

2008-12-04 Thread machineghost
While I love most things in jQuery, one thing I don't get is replaceWith. This method returns the object you just replaced, which as far as I can see is 100% worthless, rather than the the object you're replacing it with. If you do: $.(someHtmlElement).replaceWith("my div"); There is no way wh

[jQuery] Changing Class using Jquery

2008-12-04 Thread WebNot
Kindly help!!! I am in a situation where I have to develop a news website, and my client wants me to display three stories from each category rest all should be hidden by default and when a user wants to view more stories he can click "add a story" the next story with class blocked should get vis

[jQuery] Re: Can I make image change only by part of it?

2008-12-04 Thread ricardobeat
That is exactly what the page I linked to does: you put a plain image of the map with the image map, then overlay transparent GIFs (with the states) on top of each other, with the map area on top. Then you show/ hide each one of them depending on the you're hovering. Try visiting the link I gave,

[jQuery] Re: problem with document ready function

2008-12-04 Thread ricardobeat
Of course: $(document).ready(function(){ var subs = $('.menu > ul ul'); subs.hide(); $('.menu > ul > li a').click(function(){ subs.hide(); $(this).next('ul').toggle(); }); }); On Dec 4, 10:32 am, firstarsbrnwhite <[EMAIL PROTECTED]> wrote: > Think it is possib

[jQuery] Re: Select checkbox when click on row

2008-12-04 Thread MorningZ
Got an example of the html for the tag? On Dec 4, 10:44 am, Chizo <[EMAIL PROTECTED]> wrote: > Hi people, i need a little help, i´m complete new in jquery and i am a > little lost... my doubt is: > how can i check/uncheck a checkbox by clicking a row like yahoo > mail ,for example. > > my chec

[jQuery] Can't understand why this won't work

2008-12-04 Thread Marcelo Wolfgang
Hi all, I'm developing an iphone oriented site, and I'm having some problem with the click event not firing ( and I think is mine selectors who are wrong ) can anyone help me figure out? Heres the jscript: $("#homeMenu A.colecao").click(function(e){ alert('menu'); }); $("#brindesMenu, #

[jQuery] Re: click function doesn't work on html element created on the fly with jquery

2008-12-04 Thread fabrice.regnier
Hi, Thanx for the tip ;) I realize now it's a common problem with jquery. You talked about LiveQuery. According to you, what is the main difference with the quite new plugin LiveBind ? > otherwise make > sure that any newly-created elements are given notice of how the're > supposed to act when

[jQuery] Re: Tabs - External link not working on remote tab in IE 7

2008-12-04 Thread strummer75
Is there a secret handshake in this group? I am happy to go thru fraternity hazing to learn it. :) On Dec 3, 10:38 am, strummer75 <[EMAIL PROTECTED]> wrote: > Dear jQuery gang, > I am having the following issue with a remote content tab in IE 7. > > Here's the scoop: > > Link on one page ie: (htt

[jQuery] Re: strange ie7-related font behaviour - jQ/ie7 bug?

2008-12-04 Thread Jimbo M
You're seeing a known problem with IE7 (and unfortunately not fixed in the new IE8). The problem has to do with ClearType rendering of fonts. If you use a fade effect on a font rendered with ClearType, you get the ugly jagginess you are witnessing. I've whined about this to MS for a LONG time,

[jQuery] Re: Selecting a table cell based upon it's header?

2008-12-04 Thread brian
Once you loop through the headers and get the index position of a particular one, you could select the nth child of the row. On Thu, Dec 4, 2008 at 11:23 AM, Josh Rosenthal <[EMAIL PROTECTED]> wrote: > Hi All, > Hopefully this is a stupid question, and I just haven't been able to find > informati

[jQuery] Re: click function doesn't work on html element created on the fly with jquery

2008-12-04 Thread Mike Alsup
> That's because the element did not exist when you assigned the click > handler. Have a look at the liveQuery plugin [1] or otherwise make > sure that any newly-created elements are given notice of how the're > supposed to act when you introduce them to the document. > > [1]http://brandonaaron.ne

[jQuery] Re: Scope variables in anonymous functions?

2008-12-04 Thread Michael Geary
It's good that you're thinking in terms of making mini-plugins like your enable and disable functions. That's a really nice way to do things. If you want to simplify the code a bit, try: $.fn.disable = function() { return this.attr({ checked:false, disabled:true }); }; $.fn.

[jQuery] toggle text & class name and pop-up tool tip

2008-12-04 Thread ipog
Hello everybody, I'm JQuery beginner and need help on the following. I have a anchor tag with class name "red". I want three things to trigger on click of anchor link 1. change class name from "red" to "gray" 2. change anchor text from "hello" to "bye" 3. pop-up tool tip (just display will do)

[jQuery] Select checkbox when click on row

2008-12-04 Thread Chizo
Hi people, i need a little help, i´m complete new in jquery and i am a little lost... my doubt is: how can i check/uncheck a checkbox by clicking a row like yahoo mail ,for example. my checks id is (for all) CheckAreaID and the value that they are taking ar the AreaID. Thanks and sorry for my en

[jQuery] Selecting a table cell based upon it's header?

2008-12-04 Thread Josh Rosenthal
Hi All, Hopefully this is a stupid question, and I just haven't been able to find information about it. Given a table, with headers at the top. I want to loop through the rows of the table (easy), and loop through the elements of each row (easy), and based upon the values of those elements, constr

[jQuery] Re: Bug with AJAX json setting an element to a value and back to 0 when polling

2008-12-04 Thread Technocrat
Hmm over a month an no other responsesthat isn't really helpful. On Nov 14, 10:09 pm, Technocrat <[EMAIL PROTECTED]> wrote: > That was my thought as well at first, but as I said if I change > dataType to text and just alert(data); it comes across as expected.  I > also manually adjusted the o

[jQuery] Re: click function doesn't work on html element created on the fly with jquery

2008-12-04 Thread brian
That's because the element did not exist when you assigned the click handler. Have a look at the liveQuery plugin [1] or otherwise make sure that any newly-created elements are given notice of how the're supposed to act when you introduce them to the document. [1] http://brandonaaron.net/docs/liv

[jQuery] click function doesn't work on html element created on the fly with jquery

2008-12-04 Thread fabrice.regnier
hi to all ;) It seems that click function doesn't work on html element created on the fly with jquery. Where am i wrong ? When i click on the checkbox from paragraph "P2", i got the alert. But when i click on the checkbox from paragraph "P1" created on the fly (when i submit a button), then i go

[jQuery] WordPress IMM-Glossary - request for tooltip port to JQuery

2008-12-04 Thread Adam
I am attempting to use this great plugin for WP glossary creation, which has a tooltip definition option that uses prototype. http://www.internetmarketingmonitor.org/word-press-plugins/imm-glossary-wordpress-plugin/ I have a lot of other JQ running on this site, and the prototype tooltips are no

[jQuery] Re: autocomplete help

2008-12-04 Thread monk.e.boy
My JS: var data = [ {text:'Link A', url:'/page1'}, {text:'Link B', url: '/ page2'} ]; $().ready(function() { $("#names_autocomplete") .autocomplete(data, {mustMatch: true, autoFill: true, matchContains: false}) //.result(fu

[jQuery] Re: simple selector problem :beginner();

2008-12-04 Thread MorningZ
The second parameter is the "context" to search So $(this "span") would be $("span", $(this)) or $(this).find("span") On Dec 4, 9:56 am, tlob <[EMAIL PROTECTED]> wrote: > I like to select every span, thats in "this" > $(this "span") > > sorry, simple and stupid... > > full function: > f

[jQuery] simple selector problem :beginner();

2008-12-04 Thread tlob
I like to select every span, thats in "this" $(this "span") sorry, simple and stupid... full function: function liCounting (){ $("#staerke1 li,#staerke2 li").each(function(liCounter){ liCounter++; //set liCounter to 1, not 0

  1   2   >