[jQuery] Re: Jquery at Sears

2009-08-31 Thread Jonathan Vanherpe (T & T NV)


Erik Reppen wrote:

I should specify. It's not the little guy in the upper left although
it might be worth plugging it into that. It's all the silly ones down
below.

On Aug 31, 11:58 pm, Erik Reppen  wrote:

What do you guys think of "my precious." I'm not sure how many other
elastic carousels there are out there, but I'm pretty proud of the
auto-margin action. Please don't judge us (the FEDs at Sears) on the
HTML. We don't actually have full control of the front end. It can
scroll full pages but doesn't for other reasons that relate to not
having full control of the front end among other things. I really
liked the whole options hash thing from JQ in action so it's actually
got a few options like switching to vertical for the carousel in our
shopping whose item height is currently misaligned for other reasons
that relate to not having full control of the front end. ;)

Anyway I'm contemplating making a more generic and diversely featured
one eventually and hope to start contributing when I have time.

http://www.sears.com/shc/s/p_10153_12605_05775819000P?mv=rr


aww, you guys fixed the bug where you could change the breadcrumbs 
displayed on the site just by changing the GET params. Too bad, that was 
a fun feature ;).


The carousel seems to work pretty well, I'm sure it would be welcome if 
you turned it into a plugin and uploaded it somewhere.


Jonathan
--
Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be


[jQuery] Re: Https mixed content error with ajax

2009-08-31 Thread Jonathan Vanherpe (T & T NV)


Watch the 'net' tab in Firebug, make sure everything that pops up there 
is https:// . If everything /is/ https:// , post the url here (either of 
your site or just a limited test case).


Jonathan

UglySkinnyGuy wrote:

Yes thats all fine. Like I said it only occures when I make an ajax
call out and then inject the returned html into the DOM.

On Aug 31, 3:44 pm, James  wrote:

Is the include script to the jQuery library also HTTPs? All external
content (CSS, Scripts, Images) has to be over HTTPs to not create the
mixed content error.

On Aug 31, 5:10 am, UglySkinnyGuy  wrote:




Have a wierd issue. It seems that if I use jquery in https and do an
ajax call out and then update the dom with the resulting html I get an
HTTPS unsecure content warning. Now the content is all https and there
are not http calls any where so I'm wondering if this has been seen
before. I've dug very deep looking for the issus and if I take jquery
out of the equation it doesn't give me an error. But I've standardized
jquery as part of the site and don't want to mix straight old
javascript with jquery, if I can avoid it.
So any help would be useful.- Hide quoted text -

- Show quoted text -





--
Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be


[jQuery] Re: $.ajax() issue

2009-08-31 Thread g...@iec

Hi,
I installed fiddler and analyised the traffic but i am not able to
find the result.
So, can you help me out to find whats going wrong?

