[jQuery] format number

2009-10-03 Thread runrunforest
How can i make 1500 look like 15,000,000 and 1500.00 look like 15,000,000.00 ?

[jQuery] Re: jQuery - Random Selection

2009-10-03 Thread RobG
On Oct 4, 2:45 pm, RobG wrote: [...] > which is the same as using Math.floor. To return a random integer > between 0 and n, use: That should have been: between 0 and n-1 inclusive. > >   function getRandomInt(n) { >     return Math.random()*n | 0; >   } > > -- > Rob

[jQuery] Re: jQuery - Random Selection

2009-10-03 Thread RobG
On Oct 4, 7:06 am, Charlie wrote: > put all the bios in  containers with same class, use javascript random() > function to create a random index to show one of the bios > $('.bioClass').hide() > var bioIndex=Math.round(Math.random()*5) Using that formula, indices 0 and 5 have only half the ch

[jQuery] Help adding a timer to the innerFade plugin ?

2009-10-03 Thread Alex Barrios
Hi everybody. I'm using the innerFade plug in [1] as a news ticker on my site [2], but it will be more usable if i show in a corner of the news area a timer that says to the visitor how much time (in seconds) must wait before it shows the next news. Somebody has done something like this with thi

[jQuery] Plugin for Complex Forms with Dependent Elements?

2009-10-03 Thread Mike
Hi all, I'm looking for a JQuery/Ajax plugin for a form I'm building on a Rails site. I've come across a good deal of resources, but still looking for something that matches my needs. I'm new enough to coding that rolling my own isn't realistic. Here's what I'm trying to do: - User selects a p

[jQuery] $ not recognized even though jQuery library referenced

2009-10-03 Thread CoffeeAddict
I my ASP.NET master page I've got the following: $(function() { $("img[src*='_s.jpg']").thumbPopup({ imgSmallFlag: "_s", imgLargeFlag: "_l" }); }); and yes, the paths are ri

[jQuery] Re: stopping and restarting the auto scrolling

2009-10-03 Thread Macsig
Update: on jquery website I found something that could help me to achieve the stopping/restarting effect I need, here the code div.hover( function() { clearInterval(autoScroll); }, function() { autoScroll = setInterval(function(

[jQuery] Re: jquery codeigniter upload question?

2009-10-03 Thread Donny Kurnia
rosnovski wrote: hi guys, I never knew of this place but I am glad I did. My question like the subject says is about uploading. I was trying to do the jquery ajax part myself but i had problems with it and so I stumbled on form plugin from malsup. What i want to know is this, is there anyting s

[jQuery] lightbox overlay pushed to bottom of page

2009-10-03 Thread neridaj
I'm trying to add the lightbox plugin to a page and when the image is clicked the overlay and corresponding image are pushed to the bottom of the page wit the image below the overlay. The gallery div is nested inside a couple other divs and when the gallery images are clicked the overlay and lighb

[jQuery] wrap siblings between 2 specific tags

2009-10-03 Thread stvwlf
How do I wrap repeated sets of [ followed by other tags ] in a div? example: - - I want to wrap everything between the lines in a single [] ? The # of tags in between the lines ( i.e. # of tags following ) will vary after each tag. They won't all start w

[jQuery] POSTing an html input field in an auto-complete jquery field.

2009-10-03 Thread mrk.enriquez
yes i am new to the jquery world and have been pounding my head against the wall for over a day trying to get my working auto- completed text field's data to be passed here is my XHTML.. Customer Name:

[jQuery] ExtraParams and caching

2009-10-03 Thread johno
Hi, I think there is a bug in autocompleter, when you use extraParams. The cache logic is just wrong because it takes extraParams not as a part of cache key for lookup, so when you issue a request for "a term" with any parameters, the second search for "a term" will return cached results regardle

[jQuery] Re: jQuery - Random Selection

2009-10-03 Thread Charlie
put all the bios in  containers with same class, use _javascript_ random() function to create a random index to show one of the bios $('.bioClass').hide() var bioIndex=Math.round(Math.random()*5) $('.bioClass').eq(bioIndex).show() random() generates random # between 0 and 1 so multiplying by

[jQuery] jQuery - Random Selection

2009-10-03 Thread Matthew Wehrle
Hey, At current I'm building a site in co-operation with 5 of my close friends. On our homepage (See here: http://www.dotcommon.co.uk/index.html). You'll notice a bio box with 6 names down the left hand side and, thanks to jQuery, when these are clicked the bio box loads different information abo

[jQuery] Jquery carousel Question?

2009-10-03 Thread shilpa
JQuery Carousel Demo is great. I have to use this for my work. But i got some issues while working with your Jcarousel example. 1. I am not able to change width of the panel. I mean Here you have shown 3 item on the frame . I need to show ten item on the frame. example there are 30 weeks . i ha

[jQuery] Re: Stumped. 1.3.2 breaks this script

2009-10-03 Thread stilfx
Still cant figure this one out! On Oct 2, 9:48 am, stilfx wrote: > Let me clarify. This example is working, using the older version of > jQuery. When I plug in jQuery 1.3.2, the first two books no longer > show and it breaks the script a bit. I am trying to figure out what > changed. > > Near t

[jQuery] Re: Form Plugin issue with multiple submit buttons

2009-10-03 Thread Evgeny
perfect, thanks I got it fixed. On Oct 3, 6:39 am, Mike Alsup wrote: > > Sure, here it is. Thank you! > > >http://test.nmrwiki.org/wiki/index.php?title=Special:People&command=/... > > Ok, so here is the source for one of your forms: > > Administrator (1) > >     >     >     >     >     >  

[jQuery] Re: Form Plugin issue with multiple submit buttons

2009-10-03 Thread Mike Alsup
> Sure, here it is. Thank you! > > http://test.nmrwiki.org/wiki/index.php?title=Special:People&command=/... > Ok, so here is the source for one of your forms: Administrator (1) That is not valid markup. If you look at Firebug you will

[jQuery] jquery codeigniter upload question?

2009-10-03 Thread rosnovski
hi guys, I never knew of this place but I am glad I did. My question like the subject says is about uploading. I was trying to do the jquery ajax part myself but i had problems with it and so I stumbled on form plugin from malsup. What i want to know is this, is there anyting special that I shoul

[jQuery] Re: Skipping a slide with Cycle Plugin

2009-10-03 Thread Charlie
instead of considering having Cycle skip the slide you could use a time function that determines what slides are put in DOM before calling Cycle Mike Alsup wrote: This isn't supported directly by the plugin. The only thing I can think of is using a dynamic timeout and setting it to 1 for

[jQuery] Re: Pick different effects with jquery

2009-10-03 Thread Thavipa
Thanks a million!! :D On 3 okt, 05:16, Mike Alsup wrote: > > Try taking a look at the wonderful cycle plugin of Mike Alsup: > >http://malsup.com/jquery/cycle/options.html > > Thanks for the comment.  Here's another page to look at that shows the > variety of effects available: > > http://www.ma

[jQuery] Re: Validation: Form with multiple submit buttons having different validation rules

2009-10-03 Thread NovoGeek
I have seen the login form example (http://jquery.bassistance.de/ validate/demo/login/), but I cannot use it as I have to manually change css classes for all required elements. Can someone help me out in this issue? Should I write custom methods for this? On Oct 2, 10:14 pm, NovoGeek wrote: > H