[jQuery] Re: jquery license - what do my company have to do

2009-08-20 Thread Antoine Blanchard
ok thx for your answers. it helped a lot. On 20 août, 21:25, Stephan Beal wrote: > On Aug 20, 3:51 pm, Antoine Blanchard wrote: > > > Do we need to write a line in our docu saying: "use jquery,..., which > > is under MIT license"? > > The MIT license is explained very briefly and clearly at: >

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Jonathan Vanherpe (T & T NV)
https://bugzilla.mozilla.org/ https://bugs.webkit.org/ Leonard Martin wrote: Can someone point me to where I might log a bug with Gecko or Webkit? I'm fairly new to this whole process. Thanks again. On Aug 20, 3:41 pm, "Jonathan Vanherpe (T & T NV)" wrote: I see the same thing on Ubuntu, s

[jQuery] Re: :first relative to clicked element

2009-08-20 Thread Jules
$('#content').find('blockquote') .hide() .end() .find('h5').click(function() { $(this).nextAll('blockquote:first') .slideToggle('slow') .end() .nextAll('h6:first').slideToggle('slow');

[jQuery] Re: event handlers that run after the browser's default action

2009-08-20 Thread Tom Worster
thanks. i thought of using a timeout and it could probably be made to work fairly well. but i'd be left with the worry that some user's crummy old browser and computer that's too busy doing other things might need a longer delay than i set. we can insert event handlers at the beginning of the ev

[jQuery] Re: invalid object initializer. Pls Help

2009-08-20 Thread NotoriousWebmaster
Yeah, I found that later in the day. Thx, I appreciate yr help. - AAA On Aug 20, 8:25 pm, Jules wrote: > The first parameter format for Animate should be > {width:'100px'} instead of {width, '100px'} > > On Aug 21, 2:07 am, NotoriousWebmaster > wrote: > > > I'm trying to animate a couple of

[jQuery] jCarousellite: is it possible to remember a slide's position?

2009-08-20 Thread noahT
Today a client asked me if it's possible to remember a slide's position after clicking a link within a carousel. Basically, he hates how the carousel resets to slide 0 upon reload. Are there any suggestions on how to accomplish this? My guess is to load the link in a pop-over iFrame window similar

[jQuery] Re: event handlers that run after the browser's default action

2009-08-20 Thread ak732
This is crude, but might work for you... $("#someId").click()(function() { set_timeout(function() { // stuff to be done 2ms from now }, 2); }); You might have to play with the set_timeout delay a bit, 2ms might be too short. On Aug 20, 3:47 pm, Tom Worster wrote: > is there a way to se

[jQuery] Long running AJax request blocking the other ajax requests

2009-08-20 Thread debussy007
Hi, I execute a long task by an Ajax request, and at the same time I would like to display the percentage of this task every second. The problem is that the percentage will not display as the first request is slowing down the others. Though ... they say Ajax is synchronous ... The code is quite

[jQuery] Re: invalid object initializer. Pls Help

2009-08-20 Thread Jules
The first parameter format for Animate should be {width:'100px'} instead of {width, '100px'} On Aug 21, 2:07 am, NotoriousWebmaster wrote: > I'm trying to animate a couple of fields in a form.  When the focus > lands on field A it grows to 300px and fieldB shrinks to 100px.  When > focus lands o

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Leonard Martin
Not 100% sure what you mean, but since I haven't actually found an "in the wild" implementation for this yet (the original project it was for got canned/downscaled) I'm not massively concerned about workarounds if they involve big old hacks. It's more about the academic curiosity at the moment.

[jQuery] Re: Problems with blockUI and the form plugin

2009-08-20 Thread coptang
On Aug 20, 6:25 pm, coptang wrote: :snip: Apologies, was a PEBKAC issue in the end. As I was blocking the whole page the blockUI overlay and message were placed outside of the form. I've now switched to element blocking and blocked an element within my form.

[jQuery] Re: How to find active hyperlinks?

2009-08-20 Thread Dennis Madsen
You're right! Sorry, I found the problem here :) Thanks. On Aug 21, 12:47 am, Charlie Griefer wrote: > I'm fairly sure that, while on index.html, href="index.html">Frontpage isn't "active".  At least, not as far as the > :active pseudo-class goes. > > a:active refers to the a element that is ac

[jQuery] Re: How to find active hyperlinks?

2009-08-20 Thread Charlie Griefer
I'm fairly sure that, while on index.html, Frontpage isn't "active". At least, not as far as the :active pseudo-class goes. a:active refers to the a element that is actively receiving a click event. If you were to do: Frontpage Contact ... then you could do $('#menu a.active') On

[jQuery] Re: How to find active hyperlinks?

2009-08-20 Thread Dennis Madsen
No, not really! Say I'm on the page index.html, where I have this HTML: Frontpage Contact Since I'm on the index.html-page, the first a-tag is "active" in CSS. I would like jQuery to give my the active a-tag in my menu-div. Hope you understand my problem now. On Aug 21, 12:33 am, Charl

[jQuery] Re: How to find active hyperlinks?

2009-08-20 Thread Charlie Griefer
an "active" link is one that has received a click. so you can do: $('a').click(function() { $(this).doSomethingHere // 'this' is a reference to the element that triggered the click }); does that help? On Thu, Aug 20, 2009 at 3:30 PM, Dennis Madsen wrote: > > I've this CSS to style my li

[jQuery] How to find active hyperlinks?

2009-08-20 Thread Dennis Madsen
I've this CSS to style my links in my menu: .menu a:link, .menu a:active, .menu a:visited{ color: #ff; text-decoration: none; } I would like to find the a-tag () which is active. I've tried something like: $('.menu a:active'). How can I find that element?

[jQuery] JQuery ClueTip Arrow Issue

2009-08-20 Thread brandon
Without making the tooltip fixed is there a way to have the arrow pointer always display in the same position to the left when it hovers over the selector? i.e. the left arrow will always display in the middle of the container

[jQuery] Callback Not Working As Expected

2009-08-20 Thread GLSmyth
I am looking to fade text out when the mouse passes over it and replace it with text that is faded in. My understanding is that this needs to be done through a callback, as the text needs to fade out completely before fading in. However, when I try to implement this idea the content does not fade

[jQuery] Callback Not Working (As Expected)

2009-08-20 Thread Eclectic Mix
I am looking to fade text out when the mouse passes over it and replace it with text that is faded in. My understanding is that this needs to be done through a callback, as the text needs to fade out completely before fading in. However, when I try to implement this idea the content does not fade

[jQuery] Re: hide divs with float:left and show them again

2009-08-20 Thread Kevin
Is the layout broken initially or only after you hide/show the content? When you inspect the DIVs in Firebug, do they still have their float properties assigned? Are you specifying a width on the boxes? Posting example code always helps other developers troubleshoot your issues faster =) On Aug 2

[jQuery] Problems with blockUI and the form plugin

2009-08-20 Thread coptang
And I'm using taconite too so possibly one for Mike ;-D To summarise: I'm calling blockUI and then running ajaxForm on my whole page form. BlockUI is firing an overlay (with form field content) but only after the form has been ajaxed. Because of this my fields aren't seen as in the form and so su

[jQuery] Looking for an auto-populate multi-select box plugin

2009-08-20 Thread Becky
Hello group, I am working on a form that has one select box that auto-populates the next select box with a list of values. The first select box is a category and the next represents a list of products within that category. When the category is selected, the list of products for that category ap

[jQuery] Superfish menu & French language

2009-08-20 Thread Cat
I'm wondering if there is a way to get special characters (French letters eg: É) to appear properly in the superfish menu. I'm using the code: É in the HTML list but when posted the special characters are not showing. Anything I can do to get them to render? Thanks!

[jQuery] Re: sort not work properly in Scandinavian character

2009-08-20 Thread skaarup
madan_hytech wrote: > > Hi, > > I have used Jquery TableSorter to sort text on client side its working > fine except following issue. > > “Sort on area is not correct for Scandinavian chars, the Scandinavian > letters shall be in this order – æ ø å and for capitalized it is Æ Ø Å” > > Curren

[jQuery] invalid object initializer. Pls Help

2009-08-20 Thread NotoriousWebmaster
I'm trying to animate a couple of fields in a form. When the focus lands on field A it grows to 300px and fieldB shrinks to 100px. When focus lands on field B, it grows to 300 and field A shrinks to 100px. Here's my code: function resizeSearchAsk() { console.log('SearchAsk');

[jQuery] JQuery Function Menu Fade

2009-08-20 Thread Karen Morales
Hi Guys I would appreciate if someone could guide me and provide some help into building a menu like this http://www.stunicholls.com/menu/pro_dropdown_2.html using the ordered list below. The Fade issue I would like to compose is when hovering the LI items to have the sort of Fade In/Out on hover

[jQuery] Cursor moves to start position in Opera Autocomplete Plugin

2009-08-20 Thread juanefren
With the autocomplete plugin and using Opera; When the input value, is not found in the suggestions the cursor moves to the beginning of the text, does any body knows how to solve it ? Thanks in advance

[jQuery] :first relative to clicked element

2009-08-20 Thread Carl-Johan Lindqvist
Hi I'm just learning jQuery and have some troubles with the selectors. I'm using this (found in the basic training file) to show and hide a Blockquote paragraph. $('#content').find('blockquote').hide().end().find('h5').click(function () { $(this).next().next().slideToggle('slow');

[jQuery] Cycle plugin: problem showing slide titles in pager (using pagerAnchorBuilder function)

2009-08-20 Thread lumpysimon
Hi This question has been asked several times in various places online, but the solution that's usually given isn't working for me. I want to show the slide titles (rather than just numbers) in the pager, so am calling it like this: jQuery(document).ready(function() { jQuery('#cycle-pic

[jQuery] Superfish menu & French language

2009-08-20 Thread Cat
I'm wondering if there is a way to get special characters (French letters eg: É) to appear properly in the superfish menu. I'm using the code: É in the HTML list but when posted the special characters are not showing. Anything I can do to get them to render? Thanks!

[jQuery] Dynamic AJAX call on element show()/toggle()

2009-08-20 Thread Wrenbjor
ok I am using the table expanding code found here http://www.jankoatwarpspeed.com/post/2009/07/20/Expand-table-rows-with-jQuery-jExpand-plugin.aspx basicily it hides the even rows on the table and when you click a row that is shown (a master row) the row under it slides into place. it works great

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Quang Ngo
On Thu, Aug 20, 2009 at 6:56 AM, Leonard Martin wrote: > > I don't think so. I tried it with ClearType enabled and disbaled and > the effect was the same either way. It also seems not to affect MSIE, > only Gecko and Webkit. > Perhaps, as a workaround you can erase the trail with some spaces?

[jQuery] Re: jquery menu that works with ie6 (plugin?)

2009-08-20 Thread Jack Killpatrick
I've used this in a bunch of sites that had to work in IE6: http://jdsharp.us/jQuery/plugins/jdMenu/ - Jack con-man-jake wrote: Can anyone recommend a jquery menu plug that works with ie6? I have a menu done with s and s with pure css. It doesn't work with ie6 (because it's pure css.) I we

[jQuery] Re: jQuery internals and exception handling

2009-08-20 Thread ak732
I decided to wrap this up as a plugin and see what happens. The code is here: http://pastebin.com/f579d999d It works, sort of. But there are some strange side-effects. I should point out that I'm using jQuery 1.2.6 because our app (lots of code at this point) is incompatible with 1.3.x in

[jQuery] Re: hide divs with float:left and show them again

2009-08-20 Thread Mauricio (Maujor) Samy Silva
When you remove a floated element from the flow of a document its position is occupied by the next float and this causes the ruin! To preserve the space leaving by a removed div how about use: css('visibility', 'hidden'); istead of show() Maurício -Mensagem Original- De: simusch P

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread dkomo872
On Aug 20, 11:53 am, ak732 wrote: > Just be aware that doing the ajax call synchronously will block (lock > up) the browser until the request/response completes.  This is > typically okay when running locally, but can be very noticeable when > running on slower connections (e.g. shared hosting)

[jQuery] jQuery ready() not firing when page anchor in URL changes

2009-08-20 Thread bill123
It looks like jQuery's ready() function doesn't fire when the Back button is used if only the page anchor location in the URL changes. Example: Say you go to here http://mywebsite.com/#test1 then here http://mywebsite.com/#test2 and then use the Back button to go back to here h

[jQuery] slideToggle - form elements (checkbox) show before the animation IE6 and IE7

2009-08-20 Thread Magnificent
Hello all, Wondering if anyone has come across this issue I'm having with slideToggle and form elements on the show/hide content - all in IE6 and IE7. IE8 seems to be OK. I am using slideToggle to show/hide some form elements, checkboxes in my case. When the slideToggle is triggered, the check

[jQuery] hide divs with float:left and show them again

2009-08-20 Thread simusch
Hi I have a site with a lot of small div-boxes (with images and movies within them) they are positioned with CSS and float:left. i created buttons, which show and hide either all images or all movies this works well. but when i switch between these options, the float-position of the divs goes c

[jQuery] event handlers that run after the browser's default action

2009-08-20 Thread Tom Worster
is there a way to set up a page so that a event handler function is bound to a DOM object and event but it runs _after_ the browser's default action is complete?

[jQuery] Re: [autocomplete] trigger event if user rejects all autocomplete otions

2009-08-20 Thread Jörn Zaefferer
You could try this, similar to what the plugin does for the mustMatch option: $(".autocomplete").blur(function() { $(this).search(function(result) { if (!result) { // no match found, do something, eg. clearing other fields } }); }); Jörn On Tue, Aug 11, 2009 at 8:30 PM, Ash wr

[jQuery] Re: [autocomplete] how to clear hidden "key" field when user changes text value?

2009-08-20 Thread Jörn Zaefferer
You could try this, similar to what the plugin does for the mustMatch option: $(".autocomplete").blur(function() { $(this).search(function(result) { if (!result) { // no match found, do something, eg. clearing other fields } }); }); Jörn On Thu, Aug 13, 2009 at 5:25 PM, Billy wrote

[jQuery] jquery menu that works with ie6 (plugin?)

2009-08-20 Thread con-man-jake
Can anyone recommend a jquery menu plug that works with ie6? I have a menu done with s and s with pure css. It doesn't work with ie6 (because it's pure css.) I went through the list of jquery plugins, but most of them are fancy (as in iPod like menu and what have you...) I only need a simple s

[jQuery] Re: jquery license - what do my company have to do

2009-08-20 Thread Stephan Beal
On Aug 20, 3:51 pm, Antoine Blanchard wrote: > Do we need to write a line in our docu saying: "use jquery,..., which > is under MIT license"? The MIT license is explained very briefly and clearly at: http://en.wikipedia.org/wiki/MIT_License You don't need to do anything special except accept t

[jQuery] Re: setData and extraParams problem

2009-08-20 Thread Jörn Zaefferer
What exact version of the autocomplete plugin are you using? Have you tried autocomplete("option", "extraParams", ...) instead of setData? Jörn On Sat, Aug 8, 2009 at 6:19 PM, pankaj wrote: > > Actually this part was working previously.I found one difference here, > maybe that help us to find o

[jQuery] Re: jQuery internals and exception handling

2009-08-20 Thread Stephan Beal
On Aug 20, 9:17 pm, Stephan Beal wrote: > that apply() will handle that special case. Also be aware that apply > takes a list of args, like foo.apply(this,arg1,arg2,arg3), whereas call > () takes the args as a single array: foo.call(this,[arg1,arg2,arg3]). Sorry, that's exactly backwards: apply

[jQuery] How to create XML

2009-08-20 Thread jeanluca
Hi All I need to create XML, for example, this is (simplified) what I have to do: var x = jQuery.makeXML('8.1) ; // this line is my problem!! console.log("Version = %s", $('version', x).text() ) ; Is this possible and what is the best way to do this ? cheers

[jQuery] Re: jQuery internals and exception handling

2009-08-20 Thread Stephan Beal
On Aug 19, 11:04 pm, ak732 wrote: >         ofn.apply(this, arguments); Be aware that the "arguments" object is-not-a Array (it's an object with a length property), and i don't think there's a guaranty that that apply() will handle that special case. Also be aware that apply takes a list of args

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread ldexterldesign
Cheers for your help Ben. I'll crack on with this in the morning and update this post with how I get on. Thanks, L On Aug 20, 4:50 pm, Benjamin Sterling wrote: > lewis, > First, use pastebin.com or something like next time, it'll help us > help you. > > So, you need to wrap each group of h2 + d

[jQuery] Re: Getting form field values

2009-08-20 Thread mkmanning
I'm assuming you want the current value of the checked checboxes. Just use .serialize() var inputs = $("input[name^='day']").change(function () { console.log(inputs.serialize()); }); the output of serialize() is a query string, just split on '&' for an array of key=value that you can then proc

[jQuery] Re: jQuery internals and exception handling

2009-08-20 Thread ak732
I now see that jQuery has an error event handler. So a lot of what I posted below is, well, just stupid. However in some quick testing, there appear to be some problems with the error event. It's not working the same way for IE7 and FF3.5x. Some differences: The jQuery docs indicate that the e

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread ldexterldesign
http://is.gd/2qubA < basically I need to do this client-side. I've taken your advice (I normally pseudo the JS I need in HTML/PHP beforehand anyway (I'll admit I'm not as good with jQuery as some of you on here)), but on this occasion I'm working with a post loop. It's not gonna be worth my time t

[jQuery] Re: $load- images in cache

2009-08-20 Thread Charlie
found better method using combination of image load plugin http://letmehaveblog.blogspot.com/2006/08/simple-jquery-plugin-to-load-images.html   and natve onload handlers to get first few images started Charlie wrote: I'm working with some large images that are in markup but being processe

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread ak732
I didn't understand from your original post that you wanted to wrap a series of elements where the series was of indeterminate length. From what you posted in reply, it looks like Benjamin's answer will work, although if I understand correctly, .postmetadata is the marker class marking the final

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread ak732
Just be aware that doing the ajax call synchronously will block (lock up) the browser until the request/response completes. This is typically okay when running locally, but can be very noticeable when running on slower connections (e.g. shared hosting). There's no reason why you cannot do this a

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread Benjamin Sterling
lewis, First, use pastebin.com or something like next time, it'll help us help you. So, you need to wrap each group of h2 + div + p + p.postmetadata Check out http://snipplr.com/view/4746/jquery--nextuntil/ and you should be able to do something like: $('h2').nextUntil('.scrollablePost').wrap(

[jQuery] Re: Simple Plugin for jQuery

2009-08-20 Thread Cesar Sanz
instead, it must to be something like $.makemailto({opts}) read this http://snook.ca/archives/javascript/jquery_plugin/ - Original Message - From: "ElJayWilson" To: "jQuery (English)" Sent: Wednesday, August 19, 2009 1:54 PM Subject: [jQuery] Simple Plugin for jQuery I am trying

[jQuery] Re: jQuery internals and exception handling

2009-08-20 Thread ak732
Uh - what I meant was that what I posted *above* (not below) was stupid. The irony is killing me.

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread dkomo872
On Aug 20, 6:59 am, MorningZ wrote: > "Does anyone know what is wrong?  I've never seen an ordinary function > behave this way. " > > That's because $.post (and the resultant $.ajax) isn't "ordinary", > it's an asynchronous call and when you hit the line > >  jsonData = eval('(' + data + ')');

[jQuery] $load- images in cache

2009-08-20 Thread Charlie
I'm working with some large images that are in markup but being processed into queued animations. If image is already loaded but I call $load will it pull image from browser cache? I  want to use the success to do some size processing

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread ldexterldesign
I've asked myself this, but I'm in too deep now. It all goes back to a site structure stage believe it or not. I'm building a pretty unconventional layout from a client's design. I use progressive enhancement, so to go back into my PHP at this point would be a bad idea. Thanks, L On Aug 20, 5:2

[jQuery] Re: Checkbox perpetually marked as checked

2009-08-20 Thread Jon Banner
double == in your if statements might do the job. 2009/8/19 Nick Moy > > When the if else statements are removed, they are not perpetually > checked. > > On Aug 19, 4:34 pm, labbit wrote: > > Hello, > > > > I'm trying to write an if else statement in javascript so that when a > > check box is

[jQuery] Re: jquery license - what do my company have to do

2009-08-20 Thread Jonathan Vanherpe (T & T NV)
Antoine Blanchard wrote: Hi everyone, For the latest project I have lead (which is a java web project) I have included some jquery,jqueryui and 1 or 2 jquery plugins, knowing that the MIT license allow us to use it even for commercial use. Now that the v1 is almost done. We are wondering what e

[jQuery] Code Not Working on IE

2009-08-20 Thread gratisaccount
I'm using to parse the response coming from '.aspx' page. Response comes in the form of 'text/xml', which is rendered very well in all browsers except the IE.:,( I did uploaded my code on the server but the problem exists. Can any body tell me what can be the problem & how I can resolve it? Fo

[jQuery] ajaxSubmit encoding problems

2009-08-20 Thread Fabricio Braga
Hi all, I have a little problem here with ajaxSubmit when submitting a form. The point is that any special characters like "á" or "ç" (they are from latin, portuguese) are going to the server replaced by strange characters, like "ç "... I`m sure it is just an encoding problem, so how can I set

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread Liam Potter
why would you be doing this with jquery anyway? ldexterldesign wrote: Don't you think I thought about using that straight away? How can I wrap a group of elements in the DOM when I don't know what elements will be there in first place. I'm aiming to wrap, essentially, a blog post, so: $(docum

[jQuery] unsubscribe

2009-08-20 Thread Steve Tran

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread ldexterldesign
Don't you think I thought about using that straight away? How can I wrap a group of elements in the DOM when I don't know what elements will be there in first place. I'm aiming to wrap, essentially, a blog post, so: $(document).ready(function(){ $('h2').wrap(''); }); // would be

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread ak732
go to: http://api.jquery.com/ and put "wrap" in the filter box On Aug 20, 10:06 am, ldexterldesign wrote: > Yo guys, > > I need to wrap this chuck of HTML in a :http://is.gd/2qatX > > Any thoughts? > > $(document).ready(function(){ >         $('').insertBefore('.page-id-9 h2'); >         $('').i

[jQuery] Re: Getting form field values

2009-08-20 Thread Nathan Bubna
You could use my Values plugin ( http://plugins.jquery.com/project/values ) and do: $(document).ready(function() { $("input[name^=day]").change(function () { var all = $('input[name^=day]').values(); for (var day in all) { if (all[day] !== null) {

[jQuery] Re: Dropdown menu Issue

2009-08-20 Thread Xenongasman
Yeah technically that works, but the problem is the CSS does need to be reset after the animation finishes or else it cuts the menu off. I've uploaded a video to Youtube that will show what happens. Its still processing the upload but should be done soon: http://www.youtube.com/watch?v=Yll3q2O6MR

[jQuery] Re: KFManager v1.0

2009-08-20 Thread Ken
sorry. because the time busy, can the next time I will put it to MCE. 2009/8/20 Sam Sherlock > great work Ken > > on the mce page the normal mce manager opens for me - and as Cyril said the > page is title FCK > on the fck page you open KFManager by clicking in the text box above the > editor wh

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Leonard Martin
Can someone point me to where I might log a bug with Gecko or Webkit? I'm fairly new to this whole process. Thanks again. On Aug 20, 3:41 pm, "Jonathan Vanherpe (T & T NV)" wrote: > I see the same thing on Ubuntu, so I guess it's some bug that's both in > Gecko and Webkit (I see it in Firefox

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Jonathan Vanherpe (T & T NV)
I see the same thing on Ubuntu, so I guess it's some bug that's both in Gecko and Webkit (I see it in Firefox and in Chromium, not in Opera). There's slight differences between the way the artifacts are shown in both browsers. Your best bet might be to try and get in touch with somebody that

[jQuery] Re: Getting form field values

2009-08-20 Thread ak732
You could do it in a loop using each(): $("input[name^='day']").each(function() { if ($(this).is(":checked")) { // do whatever } }); On Aug 19, 5:20 pm, blcArmadillo wrote: > I have a simple set of checkboxes: > > Sun name="day2" type="checkbox" value="mon" /> Mon type="checkbox" va

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Leonard Martin
I don't think so. I tried it with ClearType enabled and disbaled and the effect was the same either way. It also seems not to affect MSIE, only Gecko and Webkit. On Aug 20, 2:49 pm, Liam Potter wrote: > Might have something to do with cleartype? > > Leonard Martin wrote: > > Apologies, I misse

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread MorningZ
the code i posted should have no problem working as long as it is used properly... without seeing your actual HTML and where stuff is and what gets called, it's impossible to help completely. and the / thing won't matter that much as long as document.ready is used... but even that's a guess

[jQuery] 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread ldexterldesign
Yo guys, I need to wrap this chuck of HTML in a : http://is.gd/2qatX Any thoughts? $(document).ready(function(){ $('').insertBefore('.page-id-9 h2'); $('').insertAfter('.page-id-9 .postmetadata'); }); ...just pumps out at both ends, as you'll see from the above screens

[jQuery] Re: Hey ive got a question about a realy basic thing im trying to implement

2009-08-20 Thread ak732
You're not seeing the alert? Did you remember to include the link to the jQuery library on the page first? On Aug 19, 4:17 pm, "bmo...@pushthefuture.org" wrote: > Hey ive got a question about a realy basic thing im trying to > implement on wordpress with Graphpaperpress's Modularity theme. > >

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread MorningZ
and just to note success = SaveSearch_Success, should look just like that... it shouldn't be success = SaveSearch_Success(), or success = SaveSearch_Success(data), or *anything else*... it already "knows" to pass the resultant JSON to the function On Aug 20, 9:34 am, dkomo872

[jQuery] jquery license - what do my company have to do

2009-08-20 Thread Antoine Blanchard
Hi everyone, For the latest project I have lead (which is a java web project) I have included some jquery,jqueryui and 1 or 2 jquery plugins, knowing that the MIT license allow us to use it even for commercial use. Now that the v1 is almost done. We are wondering what exactly we have to do to be

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread ldexterldesign
Cheers Dan, but that doesn't close the properly: http://twitpic.com/el8q8 :[ L On Aug 20, 3:15 pm, DanWellman wrote: > Hey dude, > > I never create and add closing elements, jQuery will usually always do > this automatically. > > I would just do something like: > > $(function() { >   var div =

[jQuery] Re: click-event-handler for dynamically created a-elements?

2009-08-20 Thread ak732
There are a lot of ways to do this, here are a couple: $("#div99").append("I am in div99").click (function(){alert("hello world");}); $("").attr({id:"alnDiv99", href:"#"}).text("I am in div99").click (function(){alert("hello world");}).appendTo("#div99"); On Aug 20, 6:42 am, Audrey A Lee wrot

[jQuery] Re: Dropdown menu Issue

2009-08-20 Thread Leonard Martin
I think if you reverse the parameters you're passing to stop() then that should achieve what you're after. You want to clear the queue (true for first parameter) but stop the animation where it is, not go to the end (false for second paramter). On Aug 20, 3:16 pm, Xenongasman wrote: > Okay, s

[jQuery] Re: Animation "Vapour Trails"

2009-08-20 Thread Liam Potter
Might have something to do with cleartype? Leonard Martin wrote: Apologies, I missed the link: http://in.tellig.net/jquery.animateparam/jquery.animateparam.js and http://in.tellig.net/jquery.animateparam/ for an example. On Aug 19, 2:08 pm, Leonard Martin wrote: I've been trying to

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread dkomo872
On Aug 20, 6:26 am, Chrazy wrote: > From the looks of it, why don't you use the $.ajax function and do > your stuff on success? Seems like an easier way to structure things. > > Sometimes a variable used in a function that you want to use elsewhere > has to be stored somewhere as it won't be re

[jQuery] Re: Dropdown menu Issue

2009-08-20 Thread Xenongasman
Okay, so this work but I got another question... When the menu is animating down or up, if you move off it jumps to the end and starts the animation the other way, is there a way to make it just start sliding up from where it is? On Aug 13, 5:45 pm, Xenongasman wrote: > Actually the answer is a

[jQuery] Re: 'Wrapping' some (not just 1 pair) HTML elements in a ?

2009-08-20 Thread DanWellman
Hey dude, I never create and add closing elements, jQuery will usually always do this automatically. I would just do something like: $(function() { var div = $("").addClass("scrollablePost"); $('.page-od-9 .postmetadata').appendTo(div); div.insertBefore('.page-id-9 h2'); }); That would b

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread dkomo872
On Aug 20, 6:59 am, MorningZ wrote: > "Does anyone know what is wrong?  I've never seen an ordinary function > behave this way. " > > That's because $.post (and the resultant $.ajax) isn't "ordinary", > it's an asynchronous call and when you hit the line > >  jsonData = eval('(' + data + ')');

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread ak732
Try doing this and see if it works: #msg_div {font-color:red;} $.post('save_search.php', formData, function(data) { jsonData = eval('(' + data + ')'); if (jsonData.return_status.search("successful") > -1) { $('#msg_div').html("Search was saved"); } else { $('#msg_div').html("Search

[jQuery] Re: using attr() on html element

2009-08-20 Thread ak732
Try "borderStyle" instead of "border-style" and you should be okay. On Aug 19, 10:44 pm, Terry wrote: > I'm trying to "turn" the border for input fields on (or off). > > In my css I have border-style:none, and I want to turn the border back > on if the first input is empty. > > $("input[type='te

[jQuery] Re: click-event-handler for dynamically created a-elements?

2009-08-20 Thread ak732
You might also want to check go to http://api.jquery.com and check out the "live" method under Events-->Live Events. On Aug 20, 9:43 am, ak732 wrote: > There are a lot of ways to do this, here are a couple: > > $("#div99").append("I am in div99").click > (function(){alert("hello world");}); > >

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread dkomo872
On Aug 20, 7:01 am, Leonard Martin wrote: > The trouble is that the $.post is run asynchronously so anything after > the $.post will be executed before the callback function. > > If you want the returned data to be available outside the callback > then it will have to be inside a function which

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread MorningZ
"Does anyone know what is wrong? I've never seen an ordinary function behave this way. " That's because $.post (and the resultant $.ajax) isn't "ordinary", it's an asynchronous call and when you hit the line jsonData = eval('(' + data + ')'); the script isn't back from the post call yet

[jQuery] Re: any toolkit to validata the 'form' of Json text-string?

2009-08-20 Thread MorningZ
json2.js would help http://www.json.org/js.html in particular the ".parse" method On Aug 20, 1:42 am, Mead Lai wrote: > I just use the Regular Expression, which my friend give me: > > function checkJsonFormat(text){ >         return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(text.replace(/"(\

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread Leonard Martin
The trouble is that the $.post is run asynchronously so anything after the $.post will be executed before the callback function. If you want the returned data to be available outside the callback then it will have to be inside a function which is called from within your callback method. e.g. v

[jQuery] Re: Orange Color is not Visible in Slider Range

2009-08-20 Thread Richard D. Worth
You don't have a range slider, you have a multi-handle/value slider, where the handles can cross each other and are unrelated. And range: true to your slider init: jQuery('#slider').slider({ range: true, ... }); See http://docs.jquery.com/UI/Slider#option-range Also, since you're specifying v

[jQuery] Re: Get directions on Google map with jquery

2009-08-20 Thread Charlie
Hi this requires using ajax ( either jQuery or google code) to send/retrieve the information which also needs to be tied into gmap code which is part of the Google map API. Google has to geocode both locations and return the directions. Once directions returned jQuery can be helpful for displ

[jQuery] Re: Problem with Ajax callback function in jQuery

2009-08-20 Thread Chrazy
>From the looks of it, why don't you use the $.ajax function and do your stuff on success? Seems like an easier way to structure things. Sometimes a variable used in a function that you want to use elsewhere has to be stored somewhere as it won't be recognized globally. Check http://docs.jquery.c

[jQuery] Re: Hey ive got a question about a realy basic thing im trying to implement on wordpress with Gr

2009-08-20 Thread Charlie
try converting "$" to "jQuery" in all of your functions, theme may be using noConflict bmo...@pushthefuture.org wrote: Hey ive got a question about a realy basic thing im trying to implement on wordpress with Graphpaperpress's Modularity theme. Here it is: $(document).ready(function()

  1   2   >