[jQuery] Re: Is it possible so scroll all the way to the end a div overflow: scroll; ?

2007-07-25 Thread fambizzari
I also need to know that. What would be even better is to know how to scroll how to a specific position within the div noted by, say, an id. On Jul 25, 6:18 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a div that its overflow attribute is set scroll (or auto), basically, I need to

[jQuery] Re: Formatting External Links

2007-07-25 Thread Joel Birch
To get all the links that don't point to your site, I think you could do this: $('a').not('[EMAIL PROTECTED]') Joel. On 25/07/2007, at 1:51 PM, [EMAIL PROTECTED] wrote: Karl, I want to reformat all the links that DONT point to my site. On Jul 24, 11:19 pm, Karl Swedberg [EMAIL

[jQuery] Re: Is it possible so scroll all the way to the end a div overflow: scroll; ?

2007-07-25 Thread jim
Yes you can. It's best to scroll past the bottom because that will be sure to compensate for possible errors in offsets as you compute the height. At least I think I had to do this in one case once upon a time. In firefox this will scroll you to the bottom of www.nytimes.com:

[jQuery] Re: Is it possible so scroll all the way to the end a div overflow: scroll; ?

2007-07-25 Thread jim
this should have been overflow-y (the bottom of something is on the y- axis) I'm assuming in all this that youre using the css: overflow:scroll or overflow-x:scroll for the thing you want to scroll to the bottom of

[jQuery] Re: Toggle state

2007-07-25 Thread Stephan Beal
On Jul 24, 5:25 pm, Glen Lipka [EMAIL PROTECTED] wrote: $(p).toggle(function(){ $(this).addClass(selected); someVar = true;},function(){ $(this).removeClass(selected); someVar = false; }); Instead of setting someVar, can't $(element).is(selected) be used?

[jQuery] Re: 3 state buttons - is there a best way

2007-07-25 Thread Mitchell Waite
That might work but I can't tell from that page if it uses images.. And I could not find the cssHover.js or any examples of how this plug in. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gilles (Webunity) Sent: Tuesday, July 24, 2007 10:48

[jQuery] Re: which autocomplete plugin ...?

