[jQuery] Re: Manipulating the dom

2007-09-29 Thread Joel Birch
Welcome to the list Maurice, I tested this and it works: $(function(){ var $holder = $('#sometextholder'); $('li').each(function(){ var $$ = $(this); var $a = $$.find('a'); var text = $$.text(); $$.html($a);

[jQuery] Re: (OT - CSS) setting screen height to 100%

2007-09-29 Thread Joel Birch
Hi Eridius, I think this is exactly what you are looking for: http://www.themaninblue.com/writing/perspective/2005/08/29/ Joel Birch

[jQuery] Re: Paste Monkey Beta Launched

2007-09-29 Thread Tane Piper
Its what's called a colaborative paste bin. Basically, if you are in IRC and stuck on some code, rather than flood the channel with your code you paste it to the web and post the link, anyone can now look and edit it. It's also a great place to put snippits of code to share - especially now my

[jQuery] Jquery Location.href or load --problem

2007-09-29 Thread voltron
Hi all, I would like to call up a page using location.href or Ajax in the Jquery way, I ried this: $(#preview_button).click(function(){ $(#main).load(/de/testsite/preview_profile); }); and this $(#preview_button).click(function(){

[jQuery] Re: Changing the Action or method of a form befor submitting

2007-09-29 Thread voltron
$(#my_form).attr(action, /blog/testsite/test); this works On Sep 29, 11:00 am, voltron [EMAIL PROTECTED] wrote: Is it possible to change the action or method of a form before submitting? How can I use callbacks? I thought of using this $(form).submit(); I´m not sure about the rerst

[jQuery] Re: inconsistent processing for xml vs html

2007-09-29 Thread John Resig
Could you submit a ticket for this? Thanks! http://dev.jquery.com/ --John On 9/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: In jQuery 1.2.1, line 783 does this: div = doc.createElement(div) The attributes that Firefox 2.0.0.7 creates for div are different depending on

[jQuery] Re: Forms with asp.net

2007-09-29 Thread seedy
I've never used the update panel, so im not sure of all its functionality. The forms plugin should let you submit a form through an ajax request. Are you using asp.net ajax and jQuery at the same time? I think there could be some problems doing that as they both make use of the $ Sharique

[jQuery] How to add/remove dynamic blocks of html

2007-09-29 Thread goodieboy
Hi, I've created code to dynamically add blocks of form elements to a form. Basically, a set of text fields and radio buttons. It seems to work fine now, but my code is completely dependent on the structure of the html, which is expected I guess and I'd like to do is simplify my code. Because

[jQuery] jqModal, Flash, and timing event firing

2007-09-29 Thread abierose
Hello, I am new to jQuery but I absolutely love it. I am currently using jQuery for a client project I am working on. I am also using the jqModal plugin to automatically display a modal window when the user goes to the site. The questions I have are as follows: 1. How can I delay the display of

[jQuery] Div flashes when using functions...

2007-09-29 Thread wizofoz777
Please check out http://msaski.s458.sureserver.com/fr/exemple.html this page and tell me why is my divs flashing half a second before and after calling show/hide or slideup slide down ?

[jQuery] jqModal, Flash, and timing event firing

2007-09-29 Thread abierose
Hello, I am new to jQuery but I absolutely love it. I am currently using jQuery for a client project I am working on. I am also using the jqModal plugin to automatically display a modal window when the user goes to the site. The questions I have are as follows: 1. How can I delay the display of

[jQuery] Re: How to use google group ?

2007-09-29 Thread Fabrizio
Thank you for your answer I will try the weeb site you talking about . Thank you

[jQuery] jqModal, Flash, and Timing Event Firing

2007-09-29 Thread abierose
Hello, I am new to jQuery but I absolutely love it. I am currently using jQuery for a client project I am working on. I am also using the jqModal plugin to automatically display a modal window when the user goes to the site. The questions I have are as follows: 1. How can I delay the display

[jQuery] Re: wait until dynamically generated image has fully loaded

2007-09-29 Thread bytte
Thanks for the reply. What exactly is happening with this new Image() thing? On 29 sep, 02:50, Benjamin Sterling [EMAIL PROTECTED] wrote: Do something like: function showNewPic(json) { var img = new Image(); img.onload = function(){ $('.jq_loading').hide();

[jQuery] Re: wait until dynamically generated image has fully loaded

2007-09-29 Thread bytte
btw, it works fine (after adding the json.picture to the last link as well: img.src = ../layout/images/uploads/+json.image;) any idea why the animation results in no picture being show in Safari (both mac and windows)? it shows the loading gif, then the old image fades out, the new one fades in

[jQuery] jquery 1.2 unbind problem

2007-09-29 Thread radoslaw wesolowski
Hello, I've probably found a strange bug in jQuery 1.2 and 1.2.1, which creates high CPU usage. To reproduce it just create site like this one: html head script type=text/javascript src=http:// jqueryjs.googlecode.com/files/jquery-1.2.1.pack.js/script script

[jQuery] Autocomplete (Jorn's Version) Form Tabbing Issue/Bug

2007-09-29 Thread ChrisG
I posted this on Jorn's site too: I've got the a problem with the tabbing in IE6+. I put together a page to demonstrate (I'm working on a racing site): http://www.motorstats.com/wwwroot/ResultsDemo.html Just start typing a name in the driver field. FYI, it won't actually process the data.

[jQuery] Re: MooTools $events expando workaround

2007-09-29 Thread Ayan
Thanks for your reply. I realized that the component might be using 1.1.4 version. I have requested them to upgrade it. Meanwhile, how can I upgrade the jQuery by myself ? Here is the file - http://gigahertz.byethost18.com/components/com_fireboard/template/default/js/jquery-latest.pack.js

[jQuery] Re: wait until dynamically generated image has fully loaded

2007-09-29 Thread Benjamin Sterling
Not sure if I would be able to explain it well, but basically it is preloading the image and once it is loaded (onload) execute the code, it is similar to a callback function in jquery. as for the safari issue, not sure, but I believe there was talk about that issue in safari, do a search in the

[jQuery] Re: jqModal, Flash, and Timing Event Firing

2007-09-29 Thread Benjamin Sterling
for question 1: setTimeOut(myModalFunction, 2000); or setTimeOut(function(){ // your modal code }, 2000) for question 2: There is a fix for keeping the flash behind a div, but I could not find it right away, I will look around a little later for one of the projects that I had that issue with,

[jQuery] Re: (OT - CSS) setting screen height to 100%

2007-09-29 Thread rolfsf
The short answer is that you need to give your footer a negative top margin equal to it's height, which will lift it up above the bottom of the window. So, assuming your footer is 60px tall, you need to add margin-top: -60px; to it's rule. The other thing to keep in mind is that IE does not

[jQuery] Re: How to add/remove dynamic blocks of html

2007-09-29 Thread Glen Lipka
I suggest LiveQuery. Really easy to use. I haven't tried the other. Also check out the FlyDOM plugin. Might be useful. http://jquery.com/plugins/project/FlyDOM Glen On 9/29/07, goodieboy [EMAIL PROTECTED] wrote: Hi, I've created code to dynamically add blocks of form elements to a form.

[jQuery] Re: How to add/remove dynamic blocks of html

2007-09-29 Thread James Dempster
I've never really understood the point to FlyDOM. It seems like a nice idea, but whats wrong with just using jQuery? FlyDOM $('#exampleCA').createAppend( 'table', { width: '718px', style: 'border: 2px inset #336699;' }, [ 'tr', { className: 'exampleRow' }, [ 'td', {

[jQuery] safari (win, mac) issues with fadeIn + callback

2007-09-29 Thread bytte
I have made a very basic slideshow, with help from this list, that looks for images in a database, then displays them. Here's the link: http://www.sum.be/project/item.php?item=14ID=39lang=1 (navigate through the pics by using the small arrows to the right of the picture) It works ok in all

[jQuery] Display problem with Jquery show hide - slide in out functions

2007-09-29 Thread wizofoz777
My website is using slie in out hide functions, but I have no idea why, when I am hiding (slideout) my differents div, the content flashes the screen before it hides away... I have tried many thing, but I can get rid of that anoying behavior... I need help please... could it be a swf conflict ?

[jQuery] Re: wait until dynamically generated image has fully loaded

2007-09-29 Thread bytte
Thanks a lot Benjamin. I've posted the issue in a separate thread. On 29 sep, 16:45, Benjamin Sterling [EMAIL PROTECTED] wrote: Not sure if I would be able to explain it well, but basically it is preloading the image and once it is loaded (onload) execute the code, it is similar to a callback

[jQuery] Autocomplete (Jorn) Form Field Tabbing Issue / Bug

2007-09-29 Thread ChrisG
I posted this to Jorn's page as well: I've got a problem with the with the form field tabbing in IE6+. I put together a page to demonstrate (I'm working on a racing site): http://www.motorstats.com/wwwroot/ResultsDemo.html Just start typing a name in the driver field. FYI, it won't actually

[jQuery] Re: How to add/remove dynamic blocks of html

2007-09-29 Thread Michael Geary
From: James Dempster I've never really understood the point to FlyDOM. It seems like a nice idea, but whats wrong with just using jQuery? FlyDOM $('#exampleCA').createAppend( 'table', { width: '718px', style: 'border: 2px inset #336699;' }, [ 'tr', { className:

[jQuery] Re: How to add/remove dynamic blocks of html

2007-09-29 Thread James Dempster
Thanks Mike, that is nice to know. Ofcourse all that could go on one line but I dont find it very readable and will be doing what you mentioned from now on. On 9/29/07, Michael Geary [EMAIL PROTECTED] wrote: From: James Dempster I've never really understood the point to FlyDOM. It seems

[jQuery] Re: Interesting post about conflict with jQuery and SWFObject

2007-09-29 Thread Brandon Aaron
I believe this issue will be resolved with the next release of jQuery. It has to do with the document.ready detection. SWFObject uses innerHTML which causes the conflict when the DOM isn't ready yet. I haven't tested this yet ... -- Brandon Aaron On 9/28/07, Rey Bango [EMAIL PROTECTED] wrote:

[jQuery] Re: jqModal, Flash, and Timing Event Firing

2007-09-29 Thread Karl Swedberg
On Sep 29, 2007, at 10:54 AM, Benjamin Sterling wrote: for question 2: There is a fix for keeping the flash behind a div, but I could not find it right away, I will look around a little later for one of the projects that I had that issue with, but in the mean time, do a search for flash

[jQuery] Re: jqModal, Flash, and Timing Event Firing

2007-09-29 Thread Benjamin Sterling
Karl, I do think you are correct. On 9/29/07, Karl Swedberg [EMAIL PROTECTED] wrote: On Sep 29, 2007, at 10:54 AM, Benjamin Sterling wrote: for question 2: There is a fix for keeping the flash behind a div, but I could not find it right away, I will look around a little later for one of

[jQuery] Re: insertBefore not inserting into dom?

2007-09-29 Thread Wizzud
Break it down into what is happening when. 1. You assign a click function to #windowOpen 2. You assign a click function to all elements currently in the DOM that have a class of 'in_dom' 3. You click the button to add the new list item - item is added 4. You click the button on the newly added

[jQuery] Re: Jquery Location.href or load --problem

2007-09-29 Thread Wizzud
Without a bit more information it is nigh on impossible to determine what might - or might not - be happening. Just saying it doesn't work is not particularly enlightening. Do you have a test page that is web-accessible? Some basics: Does *anything* happen when the clickable element is

[jQuery] Re: How to add/remove dynamic blocks of html

2007-09-29 Thread Jack Killpatrick
FWIW, I used FlyDOM and some like it and gave up on them, because: 1. syntax debugging made me cranky, compared to just writing HTML 2. it was noticably slower for more than just some small usages 3. I discovered this: http://code.google.com/p/trimpath/wiki/JavaScriptTemplates With those

[jQuery] Re: IE won't load jQuery

2007-09-29 Thread Jack Killpatrick
Maybe try these things (and see a post I made a little while ago on another thread where I listed some IE debugging tools)... 1. replace the contents of the jquery file with just an alert('hi'), to ensure that the file is loading. 2. add a query string after the .js, so:

[jQuery] Re: jquery 1.2 unbind problem

2007-09-29 Thread John Resig
That's correct - there's a ticket open on it (the default handler isn't released, for some reason). We haven't figured out if this only occurs on the document or if it occurs on all elements yet - but for now, it only seems to happen on the document. Here's the ticket:

[jQuery] Re: jCarousel drupal example....

2007-09-29 Thread Massimiliano Marini
i have been to the jCarousel website...but it does not have any drupal examples on how to use jCarousel. Can someone offer up an example to use this with drupal ??? please? Something like that? http://drupal.org/project/viewscarousel I've no tested/used this module, it's jQuery plugin

[jQuery] Re: jCarousel drupal example....

2007-09-29 Thread Massimiliano Marini
Ops ... so sorry but: There are no published releases for this project. try to study this link : http://drupal.org/project/jcarousel Bye -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ It's easier to invent the future than to predict it. -- Alan Kay

[jQuery] Re: IE 6 issues with ajax call

2007-09-29 Thread Jack Killpatrick
These might be of interest for debugging in IE: http://www.fiddlertool.com/fiddler/ http://www.getfirebug.com/lite.html http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038displaylang=en Also, in IE, set these: tools internet options advanced: -