[jQuery] drag to scroll in jquery

2007-05-30 Thread harryzou

Hi,
I want to implement a feature like Google Map's drag to scroll in
jquery, but has no ideas right now,
and I haven't found this kind of drag&drop in interface yet, or maybe
there is?

Someone can give a suggestion?

Regards



[jQuery] Re: Best way to do horizontal sub-menus...

2007-05-30 Thread Olaf Bosch


Rick Faircloth schrieb:


Well, I've finally given in and after 10 years of web design,
I'm ready to create my *first* horizontal menus.


What, is this true!? ;)


jQuery?  CSS?  Combination?


right, this are may favorit (without JQuery):
http://www.htmldog.com/articles/suckerfish/dropdowns/

this with JQuery:
http://be.twixt.us/jquery/suckerFish.php

--
Viele Grüße, Olaf

---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---


[jQuery] jQuery and IE7 issues with Star Rating Plugin

2007-05-30 Thread Randy Taylor

I am using the Star Rating Plugin located at 
http://sandbox.wilstuckey.com/jquery-ratings/
to create a rating system for each item in a list. It works great in
IE 6 and Firefox but for the most part will not work in IE 7.

I have setup a clean and simple test page at 
http://www.songdiscovery.com/dsp_community_test.cfm
for anyone that is able to take a look and give some input.

I have a deadline for this Friday and am unable to find a fix at this
point. Any help will really mean a lot and save me big time.

Thanks in advance for your comments and expertise.

Sincerely,

Randy



[jQuery] Re: .ready and javascript library loading

2007-05-30 Thread Karl Rudd


It shouldn't happen. Can you post the source for the page(s)? Or at
the very least post the order of the JavaScript files. Such as:

   
   
   $(function() { failingFunction(); } );

Karl Rudd


On 5/31/07, DaveG <[EMAIL PROTECTED]> wrote:



> Script tags are run (though not necessarily "downloaded")
> sequentially.
I think* that's the key. Although they are run sequentially, js does not
wait for complete loading of one library before moving onto process the
next. So when you have a slow connection it seems to be possible that
the call to somelibraryfunction() fails.


  ~ ~ Dave



[jQuery] Best way to do horizontal sub-menus...

2007-05-30 Thread Rick Faircloth

Hi, all...

Well, I've finally given in and after 10 years of web design,
I'm ready to create my *first* horizontal menus.

I've always used vertical menus because of their expandability,
but I need some design flexibility.

So the question is... what's the best way to build a horizontal
menu where each link has a corresponding horizontal sub-menu?

jQuery?  CSS?  Combination?

Thanks for any advice...

Rick




[jQuery] Re: .load issue with IE7

2007-05-30 Thread JimD

Weird I posted a reply about this earlier this morning and it never
went through. Anyway, Wizzud thanks for the tip this worked. One other
question related to this same piece. The .load works now in IE7 and
FF, but for some reason I cant get IE to fire the click unclick
actions on some checkboxes in the page. basically in the page that
lists all the invoices that can be paid I have a checkbox next to each
one. If the user clicks a check box I reload the paybox with the value
to be added and the new total displayed. Again works in FF2 but not
IE7.

checkbox code.



On May 29, 5:28 pm, Wizzud <[EMAIL PROTECTED]> wrote:
> Have you tried putting the second load into the callback of the first load?
> eg.
> $(document).ready(function(){
>$("div#payments").load('account_rec_load.html',function(){
>   $("div#paytotal").load("payment_total_load.html");
>});
>
>
>
> John W wrote:
>
> > Ok so I have payment page.  When the page loads I fill in a list of
> > payments within a div using .load, and within the page being loaded in
> > the div, I have another .load that feeds in a total box. This all
> > works great in FF2, but for some reason in IE7 the paybox doesnt not
> > display.
>
> > So in the main page I load the list page using .load like so and it
> > works fine in both IE7 and FF2.
>
> > $(document).ready(function(){
> >$("div#payments").load('account_rec_load.html',function(){
> >return false;
> >});
> > });
>
> > Then in the 'account_rec_load.html' page I have a similiar load
> > function that just loads in a totals box using .load as well. This
> > works in FF but not IE7. I'm assuming its because the ajax loaded page
> > isnt actually being seen as loaded in IE7? Sorry Im not quite the
> > javascript guru. Any ideas why IE7 is treating this differently.
>
> > $(document).ready(function(){
> >$("div#paytotal").load("payment_total_load.html",function(){
> >return false;
> >});
> > });
>
> --
> View this message in 
> context:http://www.nabble.com/.load-issue-with-IE7-tf3833063s15494.html#a1086...
> Sent from the JQuery mailing list archive at Nabble.com.



[jQuery] Re: .ready and javascript library loading

2007-05-30 Thread DaveG




Script tags are run (though not necessarily "downloaded")
sequentially. 
I think* that's the key. Although they are run sequentially, js does not 
wait for complete loading of one library before moving onto process the 
next. So when you have a slow connection it seems to be possible that 
the call to somelibraryfunction() fails.



 ~ ~ Dave


[jQuery] Re: jQuery featured POTM

2007-05-30 Thread Larry Garfield

I'll take your word for it and correct the article.  I don't now from Ruby, so 
I the closest language I knew for the feel I got from it was Java.  Thanks.

On Wednesday 30 May 2007, John Resig wrote:
> Quick note: "The main problem with Prototype is that is tries to turn
> Javascript into Java. " isn't terribly correct - if anything, they're
> trying to make JavaScript behave more like Ruby (since it's primarily
> used by users of Ruby on Rails, and written to help those users as
> such.)
>
> --John
>
> On 5/30/07, Larry Garfield <[EMAIL PROTECTED]> wrote:
> > Please forgive the self-advertisement, but I just wanted to share that
> > I've added jQuery to the list of featured projects I've been coordinating
> > this year:
> >
> > http://www.garfieldtech.com/blog/potm-jquery
> >
> > For the rest of the featured projects, see here:
> >
> > http://www.garfieldtech.com/potm
> > http://www.garfieldtech.com/blog/project-of-the-month
> >
> > Thanks John and everyone for an awesome project!
> >
> > --
> > Larry Garfield  AIM: LOLG42
> > [EMAIL PROTECTED]  ICQ: 6817012
> >
> > "If nature has made any one thing less susceptible than all others of
> > exclusive property, it is the action of the thinking power called an
> > idea, which an individual may exclusively possess as long as he keeps it
> > to himself; but the moment it is divulged, it forces itself into the
> > possession of every one, and the receiver cannot dispossess himself of
> > it."  -- Thomas Jefferson


-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson


[jQuery] Re: .ready and javascript library loading

2007-05-30 Thread Karl Rudd


Script tags are run (though not necessarily "downloaded")
sequentially. So as long as the script tag for the "library" is before
the call to the function  in the "library" you shouldn't have any
problems.

For example, the following works: