[jQuery] Re: show()ing thousands of divs

2009-10-04 Thread Sid
Michael Geary wrote: > > Mike, the requirement here isn't just to show or hide all 3000 entries in > > one fell swoop. Sid needs to be able to show and hide individual entries > > depending on a filter. So there's no avoiding looping through all the > > entries, w

[jQuery] Re: show()ing thousands of divs

2009-09-28 Thread Sid
k records are being generated server- > > > side somewhere - can you not split/group the results before they hit > > > the browser? > > > > On Sep 28, 3:36 am, Sid wrote: > > > > > Thanks, guys. > > > > > Michael G., your solution work

[jQuery] Re: show()ing thousands of divs

2009-09-27 Thread Sid
Thanks, guys. Michael G., your solution worked like a charm. setTimeout seems to mess with the context ("this" is not recognized within the function). But that was a minor problem. I just assigned "this" to a global variable and used that variable inside setTimeout's function. A couple of other s

[jQuery] show()ing thousands of divs

2009-09-27 Thread Sid
I have a page with about 3000 (expected to grow to around 5000) floating divs. It's a list of entities. The page also has filters to allow the user to narrow down (no one wants to see 3000 items, of course). When all filters are removed, I want to show all 3000 divs. After every 2 of these divs,

[jQuery] Re: JQuery is really a nice tool

2008-12-13 Thread Sid
ne. > > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > > Behalf Of Sid > Sent: Friday, December 12, 2008 12:31 PM > To: jQuery (English) > Subject: [jQuery] JQuery is really a nice tool > > Just look at this URLhttp

[jQuery] Re: JQuery is really a nice tool

2008-12-13 Thread Sid
hi Please help me out as i am a new fresher learning HTML how to remove all the html and css bugs from this site http://googlelance Thanks On Dec 12, 11:30 pm, Sid wrote: > Just look at this URLhttp://googlelance.com > > You see the login and button click on it then you find that >

[jQuery] JQuery is really a nice tool

2008-12-12 Thread Sid
Just look at this URL http://googlelance.com You see the login and button click on it then you find that a pop up appears in middle of your page for login that is done with Jquery

[jQuery] Re: Don't redirect on form submit

2008-06-29 Thread Sid
Another point, how do I bind it since my form is loaded into the div? Will this work $('#myForm').livequery(function() { $(this).bind('submit', function () { ... ... }); }) On Jun 29, 8:18 am, "chris thatcher" <[EMAIL PROTECTED]> wrote

[jQuery] Re: Don't redirect on form submit

2008-06-29 Thread Sid
un 29, 8:18 am, "chris thatcher" <[EMAIL PROTECTED]> wrote: > Hi Sid, > > The really important thing is that you'll need to 'hijax' the form and make > sure you provent the default behavior of the browser. jQuery makes this > terribly easy.

[jQuery] Don't redirect on form submit

2008-06-28 Thread Sid
Hi, I've got a comments page that I load within a div. On clicking the "Submit" button, my page redirects to the php file that I submit to. Now since my site uses only one page which acts as the front-end with all sub-pages being loaded into a content div, i don't want the redirection happening.

[jQuery] Re: UI sortables problem

2008-06-03 Thread Sid
Nope, nothing happening on dragging anything On Jun 3, 5:35 pm, Arun Kumar <[EMAIL PROTECTED]> wrote: > Not that, > > Drag that gadget > > DnD is not working... > > View source... > > On Jun 3, 5:24 pm, Sid <[EMAIL PROTECTED]> wrote: > > &g

[jQuery] Re: UI sortables problem

2008-06-03 Thread Sid
Didnt work on my FF 2.0.0.14 WinXP Pro SP2 at 1024x768 I clicked and small little windows with a blue minimize and a red close button opened. Inside the container, the default "error" page opened. On Jun 3, 12:53 pm, Arun Kumar <[EMAIL PROTECTED]> wrote: > Please visit the URL below and let me kn

[jQuery] Re: How to make webpage to adjust to user display settings.

2008-06-03 Thread Sid
A little mistake, that http://sid-deswal.110mb.com On Jun 3, 11:36 am, Sid <[EMAIL PROTECTED]> wrote: > One way would be to restrict your display to 800x600, ie on bigger > screens the entire thing just centers itself. > > Another way is what u want to do,resize the entire thin

[jQuery] Re: How to make webpage to adjust to user display settings.

2008-06-03 Thread Sid
One way would be to restrict your display to 800x600, ie on bigger screens the entire thing just centers itself. Another way is what u want to do,resize the entire thing. Thats what im doing with my webpage at http://sid-deswa.110mb.com I use JS to calculate the appropriate length and width

[jQuery] Re: Jquery browse dialog

