[jQuery] Debugging jQuery's ajax call

2007-10-24 Thread [EMAIL PROTECTED]
Hi, I'm trying to debug a js function, it seems HTTP proxy monitor does not monitor XMLHTTPrequest/response, any tools in OS X that can do the job? Thanks. A.C.

[jQuery] Re: Debugging jQuery's ajax call

2007-10-24 Thread Bruce Wang
Have you heard about Firebug? a firefox plugin On 10/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm trying to debug a js function, it seems HTTP proxy monitor does not monitor XMLHTTPrequest/response, any tools in OS X that can do the job? Thanks. A.C. -- simple is good

[jQuery] problem with jquery in ie6 en ie7 when using bannerscripts from 3rd parties

2007-10-24 Thread Armand Datema
Hi We have the following website http://www.itbuzz.nl/tabid/89/pr/1203514/default.aspx here we hav an acoordeon like script for the buzzingonfo on the right side and the new items in the middle. This page works perfect in firefox but in ie 6 and ie7 the accordeon code doesnt get fired, the

[jQuery] Re: Cycle plugin help

2007-10-24 Thread Mike Alsup
Jason, The easiest way to achieve this is probably adding another div: div id=partners style=width:300px div id=slideshow img src=foo.jpg width=145 height=72 / img src=bar.jpg width=145 height=72 / /div /div And then style it like this: #slideshow { width: 145px; height: 72px;

[jQuery] Safari's option list not display selection correctly

