[jQuery] Fetch (ajax) a file only if it's been modified

2008-12-17 Thread Magnificent
Hi all, I'm trying to fetch a file, but only if the Last-Modified header has changed. What I have is a page that fetches a data file every X seconds (20 in my case) and displays that info to the user. That data file is updated on the server whenever a user takes specific action. It works fine do

[jQuery] Re: serialScroll and jCarousel lite

2008-12-17 Thread IsRaz88
I have a carousel set up at http://www.genreps.com. Currently when you hover over the arrows the carousel will move in the selected direction and pause once it has moved over the width of one item. It is my understanding that implementing serialScroll along with my carousel will allow the carouse

[jQuery] Re: multiple checkboxes showing/hiding a div

2008-12-17 Thread Ricardo Tomasi
var $check = $(':checkbox'); $check.change(function(){ $('#special')[ $check.attr('checked') ? 'show' : 'hide' ]('slow'); }); that's essentially the same as $check.attr('checked') ? $('special').show('slow') : $('special').hide ('slow'); (which is an if/else). And you don't need the IDs on t

[jQuery] Re: multiple checkboxes showing/hiding a div

2008-12-17 Thread Dave Methvin
> I have two checkboxes. When either one is checked, I would like to > show a div. When both are not checked, then I want the div hidden. I would just use a straight show/hide since the toggle conditions are unusual. Something like this should work but I haven't tried it. $("#check_1, #check_2

[jQuery] Re: What am I doing wrong here -- htmlTo?

2008-12-17 Thread ken
You're right, somehow I missed it. Thanks everyone! On Wed, Dec 17, 2008 at 9:22 PM, Ricardo Tomasi wrote: > > What's wrong with the solution suggested by Kean above? It's prettier > than this and works fine. > > $('#foo').html('').find('img').attr > ("src","asdf.gif"); > > - ricardo > > On Dec 1

[jQuery] multiple checkboxes showing/hiding a div

2008-12-17 Thread krozi...@gmail.com
Folks, I have two checkboxes. When either one is checked, I would like to show a div. When both are not checked, then I want the div hidden. However, I've only been able to use toggle to show and hide the div only when checking/unchecking one checkbox. It's not quite what I need. So far I hav

[jQuery] Re: jQuery tips and tricks article

2008-12-17 Thread Jack Killpatrick
Real nice, Jon. Some good stuff in there. Thanks for sharing the link and posting it. I saw a bunch of retweets of it on Twitter, too, cool. Nice to spread the goodness around. - Jack jonhobbs wrote: Hi guys, I hope nobody minds me posting this on here but I've just written an article abou

[jQuery] Re: using cycle for website navigation, choppy in firefox

2008-12-17 Thread Ricardo Tomasi
I can see the choppiness you mention here (FF3 on a 2.0ghz PC). It seems the image at the #bottomback div is somehow being affected/moved by the slide animations. Try using it as a background-image for the body or a layer, and use absolute positioning instead of fixed - doesn't make any difference

[jQuery] Re: What am I doing wrong here -- htmlTo?

