[jQuery] Re: jQuery .ready() being treated as both Filo/Fifo in IE/FF

2008-12-12 Thread evan
When you use more than one libraries with jquery which use $ sign for selection of code block, use following scripts. jQuery.noConflict(); // instead of $ use jQuery as jQuery(document).ready( function(){ }); This will remove the conflict between different libraries. I think,

[jQuery] Re: problem using jquery and prototype together

2008-12-12 Thread evan
// here i selected two same ids using jquery and prototype respectively. script type=javascript jQuery.noConflict(); // for jqury selectors use jQuery instead of '$ like jQuery(document).ready( function(){ jQuery(id).css('color:red'); ... } );' // then

[jQuery] Re: SWF chart problem

2008-12-12 Thread ggerri
Hi Sumpa dont really get your coding, but maybe I got your problem right ;-) this one would work for me: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns=http://www.w3.org/1999/xhtml; head meta

[jQuery] Move items between lists

2008-12-12 Thread frits1607
Hello, I am looking for a UI element to move elements between lists, e.g. one list with all options, and a second list with options selected. An example of what I mean can be seen here: http://www.devx.com/getHelpOn/10MinuteSolution/16372/1954 Does jQuery provide functionality like this? If

[jQuery] Re: problem using jquery and prototype together

2008-12-12 Thread Amardeep
thanks .. this is very helpful indeed On Fri, Dec 12, 2008 at 2:10 PM, evan umeshpati...@gmail.com wrote: // here i selected two same ids using jquery and prototype respectively. script type=javascript jQuery.noConflict(); // for jqury selectors use jQuery instead of '$ like

[jQuery] Re: Problems with Validate's errorPlacement

2008-12-12 Thread knal
Don't know how, but apparently somehow the system got kind of excited posting my message... Anyway Jörn, thanks, i'm getting the message in the right place now, *but* for some reason it also adds a break ( br / ) or something before the text, and that breaks my layout. Is there any way to fix

[jQuery] Re: Problems with Validate's errorPlacement

2008-12-12 Thread Jörn Zaefferer
The label is probably set to display:block. You could overrid that with display:inline !important Jörn On Fri, Dec 12, 2008 at 10:23 AM, knal knalp...@gmail.com wrote: Don't know how, but apparently somehow the system got kind of excited posting my message... Anyway Jörn, thanks, i'm

[jQuery] Re: Problems with Validate's errorPlacement

2008-12-12 Thread knal
That's not the case, could it have something to do with the errorElement ? On Dec 12, 10:46 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: The label is probably set to display:block. You could overrid that with display:inline !important Jörn On Fri, Dec 12, 2008 at 10:23 AM, knal

[jQuery] Intercept and Append Param to All Ajax Requests

