[jQuery] Content within Floating Window using jQuery SimpleModal plugin cannot be replaced in IE8

2009-11-09 Thread Roger
ges are not rendered. More details can be found here: http://stackoverflow.com/questions/1697954/content-within-floating-window-using-jquery-simplemodal-plugin-cannot-be-replaced Any hints? Thanks and cheers, Roger

[jQuery] How could we pass a xmldom to a webservice?

2009-06-17 Thread Roger He
the webservice was written by asp.net

[jQuery] How to post a XmlDocument to ASP.NET WebService (*.asmx)

2009-04-26 Thread Roger He
I tried to use it in following way. asmx: [WebMethod] public string XmlTest([XmlAnyElement] XmlElement test) { return ""; } js: var xmldata="a var par = { "test": xmldata}; $.ajax({ type: 'post', url: "WebService/DatabaseWS.asmx/XmlTest",

[jQuery] Re: jquery-1.2.6.min.js and mootools.v1.1.js not compatable

2009-04-20 Thread Roger
On Apr 20, 3:54 pm, amanj wrote: > Hi All, > i have a problem with web page, i have 2 js files for tow topic > jquery-1.2.6.min.js > mootools.v1.1.js > those file are not compatable togeher, please if have any thing or any > problem could you advice me how can i use it? Those files are not com

[jQuery] Re: Creating custom attributes in html

2009-04-17 Thread roger
Josh, Since you aren't creating nodes, why not wait until after you insert the string of html onto the page, at which point you will have access to those nodes, so you can loop through them and set all of the corresponding properties on them using .data() or just the usual document.getElementById(

[jQuery] Re: how to create multiple draggable div's with dynamic content

2009-04-14 Thread roger
Sounds like you need to create a function (or two) to manage the creation of the draggable window and fill it with content. Your function should either clone the markup from a hidden div on the page or create new dom elements with javascript. You would then select the container that you cloned or

[jQuery] Re: Should $(document).ready() be external? And should it be placed at the bottom of the page?

2009-04-14 Thread roger
Andy is absolutely right, but I'd like to add that you can call $ (document).ready() anywhere on the page and as many times as you want. On Apr 14, 10:34 am, "Andy Matthews" wrote: > You can externalize the document.ready call if you choose, I do it all the > time. > > As for putting it at the b

[jQuery] Re: find among same elements using name

2009-03-14 Thread Alain Roger
> > [name=row] > do you mean find('td[name=row]') ? A.

[jQuery] find among same elements using name

2009-03-14 Thread Alain Roger
Hi, i have a table with checkboxes which allows user to select all row/records or none. they have all the same name : row i would like to know if there is an easy way to find them in my table ? i was thinking about something like : $("#grid").find('td:row').each(function(i) { ... }); when td:row

[jQuery] Re: getting data using html attribute