2008-12-17 Thread Ricardo Tomasi
What's wrong with the solution suggested by Kean above? It's prettier than this and works fine. $('#foo').html('').find('img').attr ("src","asdf.gif"); - ricardo On Dec 17, 6:03 pm, ken wrote: > That's basically the form I've developed thus far: > >             var img = jQuery( '' ).attr( 'sr

[jQuery] Re: jQuery tips and tricks article

2008-12-17 Thread brian
Yes, good stuff. Thanks. On Wed, Dec 17, 2008 at 8:04 PM, Mike Chabot wrote: > > Jon, > Thanks for writing that article. It was very clear and helpful. > > -Mike Chabot > > On Tue, Dec 16, 2008 at 10:51 AM, jonhobbs wrote: >> >> Hi guys, >> >> I hope nobody minds me posting this on here but I'v

[jQuery] Re: Make list of unique json data?

2008-12-17 Thread brian
On Wed, Dec 17, 2008 at 7:27 PM, Dave Methvin wrote: > > It might be worthwhile to generalize it and just push the original > JSON record onto the list. That way the code doesn't need to change if > you later need to pass more than title and link. > > var categories = {}, groupBy = "CATEGORY"; >

[jQuery] Re: using cycle for website navigation, choppy in firefox

2008-12-17 Thread Mike Alsup
> Great news, I was able to get the site online so I can show others and > therefore get some help.  Here is the URL:http://adc4web.adceval.com > Any insight to why it is being jerky/choppy would be greatly appreciated. > Thanks > Mike Hmm, tested in FF3.05 (Mac) and it looks fine.

[jQuery] Re: jQuery tips and tricks article

2008-12-17 Thread Mike Chabot
Jon, Thanks for writing that article. It was very clear and helpful. -Mike Chabot On Tue, Dec 16, 2008 at 10:51 AM, jonhobbs wrote: > > Hi guys, > > I hope nobody minds me posting this on here but I've just written an > article about "improving your jquery" for our blog. > > It's the first big

[jQuery] JCarousel Highlight current item - External controls

2008-12-17 Thread MayurJ
Hi everyone. I just built this jcarousel and am wondering how to highlight the current item on my external control. http://skill-base.redprimary.com Thanks!

[jQuery] [validate] Ignore maxLength in validated field

2008-12-17 Thread Titus
I'm using another jQuery plugin (jquery.textCounting.js) to display a character limit for each field based on its maxlength field. I don't want jquery.validate.js to validate the maxlength for any field in my form, but I do want it to perform all its other functions. Any idea how to do this? Rig

[jQuery] [validate] optionally trim input

2008-12-17 Thread stephen friedrich
I noticed that in the "Isn't that nice and easy?" demo where two characters are required for the "Name" field I can enter two spaces just fine. Is there an option to control that behavior and let the validation trim white spaces before and after the text before validation?

[jQuery] Re: jCarousel - How do I reset animation time

2008-12-17 Thread @.
I would like to know the same thing - how to reset the autoscroll? As now if I have auto:7 then going to other item it just continues to count and doesn't start from 0 again.

[jQuery] Scope/Context Question

2008-12-17 Thread MikeMikk
Hello all, I'm a newbie to jQuery and I need a sanity check. I'm trying to use the 'data' function of jquery to save some data between redrawing div's. Even though I can find the cached data using Firebug, in some situations I can't retrieve the data. Here is a minimalistic example: function f

[jQuery] FlexBox Plugin Not Paging

2008-12-17 Thread Magi
[Synopsis] Dynamic 20 count list. Need displayed 5 results per page. 4 pages total. [Currently] Data comes back good. Initial Display count good. Summary info and page count good. [Problem] Scroll bars appear that show all 20 results. There should be no scroll bars. There should be only 5 initia

[jQuery] Re: Optimized Code

2008-12-17 Thread Dave Methvin
Ricardo's last point is important. Quite often you can improve jQuery code significantly by choosing convenient markup.

[jQuery] Re: Make list of unique json data?

2008-12-17 Thread Dave Methvin
It might be worthwhile to generalize it and just push the original JSON record onto the list. That way the code doesn't need to change if you later need to pass more than title and link. var categories = {}, groupBy = "CATEGORY"; $.each(myData.records, function(i, record) { if (!categories[rec

[jQuery] Re: javascript namespacer

2008-12-17 Thread Kean
Thanks! I knew eval was bad, that's why I'd posted it here. :) On Dec 17, 2:24 pm, Ariel Flesler wrote: > No eval() please! > > function namespace(name, data){ >      data = data || window; >      name = name.split("."); > >      for (var i=0; i < name.length; i++) { >          var ns = name[i]

[jQuery] Re: Is there a way to functionally IGNOR 'Object Expected' FATAL errors with IE6 IE7 ??

2008-12-17 Thread yvonney
um.. TA DA Fixed If it wasn't for your reply CAM I would not have gotten to the point ofre-checking, what I THOUGHT I saw error-wise earlier.. So although it's not totally debugged it now works in the IEs AND I know what the problems aregenerally... Amazing how the hel

[jQuery] Re: Is there a way to functionally IGNOR 'Object Expected' FATAL errors with IE6 IE7 ??

2008-12-17 Thread yvonney
UPDATE: ! Hi just went back into FF3's error console and whatever I did earlier to VIEW errors is way different (output-wise) now... There's JUST 2 errors... one JS and one CSS. This could be great and, they are exactly the same line numbers etc. that the IEs complain about... js one

[jQuery] Re: Is there a way to functionally IGNOR 'Object Expected' FATAL errors with IE6 IE7 ??

2008-12-17 Thread yvonney
Thanks CAM! yes, I pretty much ['almost-kinda:-)] thought that about JRE though mentioned it anyways just in case there was a possibility it could help. So eek! well, it's a reall horrific mess so i'll wander around holding my face in my hand and have a think... you see... it's about 8 or so j

[jQuery] Re: Is there a way to functionally IGNOR 'Object Expected' FATAL errors with IE6 IE7 ??

2008-12-17 Thread Cam Spiers
> > I though it was the need to install the JRE java stuff as I'm running > XPsp2 in virtualbox. JavaScript doesn't have anything to do with Java apart from the similarities in naming. If you send a link to your code people might be able to help out :) Sorry but I do think you will have to debu

[jQuery] Is there a way to functionally IGNOR 'Object Expected' FATAL errors with IE6 IE7 ??

2008-12-17 Thread yvonney
Hi!!! Well after 1000's of newbie hours I've got my page looking nice in IE and FF. Thing is I get absolutely NO JQuery or Javascript funtioning in IE6 or IE7... I though it was the need to install the JRE java stuff as I'm running XPsp2 in virtualbox. Anyways... I get the Obect Expected mes

[jQuery] Re: Problem on jquery 1.2.6 with ie6

2008-12-17 Thread Ariel Flesler
You're probably passing an easing equation (name) that is not registered. You either find it and remove it, or add the plugin: http://gsgd.co.uk/sandbox/jquery/easing/ Cheers -- Ariel Flesler http://flesler.blogspot.com/ On Dec 16, 1:33 pm, "m.ugues" wrote: > For more detail see this post > >

[jQuery] Re: serialScroll and jCarousel lite

2008-12-17 Thread Ariel Flesler
serialScroll can be used with constant scrolling. As in, item-based. Not sure what you mean. Cheers -- Ariel Flesler http://flesler.blogspot.com/ On Dec 16, 11:24 pm, IsRaz88 wrote: > Does anyone have any idea? > > -IsRaz88 > > On Dec 15, 5:51 pm, IsRaz88 wrote: > > > Hey, I was wondering if

[jQuery] Re: jQuery.data() identifier not working

2008-12-17 Thread Ariel Flesler
That's done to avoid memory leaks cleaning up properly. It's not a bug, that's the expected behavior. Cheers -- Ariel Flesler http://flesler.blogspot.com/ On Dec 16, 7:35 pm, ricardoe wrote: > Hi Ricardo > > Yeah, its a DOM element to be more specific I'm working with a lot of > IMG elements.

[jQuery] Re: javascript namespacer

2008-12-17 Thread Ariel Flesler
No eval() please! function namespace(name, data){ data = data || window; name = name.split("."); for (var i=0; i < name.length; i++) { var ns = name[i]; data = data[ns] || ( data[ns] = {} ); } return data; }; It'd a little get shorter if you use jQuery

[jQuery] Re: Basic help with elements and selectors

2008-12-17 Thread sshefer
You're right on - the target doesn't seem to get focus. I'm applying this to a li element though... would that cause the issue? On Dec 17, 4:33 pm, brian wrote: > On Wed, Dec 17, 2008 at 4:05 PM, brian wrote: > > On Wed, Dec 17, 2008 at 2:31 PM, sshefer wrote: > > >> Here is my current code:

[jQuery] javascript namespacer

2008-12-17 Thread Kean
I wrote a simple namespacer. Do you think this is useful in real world applications? Any improvements that can be made to the code? Thank you. var namespace = function (name, global){ var root = global || '$'; (!eval('window.'+root))? eval('window.' + root + '={}') : '';

[jQuery] Re: Slide Toggle - Bug in Firefox?

2008-12-17 Thread theoga...@googlemail.com
Just to make it clear, do not view this in IE since it works, but in Firefox it doesn't and also seamonkey if anyone uses that! I have also found that Firefox doesn't play well with wmode="transparent". Not sure if this has been fixed since this was the case a while back.

[jQuery] Re: Jquery Validation always not showing correct error message

2008-12-17 Thread Jörn Zaefferer
Are you using the latest release? Adding messages via rules() has been added only recently. Otherwise I'd need a testpage to look at. Jörn On Wed, Dec 17, 2008 at 9:09 PM, kayode81un...@gmail.com wrote: > > My Jquery validator refuses to show the correct error message but > rather the default e

[jQuery] Re: Basic help with elements and selectors

2008-12-17 Thread brian
On Wed, Dec 17, 2008 at 4:05 PM, brian wrote: > On Wed, Dec 17, 2008 at 2:31 PM, sshefer wrote: >> >> Here is my current code: >> >>$('.position_info').hover( >> function(e) { >>var target = $(e.target); >>target.bind('keydown', 'space', function(){ >

[jQuery] Re: Basic help with elements and selectors

2008-12-17 Thread brian
On Wed, Dec 17, 2008 at 2:31 PM, sshefer wrote: > > Here is my current code: > >$('.position_info').hover( > function(e) { >var target = $(e.target); >target.bind('keydown', 'space', function(){ > target.children('strong').toggle(); >

[jQuery] Re: Making an AJAX hide and show smoothly

2008-12-17 Thread flycast
Ricardo: Thanks for the solution. While I waited I also came up with the following solution. What is basically does is use the callback functions on the slideUp and slideDown functions. That way the slides end up completing completly before moving on. I suspect that this is the reason that these

[jQuery] Jquery Validation always not showing correct error message

2008-12-17 Thread kayode81un...@gmail.com
My Jquery validator refuses to show the correct error message but rather the default error message every time the validation fails. I am doing 3 things. First $.validator.addMethod("regexValidator0", function(value) { return /^\(?\b([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9] {4})\b$/

[jQuery] Re: using cycle for website navigation, choppy in firefox

2008-12-17 Thread Mike Dodge
Great news, I was able to get the site online so I can show others and therefore get some help. Here is the URL: http://adc4web.adceval.com Any insight to why it is being jerky/choppy would be greatly appreciated. Thanks Mike On Tue, Dec 16, 2008 at 11:42 AM, Mike Alsup wrote: > > > I am creati

[jQuery] Re: What am I doing wrong here -- htmlTo?

2008-12-17 Thread ken
That's basically the form I've developed thus far: var img = jQuery( '' ).attr( 'src', 'image.gif' ); jQuery( '#foo' ).html( img ).prepend( '' ).append( '' ); It just seems very inelegant contrasted with the 'normal' jQuery usage. On Wed, Dec 17, 2008 at 11:41 AM, Hector

[jQuery] Re: What am I doing wrong here -- htmlTo?

2008-12-17 Thread ken
The problem with that approach is, why even use jQuery for that? Might as well use .innerHTML = ... I was hoping to develop a pattern that could be reused, so that the SRC, or wrapping elements (BR's in this example) can be programmatically set or modified. This approach does not facilitate that.

[jQuery] Re: [OT] Client side web application with jQuery

2008-12-17 Thread Cam Spiers
Oh and I would suggest you try it in Firefox as that is the only browser I tested in. On Thu, Dec 18, 2008 at 8:36 AM, Cam Spiers wrote: > Hey Leandro, > > These links might help.. > > Here is some stuff I just wrote up: > > HTML/JavaScript: http://pastebin.com/m5d3766dd > > PHP: http://pastebin

[jQuery] Re: Making an AJAX hide and show smoothly

2008-12-17 Thread Ricardo Tomasi
A clunky way of doing it but should work, the callback will take at least one second to execute after starting the request: // Ajax area $("ul.questionList>li>a").click(function(){ //Save the clicked a tag for later use var $this = $(this); //Check to see if there is already an answer for this qu

[jQuery] Re: [OT] Client side web application with jQuery

2008-12-17 Thread Cam Spiers
Hey Leandro, These links might help.. Here is some stuff I just wrote up: HTML/JavaScript: http://pastebin.com/m5d3766dd PHP: http://pastebin.com/m3fb38f94 This link helped me: http://www.peej.co.uk/articles/http-auth-with-html-forms.html I just worked on it for a short time... Username: user

[jQuery] Re: Basic help with elements and selectors

2008-12-17 Thread sshefer
Here is my current code: $('.position_info').hover( function(e) { var target = $(e.target); target.bind('keydown', 'space', function(){ target.children('strong').toggle(); }); }, function(e) {

[jQuery] Re: Basic help with elements and selectors

2008-12-17 Thread sshefer
Thanks Brian but doesn't seem to work... What I am trying to do is create a "quick preview" effect like Mac Leopard 10.5 has - where pressing the spacebar while selecting something give you a quick preview of it. The way I thought I could do this is by the code above, where while I was hovered o

[jQuery] Re: jqModal + validate + blockui plugins

2008-12-17 Thread Bhavin
i have following js code: var qptarget = $('#qp div.jqmdMSG'); ("#qpForm").validate(); $("#qp").jqm({ trigger:'a.qpTrigger', ajax:'@href', modal:true,

[jQuery] Re: Clone and HTTPS

2008-12-17 Thread brian
On Wed, Dec 17, 2008 at 1:52 PM, Mike wrote: > > I am recieving an unsecure its on page error from an HTTPS page that > looks fine with all hyperlinks. I narrowed it down to the jquery > clone method, as it is cloning a hyperlink, but the href is https on > their. Not sure why this would cause

[jQuery] Re: Optimized Code

2008-12-17 Thread issya
Thank you for all of the great replies. I am going to implement some of this code now. As I mentioned before, It is always great to see how others would do something. Especially when I am newer to jQuery. On Dec 16, 8:40 am, Ricardo Tomasi wrote: > I'd write it like this: > > $(document).ready(f

[jQuery] Clone and HTTPS

2008-12-17 Thread Mike
I am recieving an unsecure its on page error from an HTTPS page that looks fine with all hyperlinks. I narrowed it down to the jquery clone method, as it is cloning a hyperlink, but the href is https on their. Not sure why this would cause this but it is. Any fix for this?

[jQuery] Draggable to Grid Help?

2008-12-17 Thread ryanhavoc
Hi, I have a series of draggable elements within a containing element. I want the to drag on a grid but I want them all to snap to the same grid no all have their own individual snappings. Does anyone know how I can do this? Thanks

[jQuery] Re: Basic help with elements and selectors

2008-12-17 Thread brian
On Wed, Dec 17, 2008 at 1:16 PM, sshefer wrote: > > Hey Brian - > > Thanks for the response. I've tried that but get "target.bind is not > a function" in Firebug. > > Any other ideas? > My bad. Try: var target = $(e.target);

[jQuery] Re: JQ Modal IE6 and 7 issues

2008-12-17 Thread MorningZ
Try using the "topTop" Parameter $('#div1').jqm({ toTop: true }); On Dec 17, 9:16 am, jive01 wrote: > Not sure what is wrong... Works great in Firefox: > > http://www.zero1productions.com/inacronym/preview/profile.php > > (please click on the my people tab and then click the first "+" sign on

[jQuery] Re: Adding carousel to gallery help please

2008-12-17 Thread expat101
how can i add jquery cycle to this?? http://malsup.com/jquery/cycle/download.html http://illusionz.x24hr.com/?q=content/welcome#undefined http://devkick.com/lab/galleria/ jQuery(function($) { $('ul.gallery').galleria(); }); On Dec 18, 1:55 am, expat101 wrote: > Can someone help me wit

[jQuery] Re: Make list of unique json data?

2008-12-17 Thread brian
On Wed, Dec 17, 2008 at 9:49 AM, alpha tester wrote: > > > Hi I'm just learning JQuery and while I've got my head around the general > concepts, the real power of the logic it provides is still escaping me. > > I've got a page with a JSON dataset like this: > > var myData = > { records : [ > { CA

[jQuery] Re: missing ; before statement at DOCTYPE declaration

2008-12-17 Thread Dirceu Barquette
Ricardo, I sow this error in my app. If an PHP message (e_warning, e_error) was sent by the server, it comes in a header and make the code unresponsive. Hope help you. 2008/12/17 Ricardo Tomasi > > Are you serving this page as application/xml+xhtml ? I believe the xml > declaration at the top

[jQuery] Re: Basic help with elements and selectors

2008-12-17 Thread sshefer
Hey Brian - Thanks for the response. I've tried that but get "target.bind is not a function" in Firebug. Any other ideas? On Dec 17, 1:05 pm, brian wrote: > On Wed, Dec 17, 2008 at 11:46 AM, sshefer wrote: > > > Hi, > > > Im using the js-hotkeys plugin with a hover but am running into some >

[jQuery] Re: missing ; before statement at DOCTYPE declaration

2008-12-17 Thread Ricardo Tomasi
Are you serving this page as application/xml+xhtml ? I believe the xml declaration at the top can cause parsing errors for some browsers. On Dec 17, 4:31 am, Technosis wrote: > I chose to use an xhtml strict doctype for an application I am working > on. I'm getting the error on the DOCTYPE decla

[jQuery] Re: Get value from ... Internet Explorer 7

2008-12-17 Thread casavecchio
or try this $(document).ready( function() { $('select').change( function() { timecode = $(this).val(); }); }); On 17 Dez., 12:00, MacTommy wrote: > Hi, I try to catch selected choice in my dropdown inside IE7. > > >   >     08:00 - 16:30  (8:00h) >     09:00

[jQuery] Re: Basic help with elements and selectors

2008-12-17 Thread brian
On Wed, Dec 17, 2008 at 11:46 AM, sshefer wrote: > > Hi, > > Im using the js-hotkeys plugin with a hover but am running into some > issues. > > The below code runs well but, obviously, selects all of my > "position_info" classes. I'd like to be able to specify $(this) so > that the effect is on

[jQuery] Re: libraries

2008-12-17 Thread Dirceu Barquette
"- think your plugin is tied to specific ids on each node. This should not be necessary." I didn't understand this sentence... "- the plugin is calling directly image to decorate the tree, I think it should be done via options." You are right. It will be done for the next version! "(google : jque

[jQuery] Re: my test passes the first time, but fails the second time

2008-12-17 Thread Dave Methvin
> 1) Is $("#phrases").find("li") faster than $("#phrases li")? Nope, your way is better. I just copy-pasta'd that and didn't think about it. > 2) Is there a way not to have to repeat the method that takes care of > the rephrasing in the test suite? As you can see in the updated > version (http:/

[jQuery] Making an AJAX hide and show smoothly

2008-12-17 Thread flycast
I am getting some data on a FAQ page using $.post The problem is that when the server returns the data too fast (most of the time) the images barely gets time to display and the whole thing looks very choppy. What I want to do is have the image slideDown smoothly, display for a certain minimum tim

[jQuery] [validate] validation, only onblur

2008-12-17 Thread casavecchio
Hallo, is it possible to validate fields only onblur, also when it was validated before? Boris

[jQuery] Re: What am I doing wrong here -- htmlTo?

2008-12-17 Thread Hector Virgen
Or you could do this: var img = << your image element wrapped in s >> $('#foo').html(img); -Hector On Wed, Dec 17, 2008 at 9:36 AM, brian wrote: > > On Wed, Dec 17, 2008 at 11:13 AM, ken wrote: > > I need to replace the contents of #foo. > > > > I would love to use CSS, and if I were startin

[jQuery] Re: What am I doing wrong here -- htmlTo?

2008-12-17 Thread brian
On Wed, Dec 17, 2008 at 11:13 AM, ken wrote: > I need to replace the contents of #foo. > > I would love to use CSS, and if I were starting anew that would be the case, > but unfortunately I am working on an existing application converting the > plain-jane JS to jQuery. I'm simply trying to replac

[jQuery] Re: Advance Cycle synchronize image thumnail pager

2008-12-17 Thread Mike Alsup
> How can I use  'prevNextClick'  callback to be able to set the > 'pageAnchorBuilder'  to enable highlight in the next batch item. > I cant see the possibility to pass the 'pageAnchorBuilder' to the > first item next batch. prevNextClick is a callback function. When it is invoked you can so wha

[jQuery] Re: Question about UI Accordion - multiple triggers in nested lists

2008-12-17 Thread taykahike
P.S.; forgive some extraneous code and comments. Copied and revised quickly for this post. On Dec 17, 11:02 am, taykahike wrote: > Hello, > > Can anyone tell me if it's possible to have multiple triggers in > nested lists using the jQuery UI Accordion? Also, is it configurable > to open the acco

[jQuery] Re: Get value from ... Internet Explorer 7

2008-12-17 Thread Hector Virgen
Try reading the "value" attribute directly: timecode = $(this).attr('value'); -Hector On Wed, Dec 17, 2008 at 3:00 AM, MacTommy wrote: > > Hi, I try to catch selected choice in my dropdown inside IE7. > > > >08:00 - 16:30  (8:00h) >09:00 - 17:30  (8:00h) > > > > In my jQuery-fun

[jQuery] Make list of unique json data?

2008-12-17 Thread alpha tester
Hi I'm just learning JQuery and while I've got my head around the general concepts, the real power of the logic it provides is still escaping me. I've got a page with a JSON dataset like this: var myData = { records : [ { CATEGORY : "Sport", TITLE : "The world of sport", LINK: "http://test.co

[jQuery] Get value from ... Internet Explorer 7

2008-12-17 Thread MacTommy
Hi, I try to catch selected choice in my dropdown inside IE7. 08:00 - 16:30  (8:00h) 09:00 - 17:30  (8:00h) In my jQuery-function I use this to set the value to my string "timecode": $(document).ready( function() { $('#prefix option').click( function() { t

[jQuery] JQ Modal IE6 and 7 issues

2008-12-17 Thread jive01
Not sure what is wrong... Works great in Firefox: http://www.zero1productions.com/inacronym/preview/profile.php (please click on the my people tab and then click the first "+" sign on the first photo and the jq modal box will pop up). In IE6 and 7 everything else is not clickable on the site.

[jQuery] .NET with jQuery - noconflict?

2008-12-17 Thread dianenar
Is it a must to call jQuery.noconflict when using jQuery with .NET. What are the potential problems that would arise? I am NOT using jQuery noconflict at the moment on a social networking site w/ all the bells and whistles. I don't see any conflicts but I'm worried that performance is taking a hi

[jQuery] "desktop style" apps with jquery

2008-12-17 Thread Andreas
This topic seems to be hot, with at least two posts about it on the group frontpage: http://groups.google.se/group/jquery-en/t/6ed2cd3c890b99c8 Creating an OS Web Interface in jQuery (Part I) http://groups.google.se/group/jquery-en/t/d7623b55dfb8270 Client side web application with jQuery And w

[jQuery] clueTip: set options on the fly for individual elements

2008-12-17 Thread jarlknu...@gmail.com
I've got a bunch of clueTips that show up onmouseover and I've got two issues that I'm hoping someone can help me with. 1. I would like to set the width of the clueTip dynamically for individual clueTips. Can this be done? 2. I would like to set the offset of the clueTip dynamically for individu

[jQuery] Superfish with bgiframe does not cover position:relative div in IE

2008-12-17 Thread Jamie Krug
Hi, I'm fairly new to jQuery and not a terribly strong JavaScript guy. I was excited to style up my own Superfish (http://users.tpg.com.au/ j_birch/plugins/superfish/) navigation menu, and it even looked good in IE! But my current design requires a div with a position:relative below the navigatio

[jQuery] Re: Creating an OS Web Interface in jQuery (Part I)

2008-12-17 Thread .net junkie
i i like you tutorial very much its a gr8 effort. keep it up. hope to see more soon :)

[jQuery] Question about UI Accordion - multiple triggers in nested lists

2008-12-17 Thread taykahike
Hello, Can anyone tell me if it's possible to have multiple triggers in nested lists using the jQuery UI Accordion? Also, is it configurable to open the accordion to the correct level dynamically based on the current page? Sample code below doesn't accomplish all of these things, so I'm hoping so

[jQuery] Newbie Question with Hot Keys

2008-12-17 Thread sshefer
Hi, I've been having a bit of trouble with this bit of code and I was wondering what I am doing wrong in the chaining... I am using the js-hotkeys plugin to allow keypress events only while hovering over a specific class. However, I would like the effects only to be applied to it's id. How ca

[jQuery] Superfish transparancy?

2008-12-17 Thread dazbot
Maybe a feature request, or maybe something that can be done now...but is there anyway that the dropdowns can be transparent or vary the level of transparancy? TIA

[jQuery] keyup ajax responses in order

2008-12-17 Thread C. Feldmann
Hello, I have been using the .keyup to produce a result list, after the third letter in an input box. so something like this (this is off the top of my head, syntax error possible, but the real code works): $('.myInput').livequery('keyup', function() { if ( $('.myInput').val().length > 2 ) {

[jQuery] Re: Font size in sifr plugin

2008-12-17 Thread A Wood
I am having the same problem. Got the sIfr to work but can't get the font size right. On Dec 15, 5:43 pm, flycast wrote: > Yes. I have also copied the examples at the bottom of this > page:http://jquery.thewikies.com/sifr/#description > > And they work except that the resulting swf ends up bei

[jQuery] Basic help with elements and selectors

2008-12-17 Thread sshefer
Hi, Im using the js-hotkeys plugin with a hover but am running into some issues. The below code runs well but, obviously, selects all of my "position_info" classes. I'd like to be able to specify $(this) so that the effect is only applied to the element I am hover over. Am I going about this

[jQuery] Re: Slide Toggle - Bug in Firefox?

2008-12-17 Thread theoga...@googlemail.com
> An example page will be helpful. You might want to see if you have set > wmode="transparent" in your flash first. Thank you for your reply Kean! I added the param vmode as transparent in the HTML, it seems to make it worse :( it seems make it blink for a fraction of a second!! http://www.time

[jQuery] Re: libraries

2008-12-17 Thread Olivier Percebois-Garve
quick comments: - think your plugin is tied to specific ids on each node. This should not be necessary. - the plugin is calling directly image to decorate the tree, I think it should be done via options. (google : jquery plugin pattern) actually the best is to use css clases for the different st

[jQuery] Re: libraries

2008-12-17 Thread Dirceu Barquette
OH!! I've forgotten the magic word: "please" :-) 2008/12/17 Dirceu Barquette > > I think the thread just ended. :D > > If you have some time, download and comment my plugins: > http://jqtreevial.sourceforge.net > > And: > http;//isabeladraw.sourceforge.net (official versioning) > http://calango.

[jQuery] Re: libraries

2008-12-17 Thread Dirceu Barquette
I think the thread just ended. :D If you have some time, download and comment my plugins: http://jqtreevial.sourceforge.net And: http;//isabeladraw.sourceforge.net (official versioning) http://calango.barquettenet.net/~dirceu/isabela_draw/jquery.isabela_draw(nightly version) Thank you very much!

[jQuery] Re: libraries

2008-12-17 Thread Olivier Percebois-Garve
Don't worry with your english, I'm not a native. So you want to know how to make json request ? Do you still have a question, or do you want just to discuss stuffs ? On Wed, Dec 17, 2008 at 5:21 PM, Dirceu Barquette < dirceu.barque...@gmail.com> wrote: > The initial question was just about li

[jQuery] empty() textarea when hidden before not work. NEWBIE

2008-12-17 Thread tlob
Hi I like to empty() specific textareas. Works fine. Except the textareas, that are hidden before. http://www.vum.ch/thomas/post/1-3.html it works in Safari, but not in FF I have no clue why. cheers tl

[jQuery] Re: libraries

2008-12-17 Thread Dirceu Barquette
The initial question was just about libraries. The thread now pointing to CMS. This is my goal! Write in English about this is so much difficult to me. I have been doing many apps (my job...) using jquery. I follow this group just to learn more with others developers. When I have some dummy doubt a

[jQuery] Re: AJAX and transforming proxies

2008-12-17 Thread Bil Corry
Bil Corry wrote on 12/17/2008 10:07 AM: > To have Apache automatically add the no-transform cache directive header, > you'd do this (must have mod_headers enabled): > > Header set Cache-Control no-transform Actually, you probably want to do this, to avoid removing already set headers:

[jQuery] Re: What am I doing wrong here -- htmlTo?

2008-12-17 Thread ken
I need to replace the contents of #foo. I would love to use CSS, and if I were starting anew that would be the case, but unfortunately I am working on an existing application converting the plain-jane JS to jQuery. I'm simply trying to replace existing functionality WITHOUT affecting the HTML beca

[jQuery] Re: Creating an OS Web Interface in jQuery (Part I)

2008-12-17 Thread Rick Faircloth
Yes, interesting... And while I could agree with Jeff's assertion that web apps shouldn't necessarily mimic desktop apps too closely, causing confused expectations based on prior experience, the interface through which we access those web apps might do well to bring some familiarity from the desk

[jQuery] Re: HowTo: Trigger error callback in ajax request

2008-12-17 Thread Rob Wilkerson
On Dec 17, 9:57 am, MorningZ wrote: > "Is it a non-200 status code" > > I can't say it's 100% of the time, but in my code it seems to be the > case Ding, ding, ding. Looks like that's it. In my PHP script, this is what I did to test... try { throw new Exception ( 'Something I made up' ); }

[jQuery] Re: AJAX and transforming proxies

2008-12-17 Thread Bil Corry
Tom Hume wrote on 12/17/2008 8:38 AM: > If the header was respected, would you consider it an appropriate > mechanism to avoid problems with these proxies? I believe that's the entire purpose of no-transform, to instruct the proxies to not transform the data: http://www.freesoft.org/CI

[jQuery] Re: Google Analytics breaks jQuery.

2008-12-17 Thread Kean
I think you have to publish some html to get more constructive responses On Dec 17, 7:31 am, simshaun wrote: > Thanks for the tip. I already am canceling the link's default action > however.  It is definitely the Google Analytics code on the page I'm > injecting that's causing it to break.  Afte

[jQuery] Re: Creating an OS Web Interface in jQuery (Part I)

2008-12-17 Thread Alexandre Plennevaux
As a matter of fact, just had a good read exactly on this topic at the ever excellent Coding Horror blog: http://www.codinghorror.com/blog/archives/000869.html On Wed, Dec 17, 2008 at 4:30 PM, Rick Faircloth wrote: > > Yes, keep up the good work. I don't of anyone whose coding can't be improved

[jQuery] Re: libraries

2008-12-17 Thread Olivier Percebois-Garve
using a MVC framework such as cakephp or zend framework, you can put the html in a view, and on top of that view insert the js. If you use the "head" helper, you can make it be inserted between in the . same for css. The I advice you to put your javascript code into seperate files, one for each plu

[jQuery] Re: Relationship between thickbox and calling page...

2008-12-17 Thread Rick Faircloth
Thanks for the feedback. I'm not sure whether or not thickbox is using an iframe. Does it use one by default? Would this code utilize an iframe? Whether this code, which spawns a login dialogue, is run or not is based on a conditional statement checking a user's login status. I had been spawnin

  1   2   >