[jQuery] Changing Classes

2011-12-20 Thread Denis Caggiano
Hi,
I having trouble with change class in HTML report.
This change must happen in line and columns when cursor is on a cell.
I created an ID for every cell to know witch column is my cursor on. Then
run a each() for every cell that has an ID like that one.

The problem is the reports with many lines. Its so slow.

Does anyone have any better idea?

Tks

-- 
Denis Martins Caggiano


Re: [jQuery] jqGrid

2010-08-04 Thread Ricardo Fontão Verhaeg
Hi Denis

what is your intent for doing this? you want to add custom data to the post
or change the data?

this will call a function just before sending the data to the server. with
the POST array formed (or what will become it after submitting)

Ricardo Verhaeg
Bacharelado Ciências da Computação - USP - São Carlos (2005)
Virgos Tecnologia da Informação - Desenvolvimento


On Fri, Jul 30, 2010 at 17:34, Denis Caggiano denisribe...@gmail.comwrote:

 Does anyone here had use the jqGrid?
 If yes, how can I use *onclickSubmit* event in the edit submit button?

 I cant understand this documentation:
 http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing

 http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editingTks.

 --
 Denis Martins Caggiano



Re: [jQuery] jqGrid

2010-08-04 Thread Denis Caggiano
Brasileiro? :)
Estou usando a Grid Master Detail para alterar dados no banco.
Porém a grid que exibe o detalhamento (que se pode excluir/inserir/alterar
itens) não estou conseguindo enviar o ID da master grid para o banco.
Ou seja, consigo fazer tudo nas 2 grids, porém nao consigo adicionar na
segunda Grid, pois preciso do ID do item selecionado da primeira.

Entendeu?

Vlw.

2010/8/4 Ricardo Fontão Verhaeg rverh...@gmail.com

 Hi Denis

 what is your intent for doing this? you want to add custom data to the post
 or change the data?

 this will call a function just before sending the data to the server. with
 the POST array formed (or what will become it after submitting)

 Ricardo Verhaeg
 Bacharelado Ciências da Computação - USP - São Carlos (2005)
 Virgos Tecnologia da Informação - Desenvolvimento



 On Fri, Jul 30, 2010 at 17:34, Denis Caggiano denisribe...@gmail.comwrote:

 Does anyone here had use the jqGrid?
 If yes, how can I use *onclickSubmit* event in the edit submit button?

 I cant understand this documentation:
 http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing

 http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editingTks.

 --
 Denis Martins Caggiano





-- 
Denis Martins Caggiano


[jQuery] jqGrid

2010-07-30 Thread Denis Caggiano
Does anyone here had use the jqGrid?
If yes, how can I use *onclickSubmit* event in the edit submit button?

I cant understand this documentation:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing

http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editingTks.

-- 
Denis Martins Caggiano


[jQuery] How to know if a string is simply text or a good jQuery expression?

2010-07-09 Thread Luca
Hi all.

I need some suggestion for performing this task: a user using a
function common provide to the function a string, however sometimes he
must be able to provide a jQuery selector expression and I need to
perform different action is this case.

How can I do this?

-- 
-- luca


[jQuery] Modal Confirmation trying to use for form validation

2010-05-01 Thread Ron Mast
Good morning gang,

I'm attempting to use Modal Confirmation from
http://jqueryui.com/demos/dialog/#modal-confirmation

I have the example working and code looks like so:
!DOCTYPE html
html lang=en
head
meta charset=UTF-8 /
titlejQuery UI Dialog - Modal confirmation/title
link type=text/css 
href=../../lib/themes/base/jquery.ui.all.css
rel=stylesheet /
script type=text/javascript 
src=../../lib/jquery-1.4.2.js/script
script type=text/javascript
src=../../lib/external/jquery.bgiframe-2.1.1.js/script
script type=text/javascript 
src=../../lib/ui/jquery.ui.core.js/script

script type=text/javascript
src=../../lib/ui/jquery.ui.widget.js/script
script type=text/javascript 
src=../../lib/ui/jquery.ui.mouse.js/script
script type=text/javascript
src=../../lib/ui/jquery.ui.button.js/script
script type=text/javascript
src=../../lib/ui/jquery.ui.draggable.js/script
script type=text/javascript
src=../../lib/ui/jquery.ui.position.js/script
script type=text/javascript
src=../../lib/ui/jquery.ui.dialog.js/script
link type=text/css href=../../lib/demos/demos.css 
rel=stylesheet /

script type=text/javascript

$(#dialog-confirm).dialog({
resizable: false,
height:140,
modal: true,
buttons: {
'Delete all items': function() {
$(this).dialog('close');
},
Cancel: function() {
$(this).dialog('close');
}
}
});

/script
/head
body

a href=# id=showpopupboxClick to show pupup/a

div id=dialog-confirm title=Empty the recycle bin?
pspan class=ui-icon ui-icon-alert style=float:left; margin:0
7px 20px 0;/spanThese items will be permanently deleted and cannot
be recovered. Are you sure?/p
/div

/body
/html

---

As you can see I'm I have a href in place trying to apply a click
event to $('#showpopupbox') but with now success.

How would I go about doing this? I want to use this in my form
validation which i'm using jquery :).

Any help is greatly appreciated. Thanks!

Ron


[jQuery] simple ajax not working in FF but works great in IE what am I doing wrong?

2010-05-01 Thread Ron Mast
script type=text/javascript 
$(document).ready(function(){   
// get faculty default A
$.ajax({
url: 'myvalidurl',
type: post,
async: true,
dataType: html,
contentType: html,
error:function (XMLHttpRequest, textStatus, 
errorThrown) {
//alert(eval('(' + 
XMLHttpRequest.responseText + ')').Message);
console.log(textStatus:  + 
textStatus); // the options for this
ajax request
console.log(XMLHttpRequest:  + 
XMLHttpRequest.responseText); //
the options for this ajax request
console.log(errorThrown:  + 
errorThrown); // the options for
this ajax request
console.log(this); // the options for 
this ajax request
},  
success: function(data) {
$('.result').html(data);
}
});
});
/script

Firebug console shows:
textStatus: error
XMLHttpRequest:
errorThrown: undefined

how do I get a more distinct error?

Any help is greatly appreciated...I have googled and will continue to
hunt down this issue. I have used both jquery 1.3.2 and script
src=http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js;
type=text/javascript/script

Thanks so much!


[jQuery] Re: Modal Confirmation trying to use for form validation

2010-05-01 Thread Ron Mast
Nevermindfigured it out :)

On Mon, Apr 19, 2010 at 9:44 AM, Ron Mast ron...@gmail.com wrote:
 Good morning gang,

 I'm attempting to use Modal Confirmation from
 http://jqueryui.com/demos/dialog/#modal-confirmation

 I have the example working and code looks like so:
 !DOCTYPE html
 html lang=en
 head
        meta charset=UTF-8 /
        titlejQuery UI Dialog - Modal confirmation/title
                link type=text/css 
 href=../../lib/themes/base/jquery.ui.all.css
 rel=stylesheet /
                script type=text/javascript 
 src=../../lib/jquery-1.4.2.js/script
                script type=text/javascript
 src=../../lib/external/jquery.bgiframe-2.1.1.js/script
                script type=text/javascript 
 src=../../lib/ui/jquery.ui.core.js/script

                script type=text/javascript
 src=../../lib/ui/jquery.ui.widget.js/script
                script type=text/javascript 
 src=../../lib/ui/jquery.ui.mouse.js/script
                script type=text/javascript
 src=../../lib/ui/jquery.ui.button.js/script
                script type=text/javascript
 src=../../lib/ui/jquery.ui.draggable.js/script
                script type=text/javascript
 src=../../lib/ui/jquery.ui.position.js/script
                script type=text/javascript
 src=../../lib/ui/jquery.ui.dialog.js/script
                link type=text/css href=../../lib/demos/demos.css 
 rel=stylesheet /

                script type=text/javascript

                        $(#dialog-confirm).dialog({
                                resizable: false,
                                height:140,
                                modal: true,
                                buttons: {
                                        'Delete all items': function() {
                                                $(this).dialog('close');
                                        },
                                        Cancel: function() {
                                                $(this).dialog('close');
                                        }
                                }
                        });

                /script
 /head
 body

 a href=# id=showpopupboxClick to show pupup/a

 div id=dialog-confirm title=Empty the recycle bin?
        pspan class=ui-icon ui-icon-alert style=float:left; margin:0
 7px 20px 0;/spanThese items will be permanently deleted and cannot
 be recovered. Are you sure?/p
 /div

 /body
 /html

 ---

 As you can see I'm I have a href in place trying to apply a click
 event to $('#showpopupbox') but with now success.

 How would I go about doing this? I want to use this in my form
 validation which i'm using jquery :).

 Any help is greatly appreciated. Thanks!

 Ron



Re: [jQuery] Validation and AJAX forms

2010-03-23 Thread Steffan A. Cline
I've still not gone anywhere with this. Any suggestions?


Thanks

Steffan




 From: Steffan Cline stef...@hldns.com
 Reply-To: jquery-en@googlegroups.com
 Date: Mon, 22 Mar 2010 22:54:32 -0700
 To: jquery-en@googlegroups.com jquery-en@googlegroups.com
 Subject: [jQuery] Validation and AJAX forms
 
 I'm tinkering with the jquery forms plugin with the validation plugin. I'm
 able to do some simple validations but I have some BIG forms that are loaded
 dynamically. I want to use the addClassRules() with the ajax but am unsure
 how to do it.
 
 Currently I have a multi tab form. The first tab is simple.
 
 $('#form-step1').validate({rules: { loantype: required },
  messages: { loantype: You must select a loan
 type. },
  errorLabelContainer: #form1-error,
 submitHandler: function(form) {
 //$(form).ajaxSubmit();
 nextTab();
 }
 });
 
 BUT on the second tab I have another form but its far longer. How would I
 set it up to use the ajax like above AND the addClassRules?
 
 Within this form, I have some other radio dials which will use .load() to
 include additional data based on options so using the class would work well.
 
 Any suggestions are appreciated!
 
 
 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
 ---
 
 
 
 To unsubscribe from this group, send email to
 jquery-en+unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


To unsubscribe from this group, send email to 
jquery-en+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[jQuery] Validation and AJAX forms

2010-03-22 Thread Steffan A. Cline
I'm tinkering with the jquery forms plugin with the validation plugin. I'm
able to do some simple validations but I have some BIG forms that are loaded
dynamically. I want to use the addClassRules() with the ajax but am unsure
how to do it.

Currently I have a multi tab form. The first tab is simple.

$('#form-step1').validate({rules: { loantype: required },
 messages: { loantype: You must select a loan
type. },
 errorLabelContainer: #form1-error,
submitHandler: function(form) {
//$(form).ajaxSubmit();
nextTab();
}
});

