[jQuery] Re: XML Parsing Question...

2008-10-08 Thread Michael Geary
Well... Really, it doesn't work *at all*. You're not using an XML parser. It's an HTML parser. Sure, it will do some kind of passable job of parsing some kinds of XML, sort of, in some browsers. Why not use a real XML parser? function parseXML( xml ) { if( window.ActiveXObject && win

[jQuery] Re: Variable Scope

2008-10-08 Thread Michael Geary
A loop doesn't "print out" the code. A function call *does*, in a manner of speaking. I didn't look at the rest of your code in any detail, but if you want the loop to work more the way you're expecting, where it saves the individual loop values for "i" and the other variables you set up inside

[jQuery] Re: .after not really after

2008-10-08 Thread Johanm
you're right. thats whats going on. I didnt have any table tags in the initial load image but only in the resultset i get from the ajax call (sloppy coding). This made the call end up in an ugly place and THEN add the table tags which then was of no good. thank you! Johan On Oct 8, 7:59 pm, Dave

[jQuery] Re: Variable Scope

2008-10-08 Thread QuickScriptz
Sorry about that MorningZ. My original question actually had to do with whether somehow the value of the variable was being lost because of the fact that when I went to actually use the variable it was nested inside some other code blocks but what Dave said answers my question. > The closure is w

[jQuery] Re: Variable Scope

2008-10-08 Thread Dave Methvin
> I have a row of icons and the idea is when you mouseover, a popup > () appears below it and then when you mouseout, it fades again. There are a lot of plugins that do this, like tooltip, cluetip and jtip. Did you want to do something special? > $(nowPopup).css({left: leftPxS}); The clo

[jQuery] Re: .after not really after

