[jQuery] Re: ask jquery upload progessbar

2010-01-27 Thread Thomas
To my knowledge, that's not possible to do with Javascript alone. You would need to employ Flash for that. I believe FancyUpload is a Flash plugin that might suit you. There are surely more, and possibly better ones out there but this should give you a starting place for your research. On Jan 26,

[jQuery] Re: plugin dev help

2010-01-14 Thread Thomas
When I started writing reusable plugins at work, I've read a couple of tutorials first, but then found this one: http://www.learningjquery.com/2007/10/a-plugin-development-pattern All my plugins since then are based on that pattern, and I strongly felt I've understood every little nuance of why

[jQuery] Re: private listeners for global triggers

2010-01-14 Thread Thomas Danemar
You can trigger a custom event on any object with trigger(). On the global document object, for example: $(document).trigger("myUpdateEvent"); and listen to it like so: $(document).bind("myUpdateEvent", someFunction); Fiddling around with the global document object is a bit icky, though. Bette

[jQuery] Re: long-term browser support strategy

2010-01-12 Thread Thomas
Here's a post from John's blog in which he touches the topic of a general strategy for browser support: http://ejohn.org/blog/the-browsers-of-2009/ He also briefly writes about it in his (latest?) book: http://www.manning.com/resig/ Finally, John's (and thus jQuery's) testing strategy is to tes

[jQuery] Re: Jquery Datepicker UI

2009-12-19 Thread Thomas
Oh, here's the link to the doc: http://jqueryui.com/demos/datepicker/#event-beforeShowDay On Dec 18, 3:13 pm, Mauricio Vargas wrote: > Hi, > > I'm using the Datepicker that comes with the jQuery UI. > I would like to keep some dates, in this calendar, checked. > I'm bringing some dates in the fo

[jQuery] Re: Jquery Datepicker UI

2009-12-19 Thread Thomas
if it is, you set a custom class that you can then style via CSS. Hope that helps, Thomas On Dec 18, 3:13 pm, Mauricio Vargas wrote: > Hi, > > I'm using the Datepicker that comes with the jQuery UI. > I would like to keep some dates, in this calendar, checked. > I'm

[jQuery] Jquery clone, doesn't clone