BUT on the second tab I have another form but its far longer. How would I
set it up to use the ajax like above AND the addClassRules?

Within this form, I have some other radio dials which will use .load() to
include additional data based on options so using the class would work well.

Any suggestions are appreciated!


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
---



To unsubscribe from this group, send email to 
jquery-en+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[jQuery] How to add a button

2010-03-03 Thread podeig
Hello!

Is it possible to add a button (like standard drop down list has) to
open the list with all the results? I need two ways to select item by
typing and selection from the list.

If not, may be you can add this functionality to this plug-in?

Thank you! :)


[jQuery] How to add a button for opening the list? [autocomplete]

2010-03-03 Thread podeig
Hello!

Is it possible to add a button (like standard drop down list has) to
open the list with all the results? I need two ways to select item by
typing and selection from the list.

If not, may be you can add this functionality to this plug-in?

Thank you! :)


[jQuery] jQuery UI accordion

2010-03-03 Thread K1
HI all
I wanna create a accordion with jq UI with this options,
accordion have 5 header and load with header 1 by default,and I wanna
disable other headers  when user click on them.how can I disable
showing content of header when user click on that.
 thanks


[jQuery] problem with ajaxForm

2010-03-03 Thread Abraxas
I NEED HELP PLEASE... IM USING AJAXform and i need send a javascript
variable but i don´t know how i can do that! this is the code:

obs: I need send the form and the array series

//en series[] se almacena cada fila de la tabla
for(var i=0;inumFilas;i++){
var fila=filas[i];
var columnas=fila.cells;
var id_aux=0;
series[i]=columnas[0].innerHTML+-+ 
columnas[1].innerHTML;
}

var opciones = {
target: '#resp',
//clearForm: true,
resetForm:true,
data:series=+series

}

$('#form').ajaxForm(opciones) ;
//var queryString = $('#form').formSerialize();
//queryString=queryString +series=+series;
//$(this).ajaxSubmit(options);
//$.post('respuesta.php', queryString);

I do this but in respuesta.php i don´t receive the data value...please
i need helpp :(


Re: [jQuery] What I need to know?

2010-03-03 Thread Cesar Sanz

jquery does not work with your backend system.. just can init a request and
your server side will handle all that stuffs (like insertions, deletions, 
etc)


regards
- Original Message - 
From: Nathan Klatt n8kl...@gmail.com

To: jquery-en@googlegroups.com
Sent: Tuesday, March 02, 2010 4:00 PM
Subject: Re: [jQuery] What I need to know?



On Tue, Mar 2, 2010 at 3:31 PM, Danjojo dlcac...@gmail.com wrote:

Is it possible with jQuery to update a database / call a stored
procedure when I update an Input box that represents Quantity of an
item?


http://api.jquery.com/category/ajax/

There are some AJAX tutorials targeting jQuery use linked to here:

http://docs.jquery.com/Tutorials 




Re: [jQuery] problem with ajaxForm

2010-03-03 Thread Rey Bango
Abraxas,

Could you please post your question here? http://forum.jquery.com/

That is the official support forum for the jQuery project. We no
longer monitor this Google group.

Thanks,

Rey
jQuery Team

On Wed, Mar 3, 2010 at 9:54 AM, Abraxas abraxa...@gmail.com wrote:
 I NEED HELP PLEASE... IM USING AJAXform and i need send a javascript
 variable but i don´t know how i can do that! this is the code:

 obs: I need send the form and the array series

 //en series[] se almacena cada fila de la tabla
                for(var i=0;inumFilas;i++){
                        var fila=filas[i];
                        var columnas=fila.cells;
                        var id_aux=0;
                        series[i]=columnas[0].innerHTML+-+ 
 columnas[1].innerHTML;
                }

            var opciones = {
                                target: '#resp',
                                //clearForm: true,
                                resetForm:true,
                                data:series=+series

                                }

                $('#form').ajaxForm(opciones) ;
                //var queryString = $('#form').formSerialize();
                //queryString=queryString +series=+series;
                //$(this).ajaxSubmit(options);
                //$.post('respuesta.php', queryString);

 I do this but in respuesta.php i don´t receive the data value...please
 i need helpp :(



[jQuery] Autocomplete, extraParams and this

2010-03-03 Thread olly
Hi there,

been searchin' for a solution for hours, hope someone here can help me
out.

This what I'm trying to do, I have several inputs on one page with
autocomplete. I need to pass a variable based on the input field the
user is in. So I decided to go with having this information as id
value.

I've found several solutions for autocompletes only called by the id,
not the class,

  $(.autocomplete).autocomplete (getAutocompleteValue.php', {
extraParams: { type: $(this).attr ('id') },
  });

Here is a way I found, but I can't get it to work:

  $(.autocomplete).each (function () {
var field = this;
$(field).setOptions({
  extraParams: {
type: function() { return field.id; }
  }
});
  });

By trying this, every autocomplete has the same extra params set as
the first autocomplete.

I think I'm just screwed up by trying for hours, so maybe someone has
a little hint or even a solution for my?

best olly


[jQuery] superfish IE error - pleasee help

2010-03-03 Thread Eddie
Hi All, this is the error i get in superfish menu in joomla

jQuery.noConflict();
jQuery(function($){ $(ul.sf-menu).superfish({hoverClass:'sfHover',
pathClass:'active', pathLevels:0, delay:800, animation:
{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:1}) });
jQuery(window).load( function() {jQuery(ul.sf-
menu).superfish_width_mod({ vertical:0, menuWidth:'100%', equalWidth:
0, resizeSeps:0, resizeSubMenus:0 }) })
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;


Now Charlie (another user on this forum) says it could be the window
load function...it isnt, still gives errors, according to the error
report in IE its something to do with the bit around ul.sf-menu on
the fourth line down...any help would be greatly appreciated.

Chris



[jQuery] Block link with lightbox

2010-03-03 Thread raw-m

I'm having a massive headache with this, please help!!

I have a number of divs, each containing an image that launches a lightbox
gallery. A text description is also within the div and underneath each image
describing what's going on (I don't want it as part of the gallery), but it
doesn't contain a link to the lightbox.

Each div (and everything in it) is needed to be the button that launches the
lightbox (ie, clicking the image or the text launches the gallery). How do I
do this? Getting each unique href and rel values (using
.find(a).attr(href).attr(rel)) for each link seems pretty straight
forward but I don't know what to do with them when I've got them!

Any help is much appreciated.
-- 
View this message in context: 
http://old.nabble.com/Block-link-with-lightbox-tp27758652s27240p27758652.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: [jQuery] How to add a button

2010-03-03 Thread Cesar Sanz

what???

- Original Message - 
From: podeig denis.pokotyl...@gmail.com

To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, March 03, 2010 8:22 AM
Subject: [jQuery] How to add a button



Hello!

Is it possible to add a button (like standard drop down list has) to
open the list with all the results? I need two ways to select item by
typing and selection from the list.

If not, may be you can add this functionality to this plug-in?

Thank you! :)


Re: [jQuery] Block link with lightbox

2010-03-03 Thread Nilesh Macwan
Hi

*My Understanding as per your email : *you what to pop-up light box on click
on anchor tag or on text. please correct me

*My Explanation : *give specific identification to each element like div
in terms of class, example if div is having image then give myimgclass, if
div is containing text then give  mytextclass, this is an examples, so by
this you can perform each() function from jquery, please visit this link for
more help http://api.jquery.com/each/, and do rest of coding on that
function, more on this if you can upload ur problem on live, and let me have
a look on that, it will great to check on that.

Thanks
Nilesh J. Macwan

On Wed, Mar 3, 2010 at 9:19 PM, raw-m numb...@gmail.com wrote:


 I'm having a massive headache with this, please help!!

 I have a number of divs, each containing an image that launches a lightbox
 gallery. A text description is also within the div and underneath each
 image
 describing what's going on (I don't want it as part of the gallery), but it
 doesn't contain a link to the lightbox.

 Each div (and everything in it) is needed to be the button that launches
 the
 lightbox (ie, clicking the image or the text launches the gallery). How do
 I
 do this? Getting each unique href and rel values (using
 .find(a).attr(href).attr(rel)) for each link seems pretty straight
 forward but I don't know what to do with them when I've got them!

 Any help is much appreciated.
 --
 View this message in context:
 http://old.nabble.com/Block-link-with-lightbox-tp27758652s27240p27758652.html
 Sent from the jQuery General Discussion mailing list archive at Nabble.com.




-- 
Hi,



Thanks

Nilesh J. Macwan


Re: [jQuery] Slide down / Slide up, stop repeating

2010-03-02 Thread Nathan Klatt
On Mon, Mar 1, 2010 at 11:35 AM, Paul Collins pauldcoll...@gmail.com wrote:
 My problem is that if someone hovers over the .content multiple times,
 the JQuery remembers and keeps popping the menu up and down

From http://api.jquery.com/stop/:

We can create a nice fade effect without the common problem of
multiple queued animations by adding .stop(true, true) to the chain:

$('#hoverme-stop-2').hover(function() {
  $(this).find('img').stop(true, true).fadeOut();
}, function() {
  $(this).find('img').stop(true, true).fadeIn();
});

I don't like how this jerks the in animation to its end then starts
the out animation - it would be nice if it would freeze the in
animation and start the out animation from there but things get messed
up with jumpToEnd (the second param) set to false.

Nathan


[jQuery] Get the previous element matching a class

2010-03-02 Thread debussy007

Hi, 

I would like to have the previous TD element with class time. 

I tried : $(this).closest('td').prev('td.time').html()   (where this is a
div element inside a TD) 
But it only works for a div inside a TD that is *directly* following the
td.time element. 

See the code below: my jquery selector above is only working for the div's
inside td class=lun01032010 (where the latter is directly following
td.time element), 
not for the div's inside td class=mar02032010 

td class=time 
8am 
/td 
td class=lun01032010 
div class=quarter daylun /div 
div class=quarter daylun /div 
div class=quarter daylun /div 
div class=quarter daylun /div 
/td 
td class=mar02032010 
div class=quarter daymar /div 
div class=quarter daymar /div 
div class=quarter daymar /div 
div class=quarter daymar /div 
/td 

Thank you for any help. 
мэтт
-- 
View this message in context: 
http://old.nabble.com/Get-the-previous-element-matching-a-class-tp27757091s27240p27757091.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: Newbie Question: Finding and manipulating an element

2010-03-02 Thread Greg Tarnoff
Aaron,
  Not sure if you caught it, but I screwed up some quotes in my code
snippet (stupid iphone). It should be:

$('ul.foo li ul').addClass(bar);

