[jQuery] Re: Very disappointed with jquery and iframe communication

2009-09-15 Thread Paolo Chiodi
this should work: $(frames['Theiframe']).attr('src', new_page_url); On Tue, Sep 15, 2009 at 4:45 PM, ximo wallas wrote: > > How can I tell to the iframe to load() a different content from the main > document? > > --- On Tue, 9/15/09, Paolo Chiodi wrote

[jQuery] Re: Very disappointed with jquery and iframe communication

2009-09-15 Thread Paolo Chiodi
7;Theiframe']).get(0).contentWindow.$('#login') BTW, you can access child dom only if in same domain Paolo On Tue, Sep 15, 2009 at 10:53 AM, ximo wallas wrote: > > After 1 day googling and trying I find no agreement in a solid method for > comunicating with iframe, this is

[jQuery] Re: AJAX: process the response XML

2009-08-28 Thread Paolo Chiodi
maybe: $(data).find('#xyz title').text(); On Fri, Aug 28, 2009 at 7:44 PM, jeanluca wrote: > > Hi All > > I'm truggling with this for a while now, without succes. Here is the > test code: > > $.ajax({ >          type: "GET", >          url: url, >          cache: false, >          dataType: 'xml

[jQuery] Re: window.open

2009-08-28 Thread Paolo Chiodi
To open a window you must use window.open. With jquery you have a better way to add the event handler. $('a').click(function(ev){ window.open('/plans/individual/continue-to-ap-pop.asp', 'Continue_to_Application','width=200,height=400'); ev.preventDefa

[jQuery] Re: not able to append new tag in XML in IE

2009-08-28 Thread Paolo Chiodi
Sound strange to me. $({your selector}) should acces the html dom document, not the xml document. And what is the xmlData variable? You can youse createElement if it is the xml dom document, not if it is a jqery object On Fri, Aug 28, 2009 at 7:59 AM, g...@iec wrote: > > Hi Paolo, > >

[jQuery] Re: Hover does not stop

2009-08-28 Thread Paolo Chiodi
maybe the hover is generated more than once while it is sliding. I would try to add a callback on animation end, setting tha state of the menu: open or closed. then on mouse over animate only if open, on mouse out close only if closed On Fri, Aug 28, 2009 at 12:01 PM, Mario wrote: > > Toggle work

[jQuery] Re: input color - default color

2009-08-28 Thread Paolo Chiodi
try $('#first_input').css('background-color', null) On Fri, Aug 28, 2009 at 12:23 PM, dziobacz wrote: > > I have inputs with validationin in jquery. If data are wrong I make > red background color in input: > $('#first_input').css('background-color', 'red'); > > After click reset I would like to

[jQuery] Re: Image inside script

2009-08-27 Thread Paolo Chiodi
n: prepend automatically insert the element as the first child (opposite of append that insert the element as the last) On Thu, Aug 27, 2009 at 8:02 AM, Fabio wrote: > > Hi Paolo , > > I Tried perpending > > like this > > >        var errImg = '/img/errIcon.gif'

[jQuery] Re: jQuery .append all elements

2009-08-27 Thread Paolo Chiodi
$(document).ready(function(){ img=$(".img"); img.each(function(i){ var imga = $(this).attr("href"); $("#imgbox").append(""); }); }); Paolo On Thu, Aug 27, 2009 at 4:08 AM, Jottae wrote: > $(document).ready(function(){ >  img=$(&q

[jQuery] Re: LavaLamp SubMenu Help!

2009-08-27 Thread Paolo Chiodi
quite simple. instead of setting the color to green in the :active class, just use jquery.hover to set the color. Maybe when you hover the submenu you set yhe color, when exit the submenu set the color to default Paolo On Thu, Aug 27, 2009 at 2:52 PM, Karen Morales wrote: > Hi > > I w

[jQuery] Re: not able to append new tag in XML in IE

2009-08-26 Thread Paolo Chiodi
obal variable on > change in form data from any other function. > > On Aug 26, 3:47 pm, Paolo Chiodi wrote: >> You don't have to use xmlData, which is the jquery object, but data >> which is the xml dom (if you set xml as type of the request) >> >> Paolo >

[jQuery] Re: Image inside script

2009-08-26 Thread Paolo Chiodi
$("."+errId).prepend(''); On Wed, Aug 26, 2009 at 5:45 AM, Fabio wrote: > $("."+errId)

[jQuery] Re: Quick question, basic stuff

2009-08-26 Thread Paolo Chiodi
one way could be $('div.pic:eq(1)').find('ul li a:eq(2)) Paolo On Wed, Aug 26, 2009 at 12:17 PM, Bart wrote: > > Hi all, > > In a HTML document I'm having a few divs with the same class. In each > of this divs is nested an unordered list with inside the list

[jQuery] Re: not able to append new tag in XML in IE

2009-08-26 Thread Paolo Chiodi
You don't have to use xmlData, which is the jquery object, but data which is the xml dom (if you set xml as type of the request) Paolo On Wed, Aug 26, 2009 at 12:35 PM, g...@iec wrote: > > Thanks for your reply. > But this is not working.The data which i got as a result from

[jQuery] Re: jQuery selector for style attribute

2009-08-26 Thread Paolo Chiodi
ritten in the html (never tried to see with firebug some differen orders?). Otherwise if you create the style attribute by using .css('A','B'), you can't be sure of what the entire style attribute could be. Paolo On Tue, Aug 25, 2009 at 11:22 PM, John wrote: > > Thanks M

[jQuery] Re: Dynamically Created anchor tags

2009-08-26 Thread Paolo Chiodi
live is no longer a plugin, but core of jquery Paolo On Wed, Aug 26, 2009 at 10:14 AM, Leonard Martin wrote: > > You will either need to use the live plugin as follows: > > $('#thumbs a').live('click',function(){...}); > > Or move the binding of your &

[jQuery] Re: not able to append new tag in XML in IE

2009-08-26 Thread Paolo Chiodi
when you do document.createElement you create an element that is child of "document" document. Try to create the element with data.createElement. Paolo On Wed, Aug 26, 2009 at 10:14 AM, g...@iec wrote: > > I am making an ajax call and in response, i am getting an XML. > And t

[jQuery] Re: Get the input value of "ANY" element tag

2009-08-25 Thread Paolo Chiodi
Another way is to alert($(this).find("#property_links").size()) to see how many dom elements you get with that selector Have you tried to use firebug to see the value of the hidden inputs? maybe also that the error was server side... Paolo On Tue, Aug 25, 2009 at 8:09 PM, Paolo Ch

[jQuery] Re: Get the input value of "ANY" element tag

2009-08-25 Thread Paolo Chiodi
What kind of error have you now? Have you tried to do alert(prop) to see if the value is correct? Paolo On Tue, Aug 25, 2009 at 5:49 PM, ArySal wrote: > > Hi Paolo, > > Thanks for the advice. > > I tried what you mentioned still it does not work, the error is > slightly dif

[jQuery] Re: Get the input value of "ANY" element tag

2009-08-25 Thread Paolo Chiodi
have to replace var prop = $("#property_links").val(); with var prop = $(this).find("#property_links").val(); By the way, it is not reccomanded to have more then one element with same id Paolo On Tue, Aug 25, 2009 at 3:30 PM, arysal...@hotmail.com wrote: > > Hi Guy

[jQuery] Strange problem getting width/height

2009-05-06 Thread paolo
xtButton').css('visibility', 'visible'); } }); }); I had to insert the oneTime function otherwise after the (*) I got the whole width size... it's as if the DOM refreshed after a little bit of time... but this cause the page to show up two seconds later... any suggestion?? Thanks in advance Paolo

[jQuery] Re: SlideShow based on SQL Server

2008-12-08 Thread Paolo Pignatelli
Yes, naturally, but how do I get JQuery to have the datasource as its input? Paolo -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aschmid Sent: Monday, December 08, 2008 12:43 PM To: jQuery (English) Subject: [jQuery] Re: SlideShow based on

[jQuery] Re: SlideShow based on SQL Server

2008-12-08 Thread Paolo Pignatelli
come from a column in a SQL Server database (perhaps minus the width and height). I am using Visual Studio 2008, and would be delighted if there were a way to use either Linq or any other Asp.Net technology to be able to feed the slideshow, or jQuery in general. Thank you again, Paolo

[jQuery] JQuery and Asp.Net datasets, Linq....

2008-12-06 Thread Paolo Pignatelli
datasource. Is there a way to have the Linq datasource feed the data to JQuery to produce a database driven slideshow? Thank you all, Paolo

[jQuery] Moving Images as objects

2007-06-23 Thread Paolo
Hello, I have 2 images and 1 button. When I click on the button, I'd like to move image 2 on top of image 2. I know there are some ways of doing this, but they all require the image coordinates. Is there a way to do this at the object level as i don't have coordinates? thanks, Paolo

[jQuery] Moving Images as objects

2007-06-23 Thread Paolo
Hello, I have 2 images and 1 button. When I click on the button, I'd like to move image 2 on top of image 2. I know there are some ways of doing this, but they all require the image coordinates. Is there a way to do this at the object level as i don't have coordinates? thanks, Paolo

[jQuery] Interface: How to rotate objects by a certain angle?

2007-06-05 Thread Paolo
Hi, I'd like to rotate by a certain angle (e.g. a box by 45 degrees); that object is going to be draggable. What are the options? I'd like to avoid swf approaches that rotate objects after loading them rather than before. Thanks! Paolo

[jQuery] Interface: How to rotate objects by a certain angle?

2007-06-05 Thread Paolo
Hi, I'd like to rotate by a certain angle (e.g. a box by 45 degrees); that object is going to be draggable. What are the options? I'd like to avoid swf approaches that rotate objects after loading them rather than before. Thanks! Paolo

[jQuery] Interface: How to bring dragged object in foreground

2007-06-01 Thread Paolo
d but being the object B loaded after object A, it will always be in the background. How can I bring the dragged object always in foreground independently on when it was loaded? Thanks! Paolo