2007-07-25 Thread Dylan Verheul
On 7/25/07, vulgarisoverip [EMAIL PROTECTED] wrote: You can also try my custom amalgamation of two popular autocompleters here: http://www.vulgarisoip.com/2007/06/29/jquerysuggest-an-alternative-jquery-based-autocomplete-library/ Sorry to hijack the thread, didn't notice this version before.

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-25 Thread Stephan Beal
On Jul 25, 12:41 am, Mitchell Waite [EMAIL PROTECTED] wrote: I know this is trivial but what it turned out I needed was something this simple jQuery.fn.toggleVis = function() { if(chesireCat.style.visibility == 'hidden') { chesireCat.style.visibility = 'visible';

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-25 Thread Ganeshji Marwaha
jQuery.fn.toggleVis = function() { if(this.style.visibility == 'hidden') { this.style.visibility = 'visible'; } else { this.style.visibility = 'hidden'; } }; doesn't this here refer to the jquery object... I don't think jquery object has a style

[jQuery] Re: innerFade or jQuery Cycle Plugin feature addition will pay $$$

2007-07-25 Thread Stephan Beal
On Jul 25, 5:08 am, Mike Alsup [EMAIL PROTECTED] wrote: Ok, these change are now available: Did anyone else notice that the time between this post and Mike's I'll add this to the cycle plugin post was only 19 minutes? So much for an evening's work ;). Mike: if you decide to accept the payment

[jQuery] Re: 3 state buttons - is there a best way

2007-07-25 Thread Gilles (Webunity)
The frontend is 100% css based, the backend 100% javascript and unobtrusive.. This plugin was not released, but will be rewritten to be incorporated into the jQuery UI package. I don't know if you can wait that long however. On Jul 25, 8:25 am, Mitchell Waite [EMAIL PROTECTED] wrote: That

[jQuery] Re: How to call many ajax functions?

2007-07-25 Thread Ganeshji Marwaha
In the calls to ajax you can supply an anonymous function as callback. So, when the ajax request completes, the callback will be executed. Your code for the next line should be written within the callback. Eg: (Untested) @(#bt1).click(function() { $.ajax({ url: myUrl, complete: function() {

[jQuery] Re: BlockUI: Odd behaviour in Internet Explorer

2007-07-25 Thread Gordon
Yes, it's working great now, thanks. On Jul 25, 1:43 am, Mike Alsup [EMAIL PROTECTED] wrote: Gordon, I really like this idea so I added it as the default behavior to blockUI. Unblocking is now done as a fade operation in the lastest version

[jQuery] AJAX .load() Can I set web place to my script?

2007-07-25 Thread Mario Moura
Hi Folks Now I am tasting Jquery AJAX My BIG problem is $(#myID).load(/mysite/myCustomDir/MyOtherPlace/myscript.php); Yes I can run my php file. Excelent! but How can I set to this file to run in http://localhost/mysite/mydir/myplace? In other word I would like to say to my server hey! I am

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Rob Desbois
Traunic how does raw image data get you anything? Seems you want the data and the image URL via XHR and then dynamically insert your DOM bits (img tag w/ URL from response with some sort of wrapper containing your legend)... I mean, what you are talking about is technically doable (not in all

[jQuery] Re: AJAX .load() Can I set web place to my script?

2007-07-25 Thread Rob Desbois
Mario, I don't understand - are you wishing to change the working directory for PHP? If so the function chdir() can help you. If that's not what you're asking I don't get it, can you rephrase the question, perhaps let us know what you're trying to do with this? --rob On 7/25/07, Mario Moura

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-25 Thread Rob Desbois
Ganeshji, Correct, As Aaron states above, 'this' refers to the jQuery object, hence this code will not work. Mitch, As I can see it I think you're misunderstanding how jQuery works from the outside at quite a fundamental level. Did you run through the tutorials at

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Klaus Hartl
Rob Desbois wrote: Traunic how does raw image data get you anything? Seems you want the data and the image URL via XHR and then dynamically insert your DOM bits (img tag w/ URL from response with some sort of wrapper containing your legend)... I mean, what you are talking about is

[jQuery] Interface Slider - onChange doesnt fire

2007-07-25 Thread Ganeshji Marwaha
Hi friends, I am using interface slider for range selecting in one of my projects. I faced quite a few issues with it, but solved them all either through some work arounds or some modifications to the slider code... But, now i am facing a problem, that i am unable to solve. I would sincerely

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Rob Desbois
Yes, sorry I didn't phrase my post very well: there is a URL for the image, of course, but I was trying to emphasise that there isn't a URL to an image cached on the server's filesystem to pass back, as I don't want to *permanently* cache the image (or implement a cleverer algorithm - there's no

[jQuery] Re: How to call many ajax functions?

2007-07-25 Thread oliver
I think it depends on what you are doing in those click functions. If they inherently call timeout/interval code, then they are non-blocking by nature and you will need to edit them in able to be able to pass in a callback of some sort. If the click handlers are already blocking, though, then

[jQuery] $Ajax memory problem

2007-07-25 Thread Michael Schwarz [MVP]
Hi, I'd like to create a periodical Ajax request with jQuery. What i have done is: $j.ajax({ type: POST, url: /ajaxpro/haschanged.ashx, data: '{req:' + AjaxPro.toJSON(r) + '}', beforeSend: function(xhr) { xhr.setRequestHeader(X-AjaxPro-Method, HasChanged); }, success:

[jQuery] Re: Formatting External Links

2007-07-25 Thread oliver
Then I'd try $('[EMAIL PROTECTED]').filter('[EMAIL PROTECTED]') 'select all links (with hrefs) and remove those that contain mysite.com' o I want to reformat all the links that DONT point to my site. Instead of using $('a.redir'), try using $('[EMAIL PROTECTED]')

[jQuery] Re: Is it possible - left or right

2007-07-25 Thread Sass
Your question is much too broad. It is possible, but until you can ask simpler questions than this, it's extremely unlikely someone will be able to help you do it. There are ratings plugins, AJAX in the core and in plugins, simple animations in the core and many more in plugins. All the

[jQuery] Noob Question - .add() not working in IE?

2007-07-25 Thread webrocker
Hello group, I try to dynamically add some tags and content to an existing element (basically a toggle-link, that's only to be seen if JS is active and that slideToggles a div). Somehow my code doesn't work in IE, although it works fine in other browsers like Firefox or Safari:

[jQuery] Re: Formatting External Links

2007-07-25 Thread [EMAIL PROTECTED]
I tweaked it a bit for space, and i got it working. thanks a lot both of you. heres what my final came out to be... $(a).each(function(){ if($(this).attr(href).match('mysite.com')===null) { $(this).attr('href','mysite.com/go?url=' + $

[jQuery] Does jQuery have function for ajax periodical updater

2007-07-25 Thread Makara Kao
I just wonder if jquery has function for ajax periodical updater. I mean, for example, for every 5 minutes it loads the Ajax to request the result from the server. Are there any tutorials or solutions? Cos I could hardly find the tutorial about this. Thanks in advance. Makara

[jQuery] Re: Is it possible so scroll all the way to the end a div overflow: scroll; ?

2007-07-25 Thread fambizzari
Then, another question i would have is, how do you find the y-position of an element within the div to know how to scroll down to it.

[jQuery] Thickbox 3 + esc to close window

2007-07-25 Thread amircx
hey.. anyone know how to do that once the thickbox window is shown , when user press ESC key it will close the modal window? im looking for hack like that... anyone did somthing / know how to mess with this long code? -- View this message in context:

[jQuery] Re: Does jQuery have function for ajax periodical updater

2007-07-25 Thread Web Specialist
Makara, yes! Please look this plugin: http://jquery.com/plugins/project/spy Cheers 2007/7/25, Makara Kao [EMAIL PROTECTED]: I just wonder if jquery has function for ajax periodical updater. I mean, for example, for every 5 minutes it loads the Ajax to request the result from the server.

[jQuery] insert an html string

2007-07-25 Thread stef
im trying to insert an html string (a form) into a div (at spot XXX) when .changeQty is clicked. I can only use classes, not id's cause the div repeats many times on the page div class='inline'span class='currentQty'Quantity: blahspan class='changeQty' (Change)/span/spanXXX/div the string is:

[jQuery] Re: insert an html string

2007-07-25 Thread Rob Desbois
This works perfectly for me in Fx2.0.0.5 Stef. You are correct though - where you use .insertAfter() it will insert the provided content after every matching element, which is ALL .changeQty elements. You can use 'this' (not '$this') to only insert it after the element that was clicked by

[jQuery] ANNOUNCE: Truncate v.2.1 plugin released

2007-07-25 Thread Giant Jam Sandwich
I have updated this plugin, and I have also created a landing page in order to manage bug fixes and any future releases. It is a simple, yet effective plugin, that I know many have already used in production environments. Enjoy! http://www.reindel.com/truncate

[jQuery] Follow me to best pratice in create plugin to jQuery

2007-07-25 Thread Leandro Vieira Pinho
Hi Guys, I know that already exist a plugin to manage a defaultValue of input elements. But I create another. I´m new with jQuery, principally in create plugins. So, I would like someone look the plugin code and tell me if it´s in a best practice. Thanks. The plugin code: /** * jQuery

[jQuery] Re: AJAX .load() Can I set web place to my script?

2007-07-25 Thread Mario Moura
Hi Rob Sorry my english. Isnt native I think php will get the php code and execute it. I am Drupalist. $().load() will execute my php file always in my main root or in http://localhost/mysite or in actual physical path, no matter. I need pass an argument to this php file or to my server (I

[jQuery] jQuery capture images from webcam

2007-07-25 Thread Web Specialist
jQuery haves plugins available for web images capture? I'm developing a ColdFusion application to store visitors personal data including your photo. What I'm looking for: - webcam captures visitor photo via iframe(or another solution) in our form application; - users(application) can cut that

[jQuery] Re: Does jQuery have function for ajax periodical updater

2007-07-25 Thread Gilles (Webunity)
Yes, i use it on my site: http://www.webunity.nl/ It is not in SVN: http://www.webunity.nl/js/framework/periodicalUpdate.js On Jul 25, 1:06 pm, Web Specialist [EMAIL PROTECTED] wrote: Makara, yes! Please look this plugin: http://jquery.com/plugins/project/spy Cheers 2007/7/25, Makara

[jQuery] Re: Thickbox 3 + esc to close window

2007-07-25 Thread Gilles (Webunity)
jQuery(document).keypress(function(ev) { if (ev.which == 27) { .. action .. }; }); Which = jQuery assigned crossbrowser keycode.

[jQuery] Re: Follow me to best pratice in create plugin to jQuery

2007-07-25 Thread Klaus Hartl
Leandro Vieira Pinho wrote: Hi Guys, I know that already exist a plugin to manage a defaultValue of input elements. But I create another. I´m new with jQuery, principally in create plugins. So, I would like someone look the plugin code and tell me if it´s in a best practice. Thanks. The

[jQuery] Put attribute value in class

2007-07-25 Thread Jeroen Coumans
Hi, I'm trying to put an attribute value as a class in my element: HTML: ul li lang=entext/li li lang=nltext/li li lang=ittext/li /ul jQuery: $(li).each(function(){ var lang = $('#language [EMAIL PROTECTED]'); $(this).addClass(lang); }); Which gives an error about c.split not

[jQuery] Re: Follow me to best pratice in create plugin to jQuery

2007-07-25 Thread Dan G. Switzer, II
Leandro, That said, here's how I'd simplify the plugin: jQuery.fn.defaultValue = function() { function clearDefaultValue() { var $$ = $(this); if ($$.val() == this.defaultValue) { $(obj).val(''); } } function backDefaultValue() { var $$ = $(this);

[jQuery] Re: AJAX .load() Can I set web place to my script?

2007-07-25 Thread Rob Desbois
Mario, No problem, it wasn't so much your English, more just not providing enough info :-) $().load() will execute my php file always in my main root or in http://localhost/mysite or in actual physical path, no matter. When the server runs a script in response to a request (AJAX or otherwise)

[jQuery] Re: Put attribute value in class

2007-07-25 Thread Dan G. Switzer, II
Jeroen, I'm trying to put an attribute value as a class in my element: HTML: ul li lang=entext/li li lang=nltext/li li lang=ittext/li /ul jQuery: $(li).each(function(){ var lang = $('#language [EMAIL PROTECTED]'); $(this).addClass(lang); }); Which gives an error about c.split

[jQuery] Re: Moving Plugins to new repository

2007-07-25 Thread Dan G. Switzer II
Stephan, However, plug-ins that don't need to return a specific value should be returning a jQuery reference so the chain doesn't break. The plug-ins that *do* break the chain should be clearly stated as doing such. That's a question of plugin documentation, though, not the plugin

[jQuery] Re: Put attribute value in class

2007-07-25 Thread Klaus Hartl
Dan G. Switzer, II wrote: Jeroen, I'm trying to put an attribute value as a class in my element: HTML: ul li lang=entext/li li lang=nltext/li li lang=ittext/li /ul jQuery: $(li).each(function(){ var lang = $('#language [EMAIL PROTECTED]'); $(this).addClass(lang); }); Which

[jQuery] Re: Thickbox 3 + esc to close window

2007-07-25 Thread amircx
yeah but i want to bind this event only when the window is open, so if user press esc in the side it will not disable this key when no need to got me? Gilles (Webunity) wrote: jQuery(document).keypress(function(ev) { if (ev.which == 27) { .. action .. }; }); Which = jQuery

[jQuery] Re: Formatting External Links

2007-07-25 Thread Karl Swedberg
On Jul 25, 2007, at 1:11 AM, oliver wrote: Then I'd try $('[EMAIL PROTECTED]').filter('[EMAIL PROTECTED]') 'select all links (with hrefs) and remove those that contain mysite.com' Actually, Joel's version is correct. Yours *keeps* those that contain mysite.com, removing the others.

[jQuery] Grid question

2007-07-25 Thread Adrian Lynch
Hey all, I'm looking at creating a version of this: http://makoomba.altervista.org/grid/ but with a mix of images and text, much like this: http://search.msn.com/images/results.aspx?q=potatoesFORM=QBIR Is there anything like this out there already, plugin wise, or any other examples of live

[jQuery] Re: problem with $.ajax()

2007-07-25 Thread Terry B
I want to say that it is now 2 (maybe 3) ip addresses. for sure, it is the localhost (127.0.0.1) address and one other ip address can use it. ~Terry On Jul 18, 11:26 am, Dan G. Switzer, II [EMAIL PROTECTED] wrote: The Developers Edition is a single IP license. Only 1 IP address can access

[jQuery] [OT] Development tool by yahoo for firebug

2007-07-25 Thread Benjamin Sterling
Guys and Gals, Came across this today and found it pretty interesting when looking at some of my current projects. Figured I'd share. http://developer.yahoo.com/yslow/ -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: noob question - load function - dynamic content to slide in place

2007-07-25 Thread Benjamin Sterling
Glad to have pointed you in a good direction. On 7/24/07, tonywhite [EMAIL PROTECTED] wrote: Cool - I get it now. I found that my problem was really that the target div for inserting my HTML wasn't set to display:none; to begin with, so animating it to a block state was just not happening.

[jQuery] Re: Development tool by yahoo for firebug

2007-07-25 Thread Gilles (Webunity)
Yahoo! it's live! On Jul 25, 3:49 pm, Benjamin Sterling [EMAIL PROTECTED] wrote: Guys and Gals, Came across this today and found it pretty interesting when looking at some of my current projects. Figured I'd share. http://developer.yahoo.com/yslow/ -- Benjamin

[jQuery] Re: Thickbox 3 + esc to close window

2007-07-25 Thread Gilles (Webunity)
gjeez ;) function tbClose(ev) { if (ev.which == 27) { .. action .. }; } Just before you open TB: jQuery(document).keypress(tbClose); Just after you close TB: jQuery(document).unkeypress(tbClose); You could have figured that out ;)

[jQuery] Re: Grid question

2007-07-25 Thread Web Specialist
Adryan please look this plugin: http://trirand.com/jqgrid/jqgrid.html Cheers. 2007/7/25, Adrian Lynch [EMAIL PROTECTED]: Hey all, I'm looking at creating a version of this: http://makoomba.altervista.org/grid/ but with a mix of images and text, much like this:

[jQuery] Re: Formatting External Links

2007-07-25 Thread Joel Birch
On 25/07/2007, at 11:18 PM, Karl Swedberg wrote: Also, IIRC, [EMAIL PROTECTED] gets the actual value of the href attribute, which can be different from what element.href gets, depending on the browser (one of the browsers always returns the fully qualified URL for element.href, including

[jQuery] Re: innerFade or jQuery Cycle Plugin feature addition will pay $$$

2007-07-25 Thread juliandormon
Hi Mike. Perfect! Thank you. Please email me your PayPal account to [EMAIL PROTECTED] malsup wrote: Ok, these change are now available: http://www.malsup.com/jquery/cycle/ Let me know if this is what you had in mind. (The docs are updated too). Mike On 7/24/07,

[jQuery] Re: Grid question

2007-07-25 Thread Adrian Lynch
Hey Web (Even on CF-Talk I don't know your name), the part of the grid that we're trying to emulate is the infinate scrolling. I can't see that the example you posted does this. Am I missing it? Adrian On Jul 25, 2:54 pm, Web Specialist [EMAIL PROTECTED] wrote: Adryan please look this

[jQuery] Re: Noob Question - .add() not working in IE?

2007-07-25 Thread webrocker
Sorry, it should of course read .append() not working in IE in the title of this post, not .add() not working in IE. :-/

[jQuery] Re: Toggle state

2007-07-25 Thread Adrian Lynch
Hey all, I haven't had time to test but reading elsewhere it seems is(':visible') is the way to go. Thanks for the replies. Adrian On Jul 25, 7:24 am, Stephan Beal [EMAIL PROTECTED] wrote: On Jul 24, 5:25 pm, Glen Lipka [EMAIL PROTECTED] wrote: $(p).toggle(function(){

[jQuery] Re: Follow me to best pratice in create plugin to jQuery

2007-07-25 Thread Leandro Vieira Pinho
Thanks Klaus, Your suggestions was incredible and amazing. Thanks a lot! These are good ideas to have in mind when create others plugins. I just add the filter function, couse the plugin will work just with input elements with the type text. So, I´ll have return this

[jQuery] Re: Follow me to best pratice in create plugin to jQuery

2007-07-25 Thread Leandro Vieira Pinho
Dan, thanks for your suggestion too. What´s the plugin does is clear and reset the value of the elements. So, clearDefaultValue or resetDefaultValue are good suggestions. What do you think about? On Jul 25, 9:48 am, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Leandro, That said, here's

[jQuery] Re: Noob Question - .add() not working in IE?

2007-07-25 Thread webrocker
Sorry, it should of course read .append() not working in IE in the title of this post, not .add() not working in IE. :-/

[jQuery] Re: [OT] Development tool by yahoo for firebug

2007-07-25 Thread Dan G. Switzer, II
Benjamin, Came across this today and found it pretty interesting when looking at some of my current projects. Figured I'd share. http://developer.yahoo.com/yslow/ http://developer.yahoo.com/yslow/ Thanks for the link--looks interesting. -Dan

[jQuery] Re: retrieving the width of an element??

2007-07-25 Thread GianCarlo Mingati
That worked! Thanks a lot.

[jQuery] Re: Sortables (interface plugin)

2007-07-25 Thread Richard D. Worth
This seems to work: $('ul').each(function(i) { var className = 'sort' + i; $(this).children(li).addClass(className); $(this).Sortable({accept: className}); }); As far as building this into sortables, time is likely better spent on jQuery UI sortables rather than Interface. Interface is still

[jQuery] Re: Grid question

2007-07-25 Thread Web Specialist
Hi Adrian, my name is Marco Antonio. You're right. That plugin don't resolves your needs. For live data, IMHO, I prefered it instead makoomba's plugin because makoomba's plugin uses XML data and XML with CF could be a bottleneck. Again, IMHO! Sorry my mistake. 2007/7/25, Adrian Lynch [EMAIL

[jQuery] Java Errors when using .Accordion and .innerfade - Please help :)

2007-07-25 Thread Aaron
Can someone please help? i am using this call in the head of my document to call jquery and plugins. script src=/images/wac/Template/js/jquery.js type=text/ javascript/script script src=/images/wac/Template/js/jquery.innerfade.js type=text/ javascript/script script

[jQuery] PHP Serialize for Checkbox

2007-07-25 Thread amircx
hey. i got this : code form id=SenddataForm name=SenddataForm method=POSTinput type=checkbox name=blah value=1input type=checkbox name=blah value=43 /code the problem is that once i serialize that form i get blah=1blah=43 ... i want to get it as array and able to pass it to php in that way?:

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Christof Donat
Am Mittwoch, 25. Juli 2007 schrieb Rob Desbois: Yes, sorry I didn't phrase my post very well: there is a URL for the image, of course, but I was trying to emphasise that there isn't a URL to an image cached on the server's filesystem to pass back, as I don't want to *permanently* cache the

[jQuery] Re: Java Errors when using .Accordion and .innerfade - Please help :)

2007-07-25 Thread Stephan Beal
On Jul 25, 4:37 pm, Aaron [EMAIL PROTECTED] wrote: Can someone please help? ... But this still is not working and giving me an error. If i use just one of them they work fine but when i try and use both of them i get this javascript error. 0.tagname is null or not an object Can you post a

[jQuery] Re: PHP Serialize for Checkbox

2007-07-25 Thread David Duymelinck
amircx schreef: hey. i got this : code form id=SenddataForm name=SenddataForm method=POSTinput type=checkbox name=blah value=1input type=checkbox name=blah value=43 /code the problem is that once i serialize that form i get blah=1blah=43 ... i want to get it as array and able to pass it to

[jQuery] Re: PHP Serialize for Checkbox

2007-07-25 Thread Mike Alsup
You need to change the name attribute for those checkbox inputs: input type=checkbox name=blah[] value=1 input type=checkbox name=blah[] value=43 The square brackets are needed for PHP to handle the data as an array. Mike On 7/25/07, amircx [EMAIL PROTECTED] wrote: hey. i got this :

[jQuery] Re: 3 state buttons - is there a best way

2007-07-25 Thread Scott Sauyet
Mitchell Waite wrote: “Limits the artwork” in the sense the middle portion of all you images must be a stretched background slice, so you can’t reproduce all the subtle affects of switching images. You have to produce the end caps from a sliced piece of artwork so this sort of tosses out a

[jQuery] Re: Java Errors when using .Accordion and .innerfade - Please help :)

2007-07-25 Thread Aaron
I can post the url but you have to change your host file since it is a testing site currently until they go live. the url is http://stage.itsyourworld.org/wac/Default.asp and the ip to put in your host file is 63.87.221.69 stage.itsyourworld.org i will also take a look in firefox and see if i

[jQuery] Tougher than it seemed at first-jQuery accordion

2007-07-25 Thread Dylan C.
I love the jQuery accordion. The only problem I'm having is in customizing it to suit the type of user experience I want. Basically I want a dead-simple, speaks for itself UI that accepts clicks in any order on any item to open or close the accordion. I have the whole accordion on a bunch of dt

[jQuery] Re: How to call many ajax functions?

2007-07-25 Thread oliver
whoops, I didn't read your original message closely enough: of course ajax calls are inherently non-blobking. this should work with the callback mechanism that ganeshji mentioned above. it gets pretty recursive if you have lots of effects you want to trigger sequentially. (this is untested

[jQuery] Re: Java Errors when using .Accordion and .innerfade - Please help :)

2007-07-25 Thread Aaron
ok so after looking in fire bug it says the error is in the jquery.accordian.js and is jQuery(:first-child, this)[0] has no properties Accordion(Object showSpeed=250 hideSpeed=250 header=div.title)jquery.accordion (line 174) (no name)()Common.js (line 25) e()jquery.js (line 11) e()jquery.js

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Rob Desbois
Christof, Thanks for that, but I was really looking to see if there was a browser-independent mechanism, essentially something like the Web archives that IE has supported for years. I think adding components for this would be over-complicating the matter. Thanks anyway. --rob On 7/25/07,

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Christof Donat
Hi, Thanks for that, but I was really looking to see if there was a browser-independent mechanism, No, there isn't. Canvas and IECanvas is the closest you can get. I have done quite some research on that matter for a project where I really could have profited from canvas, but IECanvas was

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Rob Desbois
I never noticed that they ever were browser-independent. I know, that's why I said 'that IE has supported for years' and why I can't use them. Despite the ways there are to do this such as these canvas projects or something big and bulky client-side (Java, Flash possibly, any number of similar

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-25 Thread Mitchell Waite
I'm sorry for my apparent ignorance. I tried your approach and it did not work DOESN'T WORK http://www.whatbird.com/wwwroot/Alice_1.html jQuery.fn.toggleVis = function() { if(this.style.visibility == 'hidden') { this.style.visibility = 'visible'; } else {

[jQuery] $(document).ready behavior when using $(#div).load

2007-07-25 Thread [EMAIL PROTECTED]
I am using some javascript in the $(document).ready function to decide which content gets shown. My problem is that this never gets executed when i load this page into a div on another page. The below has been stripped of some other things i am doing, FYI. This is in the page with the content:

[jQuery] Re: selecting next/prev element in a table

2007-07-25 Thread Eric C
I had a similar problem, except using inputs rather than checkboxes. I also went forward only, but I think you could modify or at least use it as a starting point. Here is the thread where it was posted:

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-25 Thread Mitchell Waite
Rob: Unfortunately my code does work J. Must be a miracle? http://www.whatbird.com/wwwroot/Alice_1.html (works) here is the idea of using (this). http://www.whatbird.com/wwwroot/Alice_2.html (does not work) I just got my copy of Learning jQuery and it's a very good book (took

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-25 Thread Rob Desbois
Mitch, In your working code: jQuery.fn.toggleVis = function() { if(cheshireCat.style.visibility == 'hidden') { cheshireCat.style.visibility = 'visible'; } else { cheshireCat.style.visibility = 'hidden'; } }; That can only work if there is a variable called 'cheshireCat'

[jQuery] Superfish with interface plugin ...

2007-07-25 Thread TiGeRWooD
Hi, I tried to used superfish, but i have a bug in IE7 (not tried in ie6), superfish doesn't work well if the interface plugin is loaded ... the first submenu are visible but the sub sub menu don't ... If anyone have ideas ... you 're welcome :) Thanks in advance.

[jQuery] Re: jQuery capture images from webcam

2007-07-25 Thread Charles Capps
Web Specialist wrote: jQuery haves plugins available for web images capture? I'm developing a ColdFusion application to store visitors personal data including your photo. What I'm looking for: - webcam captures visitor photo via iframe(or another solution) in our form application; -

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-25 Thread Rob Desbois
Unfortunately my code does work J. Must be a miracle? The one where you used 'this' instead of 'cheshireCat' didn't work - that was the one I was referring to. My last post clears that up a bit more understandably I hope. I just got my copy of Learning jQuery and it's a very good book (took

[jQuery] Re: 3 state buttons - is there a best way

2007-07-25 Thread Mitchell Waite
I think this is a good topic, but agree it's off the center. I am intimately family with the stretchable button approach. Almost all web designers who make button understand its limits and where it works well. It has its place and We use it to the extreme at

[jQuery] Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread RwL
Not sure if this is my code's problem or Firefox's... I don't seem to be throwing any JS errors in MSIE. Here's what I'm doing: $(a).not($(#nav a)).click(function() { alert('Sorry, links are disabled in this demo except those under Profile Navigation.'); return false; }); The selectors seem to

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-25 Thread Klaus Hartl
Rob Desbois wrote: I never noticed that they ever were browser-independent. I know, that's why I said 'that IE has supported for years' and why I can't use them. Despite the ways there are to do this such as these canvas projects or something big and bulky client-side (Java, Flash

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread RwL
Not sure if this is my code's problem or Firefox's... I don't seem to be throwing any JS errors in MSIE. Here's what I'm doing: Turned on Safari's JS Console and no errors there either. Hmm.

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread Erik Beeson
You don't need to wrap the parameter to not in $(...). Maybe try: $(a).not(#nav a).click(function() { alert('...'); return false; }); --Erik On 7/25/07, RwL [EMAIL PROTECTED] wrote: Not sure if this is my code's problem or Firefox's... I don't seem to be throwing any JS errors in MSIE.

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread Jonathan Sharp
This could also be written as: $('a').click(function() { if ($(this).parents('#nav').size() == 0) { alert('...'); return false; } }); -js On 7/25/07, Erik Beeson [EMAIL PROTECTED] wrote: You don't need to wrap the parameter to not in $(...). Maybe try: $(a).not(#nav

[jQuery] Re: Firebug shows Too Much Recursion errors after clicking OK in alert box

2007-07-25 Thread RwL
You don't need to wrap the parameter to not in $(...). Maybe try: $(a).not(#nav a).click(function() { alert('...'); return false; }); You know, that's what I thought too, but the not selection didn't work at all until I wrapped my NOT selection with $() -- that is, #nav a was still getting

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-25 Thread Michael Geary
Rob, I think you left out the return statement that you meant to put in. :-) (Outstanding explanation, BTW!) For clarity, it could be: jQuery.fn.toggleVis = function() { this.each(function() { if (this.style.visibility == 'hidden') { this.style.visibility =

[jQuery] Re: jQuery capture images from webcam

2007-07-25 Thread Tane Piper
There is no way AFAIK for JavaScript to capture a webcam stream, like Flash can capture the stream. But JavaScript can capture the image from an HTTP stream. I got this code from http://web.nickshanks.com/code/js/cams newImage = new Image(); function LoadNewImage() { var unique = new

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-25 Thread Karl Swedberg
On Jul 25, 2007, at 12:26 PM, Rob Desbois wrote: I see now that an object in jQuery does not have a visibility directly, it needs a class assigned to it, so that is why example 2 doesn't work. Not entirely sure what you mean by this..? Well, the main point is that the jQuery object is not

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-25 Thread Mike Alsup
It would have been far better if each passed the DOM element as an argument to the inner function, instead of using this: It does pass the element, so if you prefer you could write code like: $('.stuff').each(function(index, element) { element.style.visibility = 'hidden'; }); Personally,

[jQuery] Re: jQuery capture images from webcam

2007-07-25 Thread Web Specialist
Thanks Tane. Yes, our ColdFusion application will serve us with visitor image captured from webcam and stored in application directory. After that I'll display in our application where users(application) will crop that visitor image. Mr Google help me and gives me this great great piece of code:

  1   2   >