On Mar 1, 9:25 am, Aaron Johnson aaron.mw.john...@gmail.com wrote:
 Greg, Nathan, Thanks very much for your help!

 On 1 March 2010 14:58, Nathan Klatt n8kl...@gmail.com wrote:

  On Mon, Mar 1, 2010 at 5:06 AM, Aaron Johnson
  aaron.mw.john...@gmail.com wrote:
   The top level list has an ID and associated css, I'd like to add a class
  to
   each of the nested ul elements in order to style them differently. I
   cannot manually add a class so wondered if I could do it with jQuery.

   I'm looking for a result like this:

   ul class=foo
       lia title=Announcements1 href=foo.htmlspan
   class=portal-navigation-labelHome/span/a
           ul class=bar

  If all of the inner uls are styled the same you don't need a class,
  just add a rule to your css:

  ul.foo  li  ul {
   /* style stuff */
  }

  Nathan


Re: [jQuery] Get the previous element matching a class

2010-03-02 Thread Nathan Klatt
On Tue, Mar 2, 2010 at 9:20 AM, debussy007 debussy...@gmail.com wrote:
 I would like to have the previous TD element with class time.

 I tried : $(this).closest('td').prev('td.time').html()   (where this is a
 div element inside a TD)
 But it only works for a div inside a TD that is *directly* following the
 td.time element.

Yeah, prev only gets the immediately preceding sibling; prevAll gets
all previous siblings so I think you want something like this:

$(this).closest('td').prevAll('td.time').last().html()

Nathan


[jQuery] What I need to know?

2010-03-02 Thread Danjojo
Is it possible with jQuery to update a database / call a stored
procedure when I update an Input box that represents Quantity of an
item?

I am using vanilla ASP and have not used jQuery in a while.

Because it is a wish list with line-items of quantity and being able
to submit one line to the cart for purchase... etc I am running into
many challenges..


Re: [jQuery] What I need to know?

2010-03-02 Thread Nathan Klatt
On Tue, Mar 2, 2010 at 3:31 PM, Danjojo dlcac...@gmail.com wrote:
 Is it possible with jQuery to update a database / call a stored
 procedure when I update an Input box that represents Quantity of an
 item?

http://api.jquery.com/category/ajax/

There are some AJAX tutorials targeting jQuery use linked to here:

http://docs.jquery.com/Tutorials


[jQuery] VALIDATE

2010-03-02 Thread AMARJEET
Hi Jörn Zaefferer,

Is there any reason validator Plugin not supporting
validate multiple form fields with identical names

Is there any way to validate Identical Names Fields?


Thanks
Amarjeet


[jQuery] Nested Tab call function on tab select help

2010-03-02 Thread J Wolfe
I'm fairly new to jQuery and don't understand exactly why this isn't
working. I bind the tabsselect to one of my nested tabs hoping it will
execute that function, though I do not get any errors with firebug and
it doesn't work. Can anyone clue me into what I'm doing wrong? Thanks!

Jonathan


 script portion: 

$(function () {
// Make main set of tabs
$('#tabs').tabs({
fx: {
opacity: 'toggle'
}
});


$('#nested-tabs').tabs({
fx: {
opacity: 'toggle'
}
 });

$('#nested-tab-1').bind('tabsselect', function(event, ui){
  alert(Tab was pressed);
});
});



# html portion ###


div id=tabs-4 class=ui-tabs-hide
  div id=nested-tabs class=ui-tabs
  ul
lia href=#nested-tab-1Radar/a/li
lia href=#nested-tab-2Satellite/a/li
  /ul
  div id=nested-tab-1img src = http://radar.weather.gov/
ridge/lite/N0R/RTX_loop.gif/div
  div id=nested-tab-2img src = http://radar.weather.gov/
ridge/lite/N0R/RTX_loop.gif/div

  /div
/div!-- End tabs-4 --


[jQuery] treeview - prevent expand/collapse on node click

2010-03-02 Thread Andreas
Hi,

I want to prevent expand/collapse behavior when clicking on a node
(folder) in the tree. I only want to expand/collapse when clicking on
the plus/minus sign (+/-).

I have tried to use stopPropagation on the click event but I don't get
it to work.

Any sugestions?

Thanks
Andreas


[jQuery] shobhit chaturvedi wants to chat

2010-03-01 Thread shobhit chaturvedi
---

shobhit chaturvedi wants to stay in better touch using some of
Google's coolest new
products.

If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-4b2302e37c-9fd2a24dac-15866bd193bee8f5
You'll need to click this link to be able to chat with shobhit chaturvedi.

To get Gmail - a free email account from Google with over 2,800 megabytes of
storage - and chat with shobhit chaturvedi, visit:
http://mail.google.com/mail/a-4b2302e37c-9fd2a24dac-15866bd193bee8f5

Gmail offers:
- Instant messaging right inside Gmail
- Powerful spam protection
- Built-in search for finding your messages and a helpful way of organizing
  emails into conversations
- No pop-up ads or untargeted banners - just text ads and related information
  that are relevant to the content of your messages

All this, and its yours for free. But wait, there's more! By opening a Gmail
account, you also get access to Google Talk, Google's instant messaging
service:

http://www.google.com/talk/

Google Talk offers:
- Web-based chat that you can use anywhere, without a download
- A contact list that's synchronized with your Gmail account
- Free, high quality PC-to-PC voice calls when you download the Google Talk
  client

We're working hard to add new features and make improvements, so we might also
ask for your comments and suggestions periodically. We appreciate your help in
making our products even better!

Thanks,
The Google Team

To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/about.html
http://www.google.com/talk/about.html

(If clicking the URLs in this message does not work, copy and paste them into
the address bar of your browser).


[jQuery] Newbie Question: Finding and manipulating an element

2010-03-01 Thread Aaron Johnson
Hello...

I have an unordered list containing nested lists...

ul class=foo
lia title=Announcements1 href=foo.htmlspan
class=portal-navigation-labelHome/span/a
ul
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
/ul
/li
lia title=Announcements2 href=foo.htmlspan
class=portal-navigation-labelHome/span/a
ul
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
/ul
/li
lia title=Announcements3 href=foo.htmlspan
class=portal-navigation-labelHome/span/a
ul
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
/ul
/li
/ul

The top level list has an ID and associated css, I'd like to add a class to
each of the nested ul elements in order to style them differently. I
cannot manually add a class so wondered if I could do it with jQuery.

I'm looking for a result like this:

ul class=foo
lia title=Announcements1 href=foo.htmlspan
class=portal-navigation-labelHome/span/a
ul class=bar
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
/ul
/li
lia title=Announcements2 href=foo.htmlspan
class=portal-navigation-labelHome/span/a
ul class=bar
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
/ul
/li
lia title=Announcements3 href=foo.htmlspan
class=portal-navigation-labelHome/span/a
ul class=bar
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
lia title=Announcements
href=foo.htmlspanAnnouncements/span/a/li
/ul
/li
/ul

Thanks for your help!

Aaron


[jQuery] Re: Using jQuery UI with Google Maps

2010-03-01 Thread Thai Dang Vu
I think I found an answer for this problem. The answer is: do not create a
dialog on the fly (i.e. do not create a div on the fly and then
$(div).dialog()), but create a dialog before initializing the google map.

On Wed, Feb 24, 2010 at 2:41 PM, Thai Dang Vu tdan...@gmail.com wrote:

 Hi,

 I create a jQuery dialog which is above a Google map. If I drag that
 dialog, the whole google map dispappears. Does anybody have any idea of what
 happened?

 Thank you.



[jQuery] Re: Newbie Question: Finding and manipulating an element

2010-03-01 Thread Greg Tarnoff
This will add the class for you. Put it in the document ready function
if you want it on page load or in whatever function you want to call
it from.

$('ul.foo li 'ul).addClass(bar);

On Mar 1, 5:06 am, Aaron Johnson aaron.mw.john...@gmail.com wrote:
 Hello...

 I have an unordered list containing nested lists...

 ul class=foo
     lia title=Announcements1 href=foo.htmlspan
 class=portal-navigation-labelHome/span/a
         ul
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
         /ul
     /li
     lia title=Announcements2 href=foo.htmlspan
 class=portal-navigation-labelHome/span/a
         ul
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
         /ul
     /li
     lia title=Announcements3 href=foo.htmlspan
 class=portal-navigation-labelHome/span/a
         ul
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
         /ul
     /li
 /ul

 The top level list has an ID and associated css, I'd like to add a class to
 each of the nested ul elements in order to style them differently. I
 cannot manually add a class so wondered if I could do it with jQuery.

 I'm looking for a result like this:

 ul class=foo
     lia title=Announcements1 href=foo.htmlspan
 class=portal-navigation-labelHome/span/a
         ul class=bar
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
         /ul
     /li
     lia title=Announcements2 href=foo.htmlspan
 class=portal-navigation-labelHome/span/a
         ul class=bar
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
         /ul
     /li
     lia title=Announcements3 href=foo.htmlspan
 class=portal-navigation-labelHome/span/a
         ul class=bar
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
             lia title=Announcements
 href=foo.htmlspanAnnouncements/span/a/li
         /ul
     /li
 /ul

 Thanks for your help!

 Aaron


Re: [jQuery] Newbie Question: Finding and manipulating an element

2010-03-01 Thread Nathan Klatt
On Mon, Mar 1, 2010 at 5:06 AM, Aaron Johnson
aaron.mw.john...@gmail.com wrote:
 The top level list has an ID and associated css, I'd like to add a class to
 each of the nested ul elements in order to style them differently. I
 cannot manually add a class so wondered if I could do it with jQuery.

 I'm looking for a result like this:

 ul class=foo
     lia title=Announcements1 href=foo.htmlspan
 class=portal-navigation-labelHome/span/a
         ul class=bar

If all of the inner uls are styled the same you don't need a class,
just add a rule to your css:

ul.foo  li  ul {
  /* style stuff */
}

Nathan


Re: [jQuery] Newbie Question: Finding and manipulating an element

2010-03-01 Thread Aaron Johnson
Greg, Nathan, Thanks very much for your help!

On 1 March 2010 14:58, Nathan Klatt n8kl...@gmail.com wrote:

 On Mon, Mar 1, 2010 at 5:06 AM, Aaron Johnson
 aaron.mw.john...@gmail.com wrote:
  The top level list has an ID and associated css, I'd like to add a class
 to
  each of the nested ul elements in order to style them differently. I
  cannot manually add a class so wondered if I could do it with jQuery.
 
  I'm looking for a result like this:
 
  ul class=foo
  lia title=Announcements1 href=foo.htmlspan
  class=portal-navigation-labelHome/span/a
  ul class=bar

 If all of the inner uls are styled the same you don't need a class,
 just add a rule to your css:

 ul.foo  li  ul {
  /* style stuff */
 }

 Nathan