2008-05-29 Thread Sid
Unlikely, because security doesn't allow scripts to roam free within the client's harddisk. I hear FF 3 is doing something to tackle the Sandbox issue, but can't say how long that will take, if at all. On May 29, 3:05 am, Fred <[EMAIL PROTECTED]> wrote: > Hi guys, I have to open a browse dialog w

[jQuery] Re: mark a td when left mouse button is pressed

2008-05-29 Thread Sid
Use addEventListener In IE this is attachEvent if (td.addEventListener){ td.addEventListener('mouseDown', changeClass, true); } else if (td.attachEvent){ td.attachEvent('onMouseDown', changeClass); } function changeClass() { $(this).css('asds','asdasdsa'); } On May 28, 7:50 pm, melwood

[jQuery] Re: Load specific id on click

2008-05-28 Thread Sid
Load the entire page and then parse it with $("#div_you_want").html(); This will return everything within div_you_want including HTML tags. Use .text() if you need only the text stripped of HTML. Note: Since ur loading the page dynamically, jQuery will not automatically update the DOM, so use

[jQuery] Re: attr difference in Firefox and IE7

2008-05-20 Thread Sid
Karl, Thanks a lot :-) Works perfectly well. But IE still shows an error notification in the status bar. I'm just afraid it might come in between as I add more features. Any ideas? Regards

[jQuery] Re: Sometimes my dynamic content doesn't load - please help!

2008-05-20 Thread Sid
How do you load your different stylesheets? Basic style elements like background-color etc load pretty fast, its the images that usually take time. So I think you should check by trying different background colors, because I face the same problem while the styles are switching. Also, try the Liv

[jQuery] Re: tooltip - highlighting when a formfield is reached by a tab

2008-05-20 Thread Sid
Yup, there is and it's pretty simple. With the mouseover, bind the tooltip to a 'focus()' event (HTML: onFocus). And you can remove the tooltip with the 'blur()' event (HTML: onBlur) I think that'll work. Regards

[jQuery] attr difference in Firefox and IE7

2008-05-20 Thread Sid
$('#preview').attr('width','302px'); $('#preview').attr('height','188px'); return false; }); Works in FF but in IE, only the src is changed. The width and height remain unaffected. To see, check http://sid-deswal.110mb.com and c

[jQuery] Re: Fade out the whole page before loading next page

2008-05-20 Thread Sid
Hamish, Does the window.location wait for the fade animation to complete? I currently use a setTimeout to load data into a div container after the fade in animation has completed, else while the div is fading in, the loaded data shows through. On May 20, 9:26 am, Hamish Campbell <[EMAIL PROTEC

[jQuery] Re: Write to a file?

2008-05-16 Thread Sid
g to a file on the server, yes it's possible with > AJAX but will require some cleverness. it's a bit mroe complex than > just submitting a form. > > If you mean on the user's machine, javascript is deliberately > prevented from writing anything but cookies. > >

[jQuery] Write to a file?

2008-05-14 Thread Sid
Hi, I want to write data entered by users to a php/html/txt file. Is this possible using jQuery? Regards

[jQuery] Re: jQuery not working after loading content via Ajax .load

2008-05-10 Thread Sid
I had the same problem, and from the looks of it, almost everyone does atleast once. I use liveQuery and its working perfectly well for me. Just download the js file from the plugins page and check the examples provided. Fairly straightforward.

[jQuery] Re: Whats faster to load?

2008-05-10 Thread Sid
Yup, its a pre formatted HTML page. And thanks, I didn't know that XML files could be .load() ed :-)

[jQuery] Whats faster to load?

2008-05-10 Thread Sid
Hi, Been doing all my loading using .load() Is it faster than XMLHTTPRequest? Or should I go the XML way? Regards

[jQuery] Re: .load() problem

2008-05-03 Thread Sid
Andrea, Thank You. LiveQuery wo

[jQuery] Re: .load() problem

2008-05-03 Thread Sid
Andrea, Thanks for that :-) LiveQuery works like a charm. Regards Sid

[jQuery] .load() problem

2008-05-03 Thread Sid
another 'downloads' class link on my 'Thanks To' page (loaded from outside), and this doesn't work. Check this at http://sid-deswal.110mb.com Regards Sid

[jQuery] My jQuery Page

2008-04-27 Thread Sid
Hi ppl, Came across jQuery recently. What I saw got me very excited. sid-deswal.110mb.com Please check the 'Bugs and Fixes' link on the page. If you know how to resolve them, a post back or an email would be very appreciated. Homepage checked on FF, IE 6, Opera and Safari (Win XP SP2

[jQuery] Re: Livequery not binding on div after a .load method

2008-04-27 Thread Sid
I face the same problem. New classes are simply not recognized, making my links disfunctional.