2008-10-08 Thread Dave Methvin
> i was under the impression that .after should be after the and > not after the which is an append to me. If "this" is the clicked row, $(this).append("hi") puts a new td inside the tr, at the end. $(this).after("hi"); puts a new tr after this one. > $(this).after("                

[jQuery] Re: Variable Scope

2008-10-08 Thread MorningZ
So what exactly is the question/problem with "variable scope"? Are you losing the scope somewhere? Are you asking if there's a better way? it's not clear at all On Oct 8, 10:00 pm, QuickScriptz <[EMAIL PROTECTED]> wrote: > So I've been over my code again and again and I've scoured through the

[jQuery] Variable Scope

2008-10-08 Thread QuickScriptz
So I've been over my code again and again and I've scoured through the Wiki and Help Documentation but I still cannot seem to make it work. I have a row of icons and the idea is when you mouseover, a popup () appears below it and then when you mouseout, it fades again. I've found the best way to

[jQuery] Jcarousel - Changing the starting position of the carousel according to the last page visited.

2008-10-08 Thread Jose P. Carballo
Hi, As the title says, i want to set the starting position of the jcarousel according to the last page visited. What I've done so far is to decompose the last url with* document.referrer*and then process this String in order to set a value of a variable named *startingPosition*. Finally, in the *

[jQuery] .after not really after

2008-10-08 Thread Johanm
I'm having an issue where i have a table full of records, when the user clicks on an entry i want it to slide down. he problem is that it slides down after right after the pushing out everything else. i was under the impression that .after should be after the and not after the which is an appen

[jQuery] Re: Starting animation at different points

2008-10-08 Thread ricardobeat
If you absolutely/relatively position the DIV with bottom and left you should be able to do it with animate(). On Oct 8, 7:15 pm, brennenws <[EMAIL PROTECTED]> wrote: > I am fairly new to jquery and I have a question on animation. I want > to be able to have a div animate in a different directio

[jQuery] Re: XML Parsing Question...

2008-10-08 Thread KenLG
It may not be supported but it works great...usually. As far as find being case-sensitive, the weird thing is that it doesn't necessarily seem true. I could lcase the tags in the XML but still do the find against the mixed case element name and it still works. I had this suspicion that jquery is

[jQuery] [validate] Trouble using rules( "add", rules ) as well as setting attribute for range validations

2008-10-08 Thread BobS
I'm working on a server-side component that will generate all of my jQuery validation rules from xml metadata, so I'm trying to dynamically add rules one at a time. My first attempt was to use the rules( "add", rules ) syntax, but I'm getting an error on page load: jQuery.data(element.form, "val

[jQuery] using an png with shadow and fadeTo...

2008-10-08 Thread Olivier Bolender
Hi, When I use a png with a shadow in a div with a opacity of .5 (less or more) using the fadeTo function, the border of shadow is white under ff/chrome or black under ie: How do I fix it ?

[jQuery] Re: Unbind not unbinding

2008-10-08 Thread Okie
Hmmm I posted a second time after my first post (at 1:45 didn't seem to go through). My first post came in later than my second post, and turned into a reply. Was there a moderation process that I went through? I'm not worried about it. Now I've got two explanations of my problem. On Oct

[jQuery] Unbind not unbinding

2008-10-08 Thread Okie
I've got the following: var existingCodes = new Array(''); var form = document.newSpecificLeadSourceForm; $('#suggestCode').click(function() { $(this).css('display', 'none'); $(form.source).bind('keyup', function() {

[jQuery] ie7 opacity effects with positioned elements

2008-10-08 Thread Nick Harris
Hey, I'm having trouble with opacity effects in ie7; It appears that if an element with any effect that involves opacity (slideDown(), show(), hide() etc...) has any child that is positioned either relatively, or absolutely, then the positioned element's opacity doesn't animate... it simply moves

[jQuery] Form Serialization

2008-10-08 Thread Rajanikanth
Hi Guys, I have a requirement i need to achieve auto save on a page where i have huge form which is having hundred's of child forms. Right now i have achieved the functionality using jQuery form serialization but its freezing the page when it is doing form serialization for about 15secs on a nor

[jQuery] unit testing adding rows to table

2008-10-08 Thread john teague
I'm running a test with qUnit that shows i am appending rows to a table correctly. At this point I just want to show I'm getting the right rows back. But it doesn't look like the dom isn't picking up the newly added rows. I'm seeing the rows, so my call is working, I would just like to verify t

[jQuery] Re: Problem with slideUp() in IE7

2008-10-08 Thread Chris
That did it. Thank you so much. That actually fixed another issue that I thought was a problem with the line-height. Beautiful!!! On Oct 5, 11:04 am, Julle <[EMAIL PROTECTED]> wrote: > Chris, > > On Aug 28, 10:04 pm, Chris <[EMAIL PROTECTED]> wrote: > > > oddly enough, this works great in IE6 (an

[jQuery] Re: What is crashing Safari 2?

2008-10-08 Thread Louis
I've had a similar problem with Safari. I found that if I don't wrap the HTML in a tag, then safari will crash... s, something like: $("#element").html("some text"); will crash safari but the following will not: $("#element").html("some text"); Hope this helps :) On Sep 13, 3:55 am, PED <

[jQuery] using draggable from within a container with over-flow:hidden.

2008-10-08 Thread jason
I'm using jcarousel to display a list of images that I want the user to be able to drag to certain drop targets. The code looks like: ...children('img').addClass('flashCatalogPage').draggable({ helper: 'clone', opacity: .5 }); The problem is, the container for the jcarousel uses the css attribu

[jQuery] Unbind not unbinding

2008-10-08 Thread Okie
suggest code ... var existingCodes = new Array(''); var form = document.newSpecificLeadSourceForm; $('#suggestCode').click(function() { $(this).css('display', 'none'); $(form.source).bind('keyup', function() { var code = $(th

[jQuery] Starting animation at different points

2008-10-08 Thread brennenws
I am fairly new to jquery and I have a question on animation. I want to be able to have a div animate in a different direction rather than the default. Right now I have a div that is 29px by 41px. When I hover over it it animates to a div that is 80px by 100px. As of now it is animates from the to

[jQuery] Help writing function for sending a serialized post for updating a UL order

2008-10-08 Thread Chuck Cheeze
I have a UL: One Two Three I have a function: $(document).ready(function() { //sortables $("#child_list").sortable({ opacity: 0.7, revert: true, scroll: true, handle: $(".handle"), change: function(sorted){

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread Josh Nathanson
I guess I'm not understanding what you're trying to do. The code I provided is the standard way of referencing "this" when you want to reference the original context in an inner function. -- Josh - Original Message - From: "Wayne" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent:

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread MorningZ
There's no reason why Josh's code wouldn't work (closure = good!) I suggest just trying it :-) On Oct 8, 5:18 pm, Wayne <[EMAIL PROTECTED]> wrote: > Right, but that trigger doesn't work in the context of the anonymous > function. Unless, I'm missing something you changed. > > -Wayne > > On

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread Wayne
Right, but that trigger doesn't work in the context of the anonymous function. Unless, I'm missing something you changed. -Wayne On Oct 8, 3:43 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > Ok, I think I see what's happening -- you have something like this: > > $("whatever").click(function()

[jQuery] Re: Nubee - concatenating & code help

2008-10-08 Thread MorningZ
http://docs.jquery.com/Selectors/multiple#selector1selector2selectorN $(".closerbutton, .editbutton").show("slow"); On Oct 8, 4:42 pm, ivframes <[EMAIL PROTECTED]> wrote: > First of all, is it possible to concatenate events with similar (the > same) functions? > > For example: > > $(".closer

[jQuery] Nubee - concatenating & code help

2008-10-08 Thread ivframes
First of all, is it possible to concatenate events with similar (the same) functions? For example: $(".closerbutton").show("slow"); $(".editbutton").show("slow"); ...would be like $(".editbutton", ".closerbutton")... I know that's not possible, but is there another way? I also need help with

[jQuery] jQuery Cycle, Multiple Items

2008-10-08 Thread alexp206
Hi, I've been playing around with the jQuery Cycle plugin, it's great. I do have a question though, is it possible to show multiple items simultaneously? An example would be, if you have 5 items: 1 2, 2 3, 3 4, 4 5, 5 1 (loop) In this particular instance I'm working with single line divs, but I

[jQuery] Re: Whats best for js compression, packer, jsminify, YUI?

2008-10-08 Thread Bil Corry
JimD wrote on 10/8/2008 2:21 PM: > I know this has probably been discussed before but I with all the > options available, I was wondering what method seems to work best > overall for compressing js files. I want to put all my jquery plugins > into one file and compress for performance but I'm wor

[jQuery] Re: jQuery Cycle, Multiple Items

2008-10-08 Thread Mike Alsup
Sorry, no. Cycle treats each item as a slide and shows them one by one. However you could have two slideshows side by side to simulate this effect. Mike On Oct 8, 3:38 pm, alexp206 <[EMAIL PROTECTED]> wrote: > Hi, I've been playing around with the jQuery Cycle plugin, it's > great.  I do have

[jQuery] can't return focus

2008-10-08 Thread robing
i am putting together a basic text editor and to reduce pasting styled content in to the editor i open up a div with a textarea that content can be pasted in to and then i can innerHTML that content back to the editor where the cursor previously was. the problem i am having is after the div opens

[jQuery] Re: UI Instance Options

2008-10-08 Thread greenteam003
Wow, thanks Richard. I would have never figured that one out on my own and from my searching is not readily available in jQuery docs. Cheers, Chris Richard D. Worth-2 wrote: > > Getter: > > var minHeight = $('#example_div').data("minHeight.resizable"); > > Setter: > > $('#example_div').da

[jQuery] Re: ANNOUNCE: ui.timepickr.js plugin

2008-10-08 Thread h3
I've already some ideas on how I'll achieve it. If you check on the todo list you'll see that internationalization is in my plans max On Oct 8, 3:37 pm, "Weyert de Boer" <[EMAIL PROTECTED]> wrote: > I think the plugin design will get problematic if you try to use it in > Europe where don't use t

[jQuery] Re: Whats best for js compression, packer, jsminify, YUI?

2008-10-08 Thread Rene Veerman
I like and use phpjso (http://www.cortex-creations.com/software/phpjso). It can also obfusicate, but if you do that then be sure to use the 'fast decompression' option otherwise you have a initialization lag of up to a full second for +-40Kb of script. JimD wrote: Hi all, I know this has p

[jQuery] Re: ANNOUNCE: ui.timepickr.js plugin

2008-10-08 Thread MorningZ
Very cool.. i totally dig the concept of it I would suggest doing some testing on the most used browser on the internet, yes, our friend IE because this plugin simply doesn't work at all (IE7 on Win2003 here) On Oct 8, 3:33 pm, h3 <[EMAIL PROTECTED]> wrote: > For the past two days I'v

[jQuery] Re: ANNOUNCE: ui.timepickr.js plugin

2008-10-08 Thread h3
Yeah I know, it started as an experiment so I don't really tested it on IE yet. Obviously it will have to work at least on IE7 before the first release. max On Oct 8, 3:38 pm, MorningZ <[EMAIL PROTECTED]> wrote: > Very cool.. i totally dig the concept of it > > I would suggest doing some tes

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread Josh Nathanson
Ok, I think I see what's happening -- you have something like this: $("whatever").click(function() { $.ajax({ blah blah.. So you just need to do this: $("whatever").click(function() { var trigger = this; $.ajax({ success: function() { // do whatever with 'trigger'

[jQuery] Re: Need solution to cycle through images and display a caption

2008-10-08 Thread deronsizemore
That you very much Karl for chiming in here! I feel like an idiot now though as that was so simple. I can't believe I didn't even think of that. I guess I was thinking that the fade effect would only do images for some reason so adding a caption wrapped in a paragraph tag never entered my mind.

[jQuery] Re: ANNOUNCE: ui.timepickr.js plugin

2008-10-08 Thread Weyert de Boer
I think the plugin design will get problematic if you try to use it in Europe where don't use the am/pm system but just the 24hours clock instead. This would probably make the widget huge. On Wed, Oct 8, 2008 at 9:33 PM, h3 <[EMAIL PROTECTED]> wrote: > > For the past two days I've been working on

[jQuery] ANNOUNCE: ui.timepickr.js plugin

2008-10-08 Thread h3
For the past two days I've been working on a experimental plugin which aims to enhance user experience when it comes to input time in a form. I've made a first "unofficial" announcement on my blog: http://haineault.com/blog/71/ Considering the constant flow of positive feedbacks I got since I p

[jQuery] Re: Whats best for js compression, packer, jsminify, YUI?

2008-10-08 Thread MorningZ
"I know this has probably been discussed before" it has been (including explanations and benchmarks)... all you need to do is a search in the group On Oct 8, 3:21 pm, JimD <[EMAIL PROTECTED]> wrote: > Hi all, > > I know this has probably been discussed before but I with all the > options avai

[jQuery] Re: Whats best for js compression, packer, jsminify, YUI?

2008-10-08 Thread JimD
Sorry Morningz Im being a bit lazy about it. I'll search around. It looks like jsmin is used to minify jquery so I'll give that a try. On Oct 8, 12:23 pm, MorningZ <[EMAIL PROTECTED]> wrote: > "I know this has probably been discussed before" > > it has been (including explanations and benchmarks

[jQuery] [off-topic] Jyte Users Unite!

2008-10-08 Thread Alex Weber
theres a jquery community on jyte and some of the usual js library bashing and arguments going on... just inviting you all to join the cause! (no urls on purpose in not trying to spam or anything!)

[jQuery] Whats best for js compression, packer, jsminify, YUI?

2008-10-08 Thread JimD
Hi all, I know this has probably been discussed before but I with all the options available, I was wondering what method seems to work best overall for compressing js files. I want to put all my jquery plugins into one file and compress for performance but I'm worried about breaking things. I kn

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread Wayne
OK. I haven't tried this yet, but how is this any different? Even though you're moving the ajax call inside of another function, aren't you abstracting the same logic out by calling the anonymous function inside of success? Maybe I'm not understanding what "trigger" and "trigger condition" are sup

[jQuery] Re: UI Instance Options

2008-10-08 Thread Richard D. Worth
Getter: var minHeight = $('#example_div').data("minHeight.resizable"); Setter: $('#example_div').data("minWidth.resizable", 200); - Richard On Wed, Oct 8, 2008 at 2:11 PM, greenteam003 <[EMAIL PROTECTED]> wrote: > > > Hi all, > > This may be a dumb question, but I can not find an example in t

[jQuery] Re: LiveQuery won't allow explicit onchange firing?

2008-10-08 Thread Brandon Aaron
So this is an interesting use case. Typically you use Live Query to bind events to elements that don't yet exist in the DOM. Granted it binds to elements that already exist in the DOM as well. However, there is a miniscule delay in the actual binding and the trigger is happening before the event is

[jQuery] Re: Poor Performing jQuery .each()

2008-10-08 Thread Coryt
Sorry for the last question, I realize what is happening now. It seems to be a quirk of the .html() which only ouputs the inner html, so it's not a problem with the clone like I originally thought.

[jQuery] Re: append mailto link to orphan plain text email address

2008-10-08 Thread ricardobeat
Here's a quick short function that will do the job: $('#deadcat').each(function(){ var lnk = $(this).html().replace(/([\w-]+@([\w-]+\.)+[\w-]+)/, 'mailto:$1";>$1'); $(this).html(lnk); }); hope that helps, - ricardo On Oct 7, 3:06 am, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote: > What

[jQuery] Re: Poor Performing jQuery .each()

2008-10-08 Thread Coryt
I noticed something else that is a little weird when cloning. If I execute the following snippet, I see the table tags and all the inner html: var $template = $("#LineItemsTableTemplate").clone() alert($template.html()); Item Code Price Level De

[jQuery] Re: link click send user back to top of page .toggle

2008-10-08 Thread Mauricio (Maujor) Samy Silva
Probably you are using a dead link like: class="click-here">link. Try: event.preventDefault it acts as return false; $('.click-here')function(event) { event.preventDefaul(); // more stuff }); -Mensagem Original- De: "John D." <[EMAIL PROTECTED]> Para: "jQuery (English)" Enviada

[jQuery] a more general rule?

2008-10-08 Thread Syler
i have a form and a bunch of inputs. How do i make it so that all my input apply the same validation rule without having to put in the name attr. in the rules? so I have class="numOnly" in my this won't work, $(document).ready(function(){ $(".numOnly").validate({

[jQuery] Selecting multiple table rows with jQuery and Tablesorter

2008-10-08 Thread shakerdesigns
I've been looking around, but have yet to find the right jquery solution for selecting table rows using jQuery and the Tablesorter plugin. I've created a widget to toggle css classes and highlight each selected row, but I'm looking for more functionality than that. I've also seen other plugins li

[jQuery] Re: OT : javascript editor (with code formatting)

2008-10-08 Thread dean
I use scite its really light weight and powerful at the same time if you have ever used TextMate on the Mac then it will be familiar. Might be worth a look anyway. < href="http://www.scintilla.org/";>http://www.scintilla.org/

[jQuery] Change mask onclick, how do it ?

2008-10-08 Thread Luciano
Hi, I have the problem when go change de mask, i`m using maskedinput http://digitalbush.com/projects/masked-input-plugin/ my code: Jurídica Física $("#tip_j").click(function(){ $("#masked").val(""); $("#masked").mask("999.999.999/-99"); }); $("#tip_f").click(function(){ $("#mas

[jQuery] Change mask onclick, how do ?

2008-10-08 Thread Luciano Mazzetto
Hi guys I have the problem when go change de mask, i`m using maskedinput http://digitalbush.com/projects/masked-input-plugin/ my code: Jurídica Física $("#tip_j").click(function(){ $("#masked").val(""); $("#masked").mask("999.999.999/-99"); }); $("#tip_f").click(function(){ $("#

[jQuery] [Validation] Splitting rules and messages across multiple pages

2008-10-08 Thread dl
I saw a post about someone trying to spread rules across multiple pages. The person was told to add rules dynamically, but there's no way to add messages dynamically. I'm wondering what you guys think about this approach. I had a situation where I wanted to reuse part of a form. I think this i

[jQuery] link click send user back to top of page .toggle

2008-10-08 Thread John D.
Hi, I have a page which requires vertical scrolling. In order to consolidate content on page load I'm placing a heading link above each div on the page and hiding the divs with jQuery. When the user clicks on a given heading link the .toggle run and the div shows. The problem I am running into i

[jQuery] Re: Poor Performing jQuery .each()

2008-10-08 Thread Coryt
Dave, missed your last question, yes, because of the initial performance issue I was having, I was limiting my SQL resultset to be exactly 100 and if there were more rows available, I appended a blank row making 101 rows all the time. Therefore I could always tell that if I had 101 rows, more reco

[jQuery] UI Instance Options

2008-10-08 Thread greenteam003
Hi all, This may be a dumb question, but I can not find an example in the archives or in the jQuery docs. Is it possible to access a ui widget's options from a global function? For example, if I set up the following div to be resizable... $('#example_div').resizable({minHeight:200,minWi

[jQuery] Re: Why is this not working?

2008-10-08 Thread Weyert de Boer
Thanks! That's it! Now it's working. I totally missed the hash. Thanks again! Now it's working. Only strange that it will only do the client-side validation when the action-attribute of the form is empty or working internet location. Otherwise hops to the value of the action-attribute directly w

[jQuery] Re: Poor Performing jQuery .each()

2008-10-08 Thread Coryt
Thanks for all the tips Michael and Dave, very much appreciated. Michael, to answer your questions, there is a way to get the .Net generated prefix, and I did mean to use insertAfter. It rendered correctly in IE but not in FF so I didn't notice it immediately. I have been busy with a few other t

[jQuery] Re: Why is this not working?

2008-10-08 Thread MorningZ
Oh wait.. here's the issue you have $("form_identifier").validate you forgot the "#" $("#form_identifier").validate also: http://www.dustyfrog.nl/jquery/js/calendar.js gives a 404 On Oct 8, 1:10 pm, "Weyert de Boer" <[EMAIL PROTECTED]> wrote: > Hello! > > I have been working on my form.

[jQuery] Re: Why is this not working?

2008-10-08 Thread MorningZ
Not sure if it's related, but your tag is malformed that "s" at the end *could* create an issue On Oct 8, 1:10 pm, "Weyert de Boer" <[EMAIL PROTECTED]> wrote: > Hello! > > I have been working on my form. Only somehow it doesn't want to > work:http://www.dustyfrog.nl/jquery/ > > What cou

[jQuery] [validate] Why is this not working?

2008-10-08 Thread Weyert de Boer
Hello! I have been working on my form. Only somehow it doesn't want to work: http://www.dustyfrog.nl/jquery/ What could be wrong? I am not getting any errors in Firefox's Error Console :( Thanks in advance! Yours, Weyert

[jQuery] Re: Intercept "Back" button click on browser

2008-10-08 Thread Leanan
The duplication is something else. However the fix you made works.

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread Josh Nathanson
"this" referenced in the success callback will refer to the jQuery object when you do an ajax call. You might want to put the ajax call within another function that can also receive information about the triggering element: doAjax: function( trigger ) { jQuery.ajax({ // et

[jQuery] Re: Need solution to cycle through images and display a caption

2008-10-08 Thread Karl Swedberg
The cycle plugin is excellent. It can have anything you want for each item -- image, caption, whatever. You apply the method to a container element, and the child elements are cycled. So, you could have this, for example: jQuery: ... $('#mycontainer').cycle(); ... HTML: ...

[jQuery] Re: Match the filename to highlight current link on page

2008-10-08 Thread suntrop
Hi Adrian, thanks for your help but I can't follow you. I have no directories to split - but if, this is a good solution. I think the problem occurs here: $('#navigation [EMAIL PROTECTED]"' + path + '"]') The @href finds all elements which contains the path (filename). And if filename 1 is pota

[jQuery] Re: ANNOUNCE: jQuery listnav plugin

2008-10-08 Thread Jack Killpatrick
Hi Craig, Glad to hear that fix worked, thanks for letting me know about the issue. RE: the counts... have you noticed a pattern or can you show me a couple examples? I'm wondering if maybe it has to do with your overall list having some items that start with numbers instead of letters. ? -

[jQuery] LiveQuery won't allow explicit onchange firing?

2008-10-08 Thread Jake McGraw
Using livequery for a project when I ran across an issue using the following code: $("input").livequery( "change", function(){ if ($(this).is(":checked")) { alert("checked!"); } else { alert("not checked!"); } }).change(); My problem is the chained "change" function call. It look

[jQuery] Re: Match the filename to highlight current link on page

2008-10-08 Thread suntrop
Hi Adrian, thanks for your help but I can't follow you. I have no directories to split - but if, this is a good solution. I think the problem occurs here: $('#navigation [EMAIL PROTECTED]"' + path + '"]') The @href finds all elements which contains the path (filename). And if filename 1 is pota

[jQuery] Re: OT : javascript editor (with code formatting)

2008-10-08 Thread fabiomcosta
i saw a video with netbeans in action (its there in the site) and it looked nice, with code completition for jQuery functionalities. On Oct 7, 1:13 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > Friends, > > aptana studio, albeit a nice editor, is recently crashing all the time and > now

[jQuery] Re: Un-minify?

2008-10-08 Thread jeremyBass
may-be CS4 but not CS3... at least you can't do that to a js file... I do wish thou ;-) On Oct 7, 1:54 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Dreamweaver (CS3 at least) has an 'apply source formatting' option > that does the job well (for minified, not packed files). > > - ricardo > > On Oc

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread Wayne
Here's a context of when it would be useful: jQuery.ajax({ data: inputs.join('&'), url: "delete_bline.php", timeout: 5000, error: function() { alert("Sorry, deleting the baseline could not be completed at this time. Please try again, later.");

[jQuery] Re: jCarousel Lite problem

2008-10-08 Thread BroOf
No Ideas?

[jQuery] Re: Need solution to cycle through images and display a caption

2008-10-08 Thread deronsizemore
Thank you very much. I did see it the other day but I didn't notice anything where it allowed you to add in a caption. I'm going back to take a second look. I'm currently trying to read through the Learning jQuery book, so hopefully if Cycle doesn't have captions built in, I'll be able to add t

[jQuery] Re: AJAX Success Callback referring to $(this)

2008-10-08 Thread MorningZ
How about posting what you have? that would give a good basis to start to explain it To hope to help though, since the Ajax request is made asynchronously, it loses the context of "this" On Oct 8, 10:49 am, Wayne <[EMAIL PROTECTED]> wrote: > I've been looking for this quite a bit, today, and

[jQuery] AJAX Success Callback referring to $(this)

2008-10-08 Thread Wayne
I've been looking for this quite a bit, today, and haven't quite found what I'm looking for, so maybe someone can point me in the right direction. I'm performing an AJAX request, and I pass an anonymous function as the success callback, upon which I will want to do some DOM modification to the el

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-08 Thread Alex Weber
Thanks Karl! Unfortunately I havan't yet become a huge adopter of "progressive enhancement"/"graceful degrading" :) i just assume that users have js (and cookies for that matter) enabled... lol it works most of the time and i haven't really had to do any mission critical stuff yet :) thx for the

[jQuery] Re: [validate] Modify the position of the validation message

2008-10-08 Thread Weyert de Boer
Thanks now the radio buttons bit are working. Only when I am using the follow settings in the validator-object: errorContainer: "#errors", errorPlacement: function(error,element) { error.appendTo( element.parents("div") ); }, Now I had thought that this would add that label-t

[jQuery] Re: Code execution order

2008-10-08 Thread Rene Veerman
function UpdateList() { // Open the xml file $.get("locations.xml",{},function(xml){ // Run the function for each name tag in the XML file $('location',xml).each(function(i) { alert($(this).find("name").text());

[jQuery] Re: ANNOUNCE: jQuery listnav plugin

2008-10-08 Thread craig.kaminsky
Hi, Jack, Wasn't sure if my reply via Gmail would show up here, so wanted to post (sorry if duplicated): Thank you, again, for the plugin and the quick fix, so to speak. I uploaded the 1.0.1 version to the site and it's working very, very well right now. The overall count (under all) is off by 1-

[jQuery] [validate] Modify the position of the validation message

2008-10-08 Thread Weyert de Boer
Hello I am currently trying to implement jQuery.validate in my code generator for creating forms. Only I am having some questions about how to update the position where the validation message element are getting created. I am having problems with it when a validation message has to be shown for a

[jQuery] Re: [validate] Modify the position of the validation message

2008-10-08 Thread Jörn Zaefferer
Take a look at the errorContainer and errorLabelContainer options: http://docs.jquery.com/Plugins/Validation/validate#toptions Jörn On Wed, Oct 8, 2008 at 4:10 PM, Weyert de Boer <[EMAIL PROTECTED]> wrote: > > Would it also be possible to show all the same errors in a id="errors">-container and

[jQuery] Re: problem with internet explorer...

2008-10-08 Thread Manarius
solved it all now... internet explorer seems to have a problem with font-weight:bold; when using opacity. changed it to font-weight:600; and it works like a charm. the buttons arent fixed but solved, by adding them to the main.php file and displaying them only when needed. so thanks for reading,

[jQuery] Re: [validate] Modify the position of the validation message

2008-10-08 Thread Weyert de Boer
Would it also be possible to show all the same errors in a -container and also near the form field itself? On Wed, Oct 8, 2008 at 4:10 PM, Weyert de Boer <[EMAIL PROTECTED]> wrote: > Hello > > I am currently trying to implement jQuery.validate in my code > generator for creating forms. Only I am

[jQuery] Re: ClueTip postioning

2008-10-08 Thread JeffreyKarbowski
Comparing to original - (Line 105) Original: var tOffset = parseInt(opts.topOffset, 10), lOffset = parseInt(opts.leftOffset, 10); Changed to: var tOffset = 100, lOffset = -738; (Line 302) Original: tipY = posY; Changed to: tipY = 95; (Line 305) Original: tipY = posY - opts.dropShadowSteps + t

[jQuery] Re: Intercept "Back" button click on browser

2008-10-08 Thread Leanan
Fantastic, thank you. Where might I be able to get this? Also, it seems sometimes that even though I'm using $('a#myidxxx').history(function() { $.get(myurl,function(data) { $(myappenddiv).append(data); }); }); that the data is still getting appended twice. This doesn't happen all th

[jQuery] Re: Find all a elements not within a div

2008-10-08 Thread Karl Swedberg
On Oct 8, 2008, at 5:02 AM, BB wrote: Hi, this would be the right selector for you: $("a").filter(function() { return !$ (this).parent("div.pages").length; }); gets all "A"s and then filter the "A"s out wich have a "DIV" with the class "pages" as parents. Nice one, BB! Note that you mig

[jQuery] Re: get a fancybox/lightbox from a FORM?

2008-10-08 Thread Rene Veerman
i dont know fancybox, but if your lightbox supports HTML it should support submitting a FORM. i'd try to initialize the fancybox on the div containing the form, not the form itself. Hilmar Kolbe wrote: Is there a way to get a fancybox () or any other lightbox from sub

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-08 Thread Karl Swedberg
On Oct 8, 9:14 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Alex, > > Often, if you're hiding information on page load, you'll want to have   > that information available upon some user interaction. Hiding that   > information with CSS would make the information unavailable to anyone   > who

[jQuery] Re: dimensions plugin integrated in jquery ?

2008-10-08 Thread Karl Swedberg
On Oct 8, 2008, at 9:05 AM, Brandon Aaron wrote: That is correct. The dimensions plugin now completely included in jQuery 1.2.6. -- Brandon Aaron On Wed, Oct 8, 2008 at 7:41 AM, Alexandre Plennevaux <[EMAIL PROTECTED] > wrote: hello! aquick question: is it right that dimensions.js has bee

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-08 Thread Karl Swedberg
Hi Alex, Often, if you're hiding information on page load, you'll want to have that information available upon some user interaction. Hiding that information with CSS would make the information unavailable to anyone who has JS off but CSS on. Probably not a huge percentage of users, but i

[jQuery] Re: just started using jQuery today

2008-10-08 Thread chris thatcher
Welcome! On Wed, Oct 8, 2008 at 4:40 AM, BB <[EMAIL PROTECTED]> wrote: > > Yes, because it is not in the $(document).ready(function() { ... });, > so it would be executed before the dom is ready. > so just write the $("a").click(function(){ ... }); in the $ > (document).ready(function() { ... });

[jQuery] Re: dimensions plugin integrated in jquery ?

2008-10-08 Thread Alexandre Plennevaux
thanks brandon! it would maybe be useful to update the plugin project page with that info? right now, it kindda says you need jquery 1.2+ http://plugins.jquery.com/node/1089 thanks in any case! LAb[au] _ *lab*oratory for *a*rchitecture and *u*rbanism Alexandre Plennevaux Lakensestraat 104 R

[jQuery] Re: dimensions plugin integrated in jquery ?

2008-10-08 Thread Brandon Aaron
That is correct. The dimensions plugin now completely included in jQuery 1.2.6. -- Brandon Aaron On Wed, Oct 8, 2008 at 7:41 AM, Alexandre Plennevaux <[EMAIL PROTECTED]>wrote: > hello! > > aquick question: is it right that dimensions.js has been included in jquery > 1.2.6? So there is no need to

  1   2   >