[jQuery] Excellent Java Consultant For Your Direct Client Requirement

2010-03-01 Thread ajay solanki
 Hi,

My name is Ajay Solanki and I represent International Business Solutions
Ltd. Here I am presenting a brief snapshot summary of the consultant  currently
available for projects.

Please let me know if you have any openings for them. If you have any
suitable requirement kindly send it ASAP Thanks

LOCATION :- CA, AZ, OR , WA, NV,ID,UT

*Lakshmi (Sr. Java Developer)*

*javadevelope...@gmail.com* javadevelope...@gmail.com**

*Phone : 732-981-0450 Ext.  424*

* *

*Sumary Skills*

* *

·

· 10 years of professional IT experience in Systems Design,
Development, Testing, Integration and Implementation of Client/Server and
web based n-tier architecture systems with strong knowledge of J2EE
architecture.

· Strong in J2EE application development using Java, Servlets, JSP,
EJB, JDBC, XML, Struts.

· Experience with Java Bean development, EJB component development 
deployment, Graphical User Interface design using JFC/Swing, web page
development using JSP, HTML and JavaScript.

· Strong Development background using Object Oriented Languages.

· Possess strong knowledge of SAX and DOM parsers for XML parsing.

· Strong database design and development experience in Oracle, SQL
Server.

· Good working experience handling Stored Procedures in Oracle 9i,
SQL Server.

· Strong problem solving, logical implementation, trouble-shooting,
installation and configuration skills.

· Good exposure to entire software life cycle like feasibility,
system study, design, coding, testing and implementation.

· Experience in development of Test Plans and Test Cases.

· Experience working with the source control and versioning tools
VSS and StarTeam.

· Worked on domains like Telecom, Financial Services, e-Governance,
and e Learning.

 * *

*Technical Skills : -*

Skill Type

Skill Name

OS

Windows XP, UNIX

Languages and Enterprise Application programming

Java, J2EE, JSP, HTML, XML, XSL, XQuery, XMLBeans, XSLT, JavaScript, DHTML,
AWT, Swing, Ajax, jQuery, RMI, EJB, Servlets, Ant, Log4j, Junit, JMS, JSF,
Shell, ASP, SQL, PL/SQL

Database

Oracle, MS-SQL Server, MS-Access, DB2,  and PL/SQL

Testing Tools

JUnit

Source control

StarTeam, VSS, CVS

Application Servers / Webservers

Web logic 10.3, Oracle 9iAS, JBoss, Websphere, Apache, Tomcat

Design skills

UML (Rational Rose, Visio), Object Oriented Analysis and Design (OOAD),MVC
Design patterns, GOF Design patterns, J2EE Design patterns, EJB Design
patterns etc

Web Servers

Apache with Tomcat, Sun One and IIS

Frame work

Spring(Web flow, IOC, AOP, MVC) , Struts, Hibernate, Ibatis, MVC
architecture, Tapestry, JSF

IDE

Eclipse Springsource tool, RAD 6, JBuilder 5, Eclipse Together 2006

Design and Modeling

Visio and Rational Rose

SOA

Web services, SOAP, WSDL

Other tool

Ant 1.6, Maven 2, log4j







Ajay Solanki

International Business Solutions
E-mail:- ajay.sola...@ibs-consulting.net

Phone : 732-981-0450 Ext 424

Web: - www.ibs-consulting.net || www.ibs-nj.com


[jQuery] Re: keyup() fires multiple times?

2010-03-01 Thread Keith Hughitt
Looks like the problem is OS-specific. In Ubuntu 9.10, for example,
there is an option that is enabled by default in the user's keyboard
preferences
which causes key-holds to simulate multiple key-presses. Turning this
off results in the expected behavior. On Windows, the default behavior
is for key-holds to behave like key-holds so no problem exists.

Any suggestions for normalizing behavior across platforms?

Keith

On Jan 5, 3:38 pm, Keith Hughitt keith.hugh...@gmail.com wrote:
 Hi all,

 I'm creating a method for the first time which causes some action to
 happen while a key is pressed. I've noticed, however, that the 'keyup'
 event which I would  normally use to determine when the key is
 released is fired continually, even when the key is still being
 pressed.

 e.g.

 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/
 TR/html4/strict.dtd
 html
 head
         titlejQuery  Keyup Test/title
         script src=http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/
 jquery.js type=text/javascript/script
 /head
 body
 script type=text/javascript
 $(function () {
     $(document).keydown(function (e) {
         console.log(keydown);
     }).keyup(function (e) {
         console.log(KEYUP);
     });});

 /script
 /body
 /html

 Instead of seeing keydown, keydown...keydown, KEYUP. It
 switches back and forth between the two continually. So far I've
 tested the same demo in FF 3.5, 3.7 and Chrome 3.x.

 Any ideas?

 Thanks!


[jQuery] Slide down / Slide up, stop repeating

2010-03-01 Thread Paul Collins
Hi all

I've got a drop down menu that expands when you hover over a heading. Here
is the JQuery

$(#header .dropDown .content).hover(
  function () {
$(#header .dropDown ul).slideDown();
return false;
  },
  function () {
$(#header .dropDown ul).slideUp();
return false;
  }
);

My problem is that if someone hovers over the .content multiple times, the
JQuery remembers and keeps popping the menu up and down even when you've
taken the mouse away. Is there a way to stop it remembering this? I've tried
adding the .stop() to the function, but this will stop it half way if you
hover out too early.

If anyone has encountered this before, could you tell me how you got around
it?!

Thanks for any help


[jQuery] page_request.send(null)

2010-03-01 Thread Erik
www.naturalskin.com

I'm getting an error win LINE 30 with Firebug  I'm using AJAX
Includes to load in external content.  Everything looks great and
works fine, but I keep getting an error

global.js (line 30)
page_request.send(null)

Should I delete this line?
Should I add something in the line?

Erik


[jQuery] JQuery Email Validation does not work

2010-03-01 Thread iceman
Hello
I am on JQuery 1.4.1 using validation fromawork by Jörn Zaefferer 1.6
version.
I need to send multiple comma separated emails .
It fails for the following format
FirstName Last Name [firstName dot lastName at xyz dot com]

Please guide.
Thank You
Iceman


[jQuery] Autocomplete result rendering

2010-02-28 Thread ootieku
Hello,
I am using the Zorn autocomplete plug-in and it works great, thanks
Zorn. I was wondering if there is a method to override the rendering
of the ac_results div and list, to populate results in an alternate
element. Basically, I have a textarea with autocomplete enabled and a
div always visible on the page. I want the autocomplete results to
populate in the div. I suppose I could try to kill the hide function
and do some css on ac_results to achieve the effect I want, but I was
looking for something more elegant. If anyone has done this or could
give an example I would appreciate hearing from you.


Re: [jQuery] Re: Accordion help ....

2010-02-28 Thread Nathan Klatt
On Sun, Feb 28, 2010 at 12:00 AM, Erik eriks...@mac.com wrote:
  { $(this).removeClass(ui-state-active); }

No, don't do that - that'll screw up the accordion, I expect. I mean
something in the css like:

.ui-state-active:hover {
  background-color: inherit; /* or none or some specific color */
}

Nathan


[jQuery] New jQuery Plugin Authoring Pattern

2010-02-28 Thread Milan Adamovsky
Hi all plugin authors!

I've just recently developed a plugin pattern that I think may be
useful to you.  Feel free to read up on it here
http://milanadamovsky.blogspot.com/2010/02/new-jquery-plugin-pattern.html

Even if you are not an author, I think it's worth a look especially if
you want to see a working example of closures and some other
interesting coding approaches.

Feel free to discuss how to improve this or just to give me feedback
on my blog or at my jQuery forum topic at
http://forum.jquery.com/topic/advanced-plugin-authoring-tutorial

I'm looking forward to your opinions, feedback, ideas, and
suggestions ...

Thanks,
Milan Adamovsky


[jQuery] Merge XML Documents with jQuery

2010-02-28 Thread dandieb...@gmail.com
I would like to make a few ajax calls for a few XML documents and
combine the results into one XML document.

Specifically I have these three files:

http://www.netelier.com/files/XMLMerge/doc0.xml

records
 record
  xfoo/x
  ybar/y
 /record
 record
  xbaz/x
  ymit/y
 /record
/records

http://www.netelier.com/files/XMLMerge/doc1.xml

info
 xfoo/x
 ybar/y
/info

http://www.netelier.com/files/XMLMerge/doc2.xml

info
 xbaz/x
 ymit/y
/info

And I would like to take the doc1.xml and doc2.xml documents and
insert them into this combined XML document:

records
 record
  xfoo/x
  ybar/y
  info
   xfoo/x
   ybar/y
  /info
 /record
 record
  xbaz/x
  ymit/y
  info
   xbaz/x
   ymit/y
  /info
 /record
/records

Any help would be appreciated!


Re: [jQuery] superfish joomla

2010-02-28 Thread Jonathan Vanherpe (T T nv)

You forgot to put ; after }) a couple of times.

IE is a bit strict in that regard.

Jonathan

Eddie wrote:

Hello all at jquery group, superfish menu in joomla works fantastic
but it gives an error in IE8 and my client hates it! the done, but
with errors this is the errordoes anyone know how to fix it!!
Best,
Chris



Message: Object doesn't support this property or method
Line: 48
Char: 35
Code: 0
URI: http://www.rallybrc.co.uk/


this is the code around line 48:

