[jQuery] Ajax calls and Internet Explorer performance problems

2010-01-18 Thread m.ugues
Hallo all. I ran into a performance problem with Internet Explorer. I got an homepage similar to iGoogle that makes a lot of ajax calls to populate different kinds of widget (from 5 to 20). When the widgets are loaded on Internet Explorer the user interaction is freezed and until the loading is

[jQuery] Open/Save as dialog box

2010-01-18 Thread m.ugues
Hallo all. Is there a way to catch the event when the browser open to the user the classical Open/ Save as dialog box? http://qpack.orcanos.com/helpcenter/Images/openSave.png I need to do something when the dialog is shown. Kind regards Massimo

[jQuery] Re: jQuery 1.2.6 clone problem with internet explorer.

2010-01-15 Thread m.ugues
Ok this seems to work. How can i minify now the pathed version? Kind regards Massimo On Jan 14, 2:12 pm, Dave Methvin dave.meth...@gmail.com wrote: If you're really stuck, you could try copying the clone function from 1.3 into 1.2.6.

[jQuery] Re: jQuery 1.2.6 clone problem with internet explorer.

2010-01-14 Thread m.ugues
).append($(#toBeCloned).clone());             });         });     /script /head body     div id=container         div id=toBeClonedI am a clone/div     /div     input type=button value=Clone It id=btnCloneIt name=btnCloneIt / /body On Jan 14, 4:51 am, m.ugues m.ug

[jQuery] jQuery 1.2.6 clone problem with internet explorer.

2010-01-13 Thread m.ugues
Hallo all. When i call the clone() function in Internet Explorer jQuery meltdowns :( The error reported in ie6 is: C.fx.step is null or not an object. Any idea how to fix the problem? Kind regards Massimo

[jQuery] Download file via silent mode

2010-01-12 Thread m.ugues
Hallo all. I need to contact a server side component sending some parameters and open on the user browser the dialog box for opening or saving the file. The file that the server side component creates is a PDF. So i create clien side this function that contacts the requested url:

[jQuery] Save javascript variable via jquery

2009-12-04 Thread m.ugues
Hallo all. I would like to save the response of an AJAX call in a variable declared in the document ready in parent page. Imagine this piece of code http://pastie.org/727450 The document ready lives in an iframe so I would like to save in the parent page the var myVariable, not to load it every

[jQuery] Re: Save javascript variable via jquery

2009-12-04 Thread m.ugues
I tried this way: http://pastie.org/727632 The div is appendend but the javascript declaration not: Any idea? Kind regards Massimo On 4 Dic, 16:13, m.ugues m.ug...@gmail.com wrote: Hallo all. I would like to save the response of an AJAX call in a variable declared in the document ready

[jQuery] ie problem modifying html.

2009-11-23 Thread m.ugues
Hallo all. I got a strange issue with IE (all versions). I have an homepage that defines an iframe. From the iframe content i modify the head to append a css in this way, http://pastie.org/711448 Then I append from the iframe a div in the parent that uses a css class in the just injected css.

[jQuery] Re: Get the real html from an iFrame

2009-11-20 Thread m.ugues
(); On Wed, Nov 11, 2009 at 9:49 AM, m.ugues m.ug...@gmail.com wrote: Hallo all. I have an iframe with an id. I need to get the html content of this iframe. So from the iframe doc read I tried like this var html = parent.$('#indexIframe').contents().find('html').html() In this way I get

[jQuery] Where to place import js.

2009-11-20 Thread m.ugues
In the old version of web1 this was an easy question to answer; the right answer was in the head as described below: head script type=text/javascript src=./js/indexController.js/ script ... /head In the new web2's one the navigation is no longer based on the full page. The user make a

[jQuery] Copy and manipulate html.

2009-11-18 Thread m.ugues
Hallo all. With this line of code i get the html content of a page living in an iframe: var html = $('#indexIframe').contents().find('html'); then I need to append a line in the header and I do it in this way $(html).find('head').prepend(printCss); The problem is that I need to modify the

[jQuery] Integration between different domains.

2009-11-17 Thread m.ugues
Hallo all. I got this problem My web site has this architetcture. The homepage defines a sidebar and a header menu: then is defined an iframe where is loaded the dynamic content. The homepage defines some utility functions that are called from the iframe with this style: parent.myFunction();

[jQuery] Integration between different domains.

2009-11-17 Thread m.ugues
Hallo all. I got this problem My web site has this architetcture. The homepage defines a sidebar and a header menu: then is defined an iframe where is loaded the dynamic content. The homepage defines some utility functions that are called from the iframe with this style: parent.myFunction();

[jQuery] Ajax download file.

2009-11-16 Thread m.ugues
Hallo all. I have a problem downloading a file via ajax. I contact via ajax a server-side component (i.e. Servlet) that creates a pdf and attach it to the response. When I receive the response I cannot pass the control to the browser. Any idea hot to make it? Kind regards Massimo

[jQuery] Re: CSS3 content attribute for page

2009-11-11 Thread m.ugues
Thank you Scott, I was searching for a CSS discussion. Sorry for the OT. :) Massimo On 10 Nov, 20:01, Scott Sauyet scott.sau...@gmail.com wrote: On Nov 10, 1:00 pm, m.ugues m.ug...@gmail.com wrote: I'm using CSS3 for pagination in print mode [ ... ] The before works fine but I cannot

[jQuery] Get the real html from an iFrame

2009-11-11 Thread m.ugues
Hallo all. I have an iframe with an id. I need to get the html content of this iframe. So from the iframe doc read I tried like this var html = parent.$('#indexIframe').contents().find('html').html() In this way I get the content of the tag html of the iframe, so the head definition and the

[jQuery] Iframe content delete some close tags

2009-11-11 Thread m.ugues
Hallo all. I have an iframe where is loaded an html page where is defined a input tag like this input type=text id=username name=username/input When the html is loaded in the iframe the closing /input tag is dropped. Since I need to save the correct html to send it to a server-side component to

[jQuery] Re: Create PDF from js

2009-11-10 Thread m.ugues
Wow, marvellous project :) I'm trying to use I think that is the solution to my problem. Kind regards :) Massimo On 9 Nov, 21:11, Scott Sauyet scott.sau...@gmail.com wrote: On Nov 9, 12:30 pm, m.ugues m.ug...@gmail.com wrote: The problem using server side option is that I have a web site

[jQuery] CSS3 content attribute for page

2009-11-10 Thread m.ugues
Hallo all. I'm using CSS3 for pagination in print mode @page { @bottom-center { content: Page counter(page) of counter (pages); } } This works fine but I would like to extract the text content from the css and put it in a div in the html page: something like this: div id=footer

[jQuery] Create PDF from js

2009-11-09 Thread m.ugues
Hallo all. I found this library (http://code.google.com/p/jspdf/) as someone suggested to create custom PDF files from javascript. What I need now is a more difficult task. I need to create a PDF file using the css media=print. So I would like to generate a PDF file equal to what is sent to the

[jQuery] Re: Create PDF from js

2009-11-09 Thread m.ugues
m.ugues wrote: Hallo all. I found this library (http://code.google.com/p/jspdf/) as someone suggested to create custom PDF files from javascript. What I need now is a more difficult task. I need to create a PDF file using the css media=print. So I would like to generate a PDF file

[jQuery] Re: Create PDF from js

2009-11-09 Thread m.ugues
and Firefox 3.  And no IE support at this time. Seems a bit tricky to use a product that will only support a small percentage of internet browsers. Is there any downside for you in using server-side technology?  There are many many solutions available. JK -Original Message- From: m.ugues

[jQuery] Create PDF from js

2009-11-02 Thread m.ugues
Hallo all. Is there any plugin for creating custom PDF from javascript? I found this library http://www.collinssoftware.com/Pdf_Samples_1.htm but is not free. Kind regards. Massimo

[jQuery] Tablesorter default order information

2009-10-21 Thread m.ugues
Hallo all. I'm using the tablesorter 2.0 plugin and I found it marvellous. I have a question about the sorting algorithm. Imagine that i got a table with 2 columns with text content: column A and column B When i first order column A I click on the header and the content is sorted in ascending

[jQuery] Add an inlcude css from an iframe to a parent.

2009-10-21 Thread m.ugues
Hallo all. I need to add an include css from an iframe to a parent as described in the title. Is it possible via jQuery? Kind regards Massimo

[jQuery] jQuery readonly input text and ie6

2009-08-10 Thread m.ugues
Hallo all. I got e problem with this piece of code with ie6. I'm trying to make an input text readonly with a predefined value and I need to cancel the value only when some key is pressed on keyboard. Her is the code http://pastie.org/578280 The code do work on every browser except ie6 (on

[jQuery] jQuery and window.print

2009-08-03 Thread m.ugues
Hallo all. I need to enhance the window.print function adding an header and a footer to the page. Is there any way or suggestion to achieve this goal? Kind regards Max

[jQuery] Production problem: automation server can't create object

2009-04-23 Thread m.ugues
Hallo all. I have a problem with a system in production environment. Unfortunately the error is not systematic and I cannot reproduce it in development environment. The client has ie6 and the page he is visiting is made with the tabs plugin. I read on internet that disabling activex may cause

[jQuery] Table sorter.

2009-04-21 Thread m.ugues
I was searching for a table sorter plugin and I found this one http://tablesorter.com/docs/ Is the official plugin for this purpose or there is something else. Kind regards Massimo

[jQuery] Re: Initialize tabs href.

2009-02-18 Thread m.ugues
the .tabs('ur'... method. Untested: http://pastie.org/384667 - Richard On Mon, Feb 9, 2009 at 2:46 PM, m.ugues m.ug...@gmail.com wrote: Hallo all. I would like to initialize the tabs href on the document.ready. http://pastie.org/384170 I tried like this http://pastie.org/384232

[jQuery] Tabs, how to find what kind of object....

2009-02-18 Thread m.ugues
I got this problem var $tabs = parent.$('#operativitaframe').contents().find ('#tabsContainer').tabs(); alert($tabs); This prints [object Object]; how can I know if this is the tabs object instead of something else? If i cycle on it and print all his content I got this length, 0, prevObject,

[jQuery] Re: Tabs, how to find what kind of object....

2009-02-18 Thread m.ugues
The problem is that I can access any element from the iframe to the parent iframe (even the tabs). I can hide tabs div, I can show it, but when i call specific properties on tabs element something goes wrong. I made a simple test case explained here.

[jQuery] Re: Access tabs from an iframe to another.

2009-02-12 Thread m.ugues
an iframe to another iframe where is defined the tabs is impossible. I can access any other elements in the iframe that contains the tabs but the tabs. Any idea? Kind regards. Massimo On Feb 9, 7:45 pm, m.ugues m.ug...@gmail.com wrote: Hallo all. I got a problem accessing .ui-tabs-nav defined

[jQuery] Re: Select all even row in table that are not with a specified class.

2009-02-11 Thread m.ugues
'))...http://docs.jquery.com/Selectors/not#selector stephen On Tue, Dec 23, 2008 at 10:01, m.ugues m.ug...@gmail.com wrote: Hallo all. I got a table like this table class=font_quotazioni   thead      tr          th title=Data Contabile class=chars4Nome/th      /tr   /thead

[jQuery] Access tabs from an iframe to another.

2009-02-09 Thread m.ugues
Hallo all. I got a problem accessing .ui-tabs-nav defined in an iframe from another one. I have a index page where I define an iframe: inside the iframe is loaded a page where are defined the tabs. http://pastie.org/384171 In index.html there is this piece of code http://pastie.org/384170

[jQuery] Initialize tabs href.

2009-02-09 Thread m.ugues
Hallo all. I would like to initialize the tabs href on the document.ready. http://pastie.org/384170 I tried like this http://pastie.org/384232 But it doesn't work. Any idea? Kind regards Massimo Ugues

[jQuery] Re: Initialize tabs href.

2009-02-09 Thread m.ugues
2009/2/9 m.ugues m.ug...@gmail.com: Hallo all. I would like to initialize the tabs href on the document.ready. http://pastie.org/384170 I tried like this http://pastie.org/384232 But it doesn't work. Any idea? Kind regards Massimo Ugues

[jQuery] Re: jquery tabs ajax mode

2009-01-29 Thread m.ugues
Sorry for the OT. I have this example: div id=example class=flora ul id=tabs li class=on allarga_tab_100spana href=movimenti.htmMOVIMENTI/a/span/li li class=allarga_tab_120spana href=dettaglio_saldo.htmDETTAGLIO SALDO/a/span/li

[jQuery] Problem setting html in iframe.

2009-01-08 Thread m.ugues
Hallo all. I would like to set the html content of on iframe via jquery, I have a page where is defined the iframe: ... body iframe id=operativita height=500 width=100/ div id=myDiv class=block/div /body and via jquery I set the html like

[jQuery] Select all even row in table that are not with a specified class.

2008-12-23 Thread m.ugues
Hallo all. I got a table like this table class=font_quotazioni thead tr th title=Data Contabile class=chars4Nome/th /tr /thead tbody tr class=midlight tdfoo/td /tr tr tdfoo/td /tr tr tdfoo/td /tr

[jQuery] Re: Problem on jquery 1.2.6 with ie6

2008-12-16 Thread m.ugues
For more detail see this post http://codylindley.com/thickboxforum/comments.php?DiscussionID=1435page=1#Item_12 Kind regards. Max On Dec 16, 11:23 am, m.ugues m.ug...@gmail.com wrote: Hallo all. I'm using domWindow with jQuery 1.2.6.min and I have a big problem on core library. When I

[jQuery] Problem on jquery 1.2.6 with ie6

2008-12-16 Thread m.ugues
Hallo all. I'm using domWindow with jQuery 1.2.6.min and I have a big problem on core library. When I open a domWindow on Firefox i receive this error, but the domWindow works anyway. Error: jQuery.easing[this.options.easing || (jQuery.easing.swing ? swing : linear)] is not a function Source

[jQuery] How to limit draggable div on page.

2008-12-15 Thread m.ugues
Is it possible to limit the draggable feature only on the page and not out of the visible page? Kind regards Max

[jQuery] DOMWindow

2008-12-15 Thread m.ugues
Is it possible to close a modal/nonmodal domWindow with the ESC key? Kind regards Max

[jQuery] Re: clearcase error when trying to add jquery-1.2.6.min.js to source control

2008-12-14 Thread m.ugues
When you add the jquery-1.2.6.min.js to clearcase you have to specify the file type like this: cleartool mkelem -eltype compressed_file jquery-1.2.6.min.js cleartool ci -nc jquery-1.2.6.min.js My 2 cents, hope that will help Max On 2 Dic, 22:36, Mark Jones brainnotworkg...@gmail.com wrote:

[jQuery] Code migration from js to jquery

2008-12-11 Thread m.ugues
Is there an elegant way to migrate this piece of code var innerDocument = parent.document.getElementById (indexIframe).contentDocument; alert(innerDocument.getElementById(cab).value); with jQuery? I cannot get it :( Thanks, kind regards Massimo Ugues

[jQuery] DOMWindow resizable.

2008-12-09 Thread m.ugues
Hallo all. I use DOMWindow (http://swip.codylindley.com/DOMWindowDemo.html) to display some content loaded via ajax call. I have a problem with DOMWindow similare to this http://codylindley.com/thickboxforum/comments.php?DiscussionID=1301page=1#Item_1 Any idea? The content is not an image, is