2007-10-24 Thread [EMAIL PROTECTED]
Hi, I have : select id=state name=state type=textoption value=/select the list of options is assigned in an Ajax call in jQuery (document).ready, and the selected option is assigned with jQuery(select#state).val(mystate); This works with Firefox and Opera, it correctly shows the choice,

[jQuery] Re: how to trigger jCarousel callbacks from the outside..

2007-10-24 Thread Jan Sorgalla
Hi, On 23 Okt., 21:23, pigeonpoop [EMAIL PROTECTED] wrote: That's basically my question for you guys.. How do you feel i should go about this? I have multiple instances of jCarousel started on my page and i can't seem to figure it out. What i want to do is load all remaining pics into their

[jQuery] Re: New plugin: File Style

2007-10-24 Thread Dan G. Switzer, II
Mike, Looks good. One tip to reduce the code. You could re-write your multiple css() calls that look like: var wrapper = $(div) .css(width, settings.imagewidth + px) .css(height, settings.imageheight + px) .css(background, url( + settings.image + ) 0 0 no-repeat)

[jQuery] XHTML snippets in responseXML

2007-10-24 Thread Tamlyn Rhodes
Hi, I'm returning XML from an ajax call which contains, among other things, a snippet of XHTML that I would like to inject into the DOM. This works except that the injected dom nodes don't behave as usual. They aren't rendered correctly and they appear greyed out in firebug. See

[jQuery] Re: Multiple loads of page degrades performance(?)

2007-10-24 Thread Joel S
Hey Jason That sounds perfect, thanks! I'll try it out it now and report back if I've got more problems. Thanks, -Joel On Oct 23, 7:26 pm, jason [EMAIL PROTECTED] wrote: Joel, Check out the LiveQuery plugin. It will handle the binding of the newly loaded elements for you automatically.

[jQuery] Re: clueTip feedback and suggestions

2007-10-24 Thread Joel S
You rock, Karl, Thanks so much! That totally did it! I'll have to pay more attention to that in the future. Best, -Joel On Oct 23, 5:06 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Joel, For some reason it doesn't like the page being in quirks mode. Can you put it in standards mode?

[jQuery] Corners and equal height columns

2007-10-24 Thread [EMAIL PROTECTED]
So I am using the jquery rounded corners plugin and it breaks my equal height columns cause it needs overflow visible. However, if I just try setting the column heights equal it breaks wymeditor because it ends up resizing it and makes it giant. Any ideas?

[jQuery] Re: Filter doubles from selection

2007-10-24 Thread Korijn
Because I have multiple selectboxes to choose options from (there are different kinds of items you can add to the selection). On Oct 24, 12:21 am, Wizzud [EMAIL PROTECTED] wrote: Why clone()? Why not just move them from one to the other? (ids changed for simpler coding...) select id=left

[jQuery] jquery and youtube's Gdata

2007-10-24 Thread Eric
Hi all, I'm trying to parse the xml file that's returned by youtube. In it are the following lines: entry id.../id media:group media:title type=plainsome title/media:title media:player url=someurl/ media:thumbnail url=2.jpg height=97 width=130

[jQuery] draggable clones are not draggable

2007-10-24 Thread erdibalint
Hello there, I am trying to accomplish a seemingly easy task, drag some small pictures onto a bigger one. I also want the dragged pictures to be cloned, so more of them could be used for the aforementioned purpose. What I've come up with is the following: pre function makeDraggable(expr) { /**

[jQuery] Jquery and safari

2007-10-24 Thread [EMAIL PROTECTED]
I am running safari 2.0.4 and jquery 1.2.1. None, and I mean none of my javascript works in safari. All of it works fine in firefox and most of it works in ie. Is this just a problem with jquery or am I missing something?

[jQuery] draggable clones are not draggable

2007-10-24 Thread erdibalint
Hello there, I am trying to accomplish a seemingly easy task, drag some small pictures onto a bigger one. I also want the dragged pictures to be cloned, so more of them could be used for the aforementioned purpose. What I've come up with is the following: pre function makeDraggable(expr) { /**

[jQuery] Hovering over jQuery retrieved HTML

2007-10-24 Thread Charles Sexton
Hello! I'm using jQuery to build a form dynamically. Here's how it works: You are presented with an input box. When you focus on the box a dropdown list appears that you can click on in order to insert the chosen option into the input box, or you can use the keyboard arrow buttons to select

[jQuery] Re: New plugin: File Style

2007-10-24 Thread Flesler
Looks cool in IE6.. one thing you could make customizable, using a hidden instead of an input text to store the URL. I tried that once with some crazy CSS but didn't work. Ariel Flesler On Oct 23, 7:34 pm, Jack Killpatrick [EMAIL PROTECTED] wrote: Looks real nice, and a great-to-have, kudo's

[jQuery] Selecting with this

2007-10-24 Thread linsms
Hi, I want to make a really simply thing: hide and show p elements in a list clicking in the first p I have this code in document.ready function: $('#textoollip+*').hide(); $('#textoollip').addClass('pointer'); $('#textoollip').click(function(){

[jQuery] Re: Filter doubles from selection

2007-10-24 Thread Korijn
And what would I do in this case? Having multiple selectboxes to choose items from? I'm not sure if using prefixes in the valuables is a good idea to keep track of what item came from what selectbox but it's all I can come up with right now. script type=text/javascript //![CDATA[

[jQuery] MIT Licence question very important for everyone

2007-10-24 Thread Ecommercant
Hi One very important question for licensing : I use jquery in my php applicastion and then i begin to sell my soft, so the entier application becomes under MIT license ? So i'll be obliged to provide not encoded copies of all codes sources or only framework and other sub scripts supplied as

[jQuery] Re: jQuery.ScrollTo

2007-10-24 Thread Flesler
That seems like jQuery.Dimensions is using throw in some situations. You should consult it's owner, Brandon Aaron. Or check the project page, maybe it explains why: http://brandonaaron.net/docs/dimensions/. My guess is that your selector is not matching anything (the target you submit), could

[jQuery] how to detach jqmodal from an element?

2007-10-24 Thread vanwil
Hi there! Quick question: obviously it is possible to attach jqModal to an element, but IS IT POSSIBLE TO DETACH JQMODAL FROM THAT ELEMENT LATER? Let me be more explicit about this: say you want a window to pop-up when you click a link. So you attach jqModal to the link. OK, all fine! But, say

[jQuery] number of selected elements

2007-10-24 Thread Alexandre Plennevaux
hi friends, a quickie here: say i have a selector: $('table'); can someone let me know the most efficient way to get the number of TR inside the selected TABLE? thanks a lot! Alexandre Ce message Envoi est certifiƩ sans virus connu. Analyse effectuƩe par AVG. Version: 7.5.488 / Base

[jQuery] Re: clueTip feedback and suggestions

2007-10-24 Thread Karl Swedberg
So glad to hear that it worked for you! It's a shame it won't work in quirks mode, but at least we know how to fix it. :-) On Oct 24, 2007, at 12:03 AM, Joel S wrote: You rock, Karl, Thanks so much! That totally did it! I'll have to pay more attention to that in the future. Best, -Joel

[jQuery] Re: Jquery and safari

2007-10-24 Thread [EMAIL PROTECTED]
I'm using Safari 2 up to yesterday, jquery works well in my case, I just upgraded to 3.0 hoping the file uploading problem in Safari will go away(it does not), all the javascript still working. care to send a sample for me to test it out? On Oct 24, 3:05 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]

[jQuery] Re: Selecting with this

2007-10-24 Thread Karl Swedberg
Hi, Rather than +, try using ~. That should get all siblings that follow. See this page in the API reference for more info: http://docs.jquery.com/Selectors/siblings#prevsiblings --Karl On Oct 24, 2007, at 7:45 AM, linsms wrote: Hi, I want to make a really simply thing: hide and show

[jQuery] how to reset hidden radio fields???

2007-10-24 Thread Priest, James (NIH/NIEHS) [C]
I've got a series of yes/no question - if the user selects 'yes' - I display a hidden div with additional questions: $(#flexsched).css('display', 'none'); $([EMAIL PROTECTED]'flexschedule']).click(function() { $([EMAIL PROTECTED]'flexschedule']:checked).val() == 'No' ?

[jQuery] Re: New plugin: File Style

2007-10-24 Thread Mika Tuupola
On Oct 23, 2007, at 11:59 PM, Guy Fraser wrote: Sweet plugin. Is it possible to have roll-over images, etc? Also, is this method accessible - ie. will screen readers still be able to output meaningful instructions? I have no idea do screen readers use javascript. In any case plugin

[jQuery] Re: how to reset hidden radio fields???

2007-10-24 Thread Priest, James (NIH/NIEHS) [C]
-Original Message- From: Priest, James (NIH/NIEHS) [C] Sent: Wednesday, October 24, 2007 9:33 AM To: jquery-en@googlegroups.com Subject: [jQuery] how to reset hidden radio fields??? What I'd like to do is if the user clicks 'yes', then 'no' again - hiding the optional

[jQuery] Make a Thickbox with the iframe query parameter talk to update the html of the parent page

2007-10-24 Thread cfdvlpr
$ ('div#test',parent).empty().append(cfoutput#texttowritetoparentdiv#/ cfoutput); Is there something wrong with this that you can see?

[jQuery] CSS image replacement problem

2007-10-24 Thread bjreed
I am wanting to do a simple CSS image replacement. Each page body tag has an ID (Ex: ID=#sec-adv). So, if the script finds that particular body ID, then it will replace background-image for #page-photo DIV. I cannot get this to work. I'm sure that I am missing something very small. Can

[jQuery] Re: CSS image replacement problem

2007-10-24 Thread Andy Matthews
I'm guessing you've got CSS to back this up? Are your pages being created dynamically? Why not just change the image using server side code? If you do want to do it this way, then it's because your reference is wrong. Javascript uses camelCase attribute names. So to reference background-image,

[jQuery] Re: Prevent comment SPAM with jQuery

2007-10-24 Thread Jean
I like the ideia, my grandpa dont use internet LOL On 10/23/07, Codex [EMAIL PROTECTED] wrote: Hey people, I came up with an idea to help fight comment spam, the stuff most of us hate. It's just an idea, maybe it won't even work. But take a look and tell me what you think, or tell me why

[jQuery] Re: MIT Licence question very important for everyone

2007-10-24 Thread John Resig
No, MIT only applies to the jQuery library itself - you do NOT have to license your library under that license. The only stipulation is that you include the copyright notice in the jQuery library file. --John On 10/24/07, Ecommercant [EMAIL PROTECTED] wrote: Hi One very important question

[jQuery] Datepicker bug in latest Opera

2007-10-24 Thread Klaus Hartl
Hi, I just came across a hard to find bug in Opera 9.23 (Win), that made the datepicker not work properly. In short, Opera failed on number- only keys in objects, even if you convert the number to a string*. Thus I made some changes to use the date as a string itself, which worked properly with

[jQuery] draggable clones are not draggable

2007-10-24 Thread erdibalint
Hi there, I've tried to achieve a simple thing with draggables. Put little pictures (wrapped in divs) on top of a bigger one using the drag-and- drop technique. This is what I've come up with: function makeDraggable(expr) { /** * Makes the selection (by expr) draggable */

[jQuery] problem with jquery

2007-10-24 Thread mark
Hi All, I am a new person to the world of jQuery. I am having a problem in my first program only. Please tell me what is wrong over here. My code is : htmlhead script type=text/javascript src=jquery.js/script script type=text/javascript $(document).ready(function() {

[jQuery] Re: Jquery and safari

2007-10-24 Thread bytte
Can you post your jquery code? I had the same problem and it appeared to be wrongly defined functions. On 24 okt, 09:05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am running safari 2.0.4 and jquery 1.2.1. None, and I mean none of my javascript works in safari. All of it works fine in

[jQuery] Declaring a new jquery variable

2007-10-24 Thread Kia Niskavaara
How can I declare a new jQuery variable? I want it to be global, but I don't want to use the window object. I know, a silly question. There shouldn't be any global variables, I know. But I need this for a temporary solution to a problem. I would like to access it like this: $.myvariable

[jQuery] Re: how to trigger jCarousel callbacks from the outside..

2007-10-24 Thread pigeonpoop
Great, I will try that! And by the way, Thanks for releasing this great image slider, Jan. It's great. On Oct 24, 7:51 am, Jan Sorgalla [EMAIL PROTECTED] wrote: Hi, On 23 Okt., 21:23, pigeonpoop [EMAIL PROTECTED] wrote: That's basically my question for you guys.. How do you feel i should

[jQuery] Re: Jquery and safari

2007-10-24 Thread Guy Fraser
[EMAIL PROTECTED] wrote: I am running safari 2.0.4 and jquery 1.2.1. None, and I mean none of my javascript works in safari. All of it works fine in firefox and most of it works in ie. Is this just a problem with jquery or am I missing something? Safari is pants :)

[jQuery] Re: number of selected elements

2007-10-24 Thread [EMAIL PROTECTED]
$('table tr').size() will get the number of TR elements for all tables. $('#tableid tr').size() will get the number of TR elements inside a specific table. On Oct 24, 8:15 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: hi friends, a quickie here: say i have a selector: $('table');

[jQuery] Re: New plugin: File Style

2007-10-24 Thread Guy Fraser
Dan G. Switzer, II wrote: Mike, Looks good. One tip to reduce the code. You could re-write your multiple css() calls that look like: var wrapper = $(div) .css({ width: settings.imagewidth + px , height: settings.imageheight + px ,

[jQuery] Re: Selecting with this SOLVED

2007-10-24 Thread linsms
Solved. Working version: $('#textoollip+*').hide(); $('#textoollip:visible').addClass('pointer').click(function(){ $(this).nextAll().toggle('slow'); }); On 24 oct, 15:28, Karl Swedberg [EMAIL PROTECTED] wrote: Hi,

[jQuery] Re: Cycle plugin help

2007-10-24 Thread Jason
Thank you for the reply. That's how I have it setup now but the scrolling image disappears at the edge of the inner div. I'd like for it to scroll off the page so-to-speak. Maybe there is another javascript widget that would fulfill that's better suited for this scenario? On Oct 24, 5:32 am,

[jQuery] Re: Selecting with this

2007-10-24 Thread linsms
Solved. Working version: $('#textoollip+*').hide(); $('#textoollip:visible').addClass('pointer').click(function(){ $(this).nextAll().toggle('slow'); }); On 24 oct, 15:28, Karl Swedberg [EMAIL PROTECTED] wrote: Hi,

[jQuery] Re: number of selected elements

2007-10-24 Thread [EMAIL PROTECTED]
$('#tableid tr').size() will get the number of TR elements inside a table with a specified ID attribute. On Oct 24, 8:15 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: hi friends, a quickie here: say i have a selector: $('table'); can someone let me know the most efficient way to get

[jQuery] Re: MIT Licence question very important for everyone

2007-10-24 Thread Guy Fraser
Ecommercant wrote: Hi I use jquery in my php applicastion and then i begin to sell my soft, so the entier application becomes under MIT license ? So i'll be obliged to provide not encoded copies of all codes sources or only framework and other sub scripts supplied as MIT in my soft ?

[jQuery] Re: Selecting with this

2007-10-24 Thread linsms
Thanks but this only matches the first 'p' in the first 'li' The nearest thing is: $('#textoollip') That matches all 'p' inside the 'li' and $(this).nextAll().toggle('slow'); that matches all elements before it I need more ideas :S On 24 oct, 14:20, Erik Beeson [EMAIL PROTECTED] wrote: Sounds

[jQuery] Re: jquery and youtube's Gdata

2007-10-24 Thread sidisinsane
You might want to check out Yvo Schaap's youtube script at: http://www.yvoschaap.com/youtube.html. There's a demo as well as a download-link at the bottom. Although it's pure js and not jquery it should answer your questions. Sid On 24 Okt., 09:17, Eric [EMAIL PROTECTED] wrote: Hi all, I'm

[jQuery] Re: MIT Licence question very important for everyone

2007-10-24 Thread Jolyon Terwilliger
Hi Rob, the jQuery library is licensed under two licenses - MIT and GPL. Taken right from the jquery wiki: jQuery is currently available for use in all personal or commercial projects under both MIT and GPL licenses. This means that you can choose the license that best suits your project, and

[jQuery] Re: .get works in Firefox, but not IE

2007-10-24 Thread Jeff
I'm having the same issue with IE. Works in FF. On Oct 17, 1:51 pm, cfdvlpr [EMAIL PROTECTED] wrote: Here's some code I have that works great in Firefox. But in IE, it this line does nothing: $ ('#bottomHalfofThickbox').html(updatedSamples); function redecorate(){

[jQuery] Re: how to detach jqmodal from an element?

2007-10-24 Thread Eric Martin
If you bound it with a click, you can just unbind it... http://docs.jquery.com/Events/unbind#typedata Something like: $(#trigger).click(function () { $(#dialog).jqm(); $(#trigger).unbind(click); }); On Oct 24, 4:54 am, vanwil [EMAIL PROTECTED] wrote: Hi there! Quick question:

[jQuery] Hovering over jQuery retrieved HTML

2007-10-24 Thread charlesbeau
Hello! I'm using jQuery to build a form dynamically. Here's how it works: You are presented with an input box. When you focus on the box a dropdown list appears that you can click on in order to insert the chosen option into the input box, or you can use the keyboard arrow buttons to select

[jQuery] Re: Hovering over jQuery retrieved HTML

2007-10-24 Thread Jolyon Terwilliger
Hi Charles, I'm not sure exactly how your code is, but it seems like you would want to run the code that applies the .hover() function to the li items after you pull them in via each ajax request. On Oct 24, 5:26 am, Charles Sexton [EMAIL PROTECTED] wrote: Hello! I'm using jQuery to build a

[jQuery] Re: jQuery.ScrollTo

2007-10-24 Thread Josh V
the site im working on is, http://chalet.dsbeta.com/ in the properties section you can see the two arrows that should govern the scrolling. i am trying to get the scrolling to tween to the next or previous five properties. the simplified html of that sections looks like this... lia

[jQuery] New Plugin: SimpleModal

2007-10-24 Thread Eric Martin
I've been using jQuery for a couple months and recently had the need for a modal dialog. I tried other existing modal plugins, but decided to take a shot at creating my own plugin. SimpleModal is a lightweight jQuery plugin that provides a simple, cross-browser compatible interface to create a

[jQuery] Re: how to trigger jCarousel callbacks from the outside..

2007-10-24 Thread pigeonpoop
the variable; carousel, the argument passed into bindLoader, is undefined.. would you know what could cause this? FYI.. my carousels are being initialized in the body of the document. Thanks again. On Oct 24, 7:51 am, Jan Sorgalla [EMAIL PROTECTED] wrote: Hi, On 23 Okt., 21:23, pigeonpoop

[jQuery] Re: how to detach jqmodal from an element?

2007-10-24 Thread [EMAIL PROTECTED]
You could do something like this: var yourFlag; $('#your-link).click( function() { if(yourFlag) { return true; // should follow the link } else { triggerModal(this); // What ever function JQModal uses to trigger a modal window yourFlag = true; return

[jQuery] can this cool feature be done w/ jQuery

2007-10-24 Thread Bhaarat Sharma
Hello, I was browsing through slasdot and came across a cool feature. If you go to this link http://developers.slashdot.org/article.pl?sid=05/05/13/2023250 you will notice that in the left side panel there is a widget. This lets you filter your comments and comments on the right hand side are

[jQuery] Re: Ajax load() function + document.getElementById.value solved

2007-10-24 Thread Boyd
Good point!!! This is because I am very new to jquery and js ;) I have been trying to use all in jquery but cannot find the solution. Can you show me how? Thanks ;) Boyd On Oct 23, 5:03 pm, Glen Lipka [EMAIL PROTECTED] wrote: How come you are using getElementByID instead of $(#photo_title)?

[jQuery] Re: Make a Thickbox with the iframe query parameter talk to update the html of the parent page

2007-10-24 Thread cfdvlpr
I've tried many things and nothing seems to work. Here's the url that opens the thickbox: http://x/test/index.cfm?height=422width=465productID=9TB_iframe=trueKeepThis=true Here's a few things that I've tried in this thickbox window that don't work:

[jQuery] Re: Jquery and safari

2007-10-24 Thread Jeffrey Kretz
I think there must be something specific in your project. If you have something online that could be reviewed it would be helpful. Personally, I'm developing an application which has been successfully tested in IE6, IE7, FF, Opera and Safari 2, so I know that it does work. JK _

[jQuery] Re: New plugin: File Style

2007-10-24 Thread Mika Tuupola
On Oct 23, 2007, at 8:45 PM, Glen Lipka wrote: Nice job, I like it. You may want to add the css cursor:pointer to the button. Helps with affordance of clicking. Its there. Unfortunately FireFox and Opera insists keeping the default cursor while over file input. Works with IE and

[jQuery] Re: .get works in Firefox, but not IE

2007-10-24 Thread Jeffrey Kretz
What about using the longform $.ajax call rather than $.get? You can specify an error handler: $.ajax( { url:'blabla.cfm', success:function(){do_something();}, error:function(){do_something_else();} } ); JK -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Prevent comment SPAM with jQuery

2007-10-24 Thread Jake McGraw
Recaptcha is an awesome idea, Google should get in on it. - jake On 10/23/07, Guy Fraser [EMAIL PROTECTED] wrote: Alexandre Plennevaux wrote: a much more safe way is to use a very obvious email input field that you hide via CSS. Then you check on the serverside, if that field has received

[jQuery] Re: Ajax load() function + document.getElementById.value solved

2007-10-24 Thread Glen Lipka
The tutorials are really helpful to get a high level overview and philosophy. I have a slew of very simple examples on my site. In general, jQuery replaces a ton of regular JavaScript stuff. You rarely need IF statements. It's got it's own iterator so you never need a FOR EACH loop. The main

[jQuery] Sliding Image Puzzle Plugin

2007-10-24 Thread Glen Lipka
From the creator of the jQuery vibrator plugin. Ben Nadel brings you a new child-safe toy plugin. http://www.bennadel.com/blog/1009-jQuery-Demo-Creating-A-Sliding-Image-Puzzle-Plug-In.htm It is a sliding puzzle. As usual, Ben over-comments his code so you know exactly what each line does. Ben

[jQuery] Re: Cycle plugin help

2007-10-24 Thread Mike Alsup
On 10/24/07, Jason [EMAIL PROTECTED] wrote: Thank you for the reply. That's how I have it setup now but the scrolling image disappears at the edge of the inner div. I'd like for it to scroll off the page so-to-speak. I see what you want now. Here's a way to do it with a custom

[jQuery] help - compare 3 lists, get the largest number of items...

2007-10-24 Thread rolfsf
I'm still learning the most basic javascript :-( I have 3 lists. I want to know how many items are in the longest list (ie. most li). Then, I want to multiply that number by 275 assuming ul id=myList1 class=myList etc. I know I can get the length of a list using $('#myList').length(); How do

[jQuery] Re: CSS image replacement problem

2007-10-24 Thread Guy Fraser
bjreed wrote: $(#sec-adv).each(function(){ $(#page-photo).css('background-image','url(../images/pagepic.jpg)'); }); Why are you using .each() ? Surely this would be better: $(#sec-adv #page-photo).css('background-image','url(whatever)');

[jQuery] Re: Jquery and safari

2007-10-24 Thread [EMAIL PROTECTED]
_uacct = UA-1454666-2; $(document).ready(function(){ urchinTracker(); $('.admin .body').each(function(){ $(this).hide();}); $('.more').click(adminBodyToggle); $('#content').corner('15px'); $(.delete).click(ajaxDelete);

[jQuery] Livequery + jQuery.YAV

2007-10-24 Thread lvp1138
jQuery.YAV is a input validation plugin based on the popular YAV. Normally, a call like this: $(document).ready(function(){ $(#form1).yav(); }); will be enough to call Yav to do input validation when the form is submitted. However, on our software, the

[jQuery] Displaying Additional Information

2007-10-24 Thread Snooze
I am pretty new to jQuery so I'm trying to learn. I have a bunch of information in a table. One of the columns has an image in every cell, I want additional information to show up when a user clicks on the image. I have been able to get it to where additional information shows up for every image

[jQuery] [bug] Slight jump of elements when using height() in FF

2007-10-24 Thread [EMAIL PROTECTED]
Example page: http://brandonaaron.net/docs/dimensions/#sample-2 To recreate: 1. Use Firefox 2.0.0.8 2. Go to above link 3. Under Element Height subheading, click Run button. Current behavior: When invoking height() method to retrieve an element's height, elements on the page

[jQuery] JS/jQury Drop line

2007-10-24 Thread fambizzari
Does anyone know of a JS solution (preferably in jquery) for http://www.cssplay.co.uk/menus/doors_drop_line.html? Thanks

[jQuery] Re: help - compare 3 lists, get the largest number of items...

2007-10-24 Thread Josh Nathanson
You will want $(#myList).size(). Create an array with the three sizes - like var mylistsizes = [ 3, 9, 7 ]. Then, loop over the array and set a variable to the current value. On each iteration, if the current iteration is greater than the held variable, reset the variable to the current

[jQuery] Re: help - compare 3 lists, get the largest number of items...

2007-10-24 Thread Andy Matthews
This will give you the highest val without having to loop over the array: var arr = new Array(6) arr[0] = 10 arr[1] = 5 arr[2] = 40 arr[3] = 25 arr[4] = 1000 arr[5] = 1 arr[6] = 1001 var largest = arr.sort(function(a,b){return a - b}).slice(-1) -Original Message- From:

[jQuery] Re: Displaying Additional Information

2007-10-24 Thread Glen Lipka
Are you getting the additional information from the server via Ajax or is it on the page in a hidden div? Do you want the extra information to show up in another cell in the table or in a tooltip or modal? It's always good to post a basic attempt at the page to help give some context. Glen On

[jQuery] Re: help - compare 3 lists, get the largest number of items...

2007-10-24 Thread rolfsf
Thanks Josh Andy! I may not be able to upgrade to jQuery 1.2 right away - what's my alternative for slice()? r. Andy Matthews-4 wrote: This will give you the highest val without having to loop over the array: var arr = new Array(6) arr[0] = 10 arr[1] = 5 arr[2] = 40 arr[3] = 25

[jQuery] function in thickbox.js that is called when user clicks outside of thickbox and it closes

2007-10-24 Thread cfdvlpr
what line numbers is this on?

[jQuery] Re: Jquery and safari

2007-10-24 Thread Jeffrey Kretz
I'm sort of reaching here as I don't have access to your completed page to test on, but perhaps the urchinTracker method is throwing an error? One of the annoying things about Safari 2 is that when an error is encountered all javascript on the page halts completely with no message or

[jQuery] Re: problem with jquery

2007-10-24 Thread Rob Desbois
Mark, I think you are saving the document as rich text format (RTF). Try pasting the code sample into notepad and save it from there. Once that works, make sure that in whatever editor you're using you save things as 'plain text'. Hope that helps --rob On 10/24/07, mark [EMAIL PROTECTED]

[jQuery] Re: [bug] Slight jump of elements when using height() in FF

2007-10-24 Thread Jeffrey Kretz
I see the same thing when I test it. Oddly enough, the latest version of dimensions is 1.1.2, but the version on that demo page is only 1.1. Perhaps the latest version fixes that error? JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[jQuery] Re: Displaying Additional Information

2007-10-24 Thread Karl Swedberg
Hi Snooze, It looks like you're going to want to make use of the this keyword to identify the more information for the particular image that you click. For example, if a div that has class=more-info comes right after the image in the html, you could do something like this:

[jQuery] Re: help - compare 3 lists, get the largest number of items...

2007-10-24 Thread Karl Swedberg
Hi Rolfsf, Instead of .slice(-1), you can use .filter(':last') --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 24, 2007, at 3:53 PM, rolfsf wrote: Thanks Josh Andy! I may not be able to upgrade to jQuery 1.2 right away - what's my alternative

[jQuery] UI - Droppables - Avoid revert when the tolerance is matched

2007-10-24 Thread [EMAIL PROTECTED]
Hello everybody ! I'm asking myself for a while before asking my question on the group. I'm trying to make a nice DnD tool but I have one problem : I declare to my draggable the option revert:true and I would like to delete it if the draggable matches the droppable box, if not, the revert is

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-24 Thread Sam Sherlock
truly awesome stuff. However Lokesh's lastest is able to load images that are generated with php. This jq lightbox and thickbox are unable to do this. When clicking on a dynamically generated lightbox script starts opens without image and then the image replaces the document. With lokesh's

[jQuery] Cycle Plugin Next and Prev

2007-10-24 Thread Marshall Salinger
Hello, I am experimenting with the cycle plug-in. Excellent plug-in Mike. I was wondering if there was an easy way to set an individual transition based on the next and prev options? Thanks, Marshall

[jQuery] Re: help - compare 3 lists, get the largest number of items...

2007-10-24 Thread rolfsf
errrm... thanks Karl... but I get: :last is not a function obviously, I'm not piecing this together quite right: var arr = new Array(2) arr[0] = $('ul#list1').size() arr[1] = $('ul#list2').size() arr[2] =

[jQuery] Re: problem with jquery

2007-10-24 Thread Karl Swedberg
Hi Mark, Make sure you return false so that the link doesn't trigger the default behavior (which is to go to the url): $(document).ready(function() { $(a).click(function() { alert(Hello world!); return false; }); }); --Karl _ Karl Swedberg

[jQuery] Re: help - compare 3 lists, get the largest number of items...

2007-10-24 Thread Karl Swedberg
oh, of course! sorry about that. The slice() method here isn't actually a jQuery method. It's acting on an array instead. So, scrap the .filter('last') and return to using .slice(-1). Doesn't matter what version of jQuery you're using, because it's actually a native JavaScript method in

[jQuery] Re: Cycle Plugin Next and Prev

2007-10-24 Thread Mike Alsup
Can you elaborate on this? I'm not clear on what you're asking. Mike On 10/24/07, Marshall Salinger [EMAIL PROTECTED] wrote: Hello, I am experimenting with the cycle plug-in. Excellent plug-in Mike. I was wondering if there was an easy way to set an individual transition based on the

[jQuery] jquery plugin + problem with return for this element

2007-10-24 Thread [EMAIL PROTECTED]
Hi I'm trying to create plugin for jquery... I have almost everything, but when Im using my plugin on more then one elements then I have problem... To show my problem I created this code: (function($) { $.fn.extend({ test2: function(color) { var

[jQuery] Re: Cycle Plugin Next and Prev

2007-10-24 Thread Marshall Salinger
Sure, thanks for the reply. I would like to have the plugin 'scrollLeft' when click 'Next' and 'scrollRight' when using 'Prev'. So it will have a back and forth feel. Does that help? -Marshall Mike Alsup wrote: Can you elaborate on this? I'm not clear on what you're asking. Mike On

[jQuery] Re: jquery plugin + problem with return for this element

2007-10-24 Thread Mike Alsup
Hi I'm trying to create plugin for jquery... I have almost everything, but when Im using my plugin on more then one elements then I have problem... You're not getting 'this' correct. Where you set 'b', 'this' is the jQuery object, not an element. So 'b' is a jQuery object that wraps

[jQuery] Re: Cycle Plugin Next and Prev

2007-10-24 Thread Mike Alsup
I understand now. You want the 'scrollHorz' effect. http://www.malsup.com/jquery/cycle/scrollhv.html Mike On 10/24/07, Marshall Salinger [EMAIL PROTECTED] wrote: Sure, thanks for the reply. I would like to have the plugin 'scrollLeft' when click 'Next' and 'scrollRight' when using

[jQuery] bbcode editor

2007-10-24 Thread [EMAIL PROTECTED]
Hi, Can anybody recommend a good BBCode editor for jQuery? Thanks, A.C.

[jQuery] Re: 1px rounded corners issue

2007-10-24 Thread Jack Killpatrick
Dave, The examples don't show any example with a 1px border. We've tried adjusting the padding, but that just makes the line part of the corner thicker. Any other suggestions? Mike Alsup...any chance of you throwing a 1px wide corner example onto the page? Thanks, Jack Dave Methvin

  1   2   >