On Aug 29, 7:13 pm, MorningZ  wrote:
> I do not understand
>
> did you not ask in the original post:
>
> "So i need help to figure out whether this is client-side or server-
> sideissue"
>
> Using Fiddler will tell you if it's a client side or server sideissue 
> because it will show you EXACTLY what the browser is trying
> to do  something littering your code with "alert"-s is not going
> to accomplish...
>
> Whatever i suppose good luck solving yourissuehow you see fit
>
> On Aug 29, 10:01 am, "g...@iec"  wrote:
>
> > Is there any other way to find out the root cause apart from these.
>
> > On Aug 29, 6:55 pm, MorningZ  wrote:
>
> > > Have you tried an HTTP monitor like Fiddler (http://www.getfiddler.com) 
> > > to see what is going on when the $.ajaxrequest
> > > starts?
>
> > > That will help diagnose for sure
>
> > > On Aug 29, 9:46 am, "g...@iec"  wrote:
>
> > > > Hi all,
>
> > > > I have anissue.
> > > > I am submitting XML data usingajaxcall which updates data on server.
> > > > It works fine in firefox but gave 404 error in IE.
> > > > Theajaxcall which i am using is mentioned below :
>
> > > > var url = '/' + serviceContext + '/services/content/update/' +
> > > > structid;
> > > >                 alert(nodeData);
> > > >                 $.ajax({
> > > >                         url: url,
> > > >                         type: 'POST',
> > > >                         data: nodeData,
> > > >                         contentType: 'application/xml;charset= UTF-8',
> > > >                         cache: false,
> > > >                         processData: false,
> > > >                         dataType: 'xml',
> > > >                         success: function(){
> > > >                                 changeCounter = 0;
> > > >                                 $('#messages').text('Changes to 
> > > > metadata updated successfully.');
> > > >                                 return false;
> > > >                         },
> > > >                         error: function(xhr, textStatus, errorThrown) {
> > > >                                 $('#messages').text('Error! HTTP Error 
> > > > code ' +
> > > > xhr.status).addClass('warning');
> > > >                                 return false;
> > > >                         }
> > > >                 });
>
> > > > Here nodeData is a xml which i am sending to server.
> > > > So i need help to figure out whether this is client-side or server-
> > > > sideissue.
> > > > This call works fine in firefox and updates data on server but in ie
> > > > it gave 404 error (and response from server says : ' Could not find
> > > > resource at "'/' + serviceContext + '/services/content/update/' +
> > > > structid" link. ')
>
> > > > Thanks to all in advance for providing suggestions.


[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-08-31 Thread Steffan A. Cline

on 8/31/09 5:27 PM, Eric Martin at emarti...@gmail.com wrote:

> 
> If you are referring to the known issues I mentioned - since they are
> browser issues, 
Eric, thanks for the response. What issues did you mention that I missed?

> you'd need to implement something that woul keep track
> of state in those browsers.

What code have you used for this? Just copy all values into an array on
close and reset on open?

> 
> On Aug 31, 6:45 am, "Steffan A. Cline"  wrote:
>> on8/30/09 12:48 PM, Steffan Cline at stef...@hldns.com wrote:
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> I have tried both of these modal solutions, beautiful by the way, and found
>>> a small problem with both of them and am wondering if there is a work
>>> around.
>> 
>>> I have a form where there are a bunch of check boxes that I have enclosed in
>>> a div that I am using for my popup modal. Now the thing is that while the
>>> modal is up and I check a bunch of boxes and then close the modal, reopen
>>> again, all checkboxes have been reset rather than retaining their state. Is
>>> there a way to circumvent this behavior?
>> 
>>> So, if I click checkbox #1 and close the modal and then reopen the modal,
>>> checkbox #1 is no longer checked. I need it to maintain it's state.
>> 
>>> Any suggestions?
>> 
>>> Thanks
>> 
>>> Steffan
>> 
>> I tried a couple other modal type plugins and seem to have the same issues.
>> Has anyone seen this before? Is there a work around?
>> 
>> Thanks
>> 
>> Steffan
>> 


Thanks

Steffan

---
T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
Steffan A. Cline  
stef...@execuchoice.net Phoenix, Az
http://www.ExecuChoice.net  USA
AIM : SteffanC  ICQ : 57234309
YAHOO : Steffan_Cline   MSN : stef...@hldns.com
GOOGLE: Steffan.Cline Lasso Partner Alliance Member
---





[jQuery] save to pdf

2009-08-31 Thread David .Wu

Is there any plugin can let me save the part of pag as pdf?


[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-08-31 Thread Alan

On Aug 31, 6:06 pm, Mike Alsup  wrote:
> > Is there a way to bypass the standard method and use JavaScript to
> > activate the ajaxForm function?
>
> Yeah, just call ajaxForm after you've injected your form into the DOM.

Thank you for the reply. I tried calling it but I must be using the
wrong syntax. How should I be calling it?

Thanks.


[jQuery] Re: code not working

2009-08-31 Thread Michael Geary

Hmm... That probably sounded more critical than I meant it. I'm sorry, I
didn't mean to chase you away! Everyone gets a free pass the first time. :-)

So take a look at the rest of my previous message and see if there are any
useful tips there, then fire away with any other questions...

-Mike

> From: Michael Geary
> 
> My goodness, please do not paste an entire copy of jquery.js 
> in a message to this group. Your 120KB message was emailed to 
> 20,000 people! All we need is the version number...
> 
> > From: ando
> > 
> > this code is not working and I don't know the reasons for that I 
> > loaded the file jquery.js that I used



[jQuery] Re: (Validate) Individual form field failure and success events?

2009-08-31 Thread ryexley

Quick follow up thoughtshould I be using highlight and unhighlight
instead?

On Aug 31, 8:38 pm, ryexley  wrote:
> I'm trying to figure out how to integrate jQuery Validation plugin
> with the qTip plugin [0] to show custom error message displays. I've
> had partial success with the following code:
>
> $("#RegistrationForm").validate(
> {
>         errorElement: "span",
>         errorPlacement: function(error, element)
>         {
>                 element.qtip(
>                 {
>                         content: error,
>                         ready: true,
>                         show: { ready: true, effect: { type: 'fade', length: 
> 500 } },
>                         hide: { when: { event: 'inactive' }, effect: { type: 
> 'fade',
> length: 500 } },
>                         position: { corner: { target: 'rightMiddle', tooltip:
> 'leftMiddle' } },
>                         style: { name: 'red', tip: { corner: 'leftMiddle' }, 
> border:
> { radius: 5 } }
>                 });
>         },
>         rules:
>         { ... },
>         messages:
>         { ... }
>
> }
>
> At this point, that successfully displays the validation failure
> message in a qTip tooltip when it occurs, but there are two problems
> with it:
>
> 1) The error tooltip toggles between visible and invisible onmouseover
> and onmouseout. I'm sure this isn't really an issue with the
> Validation plugin, but rather something I need to figure out with the
> tooltip plugin. But, my bigger problem is...
> 2) Even when the invalid condition is fixed (valid data is later
> entered into the field), the error tooltip remains attached to the
> field that was previously invalid, even after the field is valid, and
> continues to toggle between visible and invisible onmouseover and
> onmouseout. I'm fairly certain that this is because I've not yet
> destroyed the tooltip object, but, I can't seem to figure out a way to
> intercept the "valid" or "success" event with a reference to the
> element so that I *can* destroy the attached tooltip object.
>
> So, what would be helpful to me is either, if someone has had any
> experience with combining qTip with Validation, or, if I'm missing
> something in the docs (I've not been able to find anything like this
> yet) about how to handle/override event handlers for individual form
> element invalidation/success. I *did* try attaching a function to the
> "success" attribute of the validate function, but that seems to only
> give me a reference to the success label, and not the element that its
> attached to.
>
> Any guidance that anyone might be able to provide would be greatly
> appreciated. Thanks.
>
> [0]:http://craigsworks.com/projects/qtip


[jQuery] Re: Jquery at Sears

2009-08-31 Thread Erik Reppen

I should specify. It's not the little guy in the upper left although
it might be worth plugging it into that. It's all the silly ones down
below.

On Aug 31, 11:58 pm, Erik Reppen  wrote:
> What do you guys think of "my precious." I'm not sure how many other
> elastic carousels there are out there, but I'm pretty proud of the
> auto-margin action. Please don't judge us (the FEDs at Sears) on the
> HTML. We don't actually have full control of the front end. It can
> scroll full pages but doesn't for other reasons that relate to not
> having full control of the front end among other things. I really
> liked the whole options hash thing from JQ in action so it's actually
> got a few options like switching to vertical for the carousel in our
> shopping whose item height is currently misaligned for other reasons
> that relate to not having full control of the front end. ;)
>
> Anyway I'm contemplating making a more generic and diversely featured
> one eventually and hope to start contributing when I have time.
>
> http://www.sears.com/shc/s/p_10153_12605_05775819000P?mv=rr


[jQuery] Jquery at Sears

2009-08-31 Thread Erik Reppen

What do you guys think of "my precious." I'm not sure how many other
elastic carousels there are out there, but I'm pretty proud of the
auto-margin action. Please don't judge us (the FEDs at Sears) on the
HTML. We don't actually have full control of the front end. It can
scroll full pages but doesn't for other reasons that relate to not
having full control of the front end among other things. I really
liked the whole options hash thing from JQ in action so it's actually
got a few options like switching to vertical for the carousel in our
shopping whose item height is currently misaligned for other reasons
that relate to not having full control of the front end. ;)

Anyway I'm contemplating making a more generic and diversely featured
one eventually and hope to start contributing when I have time.

http://www.sears.com/shc/s/p_10153_12605_05775819000P?mv=rr


[jQuery] Re: Clearing a textarea doesn't work in IE6 using val("");

2009-08-31 Thread aquaone
why not use .text('') ?

aquaone


On Mon, Aug 31, 2009 at 17:54, reach4thelasers
wrote:

>
> I've just tested it using IETester from
> http://www.my-debugbar.com/wiki/IETester/HomePage
> and it does work.
>
> However using the Xenobank IE6 browser from
> http://www.xenocode.com/Browsers/
> it doesn't work, throwing the afforementioned error.
>
> Anyone know whether it works in an actual version of IE6?


[jQuery] More detailed blow by blow on the source code?

2009-08-31 Thread Erik Reppen

I consider myself fairly adept at JS but some of these optimization
steps are over my head. Has anyone ever seen a more detailed
commentary on the source code?


[jQuery] Re: Select Span with Span Parent

2009-08-31 Thread Jules

Is this what you are after?

$("span span")

On Sep 1, 12:14 pm, a1anm  wrote:
> Hi,
>
> How would I select all spans which have a span as a parent?
>
> Thanks!


[jQuery] Re: Select Span with Span Parent

2009-08-31 Thread cherry.aus...@gmail.com

$( 'span span' )

:)

On Sep 1, 3:14 am, a1anm  wrote:
> Hi,
>
> How would I select all spans which have a span as a parent?
>
> Thanks!


[jQuery] couple of Cycle questions

2009-08-31 Thread cherry.aus...@gmail.com

I'm using Mike Alsup's Cycle plugin (as usual!) and have a couple of
annoying glitches you might be able to advise on?

Firstly, the images are different sizes and I'd really like to be able
to centre them in the container div. Can't do it with CSS, so I'm
guessing Cycle calculates positions from the top-left. Can this be
overcome?

2nd question: I'm getting an error:  "Warning: Unknown pseudo-class or
pseudo-element 'eq'."
I'm blowed if I know why, as I thought I'd copied Mike's code!

Dev. page is here: http://client-3.co.uk

cheers,
Cherry




[jQuery] Select Span with Span Parent

2009-08-31 Thread a1anm

Hi,

How would I select all spans which have a span as a parent?

Thanks!


[jQuery] Re: Clearing a textarea in IE6 - Val() doesn't work!!

2009-08-31 Thread James

I haven't tested it, but how about:
$("textarea").text("");

On Aug 31, 2:47 pm, reach4thelasers 
wrote:
> $("textarea").val("");
>
> Throws an error in IE6:  "Could not set the value property.
> Unspecified Error"
> But it works fine in all other browsers.
>
> Can anyone tell me another way of clearing a textarea that works in
> all browsers?


[jQuery] How can I display an image on callback?

2009-08-31 Thread Miket3

I know of 2 ways to display an image from a callback:
1. Reference a filename.png and replace the img src attribute. (but, I
dont want to create files).
2. Set the src attribute to a URL that displays the image. (good for a
GET but not for a POST)


But I think I need a third to solve my issue. My form posts data to
PROCESS.PHP.  Which returns header("Content-type: image/png");
imgpng(image source);

Is there another way to display an image from my callback without
using the 2 methods already mentioned?


Thanks,
Mike


[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-08-31 Thread Mike Alsup


> Is there a way to bypass the standard method and use JavaScript to
> activate the ajaxForm function?

Yeah, just call ajaxForm after you've injected your form into the DOM.


[jQuery] (Validate) Individual form field failure and success events?

2009-08-31 Thread ryexley

I'm trying to figure out how to integrate jQuery Validation plugin
with the qTip plugin [0] to show custom error message displays. I've
had partial success with the following code:

$("#RegistrationForm").validate(
{
errorElement: "span",
errorPlacement: function(error, element)
{
element.qtip(
{
content: error,
ready: true,
show: { ready: true, effect: { type: 'fade', length: 
500 } },
hide: { when: { event: 'inactive' }, effect: { type: 
'fade',
length: 500 } },
position: { corner: { target: 'rightMiddle', tooltip:
'leftMiddle' } },
style: { name: 'red', tip: { corner: 'leftMiddle' }, 
border:
{ radius: 5 } }
});
},
rules:
{ ... },
messages:
{ ... }
}

At this point, that successfully displays the validation failure
message in a qTip tooltip when it occurs, but there are two problems
with it:

1) The error tooltip toggles between visible and invisible onmouseover
and onmouseout. I'm sure this isn't really an issue with the
Validation plugin, but rather something I need to figure out with the
tooltip plugin. But, my bigger problem is...
2) Even when the invalid condition is fixed (valid data is later
entered into the field), the error tooltip remains attached to the
field that was previously invalid, even after the field is valid, and
continues to toggle between visible and invisible onmouseover and
onmouseout. I'm fairly certain that this is because I've not yet
destroyed the tooltip object, but, I can't seem to figure out a way to
intercept the "valid" or "success" event with a reference to the
element so that I *can* destroy the attached tooltip object.

So, what would be helpful to me is either, if someone has had any
experience with combining qTip with Validation, or, if I'm missing
something in the docs (I've not been able to find anything like this
yet) about how to handle/override event handlers for individual form
element invalidation/success. I *did* try attaching a function to the
"success" attribute of the validate function, but that seems to only
give me a reference to the success label, and not the element that its
attached to.

Any guidance that anyone might be able to provide would be greatly
appreciated. Thanks.


[0]: http://craigsworks.com/projects/qtip


[jQuery] Re: Clearing a textarea doesn't work in IE6 using val("");

2009-08-31 Thread reach4thelasers

I've just tested it using IETester from 
http://www.my-debugbar.com/wiki/IETester/HomePage
and it does work.

However using the Xenobank IE6 browser from http://www.xenocode.com/Browsers/
it doesn't work, throwing the afforementioned error.

Anyone know whether it works in an actual version of IE6?


[jQuery] Re: jqueryui and nested tabs doesn't work

2009-08-31 Thread Massimiliano Marini

Any hint?

-- 
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it."  -- Alan Kay


[jQuery] Clearing a textarea doesn't work in IE6 using val("");

2009-08-31 Thread reach4thelasers

$("textarea").val("");

Throws an error in IE6:
"Could not set the value property. Unspecified Error"
But it works fine in all other browsers.

Can anyone tell me another way of clearing a textarea that works in
all browsers?
I'm using JQuery 1.3.2

You have no idea how much I hate IE6 right now!


[jQuery] Clearing a textarea in IE6 - Val() doesn't work!!

2009-08-31 Thread reach4thelasers

$("textarea").val("");

Throws an error in IE6:  "Could not set the value property.
Unspecified Error"
But it works fine in all other browsers.

Can anyone tell me another way of clearing a textarea that works in
all browsers?



[jQuery] Clearing a textarea in IE6 - Val() doesn't work!!

2009-08-31 Thread reach4thelasers

$("textarea").val("");

Throws an error in IE6:  "Could not set the value property.
Unspecified Error"
But it works fine in all other browsers.

Can anyone tell me another way of clearing a textarea that works in
all browsers?



[jQuery] Re: jQuery & Adobe Air: onclick event not working

2009-08-31 Thread Daniel Bachhuber

I have this same issue too. Did you ever find a resolution? I've
started a thread on Stack Overflow as well:

http://stackoverflow.com/questions/1359713/using-jquery-the-onclick-event-and-adobe-air

On Jul 23, 11:24 am, DPeters65  wrote:
> I am stumped... have been banging my head for days on this one...
> I am pulling in XML, parsing it, then dynamically writing blocks
> (append) of code as I loop through the XML... all via jQuery. Within
> each of these code blocks, which btw are displaying properly, there is
> an onclick event (openInBrowser(url)) applied to text in order to open
> an external URL in the browser, outside of the Air app. However, this
> onclick event never gets executed when it is clicked. Anyone know why
> this would occur?
>
> From what I can tell it is related to the functions in jQuery such as
> this: $(data).find("item").each(function() {... I tested another page
> where I appended a test block of code within a $('elementId').click
> (function(){... and the same result... nothing happens. If I pull the
> code outside of the jQuery function it works just fine.
>
> Here is my code:
> ...
>         
>     
>     
>         
>         
>         
>         $(document).ready(function(){
>                 // make sure the application is visible
>                 nativeWindow.visible = true;
>                 var content = readLocalFile();
>                 if (content == '')
>                 {
>                     alert('Please set your email address registered
> with NowInStock.net under the options tab.');
>                     $('#alertsMain').hide();
>                     var noalerts = 'message to user...';
>                     $('#alertsMain').append(noalerts);
>                     $('#optionsMain').show();
>                 }else {
>                     //alert(content);
>                     email = content;
>                     $('#emailAddress').val(email);
>                         // Get product info from server
>                         var vurl = 
> "http://www.domian.com/XML.php?emailAddress="+email;
>                         $.get(vurl, function (data, textStatus) {
>                                  $(data).find("item").each(function() {
>                                      pid = $(this).attr("pid");
>                                      url = $(this).attr("url");
>                                      model_name = $(this).attr("model_name");
>                                      store_name = $(this).attr("store_name");
>                                      product_name = 
> $(this).attr("product_name");
>                                      myurl = "openInBrowser('"+url+"');";
>                                      var block = '
class="item">
  • id="itemTitle'+pid+'" class="itemTitle">'+model_name+'
    '+store_name+' : > '+product_name+'
  • class="itemAvail">Checking...
  • '; >                                      air.trace(block); >                                      $('#alertsMain').append(block); >                                 }); >                         }); >                    } >                 }); >         >     > >

    [jQuery] Making the cookie plugin work with the colorpicker plugin

    2009-08-31 Thread Travis
    
    Hey guys,
    I'm trying to take the hex value chosen from a jQuery colorpicker
    plugin, and store it as a cookie using the jQuery cookie plugin.
    
    I just don't know the appropriate way to tie the two together.
    
    Here's my colorpicker function:
    
    $('#colorSelector').ColorPicker({
    color: '#ff',
    onShow: function (colpkr) {
    $(colpkr).fadeIn(500);
    return false;
    },
    onHide: function (colpkr) {
    $(colpkr).fadeOut(500);
    return false;
    },
    onChange: function (hsb, hex, rgb) {
    $('#colorSelector div, .preview-image, .cover ').css
    ('backgroundColor', '#' + hex);
    $('body').css('backgroundColor', '#' + hex);
    $.cookie('bgColor', 'picker');
    return false;
    }
    });
    
    And here's my cookie function as is:
    
    var bgColor = $.cookie('bgColor');
    
    if (bgColor == 'picker') {
    $('#colorSelector div, .preview-image, .cover ').css
    ('backgroundColor', '#' + hex);
    };
    
    I can set and store the cookie value as a standard css background-
    color, but can't figure out how to pull the "'backgroundColor', '#' +
    hex" value into the cookie function.
    
    Thanks in advance.
    
    

    [jQuery] using ajaxForm for forms created -after- the document loads

    2009-08-31 Thread Alan
    
    The Ajax form function works perfectly for me. It's a great piece of
    software.
    
    Typically, I create my form and place the following into the 
    section of my document
    
    
    $(document).ready(function() {
    $('#myform').ajaxForm(function() {
    alert("Got it.");
    });
    });
    
    
    I have a case for which I'd like to dynamically insert a form into a
    div's innerHTML using JavaScript. Because the form does not exist when
    the ready function executes (i.e., when the document is loaded), Ajax
    doesn't intercept the submit action.
    
    Is there a way to bypass the standard method and use JavaScript to
    activate the ajaxForm function?
    
    Thanks... alan
    
    

    [jQuery] Newbie: Cannot get .text() to work with IE7

    2009-08-31 Thread Knight, Doug
    All,
    I'm new to jQuery, but not JavaScript. I have the following really simple html 
    file with jQuery-based JavaScript to open, read and display part of an xml 
    file. It works fine on FF 3.5.2, but does not work on IE7. Am I missing 
    something really simple to make jQuery work on IE7? Any help would be great, 
    thanks!
    
    Doug Knight
    
    Here's the html/JavaScript:
    
    
    
    Read XML
    
    
    jQuery(function(){
    //$(document).ready(function(){
    
    
    jQuery.get("test.xml",{},function(xml){
    
    //$.get("test.xml",{},function(xml){
    
    DBArea = '';
    // This 
    displays the values from the XML file
    DBArea += "xml 
    = :" + xml + ":\n";
    // I get blanks 
    here
    DBArea += 
    "$(xml).text() = :" + $(xml).text() + ":\n";
    // The 
    following gives [Object Object]
    ph_sites = 
    $(xml).find('product_header_sites');
    DBArea += 
    "ph_sites = :" + ph_sites + ":\n";
    // And the 
    following gives blanks too
    ph_sites = 
    $(xml).find('product_header_sites').text();
    DBArea += 
    "ph_sites = :" + ph_sites + ":\n";
    
    // Update the 
    DIV called Content Area with the HTML string
    
    $("#DebugArea").append("
    " + DBArea + "
    "); }); }); And here's the XML file: 255 191 332 2 0 F90

    [jQuery] jQuery accordion menus flickering in IE 6 and 7

    2009-08-31 Thread Moose1
    
    I've seen several threads about this online but haven't not seen a
    solution that has worked so far. My accordions work great, but in IE 6
    or 7, when the animation is done, the entire contents of that div
    flicker for a split second. Is there a solution to this?
    
    My page is here: http://www.keene.edu/grants/internal_test1.cfm
    
    Thanks so much for any help on this.
    
    

    [jQuery] Re: JqModal / simpleModal - maintaining form state

    2009-08-31 Thread Eric Martin
    
    If you are referring to the known issues I mentioned - since they are
    browser issues, you'd need to implement something that woul keep track
    of state in those browsers.
    
    On Aug 31, 6:45 am, "Steffan A. Cline"  wrote:
    > on8/30/09 12:48 PM, Steffan Cline at stef...@hldns.com wrote:
    >
    >
    >
    >
    >
    >
    >
    > > I have tried both of these modal solutions, beautiful by the way, and found
    > > a small problem with both of them and am wondering if there is a work
    > > around.
    >
    > > I have a form where there are a bunch of check boxes that I have enclosed in
    > > a div that I am using for my popup modal. Now the thing is that while the
    > > modal is up and I check a bunch of boxes and then close the modal, reopen
    > > again, all checkboxes have been reset rather than retaining their state. Is
    > > there a way to circumvent this behavior?
    >
    > > So, if I click checkbox #1 and close the modal and then reopen the modal,
    > > checkbox #1 is no longer checked. I need it to maintain it's state.
    >
    > > Any suggestions?
    >
    > > Thanks
    >
    > > Steffan
    >
    > I tried a couple other modal type plugins and seem to have the same issues.
    > Has anyone seen this before? Is there a work around?
    >
    > Thanks
    >
    > Steffan
    >
    > ---
    > T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
    > Steffan A. Cline  
    > stef...@execuchoice.net                             Phoenix, 
    > Azhttp://www.ExecuChoice.net                                 USA
    > AIM : SteffanC          ICQ : 57234309
    > YAHOO : Steffan_Cline   MSN : stef...@hldns.com
    > GOOGLE: Steffan.Cline             Lasso Partner Alliance Member
    > ---
    
    

    [jQuery] jquery.validate.js error message will not clear when radio button in CakePHP is selected

    2009-08-31 Thread cdvrooman
    
    Hello,
    
      I have this form: http://www.ucasal.net/sistema/encuestas/docentes/2009
    which is created using CakePHP v1.2.
    
      When submitting the empty form, the first radio buttons give you an
    error message; however, when you select one, the error message won't
    clear.
    
      I have a suspicion that the way that CakePHP is maintaining the
    state of the radio button with a hidden input which appears first and
    has the same name as the other radio elements is the culprit.
    
      If I click in the first textarea the associated error message
    clears, so I know that things are being loaded properly.
    
      I have tried using:  focusCleanup: true as well as ignore:
    ':hidden'   without success.
    
      Any help would be welcome.
    
    Sincerely,
      Christopher Vrooman
    
    

    [jQuery] Re: Display Form Help by Jquery - Help Needed

    2009-08-31 Thread James
    
    This group is for jQuery-related questions. Do you want to achieve
    this using jQuery?
    
    That is not recommended, by the way. You can achieve this using tables
    (with ), or using 's and settings styles to
    "float: right".
    
    On Aug 30, 3:47 am, SJRANJAN  wrote:
    > i want to build a page like ...
    >
    > http://www.shaadi.com/registration/user/index.php
    >
    > there when u go to each and every field it shows help in the right
    > side 
    >
    > i want to know how to create like this ...
    >
    > any one have idea about this 
    
    

    [jQuery] Re: how to disaply all options onFocus?

    2009-08-31 Thread James
    
    What are you talking about? A jQuery plug-in?
    
    On Aug 31, 5:16 am, donal  wrote:
    > Setting the min to 0 will dispaly all the optins if the user clicks
    > the field a 2nd time.  However, i'd like the options to display once
    > the input has focus, or using a button.  How can I do that?
    >
    > thanks
    
    

    [jQuery] Re: listnav functionality applied to tables -- is this possible?

    2009-08-31 Thread wshawn
    
    I like the concept.  The intended use at the moment would not require
    that much user interaction.  The listnav would be perfect.  I will see
    what route you came up with and see what I can do with it, as you have
    already worked it in with tablesorter.
    
    Thank you.
    
    
    On Aug 31, 2:41 pm, aquaone  wrote:
    > like this?http://bluemoon.reverse.net/~aquaone/tablefilter/
    >
    > feel free to grab it. not sure when i'll have the time to finalize it but
    > it's quite full-featured at present.
    >
    > aquaone
    >
    >
    >
    > On Mon, Aug 31, 2009 at 09:07, wshawn  wrote:
    >
    > > I am curious if the devs would be interested in making this same
    > > functionality work with tables.
    >
    > > I would be interested in seeing similar functionality available via
    > > listnav for the first td of a tr.
    >
    > > Essentially, grabbing the first character, as a reference for
    > > filtering only that later from the nav bar. as you are currently doing
    > > for ul/ol and li tags.
    >
    > > I have already accomplished this via ajax, but I believe using the
    > > concepts in this listnav would reduce overall server load.
    >
    > > I am currently using tablesorter to handle a php/ mysql return.  I
    > > would like to see your plugin filter what table sorter is having to
    > > deal with.
    >
    > > Any ideas if this is indeed something you would be interested in
    > > working on?
    
    

    [jQuery] Re: listnav functionality applied to tables -- is this possible?

    2009-08-31 Thread wshawn
    
    Thanks for the consideration...   Because you are using $this alot I
    believe it is doable.  I am just getting back into javascript, or I
    would jump on it.
    
    On Aug 31, 12:46 pm, Jack Killpatrick  wrote:
    > I'll chew on that idea for a while. If I think I can pull that off
    > without much surgery to the plugin, I'll add it, otherwise probably not.
    > This is the first time someone has requested that.
    >
    > Thanks,
    > Jack
    >
    >
    >
    > wshawn wrote:
    > > I am curious if the devs would be interested in making this same
    > > functionality work with tables.
    >
    > > I would be interested in seeing similar functionality available via
    > > listnav for the first td of a tr.
    >
    > > Essentially, grabbing the first character, as a reference for
    > > filtering only that later from the nav bar. as you are currently doing
    > > for ul/ol and li tags.
    >
    > > I have already accomplished this via ajax, but I believe using the
    > > concepts in this listnav would reduce overall server load.
    >
    > > I am currently using tablesorter to handle a php/ mysql return.  I
    > > would like to see your plugin filter what table sorter is having to
    > > deal with.
    >
    > > Any ideas if this is indeed something you would be interested in
    > > working on?
    
    

    [jQuery] Re: jQuery select where attribute ID less than

    2009-08-31 Thread Michael Geary
    
    Can you give us a hint what your DOM elements look like? For example, are
    these ID attributes in ascending order in the DOM? That would allow you to
    use a very fast binary search. If they are in an undetermined order then
    you're pretty much stuck with looping through them - but with thousands of
    them I would use a for loop rather than .each().
    
    Or as Josh suggested, do something on the server. But it's hard to make any
    recommendations without knowing more about what you're doing.
    
    -Mike
    
    > From: Namir
    > 
    > Still how would I do it with an each? I'd still need to 
    > select all the ones with an attribute of less than x, and it 
    > would be stupid to loop it from 1 to whatever as x can reach 
    > thousands. Do you have any other suggestions as to how I 
    > could do this?
    > 
    > On Aug 31, 9:58 pm, aquaone  wrote:
    > > id will be a string. AFAIK there's no built-in to parse it 
    > as a number 
    > > and compare. you'd either have to .each() it or find 
    > another means of 
    > > accomplishing what you are trying to do.
    > >
    > > aquaone
    > >
    > >
    > >
    > > On Mon, Aug 31, 2009 at 13:50, Namir  wrote:
    > >
    > > > How can I do a less than in a select e.g. something like 
    > > > $.("span.class [id<"+ a_custom_variable +"]") when I 
    > tried that it 
    > > > just selected all span of class with an ID attribute rather than 
    > > > where ID attribute is less than
    > 
    
    
    

    [jQuery] Re: jQuery select where attribute ID less than

    2009-08-31 Thread aquaone
    indeed. there's gotta be a better solution than this.
    if you can't control it and insist on using this method,
    $(span.class).each(function(){if($(this).attr('id')wrote:
    
    >
    > Any chance of doing what you need to do on the server, rather than the
    > client?
    >
    > Are you stuck with the naming convention you're using, or can you name the
    > spans a little differently or give them different class names to allow for
    > better selection criteria?
    >
    > Given your current situation you'd have to loop through each span as
    > Aquaone
    > said, but I bet you might be able to think of a different way to approach
    > the problem.
    >
    > -- Josh
    >
    >
    >
    > -Original Message-
    > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
    > Behalf Of Namir
    > Sent: Monday, August 31, 2009 2:33 PM
    > To: jQuery (English)
    > Subject: [jQuery] Re: jQuery select where attribute ID less than
    >
    >
    > Still how would I do it with an each? I'd still need to select all the
    > ones with an attribute of less than x, and it would be stupid to loop
    > it from 1 to whatever as x can reach thousands. Do you have any other
    > suggestions as to how I could do this?
    >
    > On Aug 31, 9:58 pm, aquaone  wrote:
    > > id will be a string. AFAIK there's no built-in to parse it as a number
    > and
    > > compare. you'd either have to .each() it or find another means of
    > > accomplishing what you are trying to do.
    > >
    > > aquaone
    > >
    > >
    > >
    > > On Mon, Aug 31, 2009 at 13:50, Namir  wrote:
    > >
    > > > How can I do a less than in a select e.g. something like $.("span.class
    > > > [id<"+ a_custom_variable +"]") when I tried that it just selected all
    > > > span of class with an ID attribute rather than where ID attribute is
    > > > less than
    >
    >
    
    

    [jQuery] Re: jQuery select where attribute ID less than

    2009-08-31 Thread Josh Nathanson
    
    Any chance of doing what you need to do on the server, rather than the
    client?
    
    Are you stuck with the naming convention you're using, or can you name the
    spans a little differently or give them different class names to allow for
    better selection criteria?
    
    Given your current situation you'd have to loop through each span as Aquaone
    said, but I bet you might be able to think of a different way to approach
    the problem.
    
    -- Josh
    
    
    
    -Original Message-
    From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
    Behalf Of Namir
    Sent: Monday, August 31, 2009 2:33 PM
    To: jQuery (English)
    Subject: [jQuery] Re: jQuery select where attribute ID less than
    
    
    Still how would I do it with an each? I'd still need to select all the
    ones with an attribute of less than x, and it would be stupid to loop
    it from 1 to whatever as x can reach thousands. Do you have any other
    suggestions as to how I could do this?
    
    On Aug 31, 9:58 pm, aquaone  wrote:
    > id will be a string. AFAIK there's no built-in to parse it as a number and
    > compare. you'd either have to .each() it or find another means of
    > accomplishing what you are trying to do.
    >
    > aquaone
    >
    >
    >
    > On Mon, Aug 31, 2009 at 13:50, Namir  wrote:
    >
    > > How can I do a less than in a select e.g. something like $.("span.class
    > > [id<"+ a_custom_variable +"]") when I tried that it just selected all
    > > span of class with an ID attribute rather than where ID attribute is
    > > less than
    
    
    

    [jQuery] Re: jQuery select where attribute ID less than

    2009-08-31 Thread Namir
    
    Still how would I do it with an each? I'd still need to select all the
    ones with an attribute of less than x, and it would be stupid to loop
    it from 1 to whatever as x can reach thousands. Do you have any other
    suggestions as to how I could do this?
    
    On Aug 31, 9:58 pm, aquaone  wrote:
    > id will be a string. AFAIK there's no built-in to parse it as a number and
    > compare. you'd either have to .each() it or find another means of
    > accomplishing what you are trying to do.
    >
    > aquaone
    >
    >
    >
    > On Mon, Aug 31, 2009 at 13:50, Namir  wrote:
    >
    > > How can I do a less than in a select e.g. something like $.("span.class
    > > [id<"+ a_custom_variable +"]") when I tried that it just selected all
    > > span of class with an ID attribute rather than where ID attribute is
    > > less than
    
    

    [jQuery] Re: Find reverse? Parent?

    2009-08-31 Thread donb
    
    In this case the DIV is a sibling, not a parent, of the .
    So you want to select on that.  If the HTML is complete as you show
    it, the selector needed is simply the .prev() of your 
    
    On Aug 31, 2:36 pm, Jottae  wrote:
    > Hi guys.
    >
    > I am wanting to click the link with the class "test" the function
    > append href taking the (already up and running) appears in the
    > "picture" div, but only in the same div "lol" where there is also a
    > class "test".
    >
    > suggestions?
    >
    > ---
    > This is html code:
    >
    > 
    > 
    > lorem ipson
    > 
    >
    > http://www.google.com/myckey.gif";>Google
    >
    > 
    >
    > 
    > 
    > lorem ipson
    > 
    >
    > http://www.google.com/donald.gif";>Google
    >
    > 
    >
    > ---
    > This is code jQuery.
    >
    > $(".test").click(function() {
    >      var url = this.href;
    >      $(".picture").append("");   --->> This is
    > wrong  ---  find reverse?parent?
    >     });
    >
    > Thanks. =D
    
    

    [jQuery] Re: jQuery select where attribute ID less than

    2009-08-31 Thread aquaone
    id will be a string. AFAIK there's no built-in to parse it as a number and
    compare. you'd either have to .each() it or find another means of
    accomplishing what you are trying to do.
    
    aquaone
    
    
    On Mon, Aug 31, 2009 at 13:50, Namir  wrote:
    
    >
    > How can I do a less than in a select e.g. something like $.("span.class
    > [id<"+ a_custom_variable +"]") when I tried that it just selected all
    > span of class with an ID attribute rather than where ID attribute is
    > less than
    
    

    [jQuery] Re: Https mixed content error with ajax

    2009-08-31 Thread UglySkinnyGuy
    
    Yes thats all fine. Like I said it only occures when I make an ajax
    call out and then inject the returned html into the DOM.
    
    On Aug 31, 3:44 pm, James  wrote:
    > Is the include script to the jQuery library also HTTPs? All external
    > content (CSS, Scripts, Images) has to be over HTTPs to not create the
    > mixed content error.
    >
    > On Aug 31, 5:10 am, UglySkinnyGuy  wrote:
    >
    >
    >
    > > Have a wierd issue. It seems that if I use jquery in https and do an
    > > ajax call out and then update the dom with the resulting html I get an
    > > HTTPS unsecure content warning. Now the content is all https and there
    > > are not http calls any where so I'm wondering if this has been seen
    > > before. I've dug very deep looking for the issus and if I take jquery
    > > out of the equation it doesn't give me an error. But I've standardized
    > > jquery as part of the site and don't want to mix straight old
    > > javascript with jquery, if I can avoid it.
    >
    > > So any help would be useful.- Hide quoted text -
    >
    > - Show quoted text -
    
    

    [jQuery] jQuery select where attribute ID less than

    2009-08-31 Thread Namir
    
    How can I do a less than in a select e.g. something like $.("span.class
    [id<"+ a_custom_variable +"]") when I tried that it just selected all
    span of class with an ID attribute rather than where ID attribute is
    less than
    
    

    [jQuery] Re: code not working

    2009-08-31 Thread Michael Geary
    
    My goodness, please do not paste an entire copy of jquery.js in a message to
    this group. Your 120KB message was emailed to 20,000 people! All we need is
    the version number.
    
    Better yet, don't paste your own code into a message either. Instead, post a
    link to a test page that we can load in a browser ourselves. That makes it
    *much* easier to look at a problem.
    
    If you do post code in a message, don't post your ASP source. Do a View
    Source in your browser to see the generated HTML code that the browser
    actually receives. JavaScript and jQuery don't run on your ASP source. They
    run on the HTML code that your ASP source generates, as shown by View
    Source.
    
    Now since we're here, a few suggestions:
    
    * Update your jQuery 1.3 to the current version, 1.3.2. It's unlikely that
    this is related to any problems you're seeing, but there have been a lot of
    bug fixes since 1.3.
    
    * Where you have this code:
    
      var parID = $('#txt_num');  //this variable doesn't fill
      alert(parID);
    
    What do you mean "doesn't fill"? What does the alert show you? It should
    display:
    
      [object Object]
    
    Is that what it shows? What were you expecting it to display? There's no
    hint of what you are actually trying to do here.
    
    * You have all sorts of mixed case in your attribute names. ID=, OnChange=,
    etc. These should all be lowercase in HTML code. But since I'm looking at
    the ASP source, I don't know if it has other requirements.
    
    * Instead of the onchange= attribute for your event handler, it would be
    better to use jQuery code. It could be something like this:
    
    
    $(document).ready( function() {
    
    $('#txt_num').change( function() {
    // your code here
    });
    
    });
    
    
    * When I see code like "doIt(this.form,this,2)" I immediately get the
    feeling that there is probably a better way to do it, but since I don't yet
    know what "it" is I can't yet make any recommendations.
    
    -Mike
    
    > From: ando
    > 
    > this code is not working and I don't know the reasons for that
    > I loaded the file jquery.js that I used
    > 
    > the main code :
    > 
    > <%@ Page Language="VB" AutoEventWireup="false"
    > CodeFile="Default.aspx.vb" Inherits="_Default" %>
    > 
    >  Transitional//EN" "http://
    > www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > 
    > http://www.w3.org/1999/xhtml";>
    > 
    > Untitled Page
    > 
    > 
    > function doIt(form,cntrl,vtype)
    > {
    >alert(cntrl);
    > var ntxt="";
    > var parID = $('#txt_num');//this variable doesn't
    > fill
    > alert(parID);
    > 
    > 
    > }
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    >  Text="Numeric"> asp:Label>
    > 
    > 
    >  OnChange ="doIt(this.form,this,2)">
    > 
    > 
    >  
    > 
    >  
    > 
    > 
    > 
    > 
    > 
    > 
    > 
    
    
    

    [jQuery] Re: JQuery Unable to Read Margins When Set to Auto?

    2009-08-31 Thread #micah
    
    when i have something's css set to auto, and try to get its value from
    within FF3.5, mine returns nothing-- not even 0px.
    
    On Aug 31, 3:33 pm, phpn1b  wrote:
    > anyone?
    >
    > On Aug 25, 4:46 pm, phpn1b  wrote:
    >
    > > I have a simple test page with a div where the left and right margins
    > > are set to auto. The div has a width and when viewed it's centered on
    > > the page. When I try to read the left or right margin with jQuery it's
    > > returned as "0px" instead of auto. I'm trying to add a div to a page
    > > and set the new div's margin to match an existing div's margin, but
    > > without being able to read "auto", it's failing. My tests using alert($
    > > ('#container').css('margin-left')); and alert($('#container').css
    > > ('marginLeft')); yielded the same results.
    
    

    [jQuery] Re: Https mixed content error with ajax

    2009-08-31 Thread James
    
    Is the include script to the jQuery library also HTTPs? All external
    content (CSS, Scripts, Images) has to be over HTTPs to not create the
    mixed content error.
    
    On Aug 31, 5:10 am, UglySkinnyGuy  wrote:
    > Have a wierd issue. It seems that if I use jquery in https and do an
    > ajax call out and then update the dom with the resulting html I get an
    > HTTPS unsecure content warning. Now the content is all https and there
    > are not http calls any where so I'm wondering if this has been seen
    > before. I've dug very deep looking for the issus and if I take jquery
    > out of the equation it doesn't give me an error. But I've standardized
    > jquery as part of the site and don't want to mix straight old
    > javascript with jquery, if I can avoid it.
    >
    > So any help would be useful.
    
    

    [jQuery] Re: Find reverse? Parent?

    2009-08-31 Thread #micah
    
    maybe $(this).prev(".picture").append(
    
    
    
    On Aug 31, 2:36 pm, Jottae  wrote:
    > Hi guys.
    >
    > I am wanting to click the link with the class "test" the function
    > append href taking the (already up and running) appears in the
    > "picture" div, but only in the same div "lol" where there is also a
    > class "test".
    >
    > suggestions?
    >
    > ---
    > This is html code:
    >
    > 
    > 
    > lorem ipson
    > 
    >
    > http://www.google.com/myckey.gif";>Google
    >
    > 
    >
    > 
    > 
    > lorem ipson
    > 
    >
    > http://www.google.com/donald.gif";>Google
    >
    > 
    >
    > ---
    > This is code jQuery.
    >
    > $(".test").click(function() {
    >      var url = this.href;
    >      $(".picture").append("");   --->> This is
    > wrong  ---  find reverse?parent?
    >     });
    >
    > Thanks. =D
    
    

    [jQuery] Re: Validation question

    2009-08-31 Thread #micah
    
    whoops! instead of '#divSteps3' i meant 'div.error-message'  next
    time i should proofread
    
    On Aug 31, 3:34 pm, "#micah"  wrote:
    > only perform the post if the error message div isnt there, or has no
    > text in it
    >
    > if( !($('#divSteps3')==undefined) && $('div.error-message').text
    > ().length>0) )
    >
    > something like that
    >
    > On Aug 31, 1:53 pm, "Dave Maharaj :: WidePixels.com"
    >
    >  wrote:
    > > I have this script
    >
    > > $(document).ready( function() {
    >
    > >     $('#username').blur( function () {
    >
    > >         fieldName = $(this).attr('id');
    > >         fieldValue = $(this).val();
    >
    > >         $.post('/users/ajax_validate', {
    > >                                         field: fieldName,
    > >                                         value: fieldValue
    > >                                         },
    > >                function(error) {
    >
    > >                    if(error.length != 0) {                
    >
    > >                        $('#username').after(' > id="'+ fieldName +'-exists">' + error + '');
    > >                    }
    > >                    else {
    > >                        $('#' + fieldName + '-exists').remove();
    > >                    }
    > >                });
    > >      });  
    >
    > > });
    >
    > > Which sends a requet to determine if the username is taken...pretty simple
    > > if so it displays Please choose another message. My problem is if the user
    > > goes back to the field and then leaves without changing it it sends the
    > > request again and then shows
    > > "Please choose another name"
    > > "Please choose another name"
    >
    > > How can I modify the script so if there is an error and not fixed to leave
    > > the message and not repeat it?
    >
    > > Dave
    
    

    [jQuery] Re: Validation question

    2009-08-31 Thread #micah
    
    only perform the post if the error message div isnt there, or has no
    text in it
    
    
    if( !($('#divSteps3')==undefined) && $('div.error-message').text
    ().length>0) )
    
    something like that
    
    On Aug 31, 1:53 pm, "Dave Maharaj :: WidePixels.com"
     wrote:
    > I have this script
    >
    > $(document).ready( function() {
    >
    >     $('#username').blur( function () {
    >
    >         fieldName = $(this).attr('id');
    >         fieldValue = $(this).val();
    >
    >         $.post('/users/ajax_validate', {
    >                                         field: fieldName,
    >                                         value: fieldValue
    >                                         },
    >                function(error) {
    >
    >                    if(error.length != 0) {                
    >
    >                        $('#username').after(' id="'+ fieldName +'-exists">' + error + '');
    >                    }
    >                    else {
    >                        $('#' + fieldName + '-exists').remove();
    >                    }
    >                });
    >      });  
    >
    > });
    >
    > Which sends a requet to determine if the username is taken...pretty simple
    > if so it displays Please choose another message. My problem is if the user
    > goes back to the field and then leaves without changing it it sends the
    > request again and then shows
    > "Please choose another name"
    > "Please choose another name"
    >
    > How can I modify the script so if there is an error and not fixed to leave
    > the message and not repeat it?
    >
    > Dave
    
    

    [jQuery] Re: ajax request form in one page, is it possible ?

    2009-08-31 Thread James
    
    jQuery (and most Javascript AJAX libraries) automatically sends the
    request header:
    X-Requested-With: XMLHttpRequest
    You don't have to do anything for that.
    If you use something like Firebug for Firefox you can see these
    headers being sent and returned.
    
    On the PHP side, you can use the follow code to retrieve header
    values:
    $_SERVER['HTTP_X_REQUESTED_WITH']
    (do a print_r($_SERVER) to find these things)
    
    You'd probably do something like this:
    if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER
    ['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {
    // do something
    }
    
    
    On Aug 29, 9:37 am, Danny  wrote:
    > I understand that ive to use - X-Requested-With then I did search a
    > bit about that and I found this code,
    >
    >  $.ajaxSetup({
    >       headers: {"X-Requested-With":"Ajax"}
    >     });
    >
    > but I still don't understand how should I send the parameters to the
    > same file and get them in the server side (PHP)
    > I hot to get answer,
    >
    > thanks!
    
    

    [jQuery] Re: JQuery Unable to Read Margins When Set to Auto?

    2009-08-31 Thread phpn1b
    
    anyone?
    
    On Aug 25, 4:46 pm, phpn1b  wrote:
    > I have a simple test page with a div where the left and right margins
    > are set to auto. The div has a width and when viewed it's centered on
    > the page. When I try to read the left or right margin with jQuery it's
    > returned as "0px" instead of auto. I'm trying to add a div to a page
    > and set the new div's margin to match an existing div's margin, but
    > without being able to read "auto", it's failing. My tests using alert($
    > ('#container').css('margin-left')); and alert($('#container').css
    > ('marginLeft')); yielded the same results.
    
    

    [jQuery] jQuery Accoridion - Dynamically Adding Content to it

    2009-08-31 Thread #micah
    
    Lets say you have the standard jQuery UI Accordion markup-- such as
    
    
    Header Text
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas
    ligula risus, imperdiet ac malesuada at, vestibulum in felis. Ut
    ornare ullamcorper mattis. In eu enim at urna sollicitudin dignissim.
    Praesent et lacus ac metus tristique aliquam. Proin vehicula urna
    vitae est interdum tempus.
    
    Header Text
    
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas
    ligula risus, imperdiet ac malesuada at, vestibulum in felis. Ut
    ornare ullamcorper mattis. In eu enim at urna sollicitudin dignissim.
    Praesent et lacus ac metus tristique aliquam. Proin vehicula urna
    vitae est interdum tempus.
    
    
    
    After you call $("#wapper").accordion(), is there a way to $
    ("#wrapper").append([content]) in new content and have the accordion
    still work? Whenever I try the functionality and styling does not
    take.
    
    Thx for the help, guys
    
    

    [jQuery] Re: jqModal +r14 updated

    2009-08-31 Thread Robert Wagner
    
    2009/4/30 Steven Garcia :
    >
    > I cant seem to get jQuery's live function working with this at all.
    >
    > I tried all variations possible, including dmitri's suggestion
    >
    > The modal does indeed pop up, but instead of loading the ajax content,
    > I get redirected to that URL.
    >
    > Anyone else run into this problem?
    >
    
    me too!
    
    using FF 3.5.2
    this worked for me:
    
    $('#jqModal').jqm({ajax:'@href'});
    
      // open the modal whenever anchor links on the page are clicked
       $('a.thickbox').bind('click',function(){
      $('#jqModal').jqmShow(this);
      return false;
      });
    
    eek. return false is a must, why does nobody mentions? live works the
    same way. just use live() instead of bind()
    
    1/ jqmShow(this)
    2/ return false;
    
    cheers,
      robert
    
    

    [jQuery] Re: listnav functionality applied to tables -- is this possible?

    2009-08-31 Thread aquaone
    like this?
    http://bluemoon.reverse.net/~aquaone/tablefilter/
    
    feel free to grab it. not sure when i'll have the time to finalize it but
    it's quite full-featured at present.
    
    aquaone
    
    
    On Mon, Aug 31, 2009 at 09:07, wshawn  wrote:
    
    >
    > I am curious if the devs would be interested in making this same
    > functionality work with tables.
    >
    > I would be interested in seeing similar functionality available via
    > listnav for the first td of a tr.
    >
    > Essentially, grabbing the first character, as a reference for
    > filtering only that later from the nav bar. as you are currently doing
    > for ul/ol and li tags.
    >
    > I have already accomplished this via ajax, but I believe using the
    > concepts in this listnav would reduce overall server load.
    >
    > I am currently using tablesorter to handle a php/ mysql return.  I
    > would like to see your plugin filter what table sorter is having to
    > deal with.
    >
    > Any ideas if this is indeed something you would be interested in
    > working on?
    >
    
    

    [jQuery] Re: Content slider?

    2009-08-31 Thread amuhlou
    
    The Cycle plugin has some callback functions, which let you perform
    actions on the current or next slide. They are the "before" and
    "after" options
    
    http://www.malsup.com/jquery/cycle/options.html
    
    Perhaps using one of the callbacks to initialize the tabs() would
    help?
    
    It's also possible that the issue is CSS related.
    
    
    On Aug 31, 5:43 pm, Dennis Madsen  wrote:
    > Ok, it also "flicking" on my Firefox :(
    >
    > On Aug 31, 6:29 pm, amuhlou  wrote:
    >
    > > Cycle can be used to cycle through 
    > > anything:http://www.malsup.com/jquery/cycle/int2.html
    >
    > > Check out the very last example on the page.
    >
    > > On Aug 31, 4:26 pm, Dennis Madsen  wrote:
    >
    > > > AnythingSlider: Is also flicking when using Accordion fra jQuery UI.
    > > > Malsup Cycle: It seems that this cycle only use img?
    >
    > > > On Aug 31, 5:18 pm, amuhlou  wrote:
    >
    > > > > A couple other slider options you could try:
    >
    > > > >http://css-tricks.com/anythingslider-jquery-plugin/
    >
    > > > >http://malsup.com/jquery/cycle/
    >
    > > > > On Aug 31, 2:45 pm, Dennis Madsen  wrote:
    >
    > > > > > I'm trying to use the plugin, but have problem when using a Accordion
    > > > > > from Query UI on one of the pages.
    > > > > > You can see this sample 
    > > > > > page:http://dennismadsen.com/uploads/easyslider1.7/
    >
    > > > > > When sliding eg. from page 1 to 4 the Accordion is "flacking" when
    > > > > > sliding. I only see that problem in my Firefox. No problem in IE or
    > > > > > Chrome.
    > > > > > I've recorded a video of 
    > > > > > it:http://dennismadsen.com/uploads/easyslider1.7/flacking.avi
    >
    > > > > > How can I solve that problem?
    >
    > > > > > On Aug 31, 3:55 pm, "Richard D. Worth"  wrote:
    >
    > > > > > > That content slider is not limited to images. The previous version 
    > > > > > > has a
    > > > > > > demo that shows this:http://cssglobe.com/lab/easyslider1.5/05.html
    >
    > > > > > > but the newer version
    > > > > > > supports this as well. I recommend you give it a try.
    >
    > > > > > > - Richard
    >
    > > > > > > On Mon, Aug 31, 2009 at 9:43 AM, Dennis Madsen  
    > > > > > > wrote:
    >
    > > > > > > > I'm searching for a content slider like this:
    > > > > > > >http://cssglobe.com/lab/easyslider1.7/01.html
    >
    > > > > > > > It almost fits my need but I would like to use it to slide the 
    > > > > > > > content
    > > > > > > > on my page - not simple images.
    >
    > > > > > > > I've have three pages; competences, references and contact.
    > > > > > > > Furthermore I have a frontpage with three link-icons - one for 
    > > > > > > > every
    > > > > > > > subpages. Therefore I need to have four slides inside my content
    > > > > > > > slider, but I should should have the ability to handle a click on 
    > > > > > > > the
    > > > > > > > icons the first slide (=my frontpage) so that it slide to the
    > > > > > > > respective page.
    >
    > > > > > > > I hope someone know a plugin which fits my needs?
    
    

    [jQuery] Find reverse? Parent?

    2009-08-31 Thread Jottae
    
    Hi guys.
    
    I am wanting to click the link with the class "test" the function
    append href taking the (already up and running) appears in the
    "picture" div, but only in the same div "lol" where there is also a
    class "test".
    
    suggestions?
    
    ---
    This is html code:
    
    
    
    lorem ipson
    
    
    http://www.google.com/myckey.gif";>Google
    
    
    
    
    
    lorem ipson
    
    
    http://www.google.com/donald.gif";>Google
    
    
    
    
    
    ---
    This is code jQuery.
    
    $(".test").click(function() {
     var url = this.href;
     $(".picture").append("");   --->> This is
    wrong  ---  find reverse?parent?
    });
    
    
    
    Thanks. =D
    
    

    [jQuery] Re: trying to talk to googleadservices via $.getScript()

    2009-08-31 Thread Jan Limpens
    yip, that was it!
    
    2009/8/31 Jan Limpens 
    
    > aha! adbock?? maybe...
    >
    >
    > 2009/8/31 Jan Limpens 
    >
    >> firebug gives me this in html view:
    >> http://www.googleadservices.com/pagead/conversion.js?_=1251741522425";> Failed
    >> to load source for:
    >> http://www.googleadservices.com/pagead/conversion.js?_=1251741522425
    >> 
    >>
    >> the qs is not mine, if jq adds is to prevent caching it is actually doing
    >> a bad service to me.
    >> the given address works just fine.
    >>
    >>
    >>
    >> 2009/8/31 Jan Limpens 
    >>
    >>> in chrome and ie that is. firefox still eats it.
    >>>
    >>>
    >>> 2009/8/31 Jan Limpens 
    >>>
     magic! the second, I wrote this post, it started to work.
    
     2009/8/31 Jan Limpens 
    
     Hello,
    >
    > miraculously enough, this call
    >
    > $.getScript('http://www.googleadservices.com/pagead/conversion.js',
    > function() { confirm('g'); });
    >
    > does nothing and this one
    >
    > $.getScript('http://tracker.webtraffic.com.br/statistic.js',
    > function() {confirm('w')});
    >
    > gives me the dialog. On firefox and IE (didn't test the others).
    >
    > This is completely weird, but it does not surprise me from a company,
    > that gives this kind of noop code to us:
    >
    > if (1) {
    >   var google_conversion_value = 1;
    > }
    >
    > I mean, seriously (taken from
    > http://www.google.com/adwords/learningcenter/text/19216.html)!
    >
    > But - anyone did come around this somehow, or maybe test this in
    > his/her firebug console?
    >
    > --
    > Jan
    >
    
    
    
     --
     Jan
    
    >>>
    >>>
    >>>
    >>> --
    >>> Jan
    >>>
    >>
    >>
    >>
    >> --
    >> Jan
    >>
    >
    >
    >
    > --
    > Jan
    >
    
    
    
    -- 
    Jan
    
    

    [jQuery] Re: trying to talk to googleadservices via $.getScript()

    2009-08-31 Thread Jan Limpens
    aha! adbock?? maybe...
    
    2009/8/31 Jan Limpens 
    
    > firebug gives me this in html view:
    > http://www.googleadservices.com/pagead/conversion.js?_=1251741522425";> Failed
    > to load source for:
    > http://www.googleadservices.com/pagead/conversion.js?_=1251741522425
    > 
    >
    > the qs is not mine, if jq adds is to prevent caching it is actually doing a
    > bad service to me.
    > the given address works just fine.
    >
    >
    >
    > 2009/8/31 Jan Limpens 
    >
    >> in chrome and ie that is. firefox still eats it.
    >>
    >>
    >> 2009/8/31 Jan Limpens 
    >>
    >>> magic! the second, I wrote this post, it started to work.
    >>>
    >>> 2009/8/31 Jan Limpens 
    >>>
    >>> Hello,
    
     miraculously enough, this call
    
     $.getScript('http://www.googleadservices.com/pagead/conversion.js',
     function() { confirm('g'); });
    
     does nothing and this one
    
     $.getScript('http://tracker.webtraffic.com.br/statistic.js', function()
     {confirm('w')});
    
     gives me the dialog. On firefox and IE (didn't test the others).
    
     This is completely weird, but it does not surprise me from a company,
     that gives this kind of noop code to us:
    
     if (1) {
       var google_conversion_value = 1;
     }
    
     I mean, seriously (taken from
     http://www.google.com/adwords/learningcenter/text/19216.html)!
    
     But - anyone did come around this somehow, or maybe test this in his/her
     firebug console?
    
     --
     Jan
    
    >>>
    >>>
    >>>
    >>> --
    >>> Jan
    >>>
    >>
    >>
    >>
    >> --
    >> Jan
    >>
    >
    >
    >
    > --
    > Jan
    >
    
    
    
    -- 
    Jan
    
    

    [jQuery] Re: trying to talk to googleadservices via $.getScript()

    2009-08-31 Thread Jan Limpens
    firebug gives me this in html view:
    http://www.googleadservices.com/pagead/conversion.js?_=1251741522425";>Failed
    to load source for:
    http://www.googleadservices.com/pagead/conversion.js?_=1251741522425
    
    
    the qs is not mine, if jq adds is to prevent caching it is actually doing a
    bad service to me.
    the given address works just fine.
    
    
    2009/8/31 Jan Limpens 
    
    > in chrome and ie that is. firefox still eats it.
    >
    >
    > 2009/8/31 Jan Limpens 
    >
    >> magic! the second, I wrote this post, it started to work.
    >>
    >> 2009/8/31 Jan Limpens 
    >>
    >> Hello,
    >>>
    >>> miraculously enough, this call
    >>>
    >>> $.getScript('http://www.googleadservices.com/pagead/conversion.js',
    >>> function() { confirm('g'); });
    >>>
    >>> does nothing and this one
    >>>
    >>> $.getScript('http://tracker.webtraffic.com.br/statistic.js', function()
    >>> {confirm('w')});
    >>>
    >>> gives me the dialog. On firefox and IE (didn't test the others).
    >>>
    >>> This is completely weird, but it does not surprise me from a company,
    >>> that gives this kind of noop code to us:
    >>>
    >>> if (1) {
    >>>   var google_conversion_value = 1;
    >>> }
    >>>
    >>> I mean, seriously (taken from
    >>> http://www.google.com/adwords/learningcenter/text/19216.html)!
    >>>
    >>> But - anyone did come around this somehow, or maybe test this in his/her
    >>> firebug console?
    >>>
    >>> --
    >>> Jan
    >>>
    >>
    >>
    >>
    >> --
    >> Jan
    >>
    >
    >
    >
    > --
    > Jan
    >
    
    
    
    -- 
    Jan
    
    

    [jQuery] Re: trying to talk to googleadservices via $.getScript()

    2009-08-31 Thread Jan Limpens
    in chrome and ie that is. firefox still eats it.
    
    2009/8/31 Jan Limpens 
    
    > magic! the second, I wrote this post, it started to work.
    >
    > 2009/8/31 Jan Limpens 
    >
    > Hello,
    >>
    >> miraculously enough, this call
    >>
    >> $.getScript('http://www.googleadservices.com/pagead/conversion.js',
    >> function() { confirm('g'); });
    >>
    >> does nothing and this one
    >>
    >> $.getScript('http://tracker.webtraffic.com.br/statistic.js', function()
    >> {confirm('w')});
    >>
    >> gives me the dialog. On firefox and IE (didn't test the others).
    >>
    >> This is completely weird, but it does not surprise me from a company, that
    >> gives this kind of noop code to us:
    >>
    >> if (1) {
    >>   var google_conversion_value = 1;
    >> }
    >>
    >> I mean, seriously (taken from
    >> http://www.google.com/adwords/learningcenter/text/19216.html)!
    >>
    >> But - anyone did come around this somehow, or maybe test this in his/her
    >> firebug console?
    >>
    >> --
    >> Jan
    >>
    >
    >
    >
    > --
    > Jan
    >
    
    
    
    -- 
    Jan
    
    

    [jQuery] Re: trying to talk to googleadservices via $.getScript()

    2009-08-31 Thread Jan Limpens
    magic! the second, I wrote this post, it started to work.
    
    2009/8/31 Jan Limpens 
    
    > Hello,
    >
    > miraculously enough, this call
    >
    > $.getScript('http://www.googleadservices.com/pagead/conversion.js',
    > function() { confirm('g'); });
    >
    > does nothing and this one
    >
    > $.getScript('http://tracker.webtraffic.com.br/statistic.js', function()
    > {confirm('w')});
    >
    > gives me the dialog. On firefox and IE (didn't test the others).
    >
    > This is completely weird, but it does not surprise me from a company, that
    > gives this kind of noop code to us:
    >
    > if (1) {
    >   var google_conversion_value = 1;
    > }
    >
    > I mean, seriously (taken from
    > http://www.google.com/adwords/learningcenter/text/19216.html)!
    >
    > But - anyone did come around this somehow, or maybe test this in his/her
    > firebug console?
    >
    > --
    > Jan
    >
    
    
    
    -- 
    Jan
    
    

    [jQuery] Validation question

    2009-08-31 Thread Dave Maharaj :: WidePixels.com
    I have this script
     
    $(document).ready( function() {
     
    $('#username').blur( function () {
     
    fieldName = $(this).attr('id');
    fieldValue = $(this).val();
     
    $.post('/users/ajax_validate', {
    field: fieldName,
    value: fieldValue
    },
       function(error) {
     
       if(error.length != 0) {
     
       $('#username').after('' + error + '');
       }
       else {
       $('#' + fieldName + '-exists').remove();
       }
       });
     });   
     
    }); 
     
    Which sends a requet to determine if the username is taken...pretty simple
    if so it displays Please choose another message. My problem is if the user
    goes back to the field and then leaves without changing it it sends the
    request again and then shows 
    "Please choose another name"
    "Please choose another name"
     
    How can I modify the script so if there is an error and not fixed to leave
    the message and not repeat it?
     
    Dave 
    
    

    [jQuery] trying to talk to googleadservices via $.getScript()

    2009-08-31 Thread Jan Limpens
    Hello,
    
    miraculously enough, this call
    
    $.getScript('http://www.googleadservices.com/pagead/conversion.js',
    function() { confirm('g'); });
    
    does nothing and this one
    
    $.getScript('http://tracker.webtraffic.com.br/statistic.js', function()
    {confirm('w')});
    
    gives me the dialog. On firefox and IE (didn't test the others).
    
    This is completely weird, but it does not surprise me from a company, that
    gives this kind of noop code to us:
    
    if (1) {
      var google_conversion_value = 1;
    }
    
    I mean, seriously (taken from
    http://www.google.com/adwords/learningcenter/text/19216.html)!
    
    But - anyone did come around this somehow, or maybe test this in his/her
    firebug console?
    
    -- 
    Jan
    
    

    [jQuery] Re: Content slider?

    2009-08-31 Thread Dennis Madsen
    
    Ok, it also "flicking" on my Firefox :(
    
    On Aug 31, 6:29 pm, amuhlou  wrote:
    > Cycle can be used to cycle through 
    > anything:http://www.malsup.com/jquery/cycle/int2.html
    >
    > Check out the very last example on the page.
    >
    > On Aug 31, 4:26 pm, Dennis Madsen  wrote:
    >
    > > AnythingSlider: Is also flicking when using Accordion fra jQuery UI.
    > > Malsup Cycle: It seems that this cycle only use img?
    >
    > > On Aug 31, 5:18 pm, amuhlou  wrote:
    >
    > > > A couple other slider options you could try:
    >
    > > >http://css-tricks.com/anythingslider-jquery-plugin/
    >
    > > >http://malsup.com/jquery/cycle/
    >
    > > > On Aug 31, 2:45 pm, Dennis Madsen  wrote:
    >
    > > > > I'm trying to use the plugin, but have problem when using a Accordion
    > > > > from Query UI on one of the pages.
    > > > > You can see this sample 
    > > > > page:http://dennismadsen.com/uploads/easyslider1.7/
    >
    > > > > When sliding eg. from page 1 to 4 the Accordion is "flacking" when
    > > > > sliding. I only see that problem in my Firefox. No problem in IE or
    > > > > Chrome.
    > > > > I've recorded a video of 
    > > > > it:http://dennismadsen.com/uploads/easyslider1.7/flacking.avi
    >
    > > > > How can I solve that problem?
    >
    > > > > On Aug 31, 3:55 pm, "Richard D. Worth"  wrote:
    >
    > > > > > That content slider is not limited to images. The previous version 
    > > > > > has a
    > > > > > demo that shows this:http://cssglobe.com/lab/easyslider1.5/05.html
    >
    > > > > > but the newer version
    > > > > > supports this as well. I recommend you give it a try.
    >
    > > > > > - Richard
    >
    > > > > > On Mon, Aug 31, 2009 at 9:43 AM, Dennis Madsen  
    > > > > > wrote:
    >
    > > > > > > I'm searching for a content slider like this:
    > > > > > >http://cssglobe.com/lab/easyslider1.7/01.html
    >
    > > > > > > It almost fits my need but I would like to use it to slide the 
    > > > > > > content
    > > > > > > on my page - not simple images.
    >
    > > > > > > I've have three pages; competences, references and contact.
    > > > > > > Furthermore I have a frontpage with three link-icons - one for every
    > > > > > > subpages. Therefore I need to have four slides inside my content
    > > > > > > slider, but I should should have the ability to handle a click on 
    > > > > > > the
    > > > > > > icons the first slide (=my frontpage) so that it slide to the
    > > > > > > respective page.
    >
    > > > > > > I hope someone know a plugin which fits my needs?
    
    

    [jQuery] Re: Replacing like items

    2009-08-31 Thread mkmanning
    
    Play around with this:
    $('input[value*="||"]').change(function(){
    var $this = $(this),val = $this.val().split('||')[1];
    if($this.is(':checked')){
    
    $this.removeAttr('disabled').siblings('input[value$='+val+']').attr
    ('disabled','disabled');
    } else {
    $this.siblings('input[value$='+val+']').removeAttr('disabled');
    }
    });
    
    
    What you're trying to do is make checkboxes behave like radio buttons,
    so why not just use radios, as they're far more appropriate for
    selecting only one of several choices?
    
    
    
    
    On Aug 30, 12:44 pm, "Steffan A. Cline"  wrote:
    > I have a form of data I am working on where I may have *nearly* the same
    > thing appear with a checkbox appear multiple times.
    >
    > For example:
    >
    > 
    > 
    > 
    > 
    > 
    >
    > So, if checkbox #1 (widget1) is checked, it will either disable all other
    > ones containing the sku 123456 OR replace the others in the form having sku
    > 123456 with an image of a sort.
    >
    > Is there a way to select this without iterating through every checkbox in
    > the form and looking at it's value?
    >
    > Thanks
    >
    > Steffan
    >
    > ---
    > T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
    > Steffan A. Cline  
    > stef...@execuchoice.net                             Phoenix, 
    > Azhttp://www.ExecuChoice.net                                 USA
    > AIM : SteffanC          ICQ : 57234309
    > YAHOO : Steffan_Cline   MSN : stef...@hldns.com
    > GOOGLE: Steffan.Cline             Lasso Partner Alliance Member
    > ---
    
    

    [jQuery] jqueryui and nested tabs doesn't work

    2009-08-31 Thread Massimiliano Marini
    
    Hi all,
    
    why when I call this $('#tabs-1').tabs('select', 1); tabs stop working?
    
    What I'm doing wrong?
    
    This is the right way to obtain nested tabs or are there other ways?
    
    $('#tabs').tabs();
    $('#tabs-1').tabs('select', 1);
    
    
    
    
     
      First
      Second
      Third
     
     
      
       First
       Second
       Third
      
    
       Lorem ipsum dolor sit amet ...
       Lorem ipsum dolor sit amet ...
       Lorem ipsum dolor sit amet ...
    
    
     Phasellus mattis tincidunt nibh. ...
     Nam dui erat, auctor a, dignissim quis, ...
    
    
    -- 
    Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
    "It's easier to invent the future than to predict it."  -- Alan Kay
    
    

    [jQuery] Re: listnav functionality applied to tables -- is this possible?

    2009-08-31 Thread Jack Killpatrick
    
    
    I'll chew on that idea for a while. If I think I can pull that off 
    without much surgery to the plugin, I'll add it, otherwise probably not. 
    This is the first time someone has requested that.
    
    
    Thanks,
    Jack
    
    wshawn wrote:
    
    I am curious if the devs would be interested in making this same
    functionality work with tables.
    
    I would be interested in seeing similar functionality available via
    listnav for the first td of a tr.
    
    Essentially, grabbing the first character, as a reference for
    filtering only that later from the nav bar. as you are currently doing
    for ul/ol and li tags.
    
    I have already accomplished this via ajax, but I believe using the
    concepts in this listnav would reduce overall server load.
    
    I am currently using tablesorter to handle a php/ mysql return.  I
    would like to see your plugin filter what table sorter is having to
    deal with.
    
    Any ideas if this is indeed something you would be interested in
    working on?
    
      
    
    
    
    
    

    [jQuery] jQuery Conference (Boston) ticket available.

    2009-08-31 Thread Eric
    
    Hi,
    
    I found out I can't go to the jQuery conference in Boston on 9/12 and
    9/13, so I have one ticket  that I'm looking to sell for $150
    (original ticket price).
    
    Please contact me if you're interested.
    
    Thanks.
    
    

    [jQuery] Re: Content slider?

    2009-08-31 Thread amuhlou
    
    Cycle can be used to cycle through anything: 
    http://www.malsup.com/jquery/cycle/int2.html
    
    Check out the very last example on the page.
    
    
    On Aug 31, 4:26 pm, Dennis Madsen  wrote:
    > AnythingSlider: Is also flicking when using Accordion fra jQuery UI.
    > Malsup Cycle: It seems that this cycle only use img?
    >
    > On Aug 31, 5:18 pm, amuhlou  wrote:
    >
    > > A couple other slider options you could try:
    >
    > >http://css-tricks.com/anythingslider-jquery-plugin/
    >
    > >http://malsup.com/jquery/cycle/
    >
    > > On Aug 31, 2:45 pm, Dennis Madsen  wrote:
    >
    > > > I'm trying to use the plugin, but have problem when using a Accordion
    > > > from Query UI on one of the pages.
    > > > You can see this sample 
    > > > page:http://dennismadsen.com/uploads/easyslider1.7/
    >
    > > > When sliding eg. from page 1 to 4 the Accordion is "flacking" when
    > > > sliding. I only see that problem in my Firefox. No problem in IE or
    > > > Chrome.
    > > > I've recorded a video of 
    > > > it:http://dennismadsen.com/uploads/easyslider1.7/flacking.avi
    >
    > > > How can I solve that problem?
    >
    > > > On Aug 31, 3:55 pm, "Richard D. Worth"  wrote:
    >
    > > > > That content slider is not limited to images. The previous version has a
    > > > > demo that shows this:http://cssglobe.com/lab/easyslider1.5/05.html
    >
    > > > > but the newer version
    > > > > supports this as well. I recommend you give it a try.
    >
    > > > > - Richard
    >
    > > > > On Mon, Aug 31, 2009 at 9:43 AM, Dennis Madsen  
    > > > > wrote:
    >
    > > > > > I'm searching for a content slider like this:
    > > > > >http://cssglobe.com/lab/easyslider1.7/01.html
    >
    > > > > > It almost fits my need but I would like to use it to slide the content
    > > > > > on my page - not simple images.
    >
    > > > > > I've have three pages; competences, references and contact.
    > > > > > Furthermore I have a frontpage with three link-icons - one for every
    > > > > > subpages. Therefore I need to have four slides inside my content
    > > > > > slider, but I should should have the ability to handle a click on the
    > > > > > icons the first slide (=my frontpage) so that it slide to the
    > > > > > respective page.
    >
    > > > > > I hope someone know a plugin which fits my needs?
    
    

    [jQuery] Re: Content slider?

    2009-08-31 Thread Dennis Madsen
    
    AnythingSlider: Is also flicking when using Accordion fra jQuery UI.
    Malsup Cycle: It seems that this cycle only use img?
    
    On Aug 31, 5:18 pm, amuhlou  wrote:
    > A couple other slider options you could try:
    >
    > http://css-tricks.com/anythingslider-jquery-plugin/
    >
    > http://malsup.com/jquery/cycle/
    >
    > On Aug 31, 2:45 pm, Dennis Madsen  wrote:
    >
    > > I'm trying to use the plugin, but have problem when using a Accordion
    > > from Query UI on one of the pages.
    > > You can see this sample page:http://dennismadsen.com/uploads/easyslider1.7/
    >
    > > When sliding eg. from page 1 to 4 the Accordion is "flacking" when
    > > sliding. I only see that problem in my Firefox. No problem in IE or
    > > Chrome.
    > > I've recorded a video of 
    > > it:http://dennismadsen.com/uploads/easyslider1.7/flacking.avi
    >
    > > How can I solve that problem?
    >
    > > On Aug 31, 3:55 pm, "Richard D. Worth"  wrote:
    >
    > > > That content slider is not limited to images. The previous version has a
    > > > demo that shows this:http://cssglobe.com/lab/easyslider1.5/05.html
    >
    > > > but the newer version
    > > > supports this as well. I recommend you give it a try.
    >
    > > > - Richard
    >
    > > > On Mon, Aug 31, 2009 at 9:43 AM, Dennis Madsen  wrote:
    >
    > > > > I'm searching for a content slider like this:
    > > > >http://cssglobe.com/lab/easyslider1.7/01.html
    >
    > > > > It almost fits my need but I would like to use it to slide the content
    > > > > on my page - not simple images.
    >
    > > > > I've have three pages; competences, references and contact.
    > > > > Furthermore I have a frontpage with three link-icons - one for every
    > > > > subpages. Therefore I need to have four slides inside my content
    > > > > slider, but I should should have the ability to handle a click on the
    > > > > icons the first slide (=my frontpage) so that it slide to the
    > > > > respective page.
    >
    > > > > I hope someone know a plugin which fits my needs?
    
    

    [jQuery] listnav functionality applied to tables -- is this possible?

    2009-08-31 Thread wshawn
    
    I am curious if the devs would be interested in making this same
    functionality work with tables.
    
    I would be interested in seeing similar functionality available via
    listnav for the first td of a tr.
    
    Essentially, grabbing the first character, as a reference for
    filtering only that later from the nav bar. as you are currently doing
    for ul/ol and li tags.
    
    I have already accomplished this via ajax, but I believe using the
    concepts in this listnav would reduce overall server load.
    
    I am currently using tablesorter to handle a php/ mysql return.  I
    would like to see your plugin filter what table sorter is having to
    deal with.
    
    Any ideas if this is indeed something you would be interested in
    working on?
    
    

    [jQuery] Https mixed content error with ajax

    2009-08-31 Thread UglySkinnyGuy
    
    Have a wierd issue. It seems that if I use jquery in https and do an
    ajax call out and then update the dom with the resulting html I get an
    HTTPS unsecure content warning. Now the content is all https and there
    are not http calls any where so I'm wondering if this has been seen
    before. I've dug very deep looking for the issus and if I take jquery
    out of the equation it doesn't give me an error. But I've standardized
    jquery as part of the site and don't want to mix straight old
    javascript with jquery, if I can avoid it.
    
    So any help would be useful.
    
    

    [jQuery] [autocomplete] how to disaply all options onFocus?

    2009-08-31 Thread donal
    
    Setting the min to 0 will dispaly all the optins if the user clicks
    the field a 2nd time.  However, i'd like the options to display once
    the input has focus, or using a button.  How can I do that?
    
    thanks
    
    

    [jQuery] Re: TableSorter plugin - default column sort DESC instead? How?

    2009-08-31 Thread Crazy Serb
    
    Nobody has a clue?
    
    On Aug 27, 8:03 pm, Serb  wrote:
    > Right, but that's for the default on-page-load sort, so to speak...
    > I'm talking about all the other on-demand, on-header-click sorts -
    > they all default to ascending for some reason...
    >
    > On Aug 27, 7:12 pm, marksimon  wrote:
    >
    > > $(document).ready(function() {
    > >      $(".tablesorter").tablesorter({
    > >          sortList: [[0,1]], widthFixed: true, widgets: ['zebra']});});
    >
    > > the sortList parameter takes two arguments: column, and direction. So
    > > sorting 0,1 sorts on the first column descending. 1,0 would be second
    > > column descending. That's on the page so I'm not sure it's exactly
    > > what your looking for (default?)
    >
    > > On Aug 27, 12:47 pm, Crazy Serb  wrote:
    >
    > > > Ok, I can't figure this out...
    >
    > > > The default sort (when clicking on any of the headers in the
    > > > tablesorter table) is ascending.
    >
    > > > Now, I want to change that to descending for ALL columns, not just the
    > > > initial sort column (defined in sortList). I've tried editing
    > > > sortInitialOrder parameter in the .js itself, and nothing. I've tried
    > > > adding it as a parameter in my html page when defining and assigning
    > > > tablesorter, and nothing.
    >
    > > > What am I missing? And how do I accomplish this?
    >
    >
    
    

    [jQuery] Re: simple fadeIn not working

    2009-08-31 Thread greaseDonkey
    
    You actually bring up a good point and I have to be honest I never
    tough about that!
    
    Thanks you for sharing.
    
    On Aug 31, 10:35 am, amuhlou  wrote:
    > to avoid the flash of the div while it's being hidden:
    >
    > http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-uns...
    >
    > On Aug 31, 2:34 pm, amuhlou  wrote:
    >
    > > Using display none poses an accessibility issue, as screen reader
    > > software tends to completely skip elements with display:none.
    >
    > > On Aug 31, 1:47 pm, greaseDonkey  wrote:
    >
    > > > I would suggest to hide the container using css instead of the hide()
    > > > effect when using $(document).ready(function(){}); cause this way you
    > > > might sometime see the div for a few second before javascript start.
    >
    > > > 

    [jQuery] Re: Content slider?

    2009-08-31 Thread amuhlou
    
    A couple other slider options you could try:
    
    http://css-tricks.com/anythingslider-jquery-plugin/
    
    http://malsup.com/jquery/cycle/
    
    On Aug 31, 2:45 pm, Dennis Madsen  wrote:
    > I'm trying to use the plugin, but have problem when using a Accordion
    > from Query UI on one of the pages.
    > You can see this sample page:http://dennismadsen.com/uploads/easyslider1.7/
    >
    > When sliding eg. from page 1 to 4 the Accordion is "flacking" when
    > sliding. I only see that problem in my Firefox. No problem in IE or
    > Chrome.
    > I've recorded a video of 
    > it:http://dennismadsen.com/uploads/easyslider1.7/flacking.avi
    >
    > How can I solve that problem?
    >
    > On Aug 31, 3:55 pm, "Richard D. Worth"  wrote:
    >
    > > That content slider is not limited to images. The previous version has a
    > > demo that shows this:http://cssglobe.com/lab/easyslider1.5/05.html
    >
    > > but the newer version
    > > supports this as well. I recommend you give it a try.
    >
    > > - Richard
    >
    > > On Mon, Aug 31, 2009 at 9:43 AM, Dennis Madsen  wrote:
    >
    > > > I'm searching for a content slider like this:
    > > >http://cssglobe.com/lab/easyslider1.7/01.html
    >
    > > > It almost fits my need but I would like to use it to slide the content
    > > > on my page - not simple images.
    >
    > > > I've have three pages; competences, references and contact.
    > > > Furthermore I have a frontpage with three link-icons - one for every
    > > > subpages. Therefore I need to have four slides inside my content
    > > > slider, but I should should have the ability to handle a click on the
    > > > icons the first slide (=my frontpage) so that it slide to the
    > > > respective page.
    >
    > > > I hope someone know a plugin which fits my needs?
    
    

    [jQuery] Re: rounded corner recommendations

    2009-08-31 Thread [ ravi ]
    
    
    On Aug 31, 2009, at 10:31 AM, [ ravi ] wrote:
    
    On Aug 31, 2009, at 10:13 AM, Rich Sturim wrote:
    
    
    That looks like a great choice -- thanks for the tip.
    
    On Aug 28, 3:19 pm, Jack Killpatrick  wrote:
    I've had good luck with this one after testing many of them in  
    multiple
    
    browsers:
    
    http://www.parkerfox.co.uk/labs/cornerz
    
    
    
    A word of warning: the download link for Cornerz does not work (at  
    least for me!).
    
    
    
    This looks like an alternate source:
    
    http://github.com/cgriego/cornerz/tree/master
    
    --ravi
    
    
    

    [jQuery] Re: Settimeout on Function

    2009-08-31 Thread a1anm
    
    excellent.  thanks very much.
    
    On Aug 31, 8:24 am, KeeganWatkins  wrote:
    > So, it's just a simple issue with scope. Try this instead (which was
    > working when applied via FireBug to your demo page:
    >
    > $(document).ready(function(){
    >     $("#barcode span").hover(
    >       function () {
    >                 $(this).addClass("barover");
    >       },
    >       function () {
    >            // Store span reference
    >           var span = $(this);
    >            setTimeout(function() {
    >                 span.removeClass("barover");
    >           }, 2000);
    >       }
    >     );
    >   });
    >
    > Note that the timer used here is 2000 milliseconds (2 seconds), so
    > you'll likely have to tweak that value to fit your needs. Hope that
    > helps.
    > On Aug 30, 7:22 pm, a1anm  wrote:
    >
    >
    >
    > > Hi,
    >
    > > I tried this but it didn't work.  It resulted in the class not being
    > > removed at all.  You can see here:
    >
    > >http://www.toomanydesigns.com/test/noflash/
    >
    > > On Aug 30, 11:20 am, KeeganWatkins  wrote:
    >
    > > > The basic syntax for delaying a function using setTimeout is this:
    >
    > > > setTimeout(function() {
    > > >     // ...code here executes when the timeout is complete
    >
    > > > }, 2000 /* Length of timeout, in milliseconds */);
    >
    > > > so for your example, something like this should work:
    >
    > > >  $(document).ready(function(){
    >
    > > >     $("#barcode span").hover(
    > > >       function () {
    > > >                 $(this).addClass("barover");
    > > >       },
    > > >       function () {
    > > >            setTimeout(function() {
    > > >                 $(this).removeClass("barover");
    > > >           }, 2000);
    > > >       }
    > > >     );
    > > >   });
    >
    > > > On Aug 30, 9:49 am, a1anm  wrote:
    >
    > > > > Hi,
    >
    > > > > I have this code:
    >
    > > > >  $(document).ready(function(){
    >
    > > > >     $("#barcode span").hover(
    > > > >       function () {
    > > > >                 $(this).addClass("barover");
    > > > >       },
    > > > >       function () {
    > > > >                 $(this).removeClass("barover");
    > > > >       }
    > > > >     );
    > > > >   });
    >
    > > > > I would like to add a timeout so that the removeClass gets delayed for
    > > > > a specified amount of time.  Any ideas how to add a settimeout to
    > > > > this?
    >
    > > > > Thanks!- Hide quoted text -
    >
    > - Show quoted text -
    
    

    [jQuery] Re: Content slider?

    2009-08-31 Thread Dennis Madsen
    
    I'm trying to use the plugin, but have problem when using a Accordion
    from Query UI on one of the pages.
    You can see this sample page:
    http://dennismadsen.com/uploads/easyslider1.7/
    
    When sliding eg. from page 1 to 4 the Accordion is "flacking" when
    sliding. I only see that problem in my Firefox. No problem in IE or
    Chrome.
    I've recorded a video of it:
    http://dennismadsen.com/uploads/easyslider1.7/flacking.avi
    
    How can I solve that problem?
    
    On Aug 31, 3:55 pm, "Richard D. Worth"  wrote:
    > That content slider is not limited to images. The previous version has a
    > demo that shows this:http://cssglobe.com/lab/easyslider1.5/05.html
    >
    > but the newer version
    > supports this as well. I recommend you give it a try.
    >
    > - Richard
    >
    > On Mon, Aug 31, 2009 at 9:43 AM, Dennis Madsen  wrote:
    >
    > > I'm searching for a content slider like this:
    > >http://cssglobe.com/lab/easyslider1.7/01.html
    >
    > > It almost fits my need but I would like to use it to slide the content
    > > on my page - not simple images.
    >
    > > I've have three pages; competences, references and contact.
    > > Furthermore I have a frontpage with three link-icons - one for every
    > > subpages. Therefore I need to have four slides inside my content
    > > slider, but I should should have the ability to handle a click on the
    > > icons the first slide (=my frontpage) so that it slide to the
    > > respective page.
    >
    > > I hope someone know a plugin which fits my needs?
    
    

    [jQuery] JQuery Cache issue

    2009-08-31 Thread Ganex
    
    Hi all,
    
    I have unique problem.
    I have 3 pages - i didnt use any response.setHeader("Cache-Control",
    "no-cache"); etc like in my JSP !!
    
    in page-1 i enter search query, page-2 shows search results with
    dynamic getJSON getting called for more data -- ie., it will have some
    info + this dynamic data which will be calculated in page-2. when i
    click on more it will take me to page-3 with queryid, and show more
    details ...
    
    so when i come to page-2 frm page-3 using history.back(), history.go
    (-1) etc., that page is again hitting server using (getJSON fn).
    
    i used
    
     $. getJSON (options.statusCheckURL, {
    queryId : options.qid,
    messageId : options.msgId,
    assetId : options.aid,
     cache: true
    }, function(data) {
    receiveStatusData(data);
    },"json");
    
    Help me in this regard, so that i can load page-2 from cache instead
    of hitting server. i didnt have any $.ready() function in the code..
    
    -Ganesh :)
    
    

    [jQuery] Re: simple fadeIn not working

    2009-08-31 Thread amuhlou
    
    to avoid the flash of the div while it's being hidden:
    
    http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content
    
    On Aug 31, 2:34 pm, amuhlou  wrote:
    > Using display none poses an accessibility issue, as screen reader
    > software tends to completely skip elements with display:none.
    >
    > On Aug 31, 1:47 pm, greaseDonkey  wrote:
    >
    > > I would suggest to hide the container using css instead of the hide()
    > > effect when using $(document).ready(function(){}); cause this way you
    > > might sometime see the div for a few second before javascript start.
    >
    > > 

    [jQuery] Re: simple fadeIn not working

    2009-08-31 Thread amuhlou
    
    Using display none poses an accessibility issue, as screen reader
    software tends to completely skip elements with display:none.
    
    On Aug 31, 1:47 pm, greaseDonkey  wrote:
    > I would suggest to hide the container using css instead of the hide()
    > effect when using $(document).ready(function(){}); cause this way you
    > might sometime see the div for a few second before javascript start.
    >
    > 

    [jQuery] Re: rounded corner recommendations

    2009-08-31 Thread [ ravi ]
    
    
    On Aug 31, 2009, at 10:13 AM, Rich Sturim wrote:
    
    
    That looks like a great choice -- thanks for the tip.
    
    On Aug 28, 3:19 pm, Jack Killpatrick  wrote:
    I've had good luck with this one after testing many of them in  
    multiple
    
    browsers:
    
    http://www.parkerfox.co.uk/labs/cornerz
    
    
    
    
    A word of warning: the download link for Cornerz does not work (at  
    least for me!). I have investigated a few others: DD_Roundies,  
    CurvyCorners, Corners, JRounded, etc even one that used a special IE  
    feature (http://code.google.com/p/curved-corner/). Almost all of them  
    solve some part of the problem, but none have worked completely for  
    me, thus far. Here are some issues I noticed (with different subsets  
    of these tools): rounded corners are not rendered in floated elements,  
    DHTML show/hide messes up the corners, corners are not rendered for  
    fieldset legends, corners are not rendered at all for certain  
    fieldsets (seems to depend on the container block), legend styling is  
    removed for certain fieldsets, transparency is not supported, some  
    corners are curved while others are not in the same element, corners  
    aren't rounded but have a weird shape, and so on.
    
    
    Some of these plugins provide the ability to use native browser  
    support (--moz-border*, --webkit-border*) where available, which IMHO  
    is a critical feature (though this can be achieved using a work around  
    of adding the native CSS, then doing a browser check and plugin calls  
    if browser not Gecko/WebKit based).
    
    
    --ravi
    
    
    

    [jQuery] Help with LavaLamp

    2009-08-31 Thread Karen Morales
    Hi
    
    I keep having problems integrating a JQuery Lavalamp with Submenus. Take a
    look at http://karen.2kmegs.com the lavaLamp feature only works when
    hovering on the submenu items. I would like it to move when hovering on the
    root item like for example Products.
    
    My Javascript code is
    
    

    [jQuery] Toggle Starting Position

    2009-08-31 Thread greaseDonkey
    
    Hi
    
    Is it possible to force the starting position of the toggle event, for
    one or more matching element?
    
    Let says, you have multiple divs in page where you can collapse/expand
    them, then you would like to have one or more already opened but still
    be able to use the same toggle event previously set.
    
    Thanks you
    
    

    [jQuery] Re: simple fadeIn not working

    2009-08-31 Thread greaseDonkey
    
    I would suggest to hide the container using css instead of the hide()
    effect when using $(document).ready(function(){}); cause this way you
    might sometime see the div for a few second before javascript start.
    
    

    [jQuery] Re: rounded corner recommendations

    2009-08-31 Thread Rich Sturim
    
    Jack,
    
    That looks like a great choice -- thanks for the tip.
    
    -Rich
    
    On Aug 28, 3:19 pm, Jack Killpatrick  wrote:
    > I've had good luck with this one after testing many of them in multiple
    > browsers:
    >
    > http://www.parkerfox.co.uk/labs/cornerz
    >
    > - Jack
    >
    > Rich Sturim wrote:
    > > Greetings,
    >
    > > Can people recommend aroundedcorners plugin that is stable on a wide
    > > array of browsers?
    >
    > > I've been hunting around -- and found a few some, some better than
    > > others.
    >
    > > But, I was wondering if there are any elite ones that are truly
    > > excellent -- and I should consider?
    >
    > > Cheers,
    >
    > > Rich
    >
    >
    
    

    [jQuery] Re: .hide() not hiding elements in IE

    2009-08-31 Thread nick.rathert
    
    James and Charlie,
    
    your suggested changes worked like a charm.  thanks for the help.
    it's much appreciated.
    
    - nick
    
    
    
    On Aug 28, 8:18 pm, Charlie  wrote:
    > ID's must be unique, you need to use class for multiple instances
    > nick.rathert wrote:hi all, i'm having an interesting IE6 and IE7 issue that 
    > may just be par for the course. i'm curious if anyone else has run into this 
    > problem. here's the URL:http://jsbin.com/afedelong story short, i have a 
    > bunch of nested lists with IDs in certain ULs, like . i'm 
    > trying to use jQuery .hide() to hide all the ULs with that specific ID. 
    > everything works as expected in firefox, safari, chrome, IE8, etc. but IE6 
    > and IE7 seem to only notice the first UL in the DOM tree. so IE6/7 hides that 
    > first UL, then stops. anyone have any advice? thanks, nick
    
    

    [jQuery] Re: Content slider?

    2009-08-31 Thread Richard D. Worth
    That content slider is not limited to images. The previous version has a
    demo that shows this:
    http://cssglobe.com/lab/easyslider1.5/05.html
    
    but the newer version
    supports this as well. I recommend you give it a try.
    
    - Richard
    
    On Mon, Aug 31, 2009 at 9:43 AM, Dennis Madsen  wrote:
    
    >
    > I'm searching for a content slider like this:
    > http://cssglobe.com/lab/easyslider1.7/01.html
    >
    > It almost fits my need but I would like to use it to slide the content
    > on my page - not simple images.
    >
    > I've have three pages; competences, references and contact.
    > Furthermore I have a frontpage with three link-icons - one for every
    > subpages. Therefore I need to have four slides inside my content
    > slider, but I should should have the ability to handle a click on the
    > icons the first slide (=my frontpage) so that it slide to the
    > respective page.
    >
    > I hope someone know a plugin which fits my needs?
    
    

    [jQuery] Re: JqModal / simpleModal - maintaining form state

    2009-08-31 Thread Steffan A. Cline
    
    on 8/30/09 12:48 PM, Steffan Cline at stef...@hldns.com wrote:
    
    > 
    > I have tried both of these modal solutions, beautiful by the way, and found
    > a small problem with both of them and am wondering if there is a work
    > around.
    > 
    > I have a form where there are a bunch of check boxes that I have enclosed in
    > a div that I am using for my popup modal. Now the thing is that while the
    > modal is up and I check a bunch of boxes and then close the modal, reopen
    > again, all checkboxes have been reset rather than retaining their state. Is
    > there a way to circumvent this behavior?
    > 
    > So, if I click checkbox #1 and close the modal and then reopen the modal,
    > checkbox #1 is no longer checked. I need it to maintain it's state.
    > 
    > Any suggestions?
    > 
    > 
    > Thanks
    > 
    > Steffan
    > 
    
    I tried a couple other modal type plugins and seem to have the same issues.
    Has anyone seen this before? Is there a work around?
    
    
    Thanks
    
    Steffan
    
    ---
    T E L  6 0 2 . 7 9 3 . 0 0 1 4 | F A X  6 0 2 . 9 7 1 . 1 6 9 4
    Steffan A. Cline  
    stef...@execuchoice.net Phoenix, Az
    http://www.ExecuChoice.net  USA
    AIM : SteffanC  ICQ : 57234309
    YAHOO : Steffan_Cline   MSN : stef...@hldns.com
    GOOGLE: Steffan.Cline Lasso Partner Alliance Member
    ---
    
    
    
    
    

    [jQuery] Content slider?

    2009-08-31 Thread Dennis Madsen
    
    I'm searching for a content slider like this:
    http://cssglobe.com/lab/easyslider1.7/01.html
    
    It almost fits my need but I would like to use it to slide the content
    on my page - not simple images.
    
    I've have three pages; competences, references and contact.
    Furthermore I have a frontpage with three link-icons - one for every
    subpages. Therefore I need to have four slides inside my content
    slider, but I should should have the ability to handle a click on the
    icons the first slide (=my frontpage) so that it slide to the
    respective page.
    
    I hope someone know a plugin which fits my needs?
    
    

    [jQuery] Re: localscroll not working, help? could it be lightbox?

    2009-08-31 Thread Alice
    
    NEVERMIND, it's fixed. I don't know why the three posts showed up...I
    thought I posted them in different groups. Weird.
    
    On Aug 24, 11:32 am, andy  wrote:
    > Are you running WP?  If so some plugins CAN break scrollTo,
    > serialScroll etc depending on the syntax, etc, but in my experience
    > Lightbox is not one of them.
    >
    > On Aug 23, 4:18 pm, Alice  wrote:
    >
    >
    >
    > > problem can be seen here:http://unedible.com/alicewhite/
    >
    > > it's just not scrolling. sometimes when i change the code around a
    > > bit, the anchor images stop working completely.
    > > i'm also using lightbox, could that be the issue?
    
    

    [jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

    2009-08-31 Thread mathieuuu
    
    Hi,
    
    Thanks for your answer rupak but I tried your fix and it did not give
    the expected result.
    On the contrary, now I think that the plug in is no longer using
    cache, even for non-empty results...
    
    On 31 août, 13:58, rupak mandal  wrote:
    > Hi ,
    > you have to make a little changes in autocomplete.js
    >
    > Search for "*if (data && data.length*)" condition which is inside "request"
    > function. Add this code before the *if * condition
    >
    > if(data)
    >     data.length=0;
    >
    > Thanks
    > Rupak
    >
    > On Mon, Aug 31, 2009 at 3:36 PM, mathieuuu  wrote:
    >
    > > Hello,
    >
    > > I am currently using the jquery autocomplete ($Id:
    > > jquery.autocomplete.js 5785 2008-07-12 10:37:33Z) with remote data.
    >
    > > Obviously I did not disabled the cache and "matchSubset" option (all
    > > matches of "foot" are a subset of all matches for "foo"), which
    > > reduces the number of queries made to the server.
    >
    > > This is working well except in one case : if "foo" returns an empty
    > > result set, continue by typing "foot" will still generate another
    > > query to the server ...
    > > From my point of view this shouldn't be useful (if "foo" doesn't
    > > return results, "foot" won't either) and I am looking for a way to
    > > have the same "cache usage" with empty result as with not-empty
    > > results.
    >
    > > Does anyone have an idea of how this could be done or knows the reason
    > > why there is this difference of behaviour ?
    >
    > > Thank you a lot for your help.
    
    

    [jQuery] Re: Settimeout on Function

    2009-08-31 Thread KeeganWatkins
    
    So, it's just a simple issue with scope. Try this instead (which was
    working when applied via FireBug to your demo page:
    
    $(document).ready(function(){
    $("#barcode span").hover(
      function () {
    $(this).addClass("barover");
      },
      function () {
       // Store span reference
      var span = $(this);
       setTimeout(function() {
    span.removeClass("barover");
      }, 2000);
      }
    );
      });
    
    Note that the timer used here is 2000 milliseconds (2 seconds), so
    you'll likely have to tweak that value to fit your needs. Hope that
    helps.
    On Aug 30, 7:22 pm, a1anm  wrote:
    > Hi,
    >
    > I tried this but it didn't work.  It resulted in the class not being
    > removed at all.  You can see here:
    >
    > http://www.toomanydesigns.com/test/noflash/
    >
    > On Aug 30, 11:20 am, KeeganWatkins  wrote:
    >
    > > The basic syntax for delaying a function using setTimeout is this:
    >
    > > setTimeout(function() {
    > >     // ...code here executes when the timeout is complete
    >
    > > }, 2000 /* Length of timeout, in milliseconds */);
    >
    > > so for your example, something like this should work:
    >
    > >  $(document).ready(function(){
    >
    > >     $("#barcode span").hover(
    > >       function () {
    > >                 $(this).addClass("barover");
    > >       },
    > >       function () {
    > >            setTimeout(function() {
    > >                 $(this).removeClass("barover");
    > >           }, 2000);
    > >       }
    > >     );
    > >   });
    >
    > > On Aug 30, 9:49 am, a1anm  wrote:
    >
    > > > Hi,
    >
    > > > I have this code:
    >
    > > >  $(document).ready(function(){
    >
    > > >     $("#barcode span").hover(
    > > >       function () {
    > > >                 $(this).addClass("barover");
    > > >       },
    > > >       function () {
    > > >                 $(this).removeClass("barover");
    > > >       }
    > > >     );
    > > >   });
    >
    > > > I would like to add a timeout so that the removeClass gets delayed for
    > > > a specified amount of time.  Any ideas how to add a settimeout to
    > > > this?
    >
    > > > Thanks!
    
    

    [jQuery] Re: Color Animations Cookie

    2009-08-31 Thread Dhruva Sagar
    Use the jquery.cookie plugin to save it as a parameter in cookie and onload
    / document.ready check the cookie if its set, if set use the configuration
    otherwise use default.
    Thanks & Regards,
    Dhruva Sagar.
    
    
    Jonathan Swift
    - "May you live every day of your life."
    
    On Mon, Aug 31, 2009 at 6:41 PM, Michael  wrote:
    
    >
    > How can I get the following code:
    >
    >  $(document).ready(function(){
    >$("#go").click(function(){
    >  $(".block").animate( { backgroundColor: 'red' }, 1000);
    > $(".block2").animate( { backgroundColor: 'green' }, 1000);
    > });
    >  });
    >
    > From:
    > http://docs.jquery.com/Release:jQuery_1.2/Effects#Color_Animations
    >
    > To register a cookie so next time I visit the elements on the page are
    > set to the color set above?.
    
    

    [jQuery] Color Animations Cookie

    2009-08-31 Thread Michael
    
    How can I get the following code:
    
     $(document).ready(function(){
    $("#go").click(function(){
      $(".block").animate( { backgroundColor: 'red' }, 1000);
    $(".block2").animate( { backgroundColor: 'green' }, 1000);
    });
      });
    
    From:
    http://docs.jquery.com/Release:jQuery_1.2/Effects#Color_Animations
    
    To register a cookie so next time I visit the elements on the page are
    set to the color set above?.
    
    

    [jQuery] Re: simple fadeIn not working

    2009-08-31 Thread amuhlou
    
    the div would need to start out hidden, otherwise the fade transition
    won't do anything.
    $(document).ready(function(){
    $('#container').hide();
    $("#container").fadeIn("slow");
    
    });
    
    if the "slow" speed isn't slow enough, you may want to try putting in
    the speed in milliseconds
    
    On Aug 31, 12:11 pm, grunghi  wrote:
    > Its really simple, i need one div to slowly fade in when the page is
    > loaded, i used this code:
    > $(document).ready(function(){
    >                 $("#container").fadeIn("slow");  });
    > But it haven´t worked for me at all... When i tryed to replace fadeIn
    > with fadeTo it worked..
    > Thank you, Joseph
    
    

    [jQuery] Tablesorter, sorting on multiple columns

    2009-08-31 Thread Alexander
    
    When I sort on multiple columns, I would like there to be a difference
    in color between the primary column and the secondary column. Any
    ideas how I can achieve that? Didn't find anything special about
    secondary columns in the DOM I could use in CSS.
    
    

    [jQuery] simple fadeIn not working

    2009-08-31 Thread grunghi
    
    Its really simple, i need one div to slowly fade in when the page is
    loaded, i used this code:
    $(document).ready(function(){
    $("#container").fadeIn("slow");  });
    But it haven´t worked for me at all... When i tryed to replace fadeIn
    with fadeTo it worked..
    Thank you, Joseph
    
    

      1   2   >