2008-12-12 Thread James Hughes
Hi, This has me confused. I want to intercept ALL ajax requests on a page and before sending the request append another parameter to the request. So far this is what I have $.ajaxSetup({ beforeSend : function(xhr, opts){ this.data = $.extend({_kdfrequest:action},

[jQuery] Re: Intercept and Append Param to All Ajax Requests

2008-12-12 Thread knal
Not completely sure why the thread is merged with James', but anyway, adding errorElement: span, seemed to solve the problem! Thanks for the help, Knal. On Dec 12, 11:11 am, James Hughes j.hug...@kainos.com wrote: Hi, This has me confused.  I want to intercept ALL ajax requests on

[jQuery] How to avoid the required on a credit card field using validate extension? [validate]

2008-12-12 Thread ekilater
Hi all, I've a form that validates using jQuery. In that form we use a small credit card validation with an extension that you can find here: http://www.ihwy.com/Labs/jquery-validate-credit-card-extension.aspx // Is only a small tweek of creditcard method. We want only some fields required,

[jQuery] Selectors

2008-12-12 Thread mangaru
Hi all, I was using jQuery as usual, but i found someting unusual... Is there any bug with selector :last? For me the selector #div_id div:last div:last or #div_id div:last div:last div:last isn't getting the div... but if i do a while and get the .children( 'div:last' ) it works perfectly!

[jQuery] serializeArray() problem

2008-12-12 Thread bdaniel7
Hello, I quote from docs.jquery.com: serializeArray(): Serializes all forms and form elements (like the .serialize() method) but returns a JSON data structure for you to work with. I'm trying to use this method to serialize a form to a JSON string, however is not working. Instead of:

[jQuery] Opacity for a menu background, but not for the element inside

2008-12-12 Thread Cyril G
Hye, I would like to create a menu, with a 80% opacity background, but I want to keep the link element at 100% opacity. For example : lia href=link.htmllorem ipsum/a/li I would like to have the li element at 80%, but the a element at 100% (or 120%). I know that I could use PNG, but it would be

[jQuery] [jCarousel] resizing slow with a fluid height

2008-12-12 Thread Jonathan
Hey, I'm using the jCarousel to fill a page vertically, while the remains fixed. In order to do this I wrote a function that gets the height of the browser window and then sets the height of the carousel to the browser. var getHeight; function setCarouselHeight() { getHeight = 0;

[jQuery] Re: change input[type=button] value

2008-12-12 Thread Richard D. Worth
1) At least you included some information in your follow-up post instead of just Nevermind. It's working :) 2) Don't forget you can use .val(newValue) instead of .attr(value, newValue) - Richard On Fri, Dec 12, 2008 at 12:43 AM, brian bally.z...@gmail.com wrote: On Fri, Dec 12, 2008 at 12:36

[jQuery] Re: Selector difficulty/removeClass

2008-12-12 Thread Richard D. Worth
One more $('#quiz label').removeClass('qyes'); - Richard On Fri, Dec 12, 2008 at 6:55 AM, Richard D. Worth rdwo...@gmail.com wrote: I like the syntax Brian suggested a lot. Here's another one, that is handy if you already have done a $('#quiz'):

[jQuery] Re: Move items between lists

2008-12-12 Thread Richard D. Worth
Take a look at http://plugins.jquery.com/project/jqMultiSelects - Richard On Fri, Dec 12, 2008 at 4:03 AM, frits1607 v...@vulkor.net wrote: Hello, I am looking for a UI element to move elements between lists, e.g. one list with all options, and a second list with options selected. An

[jQuery] Re: jQuery.uploader released: Flash based jQuery uploader

2008-12-12 Thread Gilles (Webunity)
Hi Guys, Sorry for the late update. Although everybody is using it (since i got 20mb of uploaded files) almost nobody is telling thanx, but that's oke, i expected that. I got some time to fix some issues and answer some questions: 1. multiple: false through settings while building the

[jQuery] Re: Cannot remove element that was added via .load()

2008-12-12 Thread Richard D. Worth
Your .load('drawer.html') call is asynchronous, meaning while it's off fetching the page, your chain keeps right on going. It doesn't find an a#close inside #drawer (since the page hasn't come back/loaded yet). Fortunately, you can provide a callback function to .load() that will be executed as

[jQuery] Re: How to avoid the required on a credit card field using validate extension? [validate]

2008-12-12 Thread Jörn Zaefferer
Take a look at the original creditcard method, or any other. They all start with a call to this.optional, and return true when that call returns true. Jörn On Fri, Dec 12, 2008 at 10:03 AM, ekilater ivan.tho...@gmail.com wrote: Hi all, I've a form that validates using jQuery. In that form

[jQuery] Re: jQuery.uploader released: Flash based jQuery uploader

2008-12-12 Thread Gilles (Webunity)
Sample backend: http://jQuery.webunity.nl/jQuery.uploader/js/sample_backend.phps

[jQuery] Re: Styling the 2nd table tag above a row

2008-12-12 Thread Paul Mills
Guy, A - I understand. I think you can make your code a bit simpler and not use the .each (function(). It depends on rest of the HTML whether it works or not. Something like this: $('tr.myclass').parents('table').parents('table').css(border, 4px black solid); Rgds Paul On Dec 11, 9:04 

[jQuery] serialScroll Plugin - Problems with lazy loading of items (dynamically updating item list)

2008-12-12 Thread vanstee
Please take a look at my code. http://pastie.org/337379 or if you want to look at a functioning copy go to http://vansteedesign.com/flashcards/test.php. Even when setting the 'lazy' attribute to true in the parameters, when you delete one of the cards (items) from the list it still exists as

[jQuery] jquery.noConflict, $j is not a function in some case(Not always) on the same page

2008-12-12 Thread Nguyễn Quốc Vinh
This is my site Mychico.com! I intergate an Ajax IM into site, this IM use prototype! So, i must use jquery.noConflict I don't know why sometimes, FF notice that $j is not a function! it is not always happen! just in some cases! Referesh about 10 times then 2 times hapen $j is not a function!

[jQuery] Re: Selector difficulty/removeClass

2008-12-12 Thread Richard D. Worth
I like the syntax Brian suggested a lot. Here's another one, that is handy if you already have done a $('#quiz'): $('#quiz').find('label').removeClass('qyes'); - Richard On Thu, Dec 11, 2008 at 11:32 PM, brian bally.z...@gmail.com wrote: ~ahem~ sorry 'bout that. $('label',

[jQuery] Cannot remove element that was added via .load()

2008-12-12 Thread RayBaker
I can't seem to get this snippet I loaded with .load to go away once loaded. Any ideas? Here's the function $('a.drawer').click(function() { $('#drawer').show(); $('#drawer').load('drawer.html').find('a#close').click(function(){ $('#drawer').hide(); });

[jQuery] Re: has anyone come across a plugin like this ?

2008-12-12 Thread CliffordSean
hi jason just looking at your plugin now http://www.comparenetworks.com/developers/jqueryplugins/jbreadcrumb.html why does the last child category show on the 1st and 2nd examples but not on the third tnx sean -- View this message in context:

[jQuery] [jqmodal] issue in IE

2008-12-12 Thread Duncan
Hi I have jqmodal working in FireFox chrome on this page http://myhomeshow.red5.com.au/expo/cyberstand-listing/ click the green, purple, or blue boxes. however IE loads the jqModal, but the content isnt populated properly. Could someone have a look and see if you can tell me why? For your

[jQuery] nextAll Chaining when nextAll is Empty

2008-12-12 Thread Reepsy
This might sound naive, but I expected this to work: $(this).nextAll('a').andSelf().removeClass ('star_selected').triggerHandler('mouseout'); It's from a star rating I wrote, where I have 5 a tags in a row. If you click on one it removes a class from it and all that follow it, and then fires

[jQuery] getJSON not triggering success callback

2008-12-12 Thread Javier Martinez
I'm making some calls with getJSON on another domain, and the callback is not firing. My code is the next: var url = '

[jQuery] Re: cluetip and sortable

2008-12-12 Thread Karl Swedberg
Hi, It sort of depends on where the content for the cluetip is coming from. If it's local content already on the page, then the cluetip should be cloning the events along with the content, so something might be going wrong that I don't have enough information to troubleshoot. If it's

[jQuery] Re: Cycle plugin: some images not loading

2008-12-12 Thread Mike Alsup
Thanks for responding, Mike.  I noticed today that setting the height and width explicitly with CSS did not actually make all the images show.  It did cause the area where the image should be to be the correct size, but the image was still not displayed.  Please take a look and see if you

[jQuery] Re: hover event going to infinite loop

2008-12-12 Thread Sridhar
I do not have a domain to post this sample page? Are there any free sites that I can use? On Dec 11, 2:26 pm, Eric Garside gars...@gmail.com wrote: Do you have an example page up somewhere of what the issue is? On Thu, Dec 11, 2008 at 2:12 PM, brian bally.z...@gmail.com wrote: I'm sorry,

[jQuery] Re: serializeArray() problem

2008-12-12 Thread Mike Alsup
serializeArray(): Serializes all forms and form elements  (like the .serialize() method) but returns a JSON data structure for you to work with. I'm trying to use this method to serialize a form to a JSON string, however is not working. Instead of: {'Name':'yuiy','hdnValue':'ringo'}  it

[jQuery] Retrieve webmethod from webservice

2008-12-12 Thread Sara
hi every body I want to call a webmethod of my webservice and to do this I try the 3 follwing methods but none of them show me the result and nothing happen It also has no error please help me Method 1: jQuery.getJSON(WebService.asmx/HelloWorld , function(json){

[jQuery] Ajax failure call back

2008-12-12 Thread Balaji A
Hi All, I would like to know how the ajax failure call back works. I am throwing an exception from the server side code through struts, however on specific cases like when a user name already exists or invalid password I would be throwing an exception with a specific message. I would like

[jQuery] Re: newbie: unfold form on checkbutton

2008-12-12 Thread Karl Swedberg
On Dec 11, 2008, at 3:42 PM, ksun wrote: I tend to rewrite stuff a lot with Jquery, I guess thats part of the learning. me too. it's both educational and fun! :) script $(document).ready(function() { $(':checkbox').click(function(){ if(this.checked)

[jQuery] What's the correct way to write this code?

2008-12-12 Thread Rick Faircloth
How should this be written? I can't figure it out. I keep getting syntax error: else success: function(response){ if (response.login = Login Successful); {top.location.href = site_manager.cfm} else if

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Liam Potter
success: function(response){ if (response.login = Login Successful); {top.location.href = site_manager.cfm} else (response.login == Login Unsuccessful); {$('#contentdiv').empty().fadeIn(1000).append(response.login)}; } Rick Faircloth wrote: How

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread MorningZ
Wow, this is just basic JavaScript syntax if (conditon) { } else { } you have if (response.login = Login Successful); drop the semi-colon after both your (conditions) On Dec 12, 8:58 am, Rick Faircloth r...@whitestonemedia.com wrote: How should this be written?  I can't figure it out.

[jQuery] Re: Retrieve webmethod from webservice

2008-12-12 Thread MorningZ
I'm not sure where you got your code examples from, but there's lots of blog posts showing valid and working examples http://www.google.com/search?q=asp.net+web+service+jquery On Dec 12, 8:07 am, Sara sararaminp...@gmail.com wrote: hi every body I want to call a webmethod of my webservice

[jQuery] Re: Selectors

2008-12-12 Thread MorningZ
Some HTML that replects your div's layout would be a huge help for others to help you On Dec 12, 4:01 am, mangaru dafne...@gmail.com wrote: Hi all, I was using jQuery as usual, but i found someting unusual... Is there any bug with selector :last? For me the selector #div_id div:last

[jQuery] Re: Styling the 2nd table tag above a row

2008-12-12 Thread Karl Swedberg
On Dec 12, 2008, at 7:20 AM, Paul Mills wrote: Guy, A - I understand. I think you can make your code a bit simpler and not use the .each (function(). It depends on rest of the HTML whether it works or not. Something like this:

[jQuery] Re: Move items between lists

2008-12-12 Thread frits1607
http://plugins.jquery.com/project/jqMultiSelects Thank you Richard. This looks like a good starting point. Is there a similar plugin for re-ordering (not a sort, but using arrows)? Frits

[jQuery] Re: Trouble with extending Object prototype

2008-12-12 Thread Eric Garside
Haha, no worries Mike. I didn't actually test out the solution till later, and it wasn't until later still that the fact other Objects would have to filter it occurred to me. S'what I get for doing lunch break snippets. :P Anyway, I have updated the function to no longer use the Object.prototype

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Rick Faircloth
Awww, be nice, now... I'm just learning basic JS syntax. Thanks for the help, MorningZ and Liam... it's working. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MorningZ Sent: Friday, December 12, 2008 9:08 AM To: jQuery

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Hobo
success: function(response){ switch (response.login){ case 'Login Successful': top.location.href = 'site_manager.cfm'; break; case 'Login Unsuccessful': $('#contentdiv').empty().fadeIn(1000).append (response.login);

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Rick Faircloth
Thanks for the re-write, Hobo! I like the case syntax. Also, the tip on the == vs = is good too. I'm just hacking up code that I find trying to make things work. I think it's time for a basic JS primer! Thanks again, Rick -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Simple FadeIn with Appending

2008-12-12 Thread ksun
This is one way to do it. Not sure if it can be done more elegantly. script $(document).ready(function() { $('label').after('span style=display:none/span'); $('#button').click(function(){ $('label :input').each(function(){

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Eric Garside
If you haven't already, I'd check out the w3c schools intro to Javascript. It's a pretty great way to learn the basic mechanics. http://www.w3schools.com/JS/default.asp On Dec 12, 9:51 am, Rick Faircloth r...@whitestonemedia.com wrote: Thanks for the re-write, Hobo!  I like the case syntax.

[jQuery] Re: Opacity for a menu background, but not for the element inside

2008-12-12 Thread Jim D
You can use the CSS 'opacity' property. It accepts a value between 0.0 and 1.0. For example, if you wanted to set the opacity of an element to 40%, you would use: opacity: 0.4; However, in true MS style, you have to do something different to get it to work in IE. Internet Explorer accepts

[jQuery] Re: Opacity for a menu background, but not for the element inside

2008-12-12 Thread Liam Potter
Jim, read the question again ;) Anyway. There is no simple solution to this problem, I'd advise using a PNG image as it is the cleanest way to achieve this. Jim D wrote: You can use the CSS 'opacity' property. It accepts a value between 0.0 and 1.0. For example, if you wanted to set the

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Diogo Neves
You can simplify $('#contentdiv').empty().fadeIn(1000).append(response.login); To $('#contentdiv').html(response.login).fadeIn(1000); Or if you like too short your code you can do all that in: success: function(response){ response.login == 'Login Successful' ? top.location.href =

[jQuery] Re: nextAll Chaining when nextAll is Empty

2008-12-12 Thread Paul Mills
Hi Michael, Try this. It uses the index of the a within the div and then removes the class from all a elements equal or greater than it. The code is a bit cumbersome but I think it works. div id=links a href=# class=star_selectedlorem ipsum/a a href=# class=star_selectedlorem ipsum/a a href=#

[jQuery] nextAll Chaining when nextAll is Empty

2008-12-12 Thread Reepsy
Perhaps this is naive of me, but I was expecting this to work: $(this).nextAll('a').andSelf().removeClass ('star_selected').triggerHandler('mouseout'); It is used in a rating system I wrote, where there are 5 a tags in a row. If you click on one, this fires (adds a class name on all previous

[jQuery] loader for ajax/load

2008-12-12 Thread hcvitto
hi i want to show/hide a loader when using load() function. With this script: $('#load') .ajaxStart(function() { $(this).show(); }) .ajaxStop(function() { $(this).hide(); }); $('#colCont').load('myFile.php?id=myId #colContIns'); $('#categorie a').click(function(){

[jQuery] Re: nextAll Chaining when nextAll is Empty

2008-12-12 Thread Reepsy
Paul, Thanks for the reply. I do not wish to use a container here, if I can help it, but I do have a unique class name to hook onto, and your solution works just fine with it. So my code became: $('a.star:gt(' + ($(a.star).index(this)-1) + ')').removeClass

[jQuery] Re: Selectors

2008-12-12 Thread Diogo Neves
div id=div_pdfs div input name=my_file_0 size=52 onchange=my$.addfilef( this ); type=file input class=apagar botao value=Apagar onclick=my$.apagarf( this ); type=button /div div div input name=my_file_1 size=52 onchange=my$.addfilef( this );

[jQuery] Submit a form automatically

2008-12-12 Thread Adam
I have a dynamically created form that I'd like to submit automatically after it loads. It doesn't look like forms have an onload event. I would use the window onload, but the form isn't necessarily around when the window loads - it is created later in a jquery popup. Any suggestions? I am

[jQuery] Re: Selector difficulty/removeClass

2008-12-12 Thread ricardobeat
And in case you wanted to remove the class only from the label elements *with* that ID form you would use $('#quiz label[id*=fb]').removeClass('qyes'); that's plenty of help, isn't it? :) On Dec 12, 2:25 am, Bruce MacKay b.mac...@massey.ac.nz wrote: Hello folks, I want to remove a css class

[jQuery] Re: Submit a form automatically

2008-12-12 Thread Jim D
Do you have an example of the code you're using to load the form? On Dec 12, 11:02 am, Adam apcau...@gmail.com wrote: I have a dynamically created form that I'd like to submit automatically after it loads.  It doesn't look like forms have an onload event.  I would use the window onload, but

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Eric
If you're looking for a fast, but thorough, intro to Javascript, I recommend Douglas Crockford's The Javascript Programming Language video, which can be seen in four parts over at Yahoo Video: http://video.yahoo.com/search/?p=crockford+javascriptt=video Here's a link to part 1:

[jQuery] Re: Iterating through .data() elements...

2008-12-12 Thread ricardobeat
There are other alternatives: 1. Store everything as an object in data() $(element).data('yourdata',{mydata1:'something, mydata2:'something'}) var data = $(element).data('yourdata'); $(element).data('yourdata', $.extend(data, { mydata3:'something' }); Then you can iterate over that

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Rick Faircloth
Thanks for the info, Eric! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Eric Garside Sent: Friday, December 12, 2008 10:11 AM To: jQuery (English) Subject: [jQuery] Re: What's the correct way to write this code? If

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Rick Faircloth
Thanks, Diogo! Rick From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Diogo Neves Sent: Friday, December 12, 2008 10:24 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: What's the correct way to write this code? You can simplify

[jQuery] Re: getJSON not triggering success callback

2008-12-12 Thread ricardobeat
Check the status in the XHR object you get back, it's probably not successfull. On Dec 12, 11:06 am, Javier Martinez ecentin...@gmail.com wrote: I'm making some calls with getJSON on another domain, and the callback is not firing. My code is the next: var url =

[jQuery] Re: nextAll Chaining when nextAll is Empty

2008-12-12 Thread ricardobeat
Do you have a test page we can look at? nextAll returns an empty object if there is no 'next', but it doesn't interrupt the chain, there may be something else going on. I couldn't reproduce your situation here, nextAll().andSelf() returns me the original element. - ricardo On Dec 12, 10:39 am,

[jQuery] Re: Jquery autocomplete with spring MVC

2008-12-12 Thread anny
Thank you so much. It works great. On Dec 11, 5:05 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: Though in this case you don't really need JSON, just a line-delimited list. searchVal =  ServletRequestUtils.getStringParameter(request, q); list= service.getResult(searchVal ); for

[jQuery] Re: Cycle plugin: some images not loading

2008-12-12 Thread TNTitan
I think this is just a result of some of your images not yet being downloaded to the browser when Cycle transitions them in. You can either add images dynamically (see the 'add' demos on the Cycle page) or wait until the window 'load' event fires (instead of using the 'ready' event) to

[jQuery] Re: How do I use getjson to make two attribute pairs

2008-12-12 Thread ricardobeat
According to the API the URL is in item.link, so you just need to wrap the image in an anchor: function(data){ $.each(data.items, function(i,item){ $(img/).attr(src, item.media.m) .appendTo(#images) .wrap('a href='+item.link+'/a);

[jQuery] Re: JSONP and callback function name

2008-12-12 Thread jtuchscherer
Thanks, Eric, for the reply. But I am only writing the receiving part, the client. The server is out of my hands. I need to obey the authentication that they have already in place which leads me to my problem, that I still haven't figured out. On Dec 11, 10:15 am, Eric Garside gars...@gmail.com

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread KyleFarris
Umm... also make sure you are using the double equals sign when doing comparisons... Like: if (response.login = Login Successful) { top.location.href = site_manager.cfm; } else { $('#contentdiv').empty().fadeIn(1000).append(response.login); } On Dec 12, 9:07 am, MorningZ

[jQuery] Change URL in beforeSend

2008-12-12 Thread vtjiles
I have an app and want to change the url for all ajax requests to give them a relative path. I tried to set up a global change using ajaxSetup and beforeSend, but the url was only updated in the config, not the request object. Any thoughts on how to do this? code $.ajaxSetup({ beforeSend :

[jQuery] Re: Opacity for a menu background, but not for the element inside

2008-12-12 Thread ricardobeat
This will be easier sometime around 2012 when RGBA and HSLA colors are widely supported :) On Dec 12, 1:22 pm, Liam Potter radioactiv...@gmail.com wrote: Jim, read the question again ;) Anyway. There is no simple solution to this problem, I'd advise using a PNG image as it is the cleanest

[jQuery] Re: Is there a createElement equivalent in jQuery?

2008-12-12 Thread Jozz
I found this plugin that work well.. http://plugins.jquery.com/project/DOMEC On Dec 4, 5:20 am, Yansky forbo...@gmail.com wrote: Hi, I was just wondering if there was a createElement equivalent in jQuery. e.g. var el = document.createElement('div'); I know I can create it with the

[jQuery] Konqueror problems?

2008-12-12 Thread romeo
I have a site using JQuery which works a treat using Firefox, Opera and IE, on Windows and Linux (as well as Safari), but which does not work at all with Konqueror on Kubuntu (Gutsy, 7.10). Using fadeIn animations, nothing fades in - the elements remain invisible. Are there known problems with

[jQuery] Rounded corners plugin with image support for IE?

2008-12-12 Thread da
I've been playing with jquery.corners.js and like it. Seems to work well. The only gotcha is that it doesn't seem to support the rounding of objects that are using a background image in IE. In IE, it 'adds' to the top of the object to create the rounded corners, and moves the background image

[jQuery] [treeview] Would like to limit toggle to the plus/minus icons

2008-12-12 Thread Syntaxis
A few feature requests: 1. I want to be able to click on the text inside an LI-tag without toggling the tree. Just like in a filesystem, I want to select the folder, but not necessarily expand it's view. 2. Please keep up the good work!

[jQuery] jQuery Cycle Plugin: 1 pager to control 2 slideshows

2008-12-12 Thread Neil
I have been searching for a way to have 1 pager to control 2 slideshows with the same number of slides. Where one slideshow can have a scrollLeft and another just with a fade. Is this possible with the current plugin?

[jQuery] jQuery Cycle Plugin: 1 pager to control 2 slideshows

2008-12-12 Thread Neil
Is there a way in the jQuery Cycle Plugin to have have 1 pager control 2 slideshows? Where one slideshow has a scrollLeft effect and the other has a fade effect.

[jQuery] Re: BlockUI unchecks checkboxes

2008-12-12 Thread fabianofranz
I had exactly the same issue here, with Chrome: - You check a checkbox via javascript - Make an ajax request, then blockUI - blockUI uncheckes you previously checked checkbox Best regargs, Fabiano Franz http://fabianofranz.com On 23 out, 21:44, Mike Alsup mal...@gmail.com wrote: What

[jQuery] Would anyone care to critique my approach/code to this login scheme?

2008-12-12 Thread Rick Faircloth
Hello, all... I appreciate everyone's help in getting my first ColdFusion/Ajax/jQuery code working for this login...except for one minor (sarcasm) point. The cf line of code in the first page below (PRE_LOGIN.CFM), which should prevent the login dialog from appearing after someone logs in, is

[jQuery] Re: Submit a form automatically

2008-12-12 Thread Rick Faircloth
Sorry I don't have an answer for you, Adam. (I'm new to js and jQuery) But I was just curious as to what you were trying to do with a dynamically created (and dynamically filled?) form that submits immediately? Rick -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Rick Faircloth
Thanks, Eric! -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Eric Sent: Friday, December 12, 2008 11:13 AM To: jQuery (English) Subject: [jQuery] Re: What's the correct way to write this code? If you're looking for a fast,

[jQuery] Re: [treeview] Would like to limit toggle to the plus/minus icons

2008-12-12 Thread Jörn Zaefferer
The treeview binds click events on span-elements. If you remove or replace those, you should get the desired behaviour. Jörn On Fri, Dec 12, 2008 at 4:55 PM, Syntaxis m.hage...@gmail.com wrote: A few feature requests: 1. I want to be able to click on the text inside an LI-tag without

[jQuery] Re: Submit a form automatically

2008-12-12 Thread Liam Potter
you could do something like this... $(document).ready(function () { document.NAME_OF_FORM_HERE.submit(); }); Rick Faircloth wrote: Sorry I don't have an answer for you, Adam. (I'm new to js and jQuery) But I was just curious as to what you were trying to do with a dynamically created (and

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Rick Faircloth
Thanks, Kyle... Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of KyleFarris Sent: Friday, December 12, 2008 9:21 AM To: jQuery (English) Subject: [jQuery] Re: What's the correct way to write this code? Umm... also make

[jQuery] Re: BlockUI unchecks checkboxes

2008-12-12 Thread MorningZ
Could you possibly post a demo page somewhere? Mike, this code: http://paste.pocoo.org/show/95075/ shows what he means, i even tried to change .click to .change and it still never checks the box Results.ashx just returns hello world in plain text and works fine in FireFox On Oct

[jQuery] Re: Konqueror problems?

2008-12-12 Thread MorningZ
Are there known problems with Konqueror? To start with, it's not supported http://docs.jquery.com/Browser_Compatibility jQuery generally works with Konqueror and Firefox 1.0.x, but there may be some unexpected bugs since we do not test them as regularly as Firefox 1.5+, IE6+, Opera 9+ and

[jQuery] jquery ajax-built page with embedded ajax code issue

2008-12-12 Thread ray
i've got a page where the body is dynamically generated/regenerated using ajax with clickable links, using the following snippet to replace the maintext div w/ the output from the ajax.php script: $('.ajax_link').click(function() { clicked_link_id = $(this).attr(id); $.ajax({

[jQuery] mod'ing pseudo-classes...possible?

2008-12-12 Thread D A
I'm using a sprite as a background image for a collapsible pane. It has for states closed off, closed on, open off, open on. When the pane opens, I want to move the background image so it's in the 'open off' state, and then, on mouse-over, whos teh 'open on' state. I can easily get former to

[jQuery] Re: change input[type=button] value

2008-12-12 Thread brian
On Fri, Dec 12, 2008 at 6:52 AM, Richard D. Worth rdwo...@gmail.com wrote: 2) Don't forget you can use .val(newValue) instead of .attr(value, newValue) Yeah, I'd tried that first, then attr() because the first wasn't working. sheepish I felt like a terniary n00b. /sheepish

[jQuery] Re: Selectors

2008-12-12 Thread brian
Thats a lot of divs. You didn't say which div you're aiming to to get at. But, I think :last doesn't work the wy you're expecting (which was my initial expectation, as well). If you add some IDs you can see how it's working: div id=div_pdfs div input name=my_file_0 size=52

[jQuery] Re: Is there a createElement equivalent in jQuery?

2008-12-12 Thread brian
I'm a bit like you in that specifying HTML feels a bit funny. I always preferred to add attributes, etc. to an object(though it could be quite tedious before jQuery). Anyway, one still needs to specify some HTML but this is a bit better: $('a /') .attr('href', '#') .attr('id',

[jQuery] Re: Would anyone care to critique my approach/code to this login scheme?

2008-12-12 Thread brian
Because your server var is not being set (or saved to the session, or whatever), this really is a Coldfusion issue. On Fri, Dec 12, 2008 at 12:14 PM, Rick Faircloth r...@whitestonemedia.com wrote: Hello, all... I appreciate everyone's help in getting my first ColdFusion/Ajax/jQuery code

[jQuery] Re: jquery ajax-built page with embedded ajax code issue

2008-12-12 Thread brian
This is probably the most asked question wrt jQuery. The reason why your newly-created links are not being handled by the ajax function is because they did not exist when the click handler was attached. Either set the click handler to be a separate function and ensure that any new links also get

[jQuery] Re: Would anyone care to critique my approach/code to this login scheme?

2008-12-12 Thread Rick Faircloth
Hi, Brian, and thanks for the feedback. This solution mixes jQuery and CF, so I posted it to the CF-Talk list, as well. Haven't heard from anyone there, yet. Maybe they can figure out why the session.manager_id isn't being set. Any other problems or issues that you see? Thanks, Rick

[jQuery] Re: jquery ajax-built page with embedded ajax code issue

2008-12-12 Thread ray
could you show me an example of what you mean here by this, either using the code above or another example? That sounds like the 'correct' way to do it. [ set the click handler to be a separate function and ensure that any new links also get the click handler attached (in your success

[jQuery] Re: can one detect if the current tab is still visible?

2008-12-12 Thread Klaus Hartl
Have you tried to add a blur handler to the window object? --Klaus On 12 Dez., 05:21, Rene Veerman rene7...@gmail.com wrote: I've got a slideshow that polls the server each 7 seconds for new images to display, and want to pause it when the tab that the user is on isn't visible.. I have

  1   2   >