jQuery.noConflict();
jQuery(function($){ $(ul.sf-menu).superfish({hoverClass:'sfHover',
pathClass:'active', pathLevels:0, delay:800, animation:
{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:1}) });
jQuery(window).load( function() { jQuery(ul.sf-
menu).superfish_width_mod({ vertical:0, menuWidth:'100%', equalWidth:
0, resizeSeps:0, resizeSubMenus:0 }) })
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;

   /script






--
Jonathan Vanherpe - Tallieu  Tallieu nv - jonat...@tnt.be


Re: [jQuery] superfish joomla

2010-02-27 Thread Charlie




Try removing the window.load function, it makes no sense to bind the
different menu functions to different page load events


jQuery.noConflict();
jQuery(function($){ // this is document ready 

$("ul.sf-menu").superfish({hoverClass:'sfHover',
pathClass:'active', pathLevels:0, delay:800, animation:
{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:1}) 
jQuery("ul.sf-menu").superfish_width_mod({ vertical:0,
menuWidth:'100%', equalWidth:
0, resizeSeps:0, resizeSubMenus:0 }) 
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;
});// end document ready


Eddie wrote:

  Hello all at jquery group, superfish menu in joomla works fantastic
but it gives an error in IE8 and my client hates it! the "done, but
with errors" this is the errordoes anyone know how to fix it!!
Best,
Chris



Message: Object doesn't support this property or method
Line: 48
Char: 35
Code: 0
URI: http://www.rallybrc.co.uk/


this is the code around line 48:

jQuery.noConflict();
jQuery(function($){ $("ul.sf-menu").superfish({hoverClass:'sfHover',
pathClass:'active', pathLevels:0, delay:800, animation:
{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:1}) });
jQuery(window).load( function() { jQuery("ul.sf-
menu").superfish_width_mod({ vertical:0, menuWidth:'100%', equalWidth:
0, resizeSeps:0, resizeSubMenus:0 }) })
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;

  /script



  






[jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!!!!!

2010-02-27 Thread Erik
I looked at and I still like the easy tag...

Erik

On Feb 26, 8:24 am, Cesar Sanz the.email.tr...@gmail.com wrote:
 this IS interesting!!
 Some geeks works fine!



 - Original Message -
 From: Vikas Patidar vikaspatel.25111...@gmail.com
 To: jquery-en@googlegroups.com
 Sent: Thursday, February 25, 2010 2:51 PM
 Subject: Re: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!

  Hi, there is another solution more easy and cool

  try it...

  CSS Rounded Corners In All Browsers (With No Images)

 http://jonraasch.com/blog/css-rounded-corners-in-all-browsers

  On 2/25/10, Cesar Sanz the.email.tr...@gmail.com wrote:
  thanks..

  First time I heard about it.. .cool stuff!
  - Original Message -
  From: Erik eriks...@mac.com
  To: jQuery (English) jquery-en@googlegroups.com
  Sent: Wednesday, February 24, 2010 6:32 PM
  Subject: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!

 http://www.dillerdesign.com/experiment/DD_roundies/

  On Feb 23, 3:09 pm, Cesar Sanz the.email.tr...@gmail.com wrote:
  What are roundies?

  - Original Message -
  From: Erik eriks...@mac.com
  To: jQuery (English) jquery-en@googlegroups.com
  Sent: Tuesday, February 23, 2010 10:50 AM
  Subject: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!

   Use the ROUNDIES script for IE7, which is really easy. I personally
   don't care for IE8 so I convert IE8 to work like IE7 by placing the
   following tag under the head:

   meta content=IE=7 http-equiv=X-UA-Compatible


[jQuery] Re: Accordion help ....

2010-02-27 Thread Erik
Thanks nathan...

Where would I place this in this?

$(function() {
  $(#accordion).accordion({
autoHeight: true,
header: '.subcat'
  });


  { $(this).removeClass(ui-state-active); }

Is this the correct format?

Erik



On Feb 26, 3:56 pm, Nathan Klatt n8kl...@gmail.com wrote:
 On Fri, Feb 26, 2010 at 3:12 PM, Erik eriks...@mac.com wrote:
  My accordion is working great, but I need to STOP the hover on the
  selected item.

 You should be able to deactivate the hover for .ui-state-active elements.

 Nathan


[jQuery] Jquery Validation Email issue (validate)

2010-02-26 Thread MrChambers
It seems to be normal behaviour, but when using jquery's validate
plugin my client was not happy the a single domain suffix character
was enough to clear the valid email error. ie; tes...@googlemail.c
would validate.

To ensure that at least 2 characters had to be entered into the field
to validate I changed the email function to the following;

email: function(value, element) {
// contributed by Scott Gonzalez: 
http://projects.scottsplayground.com/email_address_validation/
return this.optional(element) || 
/^((([a-z]|\d|[!#\$%'\*\+\-\/=\?
\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\
$%'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])
+)*)|((\x22)\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b
\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-
\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF
\uF900-\uFDCF\uFDF0-\uFFEF]*(((\x20|\x09)*(\x0d\x0a))?(\x20|
\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-
\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|
\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|
[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]{2}|[\u00A0-
\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF
\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-
\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/
i.test(value);
},

I'm no expert at regex but this worked for me.

Thanks,
Matt


[jQuery] Re: How to check TD background image has been loaded.

2010-02-26 Thread jscharf
2 possibilities:

via attribute:
$(#mytd).attr(background, path/to/image.jpg);

or via CSS
$(#mytd).css(background-image, path/to/image.jpg);

that should work fine for your needs (make sure the paths are correct)


Re: [jQuery] Re: How to check TD background image has been loaded.

2010-02-26 Thread Liam Byrne

That won't trigger a load event

This is as close as you'll get (using an image object to actually load 
it, and then using it.


var imageObj = new Image();
$(imageObj).attr(src,imagePath).load(function(){
// do whatever else you want to do in here too

$(#leftCol).css(background-image,url(+imagePath+));});

Liam



jscharf wrote:

2 possibilities:

via attribute:
$(#mytd).attr(background, path/to/image.jpg);

or via CSS
$(#mytd).css(background-image, path/to/image.jpg);

that should work fine for your needs (make sure the paths are correct)



No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.733 / Virus Database: 271.1.1/2709 - Release Date: 02/25/10 07:34:00


  




Re: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!!!!!

2010-02-26 Thread Cesar Sanz

this IS interesting!!
Some geeks works fine!

- Original Message - 
From: Vikas Patidar vikaspatel.25111...@gmail.com

To: jquery-en@googlegroups.com
Sent: Thursday, February 25, 2010 2:51 PM
Subject: Re: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!



Hi, there is another solution more easy and cool

try it...

CSS Rounded Corners In All Browsers (With No Images)

http://jonraasch.com/blog/css-rounded-corners-in-all-browsers


On 2/25/10, Cesar Sanz the.email.tr...@gmail.com wrote:

thanks..

First time I heard about it.. .cool stuff!
- Original Message -
From: Erik eriks...@mac.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, February 24, 2010 6:32 PM
Subject: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!


http://www.dillerdesign.com/experiment/DD_roundies/

On Feb 23, 3:09 pm, Cesar Sanz the.email.tr...@gmail.com wrote:

What are roundies?



- Original Message -
From: Erik eriks...@mac.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, February 23, 2010 10:50 AM
Subject: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!

 Use the ROUNDIES script for IE7, which is really easy. I personally
 don't care for IE8 so I convert IE8 to work like IE7 by placing the
 following tag under the head:

 meta content=IE=7 http-equiv=X-UA-Compatible




[jQuery] superfish joomla

2010-02-26 Thread Eddie
Hello all at jquery group, superfish menu in joomla works fantastic
but it gives an error in IE8 and my client hates it! the done, but
with errors this is the errordoes anyone know how to fix it!!
Best,
Chris



Message: Object doesn't support this property or method
Line: 48
Char: 35
Code: 0
URI: http://www.rallybrc.co.uk/


this is the code around line 48:

jQuery.noConflict();
jQuery(function($){ $(ul.sf-menu).superfish({hoverClass:'sfHover',
pathClass:'active', pathLevels:0, delay:800, animation:
{opacity:'show'}, speed:'def', autoArrows:0, dropShadows:1}) });
jQuery(window).load( function() { jQuery(ul.sf-
menu).superfish_width_mod({ vertical:0, menuWidth:'100%', equalWidth:
0, resizeSeps:0, resizeSubMenus:0 }) })
jQuery.event.special.hover.delay = 100;
jQuery.event.special.hover.speed = 100;

  /script




[jQuery] Accordion help ....

2010-02-26 Thread Erik
Hi all,

Just joined this new forum.

My accordion is working great, but I need to STOP the hover on the
selected item.

Example, when I select BATH  BODY, I want the hover stop for that
particular section:


div class=subcatbath amp; body/div


I'm using the following ACCORDION script:

$(function() {
  $(#accordion).accordion({
autoHeight: true,
header: '.subcat'
  });


LINK: www.naturalskin.com

On the left side of the web page.


Thank you.

Erik


Re: [jQuery] Accordion help ....

2010-02-26 Thread Nathan Klatt
On Fri, Feb 26, 2010 at 3:12 PM, Erik eriks...@mac.com wrote:
 My accordion is working great, but I need to STOP the hover on the
 selected item.

You should be able to deactivate the hover for .ui-state-active elements.

Nathan


[jQuery] Dynamic Tabs for Prototyping

2010-02-25 Thread Sohel Kapasi - UI, UX, IA with great RIA
Hi All,

I am building a HTML CSS and JQuery based clickable prototype and i am
in need of Dynamic Tabs.

Can anyone suggest easiest and best Dynamic tabs (where i can open and
close tabs randomly), online downloadable files are ok.

Thank you very much in advance for your help.


RE: [jQuery] Dynamic Tabs for Prototyping

2010-02-25 Thread Andreas Möller
I believe you should go for JQuery UI . . . ! Check it out at

[x] www.jqueryui.com


Best regards,

Andreas



[jQuery] jCarousel Lite - getting carousel to stop on a specific image (without hovering)

2010-02-25 Thread Adam Moro
I am trying to get the slideshow to stop sliding on the fourth image
(the last image in the slideshow) but having no luck. I've changed,
afterEnd: null to afterEnd: stop in the $.fn.jCarouselLite
function (line 17 in my version) but it is stopping on the second
image, not the fourth. I know how helpful it would be if I posted the
URL but I simply cannot due to the client's request. I can however,
email it to you. Thank you in advance for any support you can provide
on this.


[jQuery] Re: JQPRINT - Need help!!

2010-02-25 Thread Fabio Balossi
argh, i send the answer only to the author.

well for anyone else :

you have to set an ID to the A element, the same ID of the function's
trigger, then set a class .toprint fot the elements to print, finally
set to the jqprint function a Click calling action

for example:

...
div class=toprint elements to print /div
...
a href=# id=printPRINT/a
...

script type=text/javascript
 $(#print).click( function() {
$('.toprint').jqprint();
});
/script

whising i did not mistake  (with my english or typewriting)

Shaz


On 23 Feb, 17:52, Erik eriks...@mac.com wrote:
 has anyone used JQPRINT?

 I know it looks really simple, but how do you call the function with a
 link?

 Erik


Re: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!!!!!

2010-02-25 Thread Cesar Sanz

thanks..

First time I heard about it.. .cool stuff!
- Original Message - 
From: Erik eriks...@mac.com

To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, February 24, 2010 6:32 PM
Subject: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!


http://www.dillerdesign.com/experiment/DD_roundies/

On Feb 23, 3:09 pm, Cesar Sanz the.email.tr...@gmail.com wrote:

What are roundies?



- Original Message -
From: Erik eriks...@mac.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, February 23, 2010 10:50 AM
Subject: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!

 Use the ROUNDIES script for IE7, which is really easy. I personally
 don't care for IE8 so I convert IE8 to work like IE7 by placing the
 following tag under the head:

 meta content=IE=7 http-equiv=X-UA-Compatible


[jQuery] How to check TD background image has been loaded.

2010-02-25 Thread ace jquery
Hi there,

I am trying to update the attr of background in td.  ==   td id=mytd
background= height=100% align=left valign=top/td

is that possibly to use jQuery to check if the background image has been
loaded?

something like this..

$('#mytd background').load(function(){
alert('the background image has been loaded');
});

Thank you for you help!
-Ace


[jQuery] IE7 Bug

2010-02-25 Thread r4C4n
Hi

I'm having trouble with the superfish jquery menu library. Everything
works fine in Firefox and other browsers apart from IE7. To see the
problem I'm having, take a look here:

http://www.katalystonline.com/case-studies.html

If you open this page on IE7 you will see the problem when you hover
over the sub menu of the FaskTrak item. As you can see, the sub menu
is 'hidden' behind the slider text. The menu uses superfish.

I think it might have something to do with z-index but I've tried and
check the values but to no avail. Can someone help me out?

Thanks!

r4C4n


Re: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!!!!!

2010-02-25 Thread Vikas Patidar
Hi, there is another solution more easy and cool

try it...

CSS Rounded Corners In All Browsers (With No Images)

http://jonraasch.com/blog/css-rounded-corners-in-all-browsers


On 2/25/10, Cesar Sanz the.email.tr...@gmail.com wrote:
 thanks..

 First time I heard about it.. .cool stuff!
 - Original Message -
 From: Erik eriks...@mac.com
 To: jQuery (English) jquery-en@googlegroups.com
 Sent: Wednesday, February 24, 2010 6:32 PM
 Subject: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!


 http://www.dillerdesign.com/experiment/DD_roundies/

 On Feb 23, 3:09 pm, Cesar Sanz the.email.tr...@gmail.com wrote:
 What are roundies?



 - Original Message -
 From: Erik eriks...@mac.com
 To: jQuery (English) jquery-en@googlegroups.com
 Sent: Tuesday, February 23, 2010 10:50 AM
 Subject: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!

  Use the ROUNDIES script for IE7, which is really easy. I personally
  don't care for IE8 so I convert IE8 to work like IE7 by placing the
  following tag under the head:

  meta content=IE=7 http-equiv=X-UA-Compatible



[jQuery] Quirks with Tablesorter

2010-02-25 Thread West415

Hi,

I am using a jquery plugin called tablesorter.  It works fine but I've found
a quirk and can't seem to fix it and would love some help if possible.  When
you sort, the sort works, but for some reason all the hr tags which render
a horizontal link end up getting placed at the top of the table.  So the
data sorts right but something is going on when i use the hr tags.

Here is the code:


script type=text/javascript
$(document).ready(function() { 

$(#my_table).tablesorter({
 debug:false
});

} 

);
/script

table id=my_table cellpadding=5 cellspacing=0 
 thead 
tr 
thFirst Name/th 
thLast Name/th 
thEmail/th 
thAmount/th 
   /tr 
  /thead 
   tbody 


tr 
tdSmith/td 
tdJohn/td 
tdjsm...@gmail.com/td 
td$50.00/td 
tdhttp://www.jsmith.com/td 
/tr   

tr
td colspan=5hr style=width: 585px;/td
/tr

tr 
tdBach/td 
tdFrank/td 
tdfb...@yahoo.com/td 
td$50.00/td 
tdhttp://www.frank.com/td 
/tr   

tr
td colspan=5hr style=width: 585px;/td
/tr

tr 
tdRick/td 
tdSmith/td 
tdfb...@yahoo.com/td 
td$50.00/td 
tdhttp://www.frank.com/td 
/tr 

/tbody 

/table 
  

Any help appreciated

-ws


-- 
View this message in context: 
http://old.nabble.com/Quirks-with-Tablesorter-tp27714539s27240p27714539.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: [jQuery] Quirks with Tablesorter

2010-02-25 Thread Nathan Klatt
On Thu, Feb 25, 2010 at 4:34 PM, West415 malik.robin...@gmail.com wrote:
 I am using a jquery plugin called tablesorter.  It works fine but I've found
 a quirk and can't seem to fix it and would love some help if possible.  When
 you sort, the sort works, but for some reason all the hr tags which render
 a horizontal link end up getting placed at the top of the table.  So the
 data sorts right but something is going on when i use the hr tags.

Sounds right to me. Instead of rows containing hrs, how about some
border styling on the trs or tds?

Nathan


Re: [jQuery] Quirks with Tablesorter

2010-02-25 Thread West415

Thanks for the reply.

I don't need the headers to repeat though.  I'm trying to have a visual
separator between the rows.  I don't have to use an hr tag, but the
problem is, it tries to sort every row as if there is data there.  I'd like
it to ignore that row when doing the sort.  

Any idea?  I'm happy to replace my hr tag with an image but I'm afraid it
may try to sort that row to




hatchet wrote:
 
 Hi,
 
 I had similar issue.
 
 colspan=5 this is the code that is the reason it does not work properly,
 try colspan=4, colspan=3... and you will see
 The script is trying to sort this data (which is hr line)
 
 To insert line like hr try modifying this
 http://tablesorter.com/docs/example-widgets.html
 instead of repeating header try to insert line or something
 
 And in the end I advice you NOT to use hr tag anywhere on your website,
 there are huge cross browser issues. Every browser displays it differently
 and it is hard to style. Use some kind of 1px / 1px image and add css to
 get margins and set width to 100% to make it wide
 
 
 West415 wrote:
 
 Hi,
 
 I am using a jquery plugin called tablesorter.  It works fine but I've
 found a quirk and can't seem to fix it and would love some help if
 possible.  When you sort, the sort works, but for some reason all the
 hr tags which render a horizontal link end up getting placed at the top
 of the table.  So the data sorts right but something is going on when i
 use the hr tags.
 
 Here is the code:
 
 
 script type=text/javascript
 $(document).ready(function() { 
  
  $(#my_table).tablesorter({
   debug:false
  });
  
  } 
  
 );
 /script
 
 table id=my_table cellpadding=5 cellspacing=0 
  thead 
  tr 
 thFirst Name/th 
 thLast Name/th 
 thEmail/th 
 thAmount/th 
/tr 
   /thead 
tbody 
 
 
 tr 
 tdSmith/td 
 tdJohn/td 
 tdjsm...@gmail.com/td 
 td$50.00/td 
 tdhttp://www.jsmith.com/td 
 /tr   
 
 tr
 td colspan=5hr style=width: 585px;/td
 /tr
 
 tr 
 tdBach/td 
 tdFrank/td 
 tdfb...@yahoo.com/td 
 td$50.00/td 
 tdhttp://www.frank.com/td 
 /tr   
 
 tr
 td colspan=5hr style=width: 585px;/td
 /tr
 
 tr 
 tdRick/td 
 tdSmith/td 
 tdfb...@yahoo.com/td 
 td$50.00/td 
 tdhttp://www.frank.com/td 
 /tr 
 
 /tbody 
  
 /table 
   
 
 Any help appreciated
 
 -ws
 
 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Quirks-with-Tablesorter-tp27714539s27240p27714552.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: [jQuery] Quirks with Tablesorter

2010-02-25 Thread Nathan Klatt
On Thu, Feb 25, 2010 at 5:28 PM, West415 malik.robin...@gmail.com wrote:
 I don't need the headers to repeat though.  I'm trying to have a visual
 separator between the rows.  I don't have to use an hr tag, but the
 problem is, it tries to sort every row as if there is data there.  I'd like
 it to ignore that row when doing the sort.

 Any idea?  I'm happy to replace my hr tag with an image but I'm afraid it
 may try to sort that row to

Yeah, I'm sure it will.

What determines whether there is a separator between two rows? I
expect you'll have to re-apply that logic each time the table is
sorted; just add a class to the trs that you want to have the
separator after (or before, I suppose). Remember to remove the class
before you re-apply the logic, though. :)

Good luck.

Nathan


Re: [jQuery] Quirks with Tablesorter

2010-02-25 Thread aquaone
seconded. Your best bet is to write your own widget that deletes and appends
your separators for you on sort.

On Thu, Feb 25, 2010 at 15:33, Nathan Klatt n8kl...@gmail.com wrote:

 On Thu, Feb 25, 2010 at 5:28 PM, West415 malik.robin...@gmail.com wrote:
  I don't need the headers to repeat though.  I'm trying to have a visual
  separator between the rows.  I don't have to use an hr tag, but the
  problem is, it tries to sort every row as if there is data there.  I'd
 like
  it to ignore that row when doing the sort.
 
  Any idea?  I'm happy to replace my hr tag with an image but I'm afraid
 it
  may try to sort that row to

 Yeah, I'm sure it will.

 What determines whether there is a separator between two rows? I
 expect you'll have to re-apply that logic each time the table is
 sorted; just add a class to the trs that you want to have the
 separator after (or before, I suppose). Remember to remove the class
 before you re-apply the logic, though. :)

 Good luck.

 Nathan



[jQuery] Adsense

2010-02-24 Thread Priya Ram
About Adsense...?



[jQuery] detaching element bound with the ui slider widget doesn't re-attach to the dom

2010-02-24 Thread jebaird
While playing with the slider widget and .detach() i noticed that if
you attach the slider widget to an element the .detach() that element
from the dom and try to re-atach it the slider doesnt show up again.
its as if i called the destroy method.

  take this code for example

div id=sliderTest/div

$('#sliderTest').slider();
var sliderTest;
//remove the slider
setTimeout(function(){
 sliderTest=$('#sliderTest').detach();

},1000);


//add it again a bit later
   setTimeout(function(){

$('body').append(sliderTest);
console.dir(sliderTest);
},3000);


if you replace the slider widget with datepicker, the calendar appears
then disapears then appears agian.  has any one experienced this
before? is this a bug?


[jQuery] Using jQuery UI with Google Maps

2010-02-24 Thread Thai Dang Vu
Hi,

I create a jQuery dialog which is above a Google map. If I drag that dialog,
the whole google map dispappears. Does anybody have any idea of what
happened?

Thank you.


[jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!!!!!

2010-02-24 Thread Erik
http://www.dillerdesign.com/experiment/DD_roundies/

On Feb 23, 3:09 pm, Cesar Sanz the.email.tr...@gmail.com wrote:
 What are roundies?



 - Original Message -
 From: Erik eriks...@mac.com
 To: jQuery (English) jquery-en@googlegroups.com
 Sent: Tuesday, February 23, 2010 10:50 AM
 Subject: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!

  Use the ROUNDIES script for IE7, which is really easy.  I personally
  don't care for IE8 so I convert IE8 to work like IE7 by placing the
  following tag under the head:

  meta content=IE=7 http-equiv=X-UA-Compatible


[jQuery] Help: Iterate through unknown number of elements, apply function

2010-02-23 Thread xstaceyamayx
Hey there, newbie here...

Still getting a grasp on jQuery, so I'm probably overthinking or extra-
typing...

Anyway, I have 2 select boxes. I can populate SelectA with items from
a database, move the items from selectA to selectB and back again by
clicking add and remove...
BASIC CODE (HTML):
div
  select multiple id=selectA
   ?php
//populate with database information
?
  /select
  add 
 /div
 div
  select multiple id=selectB/select
   remove
/div

(JQUERY):
$(document).ready(function(){
$('#add').click(function() {
return !$('#selectA
option:selected').remove().appendTo('#selectB');
});
$('#remove').click(function() {
return !$('#selectB
option:selected').remove().appendTo('#selectA');
});
});

THE ABOVE SITUATION WORKS...
What I want to do is generate a set of these selects for each
category in my database. I can do that through php and the use of a
counter I get selectA_.$ctr, selectB_.$ctr, add.$ctr, and
remove.$ctr as I should (i.e. first set of generated boxes would have
the elements: selectA_1, selectB_1, add1, and remove1). BUT I have to
add the click functions in the document ready function to this unknown
number of elements, so I'm trying my first jQuery each statement -
without any luck

HERE IT IS sorry if I butchered it... #input4 is the name of the
form I have this scenario in...

$(#input4).find(select).each(function(i){

var addButton = #add+i
var selectA = #selectA_+i+  option:selected;
var B = #selectB_+i;
$('+addButton+').click(function() {
return !$('+selectA+ ').remove().appendTo('+B
+');
});

var removeButton = #remove+i
var selectB = #selectB_+i+  option:selected;
var A = #selectA_+i;
$('+removeButton+').click(function() {
return !$('+selectB+ ').remove().appendTo('+A
+');
});
});


I'm a little lost at the moment and you could say overwhelmed. I just
need a little bump in the right direction to regain my get up and
go.
Thanks in advance.


[jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread rafald
Hi ,
please check this:
http://jsbin.com/oququ3/6/edit

As you can see:
- sortable list works
- accordion works
...but:
- POPUP 'update'  does not come

what could be wrong here?
regards
Rafal


[jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread rafald
Hi ,
please check this:
http://jsbin.com/oququ3/6/edit

As you can see:
- sortable list works
- accordion works
...but:
- POPUP 'update'  does not come

what could be wrong here?
regards
Rafal


[jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread rafald
Hi ,
please check this:
http://jsbin.com/oququ3/6/edit

As you can see:
- sortable list works
- accordion works
...but:
- POPUP 'update'  does not come

what could be wrong here?
regards
Rafal


[jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread rafald
Hi ,
please check this:
http://jsbin.com/oququ3/6/edit

As you can see:
- sortable list works
- accordion works
...but:
- POPUP 'update'  does not come

what could be wrong here?
regards
Rafal


Re: [jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread Peter Edwards

In your example, you have two calls to $('#elements').sortable().
The second one has the update event added, but the first (the one which 
creates the sortable) doesn't. If you add the update handler to the 
first call, it works OK.


on 23/02/2010 08:26 rafald said::

Hi ,
please check this:
http://jsbin.com/oququ3/6/edit

As you can see:
- sortable list works
- accordion works
...but:
- POPUP 'update'  does not come

what could be wrong here?
regards
Rafal



[jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread rafald
Hi Peter,
Indeed! It works ;-) THANKS!
It was enough to remove line with  $(#elements).sortable(); 

So, what is the right place to put:
$(#elements).sortable();
?

in my example:
the first place was outside $(document).ready(function()
the second place (where I added event) was inside $
(document).ready(function()

What are the rules  here and what will be difference if I put inside
or outside ?
Could you please explain this to me ?

regards
Rafal


[jQuery] Send XML to the server gets Type Mismatch error in IE, though works fine with Firefox

2010-02-23 Thread rafald
Hi

When I checked the google forum for jQuery I was told its not
monitored anymore. Instead of this another forum is proposed.
So few days ago I created a post here:
http://forum.jquery.com/topic/send-xml-to-the-server-gets-type-mismatch-error-in-ie-though-works-fine-with-firefox

This is for the problem with XML

Unfortunatelly nobody replied. Maybe on this forum is somebody who
knows how to send XML file to the server without errors ?

Thank you in advance for all sugestions.

Regards
Rafal


Re: [jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread Peter Edwards

No problem,

$(document).ready(function(){
});

and

$(function(){
});

are the same - both will run whatever you have in them when the DOM is 
ready - the second is just a kind of shorthand for the (much easier to 
read) first. Docs:


.ready()
http://api.jquery.com/ready/

$(callback)
http://api.jquery.com/jQuery/#jQuery3

When you have multiple instances of these constructs in your scripts, 
the code within them will run in the order in which they are defined, so 
in your example, what was happening was the first 
$(#elements).sortable(); (defined within the $(function(){}); block) 
was creating the sortable list - the second call (within 
$(document).ready) was ignored.


Hope this helps,

Peter


on 23/02/2010 10:32 rafald said::

Hi Peter,
Indeed! It works ;-) THANKS!
It was enough to remove line with  $(#elements).sortable(); 

So, what is the right place to put:
$(#elements).sortable();
?

in my example:
the first place was outside $(document).ready(function()
the second place (where I added event) was inside $
(document).ready(function()

What are the rules  here and what will be difference if I put inside
or outside ?
Could you please explain this to me ?

regards
Rafal



[jQuery] JQPRINT - Need help!!

2010-02-23 Thread Erik
has anyone used JQPRINT?

I know it looks really simple, but how do you call the function with a
link?

Erik


[jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!!!!!

2010-02-23 Thread Erik
Use the ROUNDIES script for IE7, which is really easy.  I personally
don't care for IE8 so I convert IE8 to work like IE7 by placing the
following tag under the head:

meta content=IE=7 http-equiv=X-UA-Compatible


[jQuery] Problem with load event

2010-02-23 Thread Hubbitus
I have simple document:

script
$(document).load(function(){
alert('Document loaded')}
);

$(document).ready(function(){
alert('Document ready')}
);

$(document).live('load', function(){
alert('Document loaded (live)')}
);
/script

But from 3 attached events on page load fired only one -
$(document).ready. I even can't imagine why :( .
Test page: http://ru.bir.ru/_/svg/jquery-test.htm
I've tested it in FireFox 3.6 and Google Chrome 5.0.322.2 dev.
Any sugestion?


Re: [jQuery] Help: Iterate through unknown number of elements, apply function

2010-02-23 Thread Nathan Klatt
On Tue, Feb 23, 2010 at 2:20 AM, xstaceyamayx sta...@staceymay.com wrote:
 Anyway, I have 2 select boxes. I can populate SelectA with items from
 a database, move the items from selectA to selectB and back again by
 clicking add and remove...

Change your HTML to look something like this:
  div class=input
select multiple class=selectA
  ?php //populate with database information ?
/select
div
  button class=addadd gt;gt;/buttonbr /
  button class=removelt;lt; remove/button
/div
select multiple class=selectB/select
  /div

Then your Javascript to something like:
$().ready(function() {
  $(.input).each(function(i) {
$(this).find(.add).click(function() {
  var container = $(this).closest(.input);
  container.find(.selectA
option:selected).appendTo(container.find(.selectB));
});
$(this).find(.remove).click(function() {
  var container = $(this).closest(.input);
  container.find(.selectB
option:selected).appendTo(container.find(.selectA));
});
  });
});

See it in action here: http://jsbin.com/osipu/edit

Nathan


[jQuery] Selection from a list should rewrite the page.

2010-02-23 Thread David Parker
I'm building a select from a java Resultset for a given userID.

Where the value for the options are a recordD for each record in the
Resultset.

On loading of the page, it gets a userID and recordD from session.
If recordD=null then it uses the first record from the Resultset.

So the select contains all records for a given userID and the page is
populated from data asscoiated to a recordD.

Interaction:
The user can repopulate the page by making a selection.
I makes an AJAX to a sevrlet that reset the session attribute for the
recordD.

So that when the callback() is called it triggers the page reload.

It seems trivial but it is as if the callback() is triggered before
the session is written.

I have a session and request dumper upon writing the page and I'm not
seeing the session modified.

I know the the url parameters are being built because I have an alert
to display them.

  $('#select_note').change(function() {
// Get the index of the selected item
INDEX = $(#select_note option).index($(#select_note
option:selected)) +1;
RID = $(#select_note option:selected).val();
document.getElementById(rid).value= RID;
document.getElementById(current_note).innerHTML = INDEX;
var parameters = 'rid='+ RID + 'state=
%=AdvisorDictionary.STATE_GETRECORD%';
var url = %=context%/secure/Submit;
var GO2TAB = function (url, parameters) {
http_request = false;
if (window.HttpRequest) { // Mozilla, Safari,...
   http_request = new HttpRequest();
   if (http_request.overrideMimeType) {
  http_request.overrideMimeType('text/xml');
   }
} else if (window.ActiveXObject) { // IE
   try {
  http_request = new ActiveXObject(Msxml2.HTTP);
   } catch (e) {
  try {
 http_request = new
ActiveXObject(Microsoft.HTTP);
  } catch (e) {}
   }
}
if (!http_request) {
   alert('Cannot create XMLHTTP instance');
   return false;
}
http_request.onreadystatechange =
alert(Yes);
http_request.open('POST', url + parameters, true);
http_request.send(null);
 }
  });


Re: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!!!!!

2010-02-23 Thread Cesar Sanz

What are roundies?

- Original Message - 
From: Erik eriks...@mac.com

To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, February 23, 2010 10:50 AM
Subject: [jQuery] Re: FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!



Use the ROUNDIES script for IE7, which is really easy.  I personally
don't care for IE8 so I convert IE8 to work like IE7 by placing the
following tag under the head:

meta content=IE=7 http-equiv=X-UA-Compatible


Re: re[jQuery] fresh tabs

2010-02-22 Thread whynotter

Hi Nathan,

here two pages:
http://www.deboramontoli.it/prova/mediacenter_prova1.shtml page 1 
http://www.deboramontoli.it/prova/mediacenter_prova2.shtml page 2 

The first one is without tabs and the script is correct, while in the second
one there are two tabs and the script crashes.

Have you any suggest about that?

After that I need to insert a lot of tabs, each with a scroll and some video
load dynamically, so the jQuery script have to be just a one.


Thanks a lot






Nathan Klatt-2 wrote:
 
 Perhaps you could point us to your page? Or set up an example at
 jsbin.com or something?
 
 Nathan
 
 

-- 
View this message in context: 
http://old.nabble.com/refresh-tabs-tp27676891s27240p27684084.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: re[jQuery] fresh tabs

2010-02-22 Thread stworthy

Using  http://jquery-easyui.wikidot.com jquery-easyui  tabs plugin, the tabs
panel will refresh automatically.

Example:
div class=easyui-tabs style=width:400px;height:100px;
div title=First Tab style=padding:10px;
First Tab
/div
div title=Second Tab closable=true style=padding:10px;
Second Tab
/div
div title=Third Tab icon=icon-reload closable=true
style=padding:10px;
Third Tab
/div
/div

Output:
http://old.nabble.com/file/p27685351/tabs.png 


whynotter wrote:
 
 Hi,
 I have a page with some scroll-img with jquery code.
 
 Each scroll-img are in different tabs, but the jquery code is the same for
 all tabs.
 
 If I have just a scroll, the code is ok, but when I put 4 scroll in
 different tabs, the code is not do well.
 How can I get the refresh of each tabs to avoid the problem of conflict
 jquery code?
 
 
 Thanks a lot
 Bye
 

-- 
View this message in context: 
http://old.nabble.com/refresh-tabs-tp27676891s27240p27685351.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: re[jQuery] fresh tabs

2010-02-22 Thread whynotter

Thanks for your replay but the problem is still happening :-(

I've just tried this plugin and the tabs work well, but the scroll images
have the same error.
I don't know how to do.

Thanks again



stworthy wrote:
 
 Using  http://jquery-easyui.wikidot.com jquery-easyui  tabs plugin, the
 tabs panel will refresh automatically.
 
 Example:
 div class=easyui-tabs style=width:400px;height:100px;
 div title=First Tab style=padding:10px;
 First Tab
 /div
 div title=Second Tab closable=true style=padding:10px;
 Second Tab
 /div
 div title=Third Tab icon=icon-reload closable=true
 style=padding:10px;
 Third Tab
 /div
 /div
 
 Output:
  http://old.nabble.com/file/p27685351/tabs.png 
 
 
 whynotter wrote:
 
 Hi,
 I have a page with some scroll-img with jquery code.
 
 Each scroll-img are in different tabs, but the jquery code is the same
 for all tabs.
 
 If I have just a scroll, the code is ok, but when I put 4 scroll in
 different tabs, the code is not do well.
 How can I get the refresh of each tabs to avoid the problem of conflict
 jquery code?
 
 
 Thanks a lot
 Bye
 
 
 

-- 
View this message in context: 
http://old.nabble.com/refresh-tabs-tp27676891s27240p27685649.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] tooone7 Can't understand this... Want to make a image appear on active link

2010-02-22 Thread tooone777

Hi everyone!

I started using jQuery yesterday so im a noob.

I have a navigation bar, and i want it to display a background image on the
active menu item. (Like the top most menu on this website, it has a little
blue underline)

So i got this function:

Copy code

   1. function displayBgImg() {
   2. for (var i=0; i$(ul#nav_prim a).length; i++) {
   3. if ($(ul#nav_prim a)[i].href == document.URL) {
   4. $(ul#nav_prim a)[i].css(background-image,
url(images/nav_bg.gif));
   5. }
   6. }
   7. }


Line 2: It loops though all the   tags in an UL with id nav_prim. (The  
tags are inside of li's in the ul.

Line 3: I check to see if the   tag's href atribute is the same as the URL
of the page, if it is

Line 4: i want that specific   tag's background-image to be
images/nav_bg.gif.

I can't get it to work. In firefox i get the error  $(ul#nav_prim
a)[i].css is not a function.

Why is that? Can anyone please help me? As i've said im new to jQuery and
Javascript in general aswell.

Thanks for any advice :)
-- 
View this message in context: 
http://old.nabble.com/tooone7-Can%27t-understand-this...-Want-to-make-a-image-appear-on-active-link-tp27686495s27240p27686495.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: [jQuery] tooone7 Can't understand this... Want to make a image appear on active link

2010-02-22 Thread Jonathan Vanherpe (T T nv)

tooone777 wrote:

$(ul#nav_prim a)[i]...


you need to use

$(ul#nav_prim a).eq(i)...
or
$(ul#nav_prim a:eq(+i+))...

Jonathan
--
Jonathan Vanherpe - Tallieu  Tallieu nv - jonat...@tnt.be


Re: [jQuery] tooone7 Can't understand this... Want to make a image appear on active link

2010-02-22 Thread tooone777



Jonathan Vanherpe (T amp; T NV) wrote:
 
 tooone777 wrote:
 $(ul#nav_prim a)[i]...
 
 you need to use
 
 $(ul#nav_prim a).eq(i)...
 or
 $(ul#nav_prim a:eq(+i+))...
 
 Jonathan
 -- 
 Jonathan Vanherpe - Tallieu  Tallieu nv - jonat...@tnt.be
 
 

I changed my code to the way you suggested, the error message is now gone
but the background image doesn't change.

However, if it looks like this:

function displayBgImg() {
for (var i=0; i$(ul#nav_prim a).length; i++) {
if ($(ul#nav_prim a)[i] == document.URL) {
$(ul#nav_prim a).eq(i).css(background-image,
url(images/nav_bg.gif));
}
}
}

it works!

Notice that i only have eq(i) on line 4 but not on line 3.

Do you mind explaining what's happening when i use .eq(i) instead of
[i]?

Thank you very much for the help Jonathan :)

-- 
View this message in context: 
http://old.nabble.com/tooone7-Can%27t-understand-this...-Want-to-make-a-image-appear-on-active-link-tp27686495s27240p27686800.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: [jQuery] tooone7 Can't understand this... Want to make a image appear on active link

2010-02-22 Thread Jonathan Vanherpe (T T nv)
$('selector')[index] returns the actual DOM element, while 
$('selector').eq(i) returns a jquery object (you can see a jquery object 
as some sort of a shell around the actual DOM node that the jquery 
functions work on).


You can only use the jquery .css() function on jquery objects, and not 
directly on DOM nodes. I think it's easiest to explain by using the 
console in firebug:
type $(ul#nav_prim a)[1] and $(ul#nav_prim a).eq(i) into the console 
and you'll see that firebug returns a slightly different result.


As for ($(ul#nav_prim a)[i]==document.URL), I don't think this is the 
proper way to do it, but if it works, great (just don't assume this will 
work in all browsers, test it first).


Jonathan

tooone777 wrote:




Jonathan Vanherpe (Tamp; T NV) wrote:


tooone777 wrote:

$(ul#nav_prim a)[i]...


you need to use

$(ul#nav_prim a).eq(i)...
or
$(ul#nav_prim a:eq(+i+))...

Jonathan
--
Jonathan Vanherpe - Tallieu  Tallieu nv - jonat...@tnt.be




I changed my code to the way you suggested, the error message is now gone
but the background image doesn't change.

However, if it looks like this:

function displayBgImg() {
for (var i=0; i$(ul#nav_prim a).length; i++) {
if ($(ul#nav_prim a)[i] == document.URL) {
$(ul#nav_prim a).eq(i).css(background-image,
url(images/nav_bg.gif));
}
}
}

it works!

Notice that i only have eq(i) on line 4 but not on line 3.

Do you mind explaining what's happening when i use .eq(i) instead of
[i]?

Thank you very much for the help Jonathan :)




--
Jonathan Vanherpe - Tallieu  Tallieu nv - jonat...@tnt.be


Re: [jQuery] tooone7 Can't understand this... Want to make a image appear on active link

2010-02-22 Thread tooone777

Ohh ok cool! Thank you Jonathan. I understand it better now :)

-- 
View this message in context: 
http://old.nabble.com/tooone7-Can%27t-understand-this...-Want-to-make-a-image-appear-on-active-link-tp27686495s27240p27687083.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: re[jQuery] fresh tabs

2010-02-22 Thread Nathan Klatt
On Mon, Feb 22, 2010 at 2:20 AM, whynotter deboramont...@hotmail.com wrote:
 http://www.deboramontoli.it/prova/mediacenter_prova2.shtml page 2

Check this out:

http://jsbin.com/ixiyo/3/edit

You will need to do some more data localization (I've done it for
currentPosition but left totalVideos and maxMove) but I think it
should have you on your way.

Nathan


[jQuery] UI Slider with group with shared limit

2010-02-22 Thread Sir Rawlins
Hello Guys,

I'm new to the UI library and looking for some help achieving a
certain thing. I want to have a group of sliders which have a shared
value which they can reach as a maximum. Here's a visual example of
what I'm looking to do:

http://tinypic.com/view.php?pic=9ibp05s=6

Notice how we have 100% in total that can be used by the 3 sliders, as
you slide up the number of available percent you have left to assign
should decrease, to the point where it reaches 0, you will then no
longer be able to slide any of the sliders upwards without first
sliding one or more downwards to free up available % to be assigned.

I suppose its very much like assigning XP in an RPG or something like
that, has anyone seen an example of the UI sliders being used like
this? I've been Googling the past 30 minutes and found nothing.

Thanks for your advice.

Robert


Re: re[jQuery] fresh tabs

2010-02-22 Thread whynotter

:-)
thanks a lot.
I've tried your script:
http://www.deboramontoli.it/prova/mediacenter_prova3.shtml

Now, when I choose a tab, each scroll is independent and keeps the correct
moment.

It hasn't stopped yet, but it's better than the last page.

Uff, I'm going ahead, it's an hard work.

Thanks again



Nathan Klatt-2 wrote:
 
 On Mon, Feb 22, 2010 at 2:20 AM, whynotter deboramont...@hotmail.com
 wrote:
 http://www.deboramontoli.it/prova/mediacenter_prova2.shtml page 2
 
 Check this out:
 
 http://jsbin.com/ixiyo/3/edit
 
 You will need to do some more data localization (I've done it for
 currentPosition but left totalVideos and maxMove) but I think it
 should have you on your way.
 
 Nathan
 
 

-- 
View this message in context: 
http://old.nabble.com/refresh-tabs-tp27676891s27240p27690116.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Re: Sortable list - even when list is changed

2010-02-22 Thread rafald
On 22 Lut, 03:43, Nathan Klatt n8kl...@gmail.com wrote:
 Hi Rafal,

 In what way does it not work? I transcribed your code into jsbin and
 it seems to be fine, though I don't have any roundbox styling being
 applied:

 http://jsbin.com/oququ3/edit

 Nathan

Hi

I am not surpised you don't get it rounded ;-) . I presented only part
of the code for rounded corners, because this is not my problem here
(anyway: if you need rounded check this: 
http://docs.jquery.com/Tutorials:Rounded_Corners
...and make sure you download images from the style as well.).

My problem is different:
Each time when the user sorts something, I would like to see what is
the current order of items. I need to trigger a code each time when
user moves something.

In other words: I do not see popup 'update' which I expect to see
(see : alert('update')  in my code above)

What could be wrong ?

regards
Rafal




  1   2   3   4   5   6   7   8   9   10   >