2009-11-29 Thread Thomas V
I'm using a plugin contextmenu and I want to be able to copy elements that are dynamically created, but somehow it doesn't clone, it uses the same element when I paste. $.post("actions.php", { action: 'getCal', from: dFrom, to: dTo }, function(data){ cals = data.split(";;")

[jQuery] Re: jquery toggle Ie7 problem

2009-11-26 Thread Thomas
The images are there, they're just for some reason moved to the left. If you assign a margin-left of 50px to your first image, you'll see that they are actually visible. Seems to be a style issue (maybe IE-related), rather than a jquery issue. Additionally, your page throws a handful of validatio

[jQuery] Adding a "close" link button button at the end of Autocomplete dropdown

2009-10-15 Thread Thomas
Hi, I am using Jquery autocomplete dropdown, could you please help to add a "close" link button at the end of the dropdown like the google suggest ? I am new to jquery, Thanks in advance Thomas

[jQuery] Re: (validate) How to activate validation on first blur?

2009-10-07 Thread Thomas
entirely sure I've thought of all relevant test cases. On Oct 7, 12:49 pm, Thomas wrote: > Hello! > > I'm using the validate plugin, and I am loving it. > > Unfortunately, my client would like to show validation errors on form > fields on blur events every time, as oppo

[jQuery] (validate) How to activate validation on first blur?

2009-10-07 Thread Thomas
Hello! I'm using the validate plugin, and I am loving it. Unfortunately, my client would like to show validation errors on form fields on blur events every time, as opposed to showing them only if the user has previously entered something in the field at least once. Before I start hacking insid

[jQuery] Re: Convert Jquery to Mootools

2009-07-21 Thread Thomas
Addendum: jQuery also works without problems side-by-side with MooTools in noConflict() mode. On Jul 20, 9:56 am, Sebastien BRUNEL wrote: > Hi > I have developped this function in jquery for a website, and i have to > use it on another site which is using mootools. I've tried to convert > it,

[jQuery] Re: Convert Jquery to Mootools

2009-07-21 Thread Thomas
Salut, Sebastian. See if this works. It's an accurate replication of your code in MooTools-speak. Personally, I'd attempt a pure CSS solution for your problem, but of course I don't know all the details on what you want to achieve and in which context. As I can't really test the code, it is prov

[jQuery] $.post callback broken in safari in new window.open()

2009-07-10 Thread Thomas Bircher
hello I'm opening a new window with window.open() In the new window a file is loaded with the following post data function: function ajaxPost(url,data){ $.post(url,data, function(data){ alert(data) }); , "json"); } If I call this function form wit

[jQuery] Re: Ajax Tabs with accordion content...

2009-07-08 Thread Thomas
_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F > > Thomas wrote: > Hello, I use a jquery tabs with ajax (for loading a tab content) it > works very well, but when ajax have to load an accordion, it doesn't > work well (i loose the accordion presentation) i

[jQuery] Problem with accordion in ajax Tabs

2009-07-07 Thread Thomas
Hello, I use jquery Tabs with ajax for loading data it works well but when data is an accordion, there is no more presentation of the accordion (like no css, or no js) it's maybe nothing, but ajax has also a problem when data contain an accent who is not code with á anyway, if somebody has any ide

[jQuery] Ajax Tabs with accordion content...

2009-07-07 Thread Thomas
Hello, I use a jquery tabs with ajax (for loading a tab content) it works very well, but when ajax have to load an accordion, it doesn't work well (i loose the accordion presentation) i have maybe a clue : ajax doesn't load well also accent if their are not code like â (yes, i'm french) thanks

[jQuery] Re: hover + inside elements

2009-06-05 Thread Thomas Decrick
Is it possible to check if the mouse is hovering over a parent element ? On 05 Jun 2009, at 02:15, Thomas wrote: Hi, I have a layout with 4 collumn divs. When the mouse hovers over each collumn, a simple fadein is performed on another element. Now what happens is, when i move over another

[jQuery] hover + inside elements

2009-06-05 Thread Thomas
Hi, I have a layout with 4 collumn divs. When the mouse hovers over each collumn, a simple fadein is performed on another element. Now what happens is, when i move over another element INSIDE a collumn div (a for instance), the same fadein runs again... Am I doing something wrong with the select

[jQuery] Re: jQuery Cycle Plugin - Prev/Nex inside loop container

2009-06-04 Thread Thomas Arie Setiawan
2009/6/3 Arie : > > Hello, > > I tried to use Cycle Plugin, and it works great. I have the "Previous > and Next" navigation work without any problem. > > This is the code I have: > > - > > $(function() { > $('#feat-container').cycle({ > prev:   '#prev', > next:   '#next', > timeou

[jQuery] Re: NS_ERROR_DOM_BAD_URI with javascript bookmarklet and local path

2009-06-04 Thread Thomas Jaggi
Sorry, in Windows XP it only works when visiting local HTML files. On "real" websites I'm having the same problem. But why is it working using any webserver to host the script? I thought this was cross-domain all the same...

[jQuery] NS_ERROR_DOM_BAD_URI with javascript bookmarklet and local path

2009-06-04 Thread Thomas Jaggi
this related to WebKit and Gecko, to OSX or to something else? Thanks, Thomas

[jQuery] Re: jQuery & XML

2009-05-24 Thread Thomas
Ohhh, now that I've read the code you're using to grab the attribute value... In your alert(), try alert(attribute["image"].text()); instead of alert(attribute["Image"].text()); (note the lowercase i). But the easiest solution (if it works) would be the direct selector approach from my firs

[jQuery] Re: jQuery & XML

2009-05-24 Thread Thomas
If I understood correctly, all you still want to do is to find a way to get the text of the node that has the attribute "size" with a value of "medium". The straightforward jQuery selector for that would be: "image[size=medium]" So you were nearly there in your second post. Try: var mediumUrl

[jQuery] Re: update from 1.2.6 to 1.3.2 $('select') - strange!?

2009-05-20 Thread Thomas
I'm using v1.3.2 as well, and incidentally, I also happen to be using the same selector pattern. I get the SELECT element, just as expected. My guess would be that a space snuck into your selector, like this: $ ('select[name^="q_select_"]') And I'd venture further and hypothesize that your

[jQuery] Re: json syntax question (ticket vs unticked names)

2009-05-08 Thread Thomas Matthijs
Both are valid javascript, but only one is valid json. However many json parsers are leaniant in what they accept. var moo = { foo: "bar" } // this is javascript, not json. JSON.stringify(moo) should give '{ "foo": "bar" }' // this is json. So if you are passing json to something, it needs to be

[jQuery] Re: Conditional required fields

2009-05-01 Thread Thomas Allen
t.val()); } } So that the field validators would not be added back when the individual sections were excluded. Thomas On Apr 30, 2:16 pm, Thomas Allen wrote: > Thanks. I ended up using the classes add/remove style, and it works > well. However, a method that should be called on every pa

[jQuery] Re: Conditional required fields

2009-04-30 Thread Thomas Allen
t the checkbox is checked (the same sections are hidden), I cannot re-submit the form: The validation classes are not removed. What can I do to fix this? I know that the code's a bit clumsy, but I can explain any specific parts if needed. Thanks, Thomas

[jQuery] Re: Conditional required fields

2009-04-28 Thread Thomas Allen
And I'm not going out of my way to change the subject...I'm not sure what's going on there. Thomas On Apr 28, 2:40 pm, Thomas Allen wrote: > > a custom method is used for the fields inside the Billing Address group > > What does this method do (or, better, what&

[jQuery] Re: [validate] Conditional required fields

2009-04-28 Thread Thomas Allen
> a custom method is used for the fields inside the Billing Address group What does this method do (or, better, what's it called so I can search the source)? Thanks, Thomas On Apr 28, 2:16 pm, Jörn Zaefferer wrote: > One alternative approach can be found > here:http://jquery.

[jQuery] [validate] Conditional required fields

2009-04-28 Thread Thomas Allen
make the field set counts visible to the user, but that's more of a design question right now. Thanks, Thomas

[jQuery] Re: Do object events persist in cloning? I can't get this method to work.

2009-04-27 Thread Thomas Allen
Yep, that did it, thanks. I had never heard of this before. Thomas On Apr 27, 10:13 am, Scott Sauyet wrote: > Thomas Allen wrote: > > What I'm doing is creating a couple button objects and cloning them. > >     $(memberSections).prepend(toggler.clone()); > >    

[jQuery] Do object events persist in cloning? I can't get this method to work.

2009-04-27 Thread Thomas Allen
Class('button') .click(function() { console.log('Hello'); // $(this).parent().parent().addOne(); }); var toggler = $('') .addClass('toggler') .append(minus) .append(plus); $(memberSections).prepend(toggler.clone()); $(youngerSections).prepend(toggler.clone()); }); Why is it that neither button logs to the console when clicked? Thomas

[jQuery] Re: Plugin does not bind to jQuery object

2009-04-16 Thread Thomas Allen
That was it. jQuery was being loaded just before , so it was overwriting the jQuery object loaded earlier (via the custom page). By moving this to the top and deleting the extra script reference, I fixed the problem. Thanks! Thomas On Apr 16, 12:37 am, Thomas Allen wrote: > This is possi

[jQuery] Re: Plugin does not bind to jQuery object

2009-04-15 Thread Thomas Allen
This is possible, and makes sense. I'll take a look tomorrow (the main template for this site includes jQuery, and we include these scripts on forms, which is where things got mixed up). Thomas On Apr 15, 4:55 pm, Eric Garside wrote: > Upon further inspection, I'm not quite sure

[jQuery] Re: Plugin does not bind to jQuery object

2009-04-15 Thread Thomas Allen
x27;s not being used here. Thomas On Apr 15, 4:39 pm, Eric Garside wrote: > It's the order of your includes. In the first page, you're including > the validation plugin before you're including jQuery. The result is > that, when validation attempts to enter itself into the jQue

[jQuery] Plugin does not bind to jQuery object

2009-04-15 Thread Thomas Allen
one works, and the first doesn't. For some reason, the first site doesn't bind the validate method to jQuery. $.fn.validate() throws an exception in the console. What's going on, and how can I fix this problem? The file itself is definitely being loaded. Thanks, Thomas

[jQuery] Re: Getting index of clicked table cell

2009-04-14 Thread Thomas
Wow, you had me stumped for a couple of minutes there. :) I think the .index() method doesn't do what you want it to do. As I understand it, you use that method on a selection of elements, pass it an element, and it will search for the element in that selection. So if you did alert($('td', th

[jQuery] Re: jQuery SL - jQuery Silverlight Plugin Feedback

2009-04-11 Thread Thomas Creutz
Thomas Creutz schrieb: > Jordon Bedwell schrieb: >> I suggest you check out http://www.smoothhd.com/ before you start dogging >> Silverlight. Learn a little about things before you dogg them please. > > haha, its not possible, I use Linux ... and Moonlight is not the right

[jQuery] Re: jQuery SL - jQuery Silverlight Plugin Feedback

2009-04-11 Thread Thomas Creutz
- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Koistya `Navin > Sent: Saturday, April 11, 2009 2:04 AM > To: jQuery (English) > Subject: [jQuery] Re: jQuery SL - jQuery Silverlight Plugin Feedback > > > On 10 апр, 23:30, Thomas Creut

[jQuery] Re: jQuery SL - jQuery Silverlight Plugin Feedback

2009-04-10 Thread Thomas Creutz
thing from M$ to get a monopoly.. Thomas

[jQuery] Re: Firefox bug on height

2009-04-10 Thread Thomas Creutz
Thomas Creutz schrieb: > Main store schrieb: >> You'll see the bottom of my page is too long. >> I have tried to modify the CSS with some Height measurements but >> nothing happen.. > > hi.. just remove the height from the body definition ;-) oh.. Nathan is ri

[jQuery] Re: jQuery function to click a link on the page

2009-04-09 Thread Thomas Creutz
Thomas Creutz schrieb: > CaptainABrad schrieb: >> Stated simply, is there a way to either: >> 1) Click a link on a page with jQuery, or >> 2) Open a link in a new tab. > > 2: window.open and target "_new" should work > > http://www.mydigitallife.i

[jQuery] Re: jQuery function to click a link on the page

2009-04-09 Thread Thomas Creutz
h-_blank-or-_new-as-target-in-html-and-their-difference/ Thomas signature.asc Description: OpenPGP digital signature

[jQuery] Re: Firefox bug on height

2009-04-09 Thread Thomas Creutz
ove the height from the body definition ;-) Thomas signature.asc Description: OpenPGP digital signature

[jQuery] Re: Is jquery safe ?

2009-04-09 Thread Thomas Allen
Oh, it gives you a virus...the virus of a clean API for the DOM. Some people in comp.lang.javascript would argue that jQuery itself is a virus, but they're a bit off-kilter. Thomas On Apr 9, 6:22 am, Devesh wrote: > Hi, > > I am using the latest version of jquery. I want to c

[jQuery] Re: IE display issue

2009-04-09 Thread Thomas Allen
overlaps my content.  i've > put the code in to reset the height again, but it doesn't do anything > at that point.  any ideas? Can we see your code? Thomas

[jQuery] Re: why i getting Error: form.ajaxSubmit is not a function

2009-04-09 Thread Thomas Allen
On Apr 9, 2:26 am, Hellofrom wrote: > I try to use Form plug in with Validaiton plug in > i get the following error if firefox > Error: form.ajaxSubmit is not a function > > can someone help me please I'd like to. Could you please post your code that produces this error? Thomas

[jQuery] Re: jQuery appendTo() in IE7 before ready() [qTip|BlockUI]

2009-04-09 Thread Thomas Creutz
Thomas Creutz schrieb: I have strange problems with IE7 (older/newer version not tested, but I think, it is also present in IE6) and some plugins, that do a appendTo(). The Webpage stops loading and I get a warning which says: Die Internetsite http://mypage.de/ kann nicht geöffnet werden

[jQuery] Re: Terrible print styles in the docs

2009-04-08 Thread Thomas Allen
Sure, I'll do that. Thomas On Apr 8, 2:02 pm, Ralph Whitbeck wrote: > Thomas, > > You could submit a bug and if you want to help submit a patch to the bug and > I am sure the team will consider it. > > Thanks, > Ralph > > On Wed, Apr 8, 2009 at 1:50 PM, Th

[jQuery] Terrible print styles in the docs

2009-04-08 Thread Thomas Allen
a bit Thomas

[jQuery] jQuery appendTo() in IE7 before ready() [qTip|BlockUI]

2009-04-08 Thread Thomas Creutz
egards, Thomas signature.asc Description: OpenPGP digital signature

[jQuery] Re: Reusing script

2009-03-24 Thread Thomas
I would add one common class to to all your .step1, ..., .step10 elements in your mark-up, and then do this: // say the common class is "step" $(document).ready(function() { var $steps = $('.step'); $steps .addClass('hiddenStep') .click( function() { $steps.addClass('h

[jQuery] Re: A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread Thomas Allen
Oh, I thought that was a recommended practice to reduce bugs when changing the number of items in an object. Thanks! Thomas On Mar 9, 9:58 am, pete higgins wrote: > >            .css({ > >                'display': 'block', > >                'text-a

[jQuery] A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread Thomas Allen
know, this is grimy, but it works. $('.calendarInfo').show(); $(this).html('Hide Calendar List'); } else { $('.calendarInfo').hide(); $(this).html('Show Calendar List'); } }); ); }) (jQuery); Thanks, Thomas Allen

[jQuery] Re: alternate color row starting from a point

2009-02-27 Thread Thomas Jaggi
Sorry, that's above my abilities... Anyone else?

[jQuery] Re: alternate color row starting from a point

2009-02-27 Thread Thomas Jaggi
This should do it: $('tr:not(.className)').css({'background':'red'});

[jQuery] Re: Loop through JSON data and check for each option specified

2009-02-25 Thread Thomas Jaggi
Well, it looks like indexOf() (or probably better search()) is ok since I just have to check a string for another one (e.g. is "2008" contained in the date value).

[jQuery] Re: Positioning inside div

2009-02-22 Thread Thomas Jaggi
They should have "position:absolute" instead if "position:relative". Relative means relative to the "normal" position. In this case you would have to set negative values for top/left to achieve an overlapping. Petar schrieb: > I'm trying to create and place several elements inside an empty >

[jQuery] Re: Loop through JSON data and check for each option specified

2009-02-22 Thread Thomas Jaggi
(I didn't write the filter stuff yet...)

[jQuery] Re: Loop through JSON data and check for each option specified

2009-02-22 Thread Thomas Jaggi
Hi Nicolas, I will definitely look into this, thank yout! On 22 Feb., 13:34, Nicolas R wrote: > Hey Thomas, > from what you're saying it seems that we're trying to tackle the same > issue. Have a look at this it may be > helpful:http://groups.google.com/grou

[jQuery] Re: Stringing functions within a click event

2009-02-21 Thread Thomas Jaggi
be a conflict when you end up with 2 objects > with id1? > > Thanks > > paul > > On Feb 21, 2:29 pm, Thomas Jaggi wrote: > > > You could use the callback function (http://docs.jquery.com/Effects/ > > animate#paramsdurationeasingcallback). > > > $(&q

[jQuery] Re: Stringing functions within a click event

2009-02-21 Thread Thomas Jaggi
numbered form > 0 to 8, will there not be a conflict when you end up with 2 objects > with id1? > > Thanks > > paul > > On Feb 21, 2:29 pm, Thomas Jaggi wrote: > > > You could use the callback function (http://docs.jquery.com/Effects/ > > animate#par

[jQuery] Re: Ajax tabs in non JavaScript browsers

2009-02-21 Thread Thomas Jaggi
You have to solve this on the server side. If you put a normal link on the tab you can deliver an appropriate site on reloading. On 21 Feb., 13:26, Playtime wrote: > Dear all, > > I'm new to jquery and am just started to use the Ajax tabs in a site I > am building. However I do notice that if

[jQuery] Re: Stringing functions within a click event

2009-02-21 Thread Thomas Jaggi
You could use the callback function (http://docs.jquery.com/Effects/ animate#paramsdurationeasingcallback). $("#right").click(function(){ $("#i1").animate({width: '98px', "left": "+=86px"}, 1500, function (){ var id = $(this).attr('id').split('i')[1]; id = id -1; $(thi

[jQuery] Re: Loop through JSON data and check for each option specified

2009-02-21 Thread Thomas Jaggi
Great, that's it. Thanks a lot! The indexOf is just an example. The options are actually some kind of filters and I want to check each item against each filter. Depending on the filter It could be indexOf. On 21 Feb., 14:44, Mike wrote: > > What is "key"?  That's not in either one of your dat

[jQuery] Re: Loop through JSON data and check for each option specified

2009-02-21 Thread Thomas Jaggi
Sorry, I mean "if (item.key.indexOf(val) != -1) {". But anyway, any ideas? I know my approach probably makes no sense at all...

[jQuery] Loop through JSON data and check for each option specified

2009-02-21 Thread Thomas Jaggi
Let's say I have on object with my options: options = jQuery.extend({ title: 'xy', date: 'xy' }, opts); And some JSON data: ({ "items": [ { "title": "IMGP3817", "date": "2008-10-18T10:35:17-08:00" }, { "title"

[jQuery] Re: How to loop through JSON data

2009-02-21 Thread Thomas Jaggi
Your Loop should probably look like this: $.each(results, function(key,val) { event += '' + val.title + ' ' + val.style +  '<\/div>'; }); On 21 Feb., 12:51, newkid85 wrote: > If I have JSON data like this: > > { "9": { "title": "Event 1", "style": "rock" }, "11": { "title": > "Event

[jQuery] XML link tag problem

2009-02-13 Thread Thomas
le! vlm1 = $(xml).find("title").eq(0).text(); // success vlm2 = $(xml).find("link").eq(0).text(); // fail I did not made the xml file and i can't edit it. How could i assign the content of this link tag ? Ty, Thomas

[jQuery] Re: The order of these conditions should not matter

2009-02-10 Thread Thomas Allen
Good call; thanks! I've been working with the Validate plugin, and the "depends" guards appear to be creeping into my other code :^) Thomas On Feb 10, 2:41 pm, Ricardo Tomasi wrote: > Doh. I'm blind. > > $("#pay_cc:checked") will always be 'true&#x

[jQuery] Re: The order of these conditions should not matter

2009-02-10 Thread Thomas Allen
serve the same behavior when I try these conditionals reverse order (Check first, causing CC to always override it). Thomas On Feb 10, 2:23 pm, Ricardo Tomasi wrote: > What do you mean by overriden? Just copied your code over and it seems > to work fine. > > http://jsbin.com/efejehtt

[jQuery] The order of these conditions should not matter

2009-02-10 Thread Thomas Allen
y are a part of the same radio group (as seen in the HTML). The showCC and showCheck functions work perfectly in the focus() context (they switch normally). The reason that I'm setting this up this way is so that a user will only see the payment region that they need to see. Thanks, Thomas Allen

[jQuery] Re: How to get the CSS definitions of a class not existing in the DOM

2009-02-10 Thread Thomas Jaggi
Sorry, I just found this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/7cbc9fb45f7dc133/578d5407199aaf31

[jQuery] How to get the CSS definitions of a class not existing in the DOM

2009-02-10 Thread Thomas Jaggi
Let's say I have a CSS class for each of two possible states of an element. Now I want to animate from state X (".state-x {width:100%}") to state Y "(.state-y {width:50%}"). Is it possible to get the CSS definitions of ".state-y"? I suppose "$('.state-y').css('width')" doesn't work when there is

[jQuery] Re: [validate] dynamic message

2009-01-30 Thread thomas
needed. This seems not be the case with the solution you have suggested. Once specified the this.settings.messages [element.name] sticks and does not clear. How to reset it back to nothing and re-launch validation chain when the form value changes? With kind regards, Thomas On Jan 26, 11:18 am

[jQuery] Re: [validate] dynamic message

2009-01-25 Thread thomas
the check digit should be for what he has typed. In order to pass it into template "Entered number is wrong the check digit must be {0}" I need to be able to alter param somehow ... Regards, Thomas On Jan 25, 2:29 pm, Jörn Zaefferer wrote: > You can use $.format to create dynamic messag

[jQuery] [validate] dynamic message

2009-01-24 Thread thomas
Hello group! Very happy to have deployed validation plugin ( I mostly need to check validity of EAN/UPC numbers for barcode generation). You can see it in action here: http://www.barcoderobot.com/ean-13.html The question I am struggling with though is howto return a 'dynamically generated' messa

[jQuery] "No element found" when firing $.post()

2009-01-14 Thread Thomas
("#portal").sortable ("toArray") }); I am a bit confused, could anyone bring some light into this? Thanks :) Thomas

[jQuery] Re: IE8.

2009-01-11 Thread Thomas Kahn
if the errors are caused by my code, Microsofts code, jQuery+IE8 compatibility issues or a combination of all of this. Thanks in advance! /Thomas Kahn

[jQuery] Re: mouseout problem

2009-01-07 Thread Thomas
Hi saiful! You have several syntax errors in your code, but I assume they're just typos (for once, you have "isPopUp" in your one selector, instead of "#isPopUp"). Your problem likely stems from misinterpreting the mouseout event, though. That event fires *every time the cursor leaves a child of

[jQuery] Re: IE Problem

2009-01-07 Thread Thomas
It would be interesting to see './files/v-winter.txt' as well, specifically how it's being served. Total shot in the dark, but I remember having had a similar problem (IE-only) when I started playing with XML files many moons ago. Maybe it would help if you served that file with an 'content-type

[jQuery] Re: image caching problem

2009-01-07 Thread Thomas
=" + new Date()); > > should do the trick > > . > On Jan 7, 9:41 am, Thomas wrote: > > > Hi folks! > > I have a simple profile image upload script. The problem is that I > > can't change the actual image with jQuery, because is cahed ( i > > sup

[jQuery] image caching problem

2009-01-07 Thread Thomas
Hi folks! I have a simple profile image upload script. The problem is that I can't change the actual image with jQuery, because is cahed ( i suppose ). Only one picture allowed per users so I renamed their files to user1.jpg, user2.jpg, etc. I tried to use $('#somethin').attr("src", "userN.jpg");

[jQuery] Shadowbox rel-links and AJAX?

2008-11-30 Thread Thomas Kahn
e off. And now I'm kind of stuck. Any pointers, tips and suggestions are most welcome. Can I block the links somehow, making them clickable only when I'm sure that they will open in Shadowbox? Can I somehow use Live Query? Regards, Thomas Kahn Web Developer, Stockholm, Sweden

[jQuery] Issues in JCarousel scroller

2008-11-27 Thread Thomas
remaining 3 from the first set of images were still there on the scroller. Can any one suggest a workaround for this? Regards Thomas

[jQuery] Re: Simple Ajax question

2008-11-04 Thread Thomas
I found it! The problem was that I used the "complete" and I should "success" ! After this repair I easily access the response with $(xml).

[jQuery] Simple Ajax question

2008-11-03 Thread Thomas
Hi! I have a basic question with jQueryed ajax. How can I reach elements by tag name ? I have this js: $.ajax({ url:"some.xml", type: "POST", dataType: ($.browser.msie) ? "text" : "xml", processData: false, complete: function(data) { var xml;

[jQuery] Re: New plugin: jquery.smoothDivScroll-0.5.js

2008-11-01 Thread Thomas Kahn
Thanks a million Mike! This is EXACTLY the kind of tips'n'tricks that I need to learn. I will address all the things you point out as soon as I have the time! /Thomas Mike Alsup wrote: All improvements and suggestions are welcome! Some quick comments on the code itsel

[jQuery] Re: New plugin: jquery.smoothDivScroll-0.5.js

2008-11-01 Thread Thomas Kahn
ng two adhead) That is my plan! I will be using ten or more of the scrolling DIV's on a single page so loading all the content at once would be heavy. Thanks for your feedback! /Thomas 2008/11/1 tkahn <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> Hi! My name is Tho

[jQuery] Re: reading values from HTML tables

2008-10-30 Thread Thomas
It seems you not using jQuery... Give an ID for the table and use jQuery! It will be easyer! ;)

[jQuery] $(this) question

2008-10-30 Thread Thomas
Hi! I have this in html: add and this in js: function addSubject() { alert( $(this).attr("href") ); } /* expected output: * *javascript:addSubject(); * */ I tried some alternate method but those not works neither... What is the problem ? Thomas

[jQuery] Re: Simple page navigation problem

2008-10-30 Thread Thomas
k do not mutch else and do a 'thisIsASuperFunction()' function. I think is a better way... Good luck, Thomas

[jQuery] Re: Basic AJAX Q: how to replace current with XHR-fetched page?

2008-10-03 Thread Thomas Danemar
The easiest way to fetch another page and insert it into the DOM is by using load(): $('body').load('page.htm'); injects the contents of page.htm into . You can also use selectors in the url if you only want to fetch parts of the page: $('body').load('page.html #someelement') injects only the

[jQuery] Re: Click function only invoked after second click in IE6 & IE7

2008-09-25 Thread thomas peklak
Your document contains multiple same ids (info, info_link). This is not valid (http://validator.w3.org/check?verbose=1&uri=http:// dev.dreimorgen.com/test.html). Please correct this first (use classes instead) and try again. For me this is working. Thomas

[jQuery] Cycle-Plugin: Add list-item after enabling cycle

2008-06-23 Thread Thomas Jaggi
Does anybody know how to enable the Cycle again after adding a list- item ("$('hello<\/li>').appendTo('#cycle');")? When just enabling it again like "jQuery('#cycle').cycle({...});" the new item and the first one are set to "display:list-item" at the same time...

[jQuery] Re: JQuery bigginer

2008-04-06 Thread thomas chen
$(document).ready(function(){ $('#dayOfBirth').bind('focus',function(){ $(this).val(''); }); }); - Original Message - From: "Raghu" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Sat

[jQuery] Re: Sticky (scrolling) element

2008-04-06 Thread Thomas Jaggi
Hi spectrus Here you can see what I mean: http://view-source.de/ext/larepublique/slider-final/ Seems to work now. There is just a problem in IE6: As soon as there are any background- images, it's not really smooth any more... But same problem with the initial version. Probably that's because of

[jQuery] how to bind click event to div element created dynamic

2008-04-06 Thread thomas chen
I'm newbie to jquery.i bind click event to div element which is created dynamiclly. but it can't work. Anyone could help me? Thank a lot thomas.chen The following is my code! JQuery JQuery $(document).ready(functi

[jQuery] Sticky (scrolling) element

2008-04-05 Thread Thomas Jaggi
sing? - When the box is higher than the screen (click "expand") there is an unwanted effect when scrolling to the bottom of the page. How can I define a minimal margin to the bottom? Thanks a lot, Thomas

  1   2   >