[jQuery] Re: Superfish - button width

2008-07-03 Thread Joel Birch
The latest version of Superfish (version 1.4.2 - released a couple days ago) does this by default now. Joel Birch.

[jQuery] Re: MouseOver/MouseOut Hover

2008-07-03 Thread Joel Birch
Hi Mike, Does it work if you remove the inline JavaScript from the div and instead attach the handlers like this: $(document).ready(function() { $('div.zoom').hover( function() { setHoverState(this.id); }, function()

[jQuery] Re: SUPERFISH IE 6 help

2008-07-03 Thread Joel Birch
Hello, Looks like you just need to do general IE CSS debugging. It's easy to trigger IE bugs when creating these menus, that's why I strongly advise beginning with the Superfish CSS file and build from that whilst checking IE at every step along the way. That way, when IE borks you know exactly w

[jQuery] FlexiGrid Problem

2008-07-03 Thread Nimrod
Hi All, I using two instances of FlexiGrid in a page and I'm encountering the below error on the pagination stat: Page of [object Object] What do you think causes the error? By the way this error appears only on FF. It is not displaying on IE but still there is an error (records don't appear).

[jQuery] Re: update to 1.2.6 returns different result when retrieving onchange attribute

2008-07-03 Thread Ariel Flesler
That surely never worked on IE. Setting strings as inline events handlers has no effect when on IE. -- Ariel Flesler http://flesler.blogspot.com/ On 3 jul, 12:03, Jack <[EMAIL PROTECTED]> wrote: > Folks, > > I had been using jQuery 1.2.3 and had code like this working: > >                 if ($(

[jQuery] cluetip doesn't work with IE for me

2008-07-03 Thread dgm
I'm trying to use cluetip (Looks great!) to display a full text of otherwise truncated data, in a table. (Email subjects are truncated for the normal view, but if you mouse over, I want a tooltip to show the full subject). I'm using php and smarty templates to generate the table rows: {$row[h

[jQuery] Re: DELETE HTTP method

2008-07-03 Thread Yosifov Pavel
Hmm, after googling I saw that problems not in XMLHttpRequest - it can do DELETE in all browsers. Richard, you mean HTML forms only? But I mean DELETE via ajax in jQuery without any forms...

[jQuery] blockUI fadeOut

2008-07-03 Thread cambazz
hello, is the blockUI fadeout function working? I was unable to get it to fadeOut fast. (0 fadeOut) Here is an excerpt: $.blockUI({ centerX: true, centerY: 0, message: $('#inRum'), css: { top: '200px', width: '3

[jQuery] Re: DELETE HTTP method

2008-07-03 Thread Yosifov Pavel
So, real REST is impossible, because of browser limitations? And to make correct cruD in REST I must use GET/POST only, right? And another question: but WHY jQuery doesn't process 'DELETE' method as 'GET': it doesn't parse data to result url. It do it only for POST and GET. OK, not all browsers su

[jQuery] Re: Jquery validation

2008-07-03 Thread konda
Jörn It is working thanks for your support . On Jul 2, 11:25 pm, konda <[EMAIL PROTECTED]> wrote: > Thanks a lot I will try > > On Jul 2, 5:59 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> > wrote: > > > Take a look at the highlight/unhighlight options! > > Documented here:http://docs.jquery.co

[jQuery] MouseOver/MouseOut Hover

2008-07-03 Thread Mike
I am trying to do a fade out and in on mouseover and mouse out. Below I have a div that contains these functions and fades out or in an image on toggle. The problem is after mouse over, it repeats over and over without stopping. I also notice the opacity on mouseout is always 1 and never 0. Is

[jQuery] Re: comet long polling with jquery

2008-07-03 Thread cambazz
hello mike; and how shold my client act when something goes wrong? error for example? or server shutdown. i did something quite similar to what you suggested, with the exception of getting the response header. Best regards, and thanks a bunch. -C.B. On Jul 2, 4:10 am, Mike Alsup <[EMAIL PROTE

[jQuery] Re: Dynamically Added Select not submitted

2008-07-03 Thread Flipside
Solution found. I had the FORM tag nested to far up the DOM tree. Kinda weird as the form elements where still within the FORM tags.

[jQuery] CSS Dropdown Menu showing up as white box in IE6.

2008-07-03 Thread datatv
I'm trying to wrap up a site for a client and I've had this big issue with the dropdown menu I created using JQuery as it's fine everywhereexcept (of course) in Internet Explorer 6. There it shows up as a white box and that's it. I've seen similar menus work in IE6 but can't figure out what th

[jQuery] Cluetip: Why isn't my top left graphic displaying in my tip?

2008-07-03 Thread datatv
I finally have everything pretty much figured out for my initial ClueTip experience. Except for this one. Check the tips out here: http://www.datatv.com/sw/SW_wp_sampler2.html Now, I've only tested these in Firefox and Safari but the tl.gif isn't displaying even though I click on the View Backgr

[jQuery] Re: Why (function($){ ...})(jQuery) instead of (function(){var $ = jQuery; ...})()?

2008-07-03 Thread Michael Geary
Sorry, Diego, but you may have made things more confusing! :-) If you change "enclosures of that kind" to "enclosures of either kind" it will probably be more clear. As you said, there isn't any real reason for plugin developers to prefer one of these two forms over the other. It's just a matte

[jQuery] Re: how to load and change the external HTML fragment with AJAX

2008-07-03 Thread Richard D. Worth
Inside the load callback, change $(this).filter(".price").addClass("bold"); to $(this).find(".price").addClass("bold"); or $(".price", this).addClass("bold"); - Richard On Thu, Jul 3, 2008 at 5:33 PM, xasima <[EMAIL PROTECTED]> wrote: > > Hi, I want to load a fragment of external html docum

[jQuery] Re: Validation and Tabs plugins compatibility

2008-07-03 Thread Diego A.
Hi, This is just an idea (which I haven't checked) but since you have JS experience I'm just gonna throw it at you. The validation plugin adds an 'error' class to all problem fields. You could very quickly loop through each tab, look for an error and (if found), change the focus to that tab. some

[jQuery] Re: jQuery not setting X-Requested-With XMLHttpRequest

2008-07-03 Thread Diego A.
Use this: $.ajaxSetup({ headers: {"X-Requested-With":"Ajax"} }); Diego 2008/7/3 duck! <[EMAIL PROTECTED]>: > > > Does setting the "contentType" work? > http://docs.jquery.com/Ajax/jQuery.ajax#options > > > Chris Bailey-4 wrote: > > > > > > I'm using jQuery 1.2.6, and I can't seem

[jQuery] Re: Why (function($){ ...})(jQuery) instead of (function(){var $ = jQuery; ...})()?

2008-07-03 Thread Diego A.
Hi there, No, there's no difference. They both have the exact same effect. But there's a reason why plugin developers use enclosures of that kind. They do it to make sure they can use $ instead of jQuery even when the user is using jQuery.noConflict(). Perhaps you want to isolate your own variab

[jQuery] Dynamically Added Select not submitted

2008-07-03 Thread Flipside
I have some code that creates SELECT HTML dynamically using jQuery (verified with alert() and DOM Inspector). It works as expected in IE, but in Firefox the dynamically added SELECTs are not submitted with the form. Is this a known bug? I am tearing my hair out trying to figure this one out. H

[jQuery] Re: Fade in, out, then in?

2008-07-03 Thread Karl Swedberg
Hi Miiitch, You can put the content fade in the callback of the last logo fadeOut. // ... .fadeOut(1000, function() { $('#content').fadeIn(1000); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 3, 2008, at 6:09 PM, Miiitch wrote: So I want

[jQuery] Re: how to load and change the external HTML fragment with AJAX

2008-07-03 Thread spicyj
Can you post a webpage with a simple example? Thanks! xasima wrote: > Hi, I want to load a fragment of external html document > (external.html#embeddedContent) with the help of AJAX call, embed > (inject) this into my HTML document (main.html#placeToInject), and > change this embedded fragment

[jQuery] Re: jQuery not setting X-Requested-With XMLHttpRequest

2008-07-03 Thread Chris Bailey
>From what I can tell, I've now fixed this in my code. What's frustrating is that I don't believe I changed anything (but obviously something must have). I added some alerts into the jQuery code itself to see if it was truly setting the request header, and then as soon as I did that, it started w

[jQuery] Fade in, out, then in?

2008-07-03 Thread Miiitch
So I want to be able to fadeIn an element (#logo), then fadeOut the same element, then fadeIn a different element (#content). So the logo fades in, then out, then the content fades in. I've already got the logo fading part: $("#logo").fadeTo(1000, 0).fadeIn(1000) .fadeTo(4000, 1).fadeOut(1000);

[jQuery] Re: cant upgrade from 1.2.3 to 1.2.6

2008-07-03 Thread Michael Geary
Darren, I found the actual problem. It wasn't the lack of {} in the grep method - that was a red herring. (There's nothing wrong with the grep method that {} would fix.) Your page is loading script.aculo.us effects.js v1.7.1_beta3. This file defines Array.prototype.call as a function. That cause

[jQuery] Re: Position cursor at end of textbox?

2008-07-03 Thread Brian J. Fink
OK, I was a little premature in my judgment. But why add a new function to jQuery when it will only be used once in your code? That's kind of silly. On Jul 3, 10:58 am, h3 <[EMAIL PROTECTED]> wrote: > $.extend($.fn, { > selectRange: function(start, end) { > // use only the fir

[jQuery] Re: Position cursor at end of textbox?

2008-07-03 Thread Brian J. Fink
Returns error: $(this).caret is not a function. The function must be part of the plugin you alluded to. On Jul 2, 8:23 pm, spicyj <[EMAIL PROTECTED]> wrote: > This might be helpful: > > http://pastie.org/226790// shamelessly stolen from the Masked Input > plugin > > $(":text").bind("focus", funct

[jQuery] Re: Position cursor at end of textbox?

2008-07-03 Thread Brian J. Fink
Bah! What's with the $(this).get(0) when all you need is the this keyword from JavaScript? Oh, and by the way, Your solution would disable selection entirely. I don't think Paul had in mind to kill a flea with a sledgehammer! On Jul 3, 10:58 am, h3 <[EMAIL PROTECTED]> wrote: > $.extend($.fn, { >

[jQuery] Re: Position cursor at end of textbox?

2008-07-03 Thread Brian J. Fink
There's a $.caret()? On Jul 2, 8:23 pm, spicyj <[EMAIL PROTECTED]> wrote: > This might be helpful: > > http://pastie.org/226790// shamelessly stolen from the Masked Input > plugin > > $(":text").bind("focus", function() { > $(this).caret(this.value.length); > > }); > > Not tested, so I don't kn

[jQuery] Re: cant upgrade from 1.2.3 to 1.2.6

2008-07-03 Thread Michael Geary
Just a note on this - it's a conflict between jQuery 1.2.6 (and NOT 1.2.3) vs. Prototype 1.5.1 and related code. I reduced it to a simple test case - will post something on the dev list in a bit...

[jQuery] Re: Removing the html jQuery adds in effects

2008-07-03 Thread pek
Thank you all for your replies. Carl, I tried yours but nothing happens when clicking previous. Anyway, thanks to a friend of mine, here is the correct code (or at least, the code that works) in case anybody wonders: $(".gallery").prepend("pek").children("li:first").hide().slideDown("slow"); Don

[jQuery] how to load and change the external HTML fragment with AJAX

2008-07-03 Thread xasima
Hi, I want to load a fragment of external html document (external.html#embeddedContent) with the help of AJAX call, embed (inject) this into my HTML document (main.html#placeToInject), and change this embedded fragment a little. I think that I need load this external fragment and either 1) ch

[jQuery] Re: Navigate away after ajax call?

2008-07-03 Thread duck!
If you aren't sure perhaps you can "return true" in the $.get callback somehow? wswilson wrote: > > > My code: > > ---in the script--- > $('a').click(function() { > $.get('/long_running_page'); > return true; > } > > ---on the page--- > http://www.otherserver.com click here > >

[jQuery] Re: jQuery not setting X-Requested-With XMLHttpRequest

2008-07-03 Thread duck!
Does setting the "contentType" work? http://docs.jquery.com/Ajax/jQuery.ajax#options Chris Bailey-4 wrote: > > > I'm using jQuery 1.2.6, and I can't seem to get jQuery to set the X- > Requested-With when it makes AJAX calls. I saw somewhere that this > may have to do with cross-site issues i

[jQuery] Re: Why (function($){ ...})(jQuery) instead of (function(){var $ = jQuery; ...})()?

2008-07-03 Thread jfine
On 3 Jul, 21:35, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Yes, either one will do exactly the same thing. It's purely a matter of > taste. Thank you both for this. I think Michael right, but perhaps Diego would like to response - he thinks there is a difference. Thank you also Michael for

[jQuery] Validation and Tabs plugins compatibility

2008-07-03 Thread peace4theapes
Hello all, I am just switching to JQuery from prototype and am trying to use the Validation and Tabs plugins for JQuery. Here's my problem: I have one form tag in which I have my tabs container. Using a dynamic language I am creating multiple tabs for user chosen data, say states. So if the user

[jQuery] Re: JQuery 1.2.6 and JQuery Form Plugin in IE7

2008-07-03 Thread Shelane
Cute answer Mike. I use "method" as a hidden form name all the time and my code is already wrapped with that code everywhere. I'm terrible with coming up with good names for things, but I have to have some name that makes sense. What do you use? I have two key inputs that tell my processing pa

[jQuery] Re: offSetTop & offsetLeft return NULL

2008-07-03 Thread Carl Von Stetten
Dan, Try: var e_ox = jQuery("a").eq(index).offset().left; var e_oy = jQuery("a").eq(index).offset().top; HTH, Carl On Jul 3, 11:49 am, Dan <[EMAIL PROTECTED]> wrote: > I have these functions: > var e_w = jQuery("a").eq(index).width(); > var e_h = jQuery("a").eq(index).height(); > var e_ox = jQ

[jQuery] Re: Removing the html jQuery adds in effects

2008-07-03 Thread Carl Von Stetten
pek, Try this (untested): $("testing").hide().insertBefore("#gallery li:first").slideDown("slow"); Carl pek wrote: > First of all, thank you very much for the reply. It is really hard to > get any reply in this mailing list. This is the third time I'm asking > something and you are the first

[jQuery] Re: offSetTop & offsetLeft return NULL

2008-07-03 Thread Michael Geary
offsetLeft and offsetTop are properties of a DOM element, not a jQuery object. A jQuery object does have an offset() method which returns an object containing left and top properties, e.g. var offset = jQuery("a").eq(index).offset(); var e_ox = offset.left; var e_oy = offset.top; Note that thes

[jQuery] Re: Why (function($){ ...})(jQuery) instead of (function(){var $ = jQuery; ...})()?

2008-07-03 Thread Michael Geary
Yes, either one will do exactly the same thing. It's purely a matter of taste. You're missing a semicolon at the end of both versions, though. Watch out for that - it can cause you some grief. -Mike > From: jfine > > The (rather long) subject line says it all. > > This idiom is widely used to

[jQuery] Re: Why (function($){ ...})(jQuery) instead of (function(){var $ = jQuery; ...})()?

2008-07-03 Thread Diego A.
Hi Jonathan, I think they would both qork exactly the same, BUT this notation... (function($){ ... })(jQuery) Is usually used in plugin authoring to isolate the $ variable in case the user has decided to use jQuery.noConflict(); - which disables access to jQuery via $. So this code i

[jQuery] Re: disable buttons till .load finishes

2008-07-03 Thread Richard D. Worth
Please ask on the jQuery UI list: http://groups.google.com/group/jquery-ui Thanks. - Richard On Thu, Jul 3, 2008 at 3:33 PM, Andrew Gearhart <[EMAIL PROTECTED]> wrote: > > I'm looking for a way to be able to disable a generated with > the dialog extension of jquery ui until the .load function

[jQuery] Re: Removing the html jQuery adds in effects

2008-07-03 Thread pek
First of all, thank you very much for the reply. It is really hard to get any reply in this mailing list. This is the third time I'm asking something and you are the first to answer. Unfortunately, I've tried this and it kinda acts weird. Instead of wrapping the testing with the effect, it wraps

[jQuery] Re: Navigate away after ajax call?

2008-07-03 Thread Josh Nathanson
It works because it's asynchronous. The $.get call is fired, and then the script continues along its merry way, without waiting for the return of the $.get call. -- Josh - Original Message - From: "wsw" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Thursday, July 03, 2008 11:1

[jQuery] Re: javascript analogue of php serialize()

2008-07-03 Thread Julian
> http://docs.jquery.com/Ajax/serialize "Serializes a set of input elements into a string of data." That did not work for me. Like i said a have the data in array, and just want to serialize that data, not data from input elements. Greetings!

[jQuery] disable buttons till .load finishes

2008-07-03 Thread Andrew Gearhart
I'm looking for a way to be able to disable a generated with the dialog extension of jquery ui until the .load function finishes filling the dialog with an ajax request. When I put in display:none/ display:block for the parent element... after the .load... it still hasn't loaded while the buttons

[jQuery] Re: Removing the html jQuery adds in effects

2008-07-03 Thread real
This is what you would want to do: $("#gallery li:first").before("testing").hide().slideDown("slow") On Jul 3, 11:51 am, pek <[EMAIL PROTECTED]> wrote: > I have a small problem when dealing with effects. Warning: Noob > question ahead. > > Currently I have a list of items > > test > test2 >

[jQuery] Re: IE7 doesn't properly download images for jQuery cycle?

2008-07-03 Thread Bruce
I use iQuery to ajax this abc.html: My text Only "My text" is loaded in to IE 7. FF loads the image so you can see it. This is my ajax code: $("#dsp1").load("abc.html"); Why IE can not do this simple thing?

[jQuery] offSetTop & offsetLeft return NULL

2008-07-03 Thread Dan
I have these functions: var e_w = jQuery("a").eq(index).width(); var e_h = jQuery("a").eq(index).height(); var e_ox = jQuery("a").eq(index).offsetLeft; var e_oy = jQuery("a").eq(index).offsetTop; the first 2 return numbers such as 50 and 100. But the last 2 each return NULL. Why are they returni

[jQuery] Re: Using ClueTip with Image Maps in IE

2008-07-03 Thread C.Everson
On Thu, 3 Jul 2008 14:12:56 -0400, Karl Swedberg wrote: > Sorry for the delay in replying. I'll try to take a look at this > tonight. Thanks Karl! BTW, another issue that I ran into with the Image Maps is that REL appears to NOT be a valid attribute of the tag. This was causing HTML validat

[jQuery] Navigate away after ajax call?

2008-07-03 Thread wsw
My code: ---in the script--- $('a').click(function() { $.get('/long_running_page'); return true; } ---on the page--- http://www.otherserver.com";>click here

[jQuery] Re: How to center text (sweet mother of mary can it be this hard?)

2008-07-03 Thread Micky Hulse
Is it just me, or did anyone else cringe at the sight of curvyCorners "generated source code"? I still think that if you use a css-only approach, the use of four gif background corner images would barely impact page load times... And the source code markup would be much less horrendous as comp

[jQuery] Navigate away after ajax call?

2008-07-03 Thread wsw
My code: ---in the script--- $('a').click(function() { $.get('/long_running_page'); return true; } ---on the page--- http://www.otherserver.com";>click here

[jQuery] Re: cant upgrade from 1.2.3 to 1.2.6

2008-07-03 Thread Jeffrey Kretz
Certainly. Darren, could you put up two pages, one using 1.2.3 and the other using 1.2.6 so the dev team has something to look at? I see that the url in the email below has been reverted to 1.2.3 and works now. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTE

[jQuery] Re: cant upgrade from 1.2.3 to 1.2.6

2008-07-03 Thread Karl Swedberg
Hi Jeffrey, It might be worth starting a new thread on the jquery-dev list for this, since it does have to do with examining the core file. Would you mind doing that? thanks! --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 3, 2008, at 12:36 PM, Jef

[jQuery] Re: Using ClueTip with Image Maps in IE

2008-07-03 Thread Karl Swedberg
Hi there, Sorry for the delay in replying. I'll try to take a look at this tonight. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 3, 2008, at 5:27 AM, C.Everson wrote: Hello, I've been working with ClueTip (GREAT plug-in!) and image maps. After

[jQuery] Re: IE7 doesn't properly download images for jQuery cycle?

2008-07-03 Thread snyvo
Really? IE7 on PC? Thanks for checking Mike. Anyone else that sees the problem?

[jQuery] New plugin: jquery.onfontresize.js

2008-07-03 Thread thomasdeater
I've just released a new plugin that exposes an "onfontresize" event on the document object. It's based heavily on a technique created (AFAIK) by Hedger Wang which you can read about here: http://www.hedgerwow.com/360/dhtml/js-onfontresize.html I made some minor tweaks and packaged it up as a s

[jQuery] Re: DELETE HTTP method

2008-07-03 Thread Richard D. Worth
From http://docs.jquery.com/Ajax/jQuery.ajax#options " The type of request to make ("POST" or "GET"), default is "GET". Note: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers. " - Richard On Thu, Jul 3, 2008 at 11:23 AM, Yosifo

[jQuery] Re: Cycle / carousel with partial images on either side?

2008-07-03 Thread Mike Alsup
> Wondering if there's an easy way to do this, either with the Cycle > plugin by Mike Alsup or a similar plugin. > > We have a set of images scrolling left to right, but is it possible to > show a little bit of the images on either side as well? ie. > > | A |      |  ALL OF B |      | C | > > So i

[jQuery] Re: strange problem with cluetip

2008-07-03 Thread Rick Pasotto
On Thu, Jul 03, 2008 at 11:42:02AM -0400, Rick Pasotto wrote: > > I am using cluetip on a section of my left menu. Each ajax call returns > a small amount of text and possibly a picture. Sometimes it's the wrong > picture. > > Is it possible that if someone moves the mouse over several menu item

[jQuery] Re: IE7 doesn't properly download images for jQuery cycle?

2008-07-03 Thread Mike Alsup
Works fine for me in IE7. On Jul 3, 12:04 pm, snyvo <[EMAIL PROTECTED]> wrote: > Could anyone please take a look at this:http://www.snyvo.com/site/item.html > > When I open this page with IE7, the window status bar states that not > all of images of the cycle are downloaded. Even if I wait a litt

[jQuery] Re: JQuery Cycle Previous / Next Question

2008-07-03 Thread Mike Alsup
See this page: http://www.malsup.com/jquery/cycle/scrollhv.html On Jul 3, 8:31 am, Ara <[EMAIL PROTECTED]> wrote: > I'm using JQuery's Cycle plugin to assemble a slide show and enable > next / previous operations.  This is all working fine, my question is > this ... Is there a way to set the pre

[jQuery] DELETE HTTP method

2008-07-03 Thread Yosifov Pavel
Can somebody show example how to send via AJAX DELETE HTTP method instead of POST, like this: $.post( '/filial/del/', {city:$.trim(city)} ); but DELETE. I tried: $.ajax( {url:'/filial/del/', type:'DELETE', data:'city='+encodeURI($.trim(city))} ); and: $.ajax( {url:'/filial/del/', dataTyp

[jQuery] Re: JQuery Cycle Previous / Next Question

2008-07-03 Thread Eric
You're looking for the fx: scrollHorz It's hidden in the list of effects: http://malsup.com/jquery/cycle/begin.html On Jul 3, 8:31 am, Ara <[EMAIL PROTECTED]> wrote: > I'm using JQuery's Cycle plugin to assemble a slide show and enable > next / previous operations.  This is all working fine, my

[jQuery] Re: Position cursor at end of textbox?

2008-07-03 Thread h3
$.extend($.fn, { selectRange: function(start, end) { // use only the first one since only one input can be focused if ($(this).get(0).createTextRange) { var range = $(this).get(0).createTextRange(); range.collapse(true);

[jQuery] Why (function($){ ...})(jQuery) instead of (function(){var $ = jQuery; ...})()?

2008-07-03 Thread jfine
The (rather long) subject line says it all. This idiom is widely used to avoid having to assume $ == jQuery and at the same time avoiding writing jQuery all the time. (function($){ ... })(jQuery) I'm wondering if instead this would work. (function(){ var $ = jQuery;

[jQuery] Removing the html jQuery adds in effects

2008-07-03 Thread pek
I have a small problem when dealing with effects. Warning: Noob question ahead. Currently I have a list of items test test2 alert($("#gallery li:first").html()) will correctly echo "test". If I want to add a new element before that with a slideDown effect, I use this line: $("#gallery li:f

[jQuery] strange problem with cluetip

2008-07-03 Thread Rick Pasotto
I am using cluetip on a section of my left menu. Each ajax call returns a small amount of text and possibly a picture. Sometimes it's the wrong picture. Is it possible that if someone moves the mouse over several menu items rather quickly such that several ajax calls are made in quick succession

[jQuery] Re: Noob question about accessing element contents

2008-07-03 Thread ml1
This forum is about using jQuery, thus I assumed that I didn't have to spell out that I indeed of course meant the best jquery way. Thank you for your answer.

[jQuery] jQuery not setting X-Requested-With XMLHttpRequest

2008-07-03 Thread Chris Bailey
I'm using jQuery 1.2.6, and I can't seem to get jQuery to set the X- Requested-With when it makes AJAX calls. I saw somewhere that this may have to do with cross-site issues if the host is specified in the URL. I've tried skirting around that by just passing a relative URL, but with no success.

[jQuery] I need

2008-07-03 Thread Angel Marquez
I need a component/widget that works as follows: 1. Collapsible/Expandable 2. When Expanded a tabbed list appears. 3. Upon mouse entry into the tab list the div content is revealed. 4. Upon mouse leave from the tab list the div content disappears. 5. Div content is a list of forms that open in a l

[jQuery] Re: Passing a variable into the $('selector') function

2008-07-03 Thread Stompfrog
msg was actually myDiv and in the end i got it to work with.. $('#'+msg) Thanks very much for your helpful reply. Cheers On Jul 2, 11:16 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote: > If msg is '#myDiv' and you have element with id="myDiv", then $(msg) will > select it. > > If you think that's

[jQuery] $("#dsp1").load(url) not working in IE7?

2008-07-03 Thread Bruce
I am testing jQuery. This simple code does not work in IE. This image link in the returned html segment is not shown in IE. Just a blank. This is the code: $("#dsp1").load("abc.html"); where abc.html has this contents: some text IE only shows "some text". Firefox shows everything correctl

[jQuery] update to 1.2.6 returns different result when retrieving onchange attribute

2008-07-03 Thread Jack
Folks, I had been using jQuery 1.2.3 and had code like this working: if ($(this).attr("onchange")) { var funcCall = new String($(this).attr("onchange")); //alert(funcCall); if (funcCall.search(/^changedDestin

[jQuery] IE7 doesn't properly download images for jQuery cycle?

2008-07-03 Thread snyvo
Could anyone please take a look at this: http://www.snyvo.com/site/item.html When I open this page with IE7, the window status bar states that not all of images of the cycle are downloaded. Even if I wait a little longer, the images don't seem to load properly - according to the status bar, that

[jQuery] Re: cant upgrade from 1.2.3 to 1.2.6

2008-07-03 Thread Jeffrey Kretz
I'm using Firefox 2 still. Firebug is exception in all areas except for the javascript debugger. But it did allow me to set breakpoints and step into (F11) the code and inspect the variables to see what was happening. Oddly enough the grep method did not change at all between 1.2.3 and 1.2.6.

[jQuery] Re: is it possible define how much color 32bit or 24bit or 16bit?

2008-07-03 Thread Michael Geary
You don't need jQuery for this. window.screen has the information you're looking for. -Mike > From: mtest > > jQuery can define browser > $(.browser.msie) > $(.browser.safari) > $(.browser.mozilla) > can define version of browser > $(.browser.version) > > But maybe be define resolution and h

[jQuery] Re: How to catch function call

2008-07-03 Thread Michael Geary
Is the iframe loaded from the same domain as the containing page, or a different domain? > From: Luiz Abrahao > > I have one page with one iframe, and there are few javascript > function on the page inside the iframe. These functions are > triggered by some flash presentations. > > Basically

[jQuery] Re: Modifying Plugins

2008-07-03 Thread Richard D. Worth
Please ask on the jQuery UI list http://groups.google.com/group/jquery-ui - Richard On Thu, Jul 3, 2008 at 9:54 AM, Scott <[EMAIL PROTECTED]> wrote: > > I'd like to modify just 1 function in a ui plugin to add an extra > ability it doesn't have but I'd rather not put my code in the ui code > fi

[jQuery] Re: Proper Memory Cleanup?

2008-07-03 Thread Scott
I wasn't asking "how to clean up" I know this already I was asking "what to clean up" On Jun 21, 5:26 am, Orkan <[EMAIL PROTECTED]> wrote: > it depends of the object (proto) type ;) > simple object could be cleaned this way: > > myObj = null; > > As far as I know, it is used to avoid memory lea

[jQuery] Modifying Plugins

2008-07-03 Thread Scott
I'd like to modify just 1 function in a ui plugin to add an extra ability it doesn't have but I'd rather not put my code in the ui code file. I've done this in other frameworks and projects by just doing something similar to this: prototype.targetobjt.method = function() {}; I'm sure everyone ge

[jQuery] Re: javascript analogue of php serialize()

2008-07-03 Thread markus.staab
http://docs.jquery.com/Ajax/serialize On 3 Jul., 14:49, Julian <[EMAIL PROTECTED]> wrote: > Hello! > I need javascript function analogue of php serialize(). > So far, use serialize function from:http://javascript.ru/php/serialize > , which not work with Internet Explorer, and opera, with Firefox

[jQuery] Re: How to pull a "#" URL value into a jquery variable?

2008-07-03 Thread Andy Matthews
Javascript has access to the location.hash property: http://www.java2s.com/Tutorial/JavaScript/0320__Location/Locationhash.htm -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of CraniumDesigns Sent: Thursday, July 03, 2008 3:57 AM To: jQuery (Engli

[jQuery] javascript analogue of php serialize()

2008-07-03 Thread Julian
Hello! I need javascript function analogue of php serialize(). So far, use serialize function from: http://javascript.ru/php/serialize , which not work with Internet Explorer, and opera, with Firefox there is no problem. I`m using this function to serialize an array data, or objects.

[jQuery] JQuery Cycle Previous / Next Question

2008-07-03 Thread Ara
I'm using JQuery's Cycle plugin to assemble a slide show and enable next / previous operations. This is all working fine, my question is this ... Is there a way to set the previous and next transition effect differently from the slide shows main transition effect? Currently my slide show slides

[jQuery] Cycle / carousel with partial images on either side?

2008-07-03 Thread Michael Price
Hi all, Wondering if there's an easy way to do this, either with the Cycle plugin by Mike Alsup or a similar plugin. We have a set of images scrolling left to right, but is it possible to show a little bit of the images on either side as well? ie. | A | | ALL OF B | | C | So in

[jQuery] Re: JQuery 1.2.6 and JQuery Form Plugin in IE7

2008-07-03 Thread Mike Alsup
I think if you avoid using poorly named form inputs, like 'action' and 'method', then you'll be fine. I'll look into why those are causing a problem in 1.2.6. Mike On Jul 3, 2:34 am, Drager <[EMAIL PROTECTED]> wrote: > I haven't a public link to post, but I'm trying with the sample i was > fou

[jQuery] Validate + Captcha + Remote

2008-07-03 Thread Marco
Hi, I use captcha to prevent spam in this way (token is a random string needed to validate user input field) var token = 'somerandomstring'; $(".myform").validate({ rules: { captcha: { required: true,

[jQuery] Re: jQuery mouseover don't work(others do)

2008-07-03 Thread Skeadr
Ok something new, not that somebody thinks I don't work on this:P It doesn't work with FF, but with the IE there are no Problems.

[jQuery] Re: contradictory between jquery and pure javascript

2008-07-03 Thread andrea varnier
On 3 Lug, 11:11, yazid <[EMAIL PROTECTED]> wrote: > such a contradictory problems appear frequently, solution please. maybe http://docs.jquery.com/Core/jQuery.noConflict :)

[jQuery] Re: Element's inner/children

2008-07-03 Thread Richard D. Worth
Sounds like you're really close. How about $("#prev-msgs").append('' + $("#new-msgs").html() + '') - Richard On Wed, Jul 2, 2008 at 11:02 AM, noon <[EMAIL PROTECTED]> wrote: > > I have the following HTML structure: > > >... >... > > > I have the following code: > > $('#new-msg

[jQuery] How to catch function call

2008-07-03 Thread Luiz Abrahao
Hello, I have one page with one iframe, and there are few javascript function on the page inside the iframe. These functions are triggered by some flash presentations. Basically the parent page has to 'know' when the user has requested the next page (inside the iframe) and update its content wit

[jQuery] jQuery mouseover don't work(others do)

2008-07-03 Thread Skeadr
Ok, here is my problem i have these to code "Snippets". The one on the Bottom works as intended, the top one instead doesn't work. as you'll see, say are nearly the same, except for the id. I don't get the difference, why the one works and the other not Hope somebody can help:) PROBLEM CODE

[jQuery] Help with livequery logic

2008-07-03 Thread Eric Snyder
I am trying livequery to solve this problem. I have a youth mentoring site that has profiles. They want to filter the profiles. I have a div that I use to stuff the filtered data into (#FilteredProfiles). The filtered data has pagination links at the bottom that I do not have control over. I wa

[jQuery] contradictory between jquery and pure javascript

2008-07-03 Thread yazid
Hi all, my site is jquery based but i used a javascript code in a separate file to create a marquee, my problem now is that they don't work together, if i called only the jquery, it works, and if i called only my own javascript file it works, but calling the both together, only the last one called

[jQuery] Re: Moving mouse fast causes mouseout not to fire

2008-07-03 Thread Shaun
Awesome! You're the man, Karl - thanks. FWIW I was able to use your same technique by using .addClass( 'Layer-11-12-wrapper') on both 11 and 12 instead of adding the div to the HTML section and get the same performance. And thank you too for the suggestion on correct use of the images as backgr

[jQuery] How to pull a "#" URL value into a jquery variable?

2008-07-03 Thread CraniumDesigns
Hey People, I am building a FAQ that sits in an accordion structure. Everything is closed when you first open the page, but we want the ability to link directly to a specific question, so if someone inputs "www.mydomain.com/faq#question35" into the address bar, jQuery can pull the value of "ques

  1   2   >