2009-03-14 Thread Alain Roger
thanks a lot, it works... i was looking so complicated thing to do. :-( On Sat, Mar 14, 2009 at 5:53 PM, mkmanning wrote: > > item[field] > > On Mar 14, 9:46 am, Alain Roger wrote: > > Hi, > > > > i have several html tags with some additional attributes like &#x

[jQuery] getting data using html attribute

2009-03-14 Thread Alain Roger
Hi, i have several html tags with some additional attributes like 'type' or 'abbr'. for example : Language now i have a function which should fill the TD tag of another table based on the abbr attribute of my first table (like you can see the TH above). this function looks like that : $.getJSON("

[jQuery] Re: 2 tables with same td width

2009-03-07 Thread Alain Roger
Hi, so i found why my code was not working...basically i found the reason but not how to walkaround it for now. in fact my data cells (2nd table) is loaded with a getJSON data collection (as you can see below): $.getJSON("lg.php",{ start: 0, offset : 10 }, function(data) {

[jQuery] display children using jQuery

2009-03-07 Thread Alain Roger
Hi, i need to debug jQuery code and i would like to know if there is an easy way to display (as alert or into FFconsole) the children tags of a particular element ? thanks Al.

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
sorry... i made a mistake... by .find('tr,td') i wanted to tell find("th,td") On Fri, Mar 6, 2009 at 9:23 PM, Alain Roger wrote: > Thanks MorningZ, > > i've check your code and there is something i do not understand... as i'm > still rookie to jQuery

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
Thanks MorningZ, i've check your code and there is something i do not understand... as i'm still rookie to jQuery i'm maybe asking a stupid question , so in this case sorry. when you call the following function Grid_Colunns_Resize($("#frm_table, #data_grid")); in fact $("#frm_table, #data_grid"

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
> > > What if the data table's first column is not wider than the header > table's first column? then you'll be smushing the header > in fact i was thinking to check each column headers first, and whatever width have the data columns, to allocate the column header widths to their respective d

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
> > I knew you had 2 tables, and sorry if I came across as condescending (a lot > of people don't realize tables can have a header section). I'm just trying > to figure out why you need to have it split into two tables. Are you trying > to have the header cells follow the page as you scroll? If so,

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
On Fri, Mar 6, 2009 at 3:05 PM, MorningZ wrote: > > I don't know if you copy and pasted that code right from your tool of > choice, but you've got single and double quotes mixed up at > > > > use single quotes or double quotes, but not one of each, that will > cause major issues > Sorry Morning

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
On Thu, Mar 5, 2009 at 9:41 PM, MorningZ wrote: > > Can you post (preferably on http://paste.pocoo.org/) what: > 1) What both tables look like? (as previously mentioned, your screen > shot only shows one table, that doesn't help) > 2) how you are assigning the variable "$slave_table" > > Seeing b

[jQuery] Re: 2 tables with same td width

2009-03-05 Thread Alain Roger
On Fri, Mar 6, 2009 at 4:16 AM, David Muir wrote: > So you're saying you need to use js to sync the two tables so that you can > use different styling for the header? Sounds like you should be updating > your html markup instead. > Header cells should be using th tags. > > > >

[jQuery] Re: 2 tables with same td width

2009-03-05 Thread Alain Roger
On Thu, Mar 5, 2009 at 8:10 PM, MorningZ wrote: > > nothing special and only one table shown > yes because my previous code and question belong to this table as you can see the following code should work... but it doesn't :-( $slave_table.find("tbody tr").find("td").each(function(i) { ... }); a

[jQuery] Re: 2 tables with same td width

2009-03-05 Thread Alain Roger
On Wed, Mar 4, 2009 at 10:39 PM, MorningZ wrote: > > I took a shot in the dark on what your HTML is like > > here's a working example > > http://paste.pocoo.org/show/106506/ > > Note: the width's of cells are not know until the page is fully > loaded... hence the initial call to the function is i

[jQuery] Re: 2 tables with same td width

2009-03-05 Thread Alain Roger
On Wed, Mar 4, 2009 at 11:12 PM, donb wrote: > > Is thre some reason you can't do it with simple CSS directives? > Define a Class for each as appropriate and use the same class in > the td of both tables. No jQuery or javascript needed at all. > yes, because i have a different CSS code for head

[jQuery] Re: 2 tables with same td width

2009-03-04 Thread Alain Roger
On Wed, Mar 4, 2009 at 3:20 PM, MorningZ wrote: > > Some code i wrote > > http://paste.pocoo.org/show/106445/ > > Call it like: > > Columns_Resize($("selector for tables to line up widths")) > > Hi MorningZ, i tried to adapt the code to my purpose and i'm facing an interesting problem. $slave_ta

[jQuery] 2 tables with same td width

2009-03-04 Thread Alain Roger
Hi, i have 2 tables, 1 contains only headers and another only the data. do not ask me why it is like...it has to :-) however, i must give/allocate the same width to header and data cells. for that i was thinking to use jQuery. is there an easy way to synchronize width of both table in order to

[jQuery] Re: $.getJSON

2009-03-02 Thread Alain Roger
On Mon, Mar 2, 2009 at 10:52 AM, Matt Quackenbush wrote: > Yes. > > > > On Mon, Mar 2, 2009 at 3:35 AM, Alain Roger wrote: > >> Hi Wil, >> >> so if i understood well, having the following JSON: >> >>> {"records":[{"id":1,&

[jQuery] Re: $.getJSON

2009-03-02 Thread Alain Roger
On Sun, Mar 1, 2009 at 9:59 PM, Wil Everts wrote: > > One of my favorite examples of this is the Flickr example on Visual > jQuery (http://remysharp.com/visual-jquery/). > > $.getJSON(" > http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&tagmode=any&format=json&jsoncallback= > ?", >

[jQuery] $.getJSON

2009-03-01 Thread Alain Roger
hi, i do not understand so well how the function getJSON works. i've read the documentation but i think i miss the point. i would like to pass some argument/parameter to a php file which in return gives me som JSON answer. therefore i wrote the following code: $.getJSON("lg.php", { start: 0, offs

[jQuery] scrolling function

2009-02-24 Thread Alain Roger
Hi, i have a div with the scrolling function attached to it as following: $("#data_framework").scroll(function(e){ > //var maxScroll = $("#data_framework").attr("scrollWidth") - > $("#data_framework").width(); > $("#frm_table").scrollLeft($('#data_framework').scrollLeft); > }); > as you can

[jQuery] 2 divs with a single scrollbar

2009-02-22 Thread Alain Roger
Hi, i did not get any anwser (at least i did not get answer emailed)...so sorry if someone did. i'm back with my question about 2 divs with 1 of them including an horizontal scrollbar. how can i scroll both divs horizontally when user scroll only 1 of them using the scrollbar ? i read jQuery help

[jQuery] Re: How to loop through JSON data

2009-02-21 Thread Alain Roger
Hi, first i would rather suggest to not use numbers as array name... in your example you will have problem while debuggin code and i'm not sure that it will work correctly. so i would suggest instead of using 9 to use something else but with characters. you can do something like that (where myarra

[jQuery] slideUp strange behavior under IE7

2009-02-19 Thread Alain Roger
Hi, i have a div which i use to slideUp with jQuery. if under FF3 there is not problem, i met an issue under IE7. for example if i have several divs within this "SlideUp" div, (and that there is 1 div which is placed with css at the bottom of this SLideUp div) while this div is slidingup, the "bot

[jQuery] .height() issue

2009-02-19 Thread Alain Roger
Hi, i use the following code to set up the height of a div (framework): > var GridTitle_OuterHeight = parseInt($("#gridtitle").outerHeight(),10); > var Navigation_OuterHeight = parseInt($("#navigation").outerHeight(),10); > var FrmBottomBorder = parseInt($("#framework").css("borderBottomWidth")

[jQuery] scrolling bar and table

2009-02-17 Thread Alain Roger
Hi, i would like to know if something exists in jQuery to allow me to do the following thing: i have 2 divs and when 1 is scrolling horizontally, i would like to scroll the other one by the same amount of pixels (as the first one). if not, i guess i must use something from pure javacript. thx. -

[jQuery] JSON and jQuery

2009-02-15 Thread Alain Roger
Hi, i didn't find anything on jQuery and JSON. is there any decoder ? thanks a lot. -- Alain --- Windows XP x64 SP2 / Fedora 10 KDE 4.2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-2008

[jQuery] Re: getting border with without em or px

2009-02-15 Thread Alain Roger
r/better way but I always do the > following when I get number values from CSS: > > parseInt($(.someclass).css("left")); > > > > On Feb 14, 2:30 pm, Alain Roger wrote: > > Hi, > > > > i know how to get border width with jQuery but every time it retri

[jQuery] getting border with without em or px

2009-02-14 Thread Alain Roger
Hi, i know how to get border width with jQuery but every time it retrieves also the format (px or em). is there an easy way to get the border width without the px or em ? or should i do a substring ? thx. -- Alain --- Windows XP x64 SP2 /

[jQuery] Re: wait end of slideUp()

2009-02-14 Thread Alain Roger
x27;,function(){$('myTopDiv').addClass('myclass');}); > > pierre > > Alain Roger a écrit : > > Hi, >> >> i have 2 divs (one on the top and one below). >> when user click on top div, the bottom div is SlidingUp slowy and the top >> div class should

[jQuery] wait end of slideUp()

2009-02-14 Thread Alain Roger
Hi, i have 2 divs (one on the top and one below). when user click on top div, the bottom div is SlidingUp slowy and the top div class should change. this works well, but to make it perfect i would like to be sure that my bottom div is completly slided Up before to change class of my top div. how

[jQuery] toggle question

2009-02-12 Thread Alain Roger
Hi, I would like to simulate the maximize/minimize window effect. So i created an image Maxi and an image Mini. maxi is displayed by default. When user click on this image, a div should be displayed (no problem for that point) and the Mini image should be displayed instead of Maxi. for sure, if us

[jQuery] Newbie & Frames

2009-02-12 Thread Roger Varley
Hi I am new to Jquery and I've got a problem. I'm working on a very old site that uses deeply nested . I want to dynamically change the size of, and animate, some of the frames based on (a) setup time and (b) user interaction. I've googled and most of the responses that I've seen are about

[jQuery] Re: innerWidth issue

2009-02-11 Thread Alain Roger
thanks a lot it works well :-) On Wed, Feb 11, 2009 at 9:46 PM, James wrote: > > For HTML attributes, you should always use double-quotes: > Use: > Not: > > On Feb 11, 10:26 am, amuhlou wrote: > > I'm not quite sure why you would need special code to make the > > span the width of the entire

[jQuery] innerWidth issue

2009-02-11 Thread Alain Roger
Hi, i have the following html code: this is a simple test here is my css file: > #ARGrid > { > border : 3px solid #aa; > padding : 0; > margin : 0; > font-family : verdana, tahoma; > font-size : 10px; > } > .framework > { > background-color : #

[jQuery] add a child node using jQuery

2009-02-11 Thread Alain Roger
Hi, i have a tage and i would like to add a node using jQuery. what is the best method in order to get ... ? thx -- Alain --- Windows XP x64 SP2 / Fedora 10 KDE 4.2 PostgreSQL 8.3.5 / MS SQL server 2005 Apache 2.2.10 PHP 5.2.6 C# 2005-20

[jQuery] table header order

2009-02-09 Thread Alain Roger
HI, i have a table with thead, tbody and the headers (stored in thead) should be able to be moved to reorder the table. for example, if the 1st column is "ID", the 2nd column is "Name" and 3rd one is "firstname", i want user to be able to drag and drop column "firstname" between ID and Name column

[jQuery] rookies in jQuery and grid

2009-02-08 Thread Alain Roger
Hi, i'm newbie to jQuery however i watched those videos on internet and it seems that jQuery is a very powerful library now. i have a grid/table that i would like to create using jQuery, it would be a wonderful try from my side. I know that some tables and grids plug-ins already exist but i want t

[jQuery] Re: Plugins/Validation

2008-06-10 Thread Roger Theriault
Thanks! That will save me and a bunch of folks some headaches! Roger On Jun 9, 5:39 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > This is now fixed in the latest revision, which references jQuery at > load-time and as no dependency at > runtime:http://dev.jque

[jQuery] Plugins/Validation

2008-06-08 Thread roger
ss plugins or base features. (I get no errors after I change the calls, there are only a few $. or $ () references in the file... but I haven't seen this issue with other jQuery libraries) Roger

[jQuery] Zope3/JQuery Sprint

2007-09-12 Thread Roger Ineichen
?%3Aaction=search&term=jquery Regards Roger Ineichen _ Projekt01 GmbH www.projekt01.ch Boesch 65 6331 Hünenberg phone +41 (0)41 781 01 78 mobile+41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email [EMAIL PROTECTED] _ END OF MESSAGE

[jQuery] AW: [jQuery] Re: JSON MIME type?

2007-08-23 Thread Roger Ineichen
orting application/json. svn://svn.zope.org/repos/main/jquery.javascript/trunk/src/jquery/javascript/ js Regards Roger Ineichen _ END OF MESSAGE

[jQuery] AW: [jQuery] Re: OT: A Big Idea

2007-07-30 Thread Roger Ineichen
d make us much more independent from the browser companies and give us the prower we need. I don't telling everything will become better and there will be no rendering problems or bugs etc. But the idea is really interesting. Regards Roger Ineichen > Christof >

[jQuery] AW: [jQuery] OT: A Big Idea

2007-07-28 Thread Roger Ineichen
t, this is another hugh benefit in cross platform development. And you are right, this is really one of the best idea I've seen since JSON and JQuery. Regards Roger Ineichen > Glen

[jQuery] AW: [jQuery] Re: AW: [jQuery] Re: http://:/ issue?

2007-07-12 Thread Roger Ineichen
nly jquery.js and no other css or javascript. It's really bad because the thickbox page shows up without any layout if this happens. I also have to say, that I've the multi version IE installed next to the IE 7. But the IE 7 installation is the original one. But I don't t

[jQuery] AW: [jQuery] Re: http://:/ issue?

2007-07-12 Thread Roger Ineichen
139 s GET 200 6.33 K application/x-javascript http://alpha.z3c.org/@@/jquery.resteditor.js 12 10:36:43:968 0.063 s GET 200 1.70 K text/css http://alpha.z3c.org/ ... more images Regards Roger Ineichen > -Ursprüngliche Nachricht---

[jQuery] http://:/ issue?

2007-07-11 Thread Roger Ineichen
Hi all I have on my server and see it on this page too: http://dev.iceburg.net/jquery/jqModal/ a problem. There is a call to http://:/ initialized from the JQuery library. Any idea what forces JQuery to do this call? Regards Roger Ineichen _ Projekt01 GmbH

[jQuery] AW: [jQuery] Re: different name and id issue?

2007-06-14 Thread Roger Ineichen
widgets-lastname" name="form_widgets_lastname" > > What is more important is to avoid that a name attribute > matches an id, which both variants do provide. That's good to know. Thanks a lot Klaus Regards Roger Ineichen _ END OF MESSAGE

[jQuery] different name and id issue?

2007-06-14 Thread Roger Ineichen
astname" name="form.widgets.lastname"" Is this acceptable or is there any reason using another naming convention for element ids and names? Thanks for any hint. Regards Roger Ineichen ___ Zope3-dev mailing list [EMAIL PROTECTED]

[jQuery] Re: Select box change event infinite loop in ASP.NET

2007-05-24 Thread Roger Roelofs
ntil you tab out of the select while firefox fires the onchange event every time you make a new selection (at least on my mac) You can save yourself a lot of debugging time by using the firebug firefox extension. hth Roger, -- Roger Roelofs [EMAIL PROTECTED]

[jQuery] Re: alerting the value of radio button onfocus

2007-05-23 Thread Roger Roelofs
ier for us to help you. A guess would be something like this... $(function() { $("#test/[EMAIL PROTECTED]'radio']").bind("focus", function() { if ( this.checked ) alert(this.value); }); }); -- Roger Roelofs

[jQuery] Re: show/hide revisited

2007-05-20 Thread Roger Roelofs
.toggleClass("show_com"); $(".commenting").slideToggle("slow"); return false; }); then the css would be a { width: 16px; height: 16px; background-image: minus.gif; } a.show_com { background-image: plus.gif; } -- Roger Roelofs

[jQuery] Re: EXTjs.com

2007-04-05 Thread Roger Ineichen
y and Ext could be a dream team if so. But anyway it's one of the coolest widget package. Regards Roger Ineichen _ Projekt01 GmbH