[jQuery] draggable containment

2009-10-28 Thread Mike C
I've spent a good few hours trying to figure this out and I'm stumped. I'm trying to get a huge div that's bigger than the entire window to have a scroll feature. I just want to implement draggable and have it so that you can't see beyond the div. The containment option is what I need, but the

[jQuery] Re: draggable containment

2009-10-28 Thread Shawn
It's been a while since I've worked with drag/drop, so take this with a degree of skepticism But, I believe [x1,y1,x2,y2] refer to the x/y coordinates of the rectangle you'd like dragging contained to. I think you can specify a selector though to say contain the dragging to this

[jQuery] SPAM Messages in the list

2009-10-28 Thread Shawn
We should refrain from replying to any of these spam messages that come through. I agree with the sentiments that the spam is NOT welcome here, but replying to the thread just adds us as a confirmed email address. I honestly believe these messages are not being consciously sent by anyone,

[jQuery] Re: SPAM Messages in the list

2009-10-28 Thread Michel Belleville
Better just tagging it as spam as it deserve. Michel Belleville 2009/10/28 Shawn sgro...@open2space.com We should refrain from replying to any of these spam messages that come through. I agree with the sentiments that the spam is NOT welcome here, but replying to the thread just adds us

[jQuery] Re: SPAM Messages in the list

2009-10-28 Thread Jonathan Vanherpe (T T NV)
http://ejohn.org/blog/google-groups-is-dead/ apparently Google Groups is a nightmare to keep spam-free, and jquery will move to another solution soon (I don't get why Google doesn't put the same spamfilter they use for Gmail in front of Google Groups) Jonathan Michel Belleville wrote:

[jQuery] Re: How to get active image centeres in jCarousel?

2009-10-28 Thread Ghprod
Please someone .. help me out :) thanks and regards

[jQuery] TinyMce with .load

2009-10-28 Thread jackkit...@gmail.com
Hi All I am trying to use tinymce as a callback in the jQuery .load. Problem im having is that the tinymce box becomes frozen so that i cannot focus on it. if i click any of the buttons on the toolbar then tinymce works again. any suggestions? This only happens in IE

[jQuery] [datepicker]

2009-10-28 Thread Paamayim
Ok this is strange. When I first time load the page using two datepickers, there seems to be some invisible elements (datepicker layres?) at the bottom of the page, so that scrollbar appears. Whenever I use the datepicker, and it hides, the scrollbar vanishes and the invisibile elements hide

[jQuery] [datepicker] vertical scrollbar appears on page before I use the datepickers

2009-10-28 Thread Paamayim
Ok this is strange. When I first time load the page using two datepickers, there seems to be some invisible elements (datepicker layres?) at the bottom of the page, so that scrollbar appears. Whenever I use the datepicker, and it hides, the scrollbar vanishes and the invisibile elements hide

[jQuery] Can I somehow see what events are binded to a DOM element?

2009-10-28 Thread jayarjo
I wonder if I can see somewhere what events are binded to a DOM element (in FireBug maybe). Maybe it's obvious, but I just don't know yet if it's even possible.

[jQuery] Re: Submitting after Validation

2009-10-28 Thread Leonardo K
form.submit() just submit in the normal way. To submit via ajax you could use this plugin: http://www.malsup.com/jquery/form/#api then use: $(form).ajaxSubmit(); or you can do by yourself withouth any plugin via jQuery Post: http://docs.jquery.com/Ajax/jQuery.post On Tue, Oct 27, 2009 at

[jQuery] Re: Structuring advice: cloning a set of dynamic dropdown menus

2009-10-28 Thread Matt
Figured this out myself using AJAX - I grab the dynamic second menu through ajax instead of toggling hidden options, which worked fine. On Oct 27, 4:45 pm, Matt guitarroman...@gmail.com wrote: Oops, missed the link:http://imgur.com/p25xN.jpg On Oct 27, 4:45 pm, Matt guitarroman...@gmail.com

[jQuery] Piyush Moradiya wants to chat

2009-10-28 Thread Piyush Moradiya
--- Piyush Moradiya wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-dc2df0282b-176a078634-2870c646ae79c808 You'll need to

[jQuery] Re: Can I somehow see what events are binded to a DOM element?

2009-10-28 Thread Karl Swedberg
On Oct 28, 2009, at 7:45 AM, jayarjo wrote: I wonder if I can see somewhere what events are binded to a DOM element (in FireBug maybe). Maybe it's obvious, but I just don't know yet if it's even possible. this bookmarklet might help: http://www.sprymedia.co.uk/article/Visual+Event --Karl

[jQuery] jQuery beginner: Problem with :not selector.

2009-10-28 Thread alexpls
I'm a beginner to programming, so please bear with me, I might be missing something really obvious here and not realising it. For my first jQuery script that I'm writing unassisted by a tutorial, I want to make a very simple page. This page has three squares on it, and once you click on a square

[jQuery] jQuery validation plug-in 1.5.5

2009-10-28 Thread jquery Noob
Hi, why jQuery validation plug-in 1.5.5 don't work with FireFox version 3.5.4?

[jQuery] How to call JavaScript function from a object tag

2009-10-28 Thread caxton
Hello: I hope someone will be able to help me this problem: Basically, what I want to do is to call a javascript function in the OBJECT tag. The OBJECT would like this: object id=test type=text/html data=test.html width=800 height=600 standby=Please waitting.../ooject If we use IFRAME and

[jQuery] IE8 problems with fadein/fadeout

2009-10-28 Thread risteli
I have a problem with a simple animation. Maybe there's something I don't understand as it's the first website I'm writing with jquery1.3.2 ... This is the skeleton of what I'm working (I removed all the unnecessary code I could remove without changing the logic and the website structure -

[jQuery] Your Javascript/Jquery best pratices

2009-10-28 Thread Noel GUILBERT
Hello, I'm working on a document to standardize javascripts development for my team. Actually, each developer writes and organize its code in its own way, and it's currently a nightmare when an other developer have to work on the code of another. I've read a lot of interesting articles about

[jQuery] Re: namespacing jQuery

2009-10-28 Thread El Greg
To throw another curveball, all scripts will likely be loaded asynchronously or via script DOM elements - I think that's what's leading to the race conditions. My real goal here is to rename the jQ object before it's loaded and I'm hoping that it can be done programmatically rather than after

[jQuery] Re: Selectable and Sortable, with copy and move.

2009-10-28 Thread Matthew
Thanks Karl have posted it over there as well.

[jQuery] Re: Firing existing events from jQuery inserted html

2009-10-28 Thread BenR
Will check that out. Thanks for the tip. On 27 Oct, 17:32, Karl Swedberg k...@englishrules.com wrote: You have run into a fairly common issue: how to get events to work   with elements that are added to the DOM, through either ajax or simple   DOM mainpulation. Rather than using the

[jQuery] Re: jQuery beginner: Problem with :not selector.

2009-10-28 Thread Karl Swedberg
I modified the script for you on jsbin.com so you can see how it might work with the switch. Basically, you need to concatenate the variable, otherwise it will be treated as a string. Also, using id (not formattedID) for that variable is sufficient. I'd do it differently, though. Since the

[jQuery] Re: jQuery beginner: Problem with :not selector.

2009-10-28 Thread Leonardo K
You could do this too: var $buttons = $('.button'); $buttons.click(function(){ $buttons.not(this).css('background-color', 'green'); }); On Wed, Oct 28, 2009 at 05:39, alexpls alex...@gmail.com wrote: I'm a beginner to programming, so please bear with me, I might be missing something

[jQuery] Re: Your Javascript/Jquery best pratices

2009-10-28 Thread Shawn
When you are working in team environments, a common coding standard is very helpful. What I do is to define the coding standard to be implemented for a project, then do periodic code reviews to make sure the standards are being applied as well as making sure the code actually works and is

[jQuery] Enter

2009-10-28 Thread Atilio Camargo Moreira
How can I make when you press Enter, the focus go to the next item, but without submission?

[jQuery] ENTER

2009-10-28 Thread Atilio Camargo Moreira
I´m using APEX - Oracle App Express How can I make when you press Enter, the focus go to the next item, but without submission? If Jquery, jscript?

[jQuery] Re: ENTER

2009-10-28 Thread Dhruva Sagar
The following is an example how to do what you want in jQuery. $('#divid').bind('keydown', function(e) { if (e.which == 13) { $('#secondid').focus(); return false; } }); Thanks Regards, Dhruva Sagar. Jonathan

[jQuery] Re: Can I somehow see what events are binded to a DOM element?

2009-10-28 Thread jayarjo
Looks interesting, also I couldn't find the way to query it for specific DOM elements. However, as I figured out events are just set on DOM elements with .data() function. So it just a matter of some scripting to list them all in the console. Pretty straightforward. Firebug people are building

[jQuery] Re: Submitting after Validation

2009-10-28 Thread StephenJacob
Thanks Leonardo, I've tried to implement AjaxSubmit and the Jquery.Post but have had no luck. The form keeps submitting the normal way no matter what I do. On Oct 28, 7:48 am, Leonardo K leo...@gmail.com wrote: form.submit() just submit in the normal way. To submit via ajax you could use

[jQuery] Re: Superfish plugin: some limitations that could be addressed

2009-10-28 Thread Florent V.
The exact same markup in YUI example bellow works perfectly well...no hacks needed In my experience, it doesn't work. As i wrote earlier, most Superfish functionality will work, but if you use something else than a UL as your submenu, even if it's just wrapping a UL in a DIV for styling

[jQuery] Re: Submitting after Validation

2009-10-28 Thread Leonardo K
Perhaps the problem is that submitHandler function has an argument. submitHandler: function(*form*) { } On Wed, Oct 28, 2009 at 12:52, StephenJacob turnstylecreat...@gmail.comwrote: Thanks Leonardo, I've tried to implement AjaxSubmit and the Jquery.Post but have had no luck. The form keeps

[jQuery] Re: How Stop Animation Works?

2009-10-28 Thread Stan
Thank you Karl. It works like charm.

[jQuery] hoverintent - IE jumps expanded text 1px

2009-10-28 Thread Lucas
Got a new menu going with superfish and hoverintent and all looking good (not uploaded yet). Works fine with firefox, safari and chrome and surprise surprise having a small issue with IE. It is a small issue and hoping it is a recognised problem so will hold off uploading code examples...using

[jQuery] Re: (validate) validator is undefined error

2009-10-28 Thread Collectonian
Thanks...I go beat my own head now...can't believe I missed that! On Oct 27, 9:08 pm, Jules jwira...@gmail.com wrote: Change var validator = $(#surveyForm).validate({ to var validator = $(form).validate({ or form action=?event=submitSurvey method=post                         fieldset

[jQuery] Re: JQuery smooth anchor scrolling - modify to fadein once in position?

2009-10-28 Thread Ivan
Hi Justin I had similar task. I've tried modifiying .scrollTop attribute of document.body by animate () to make smooth scrolling to some Y position. But I failed. So I ended up with the scrollTo plugin as Bi Jing adviced. Ivan. On Oct 19, 8:47 am, Bi Jing beco...@gmail.com wrote: Maybe you

[jQuery] Superfish navigation sometimes doesn't show submenus

2009-10-28 Thread suntrop
Hi there. I am testing the superfish plugin on a site and it works fine besides sometimes the submenus doesn't appear. I have to move the pointer outside the link and wait until the hover class disappears and mouse over again. Does anybody know where this error could came from? Or someone with

[jQuery] Superfish menus

2009-10-28 Thread MICA
Hi there all, I have been using the superfish menus, and i must say they are awesome. But, currently the menus on my website only span 1 level wide. I now need them to span 2 levels wide where neccessary. The website in question is - www.micalighting.com.au For example, i have a menu that goes

Re: [jQuery] Superfish menus

2009-10-28 Thread Matt Zagrabelny
On Wed, 2009-10-28 at 08:16 -0700, MICA wrote: The website in question is - www.micalighting.com.au [...] Can anyone help?? Not with the superfish, but you might want to reconsider that animated gif at the top. Cheers, -- Matt Zagrabelny - mzagr...@d.umn.edu - (218) 726 8844 University of

[jQuery] Question about load

2009-10-28 Thread jhanssen
Hi Guys, I would like to know 3 things. First is: Why the load function doesn't work so well on Internet Explorer ? Sample is: Login using user/pass - tested/tested. Then Mainpage (see question 2 if Load is not working) - Administration - Ok URL:

[jQuery] Re: draggable containment

2009-10-28 Thread Mike C
Thanks. Which parts of the rectangle would they be? i.e. x1 as the top- left corner, etc. I'm still trying to get this figured out and it's really frustrating that the documentation doesn't cover important details like this. On Oct 28, 1:38 am, Shawn sgro...@open2space.com wrote: It's been a

[jQuery] Question about $load()

2009-10-28 Thread jhanssen
Hi Guys, I would like to know 3 things. First is: Why the load function doesn't work so well on Internet Explorer ? Sample is: Login using user/pass - tested/tested. Then Mainpage (see question 2 if Load is not working) - Administration - Ok URL:

[jQuery] superfish menu module for joomla 1.5.13

2009-10-28 Thread lgausman
the superfish menu 1.2.6 is crashing IE6. Can I get some help in your forum to resolve this issue? many thanks in advance!

[jQuery] Re: - Issue with DOCTYPE?

2009-10-28 Thread James
What is the returned data for your autocomplete? Use Firebug to debug the returned AJAX response. It should not contain DOCTYPES or HTML content in it. Simply, it should be just a list of items separated by a line break. USA CANADA UNITED KINGDOM CHINA JAPAN No HTML or any other things. If

[jQuery] Re: (validate) validator is undefined error

2009-10-28 Thread Collectonian
With the suggestion earlier, everything is working great, yay! All of my validation rules are also working, as well, except I can't figure out how to write the rule for my multi-option check box that has an Other option so that if other is among those checked, it will require the other input box

[jQuery] Fading Background AND Text, Navigation?

2009-10-28 Thread JezThomp
I'm after something like http://www.aplweb.co.uk/jQuery/Fade_background_menu_colour/ this Fading from grey to black however, i need the text to fade also, can this be done? That example just has the background fading. I need it fading from gray to black, whilst the text fades from black to

[jQuery] [validate] Remote + unhighlight error?

2009-10-28 Thread Thiago Miranda de Oliveira
Hi.. Well I'm making a form that when it validates, a container is made with all error messages together and with the highlight option, I put the error class in the input element AND it's label. And this works fine. But when one of this input is validated by the Remote method the unhighlight (

[jQuery] Re: Remote + unhighlight error?

2009-10-28 Thread Thiago Miranda de Oliveira
Well I've solved it putting the error class in the errorPlacement function, and taking all error classes before the form gets validated. Also I had to create a empty unhighlight function because the original one from the validate Plugin takes off the error Class from the input. On Oct 28, 7:08 

[jQuery] Re: (validate) validator is undefined error

2009-10-28 Thread Jules
Use this rule. whyvisitother: { required: function(element) { return $([name=whyvisit]).index($ ([name=whyvisit]:checked)) == 4; } On Oct 29, 7:34 am, Collectonian collecton...@gmail.com wrote: With the suggestion

Re: [jQuery] Superfish menus

2009-10-28 Thread Charlie
can go many levels wide, just keep adding sub UL's to the li's. There is a working example on main superfish site for multiple levels wide for vertical menu http://users.tpg.com.au/j_birch/plugins/superfish/#sample3 more than likely your issue is how to get your eCommerce platform to create

[jQuery] JQuery slideToggle IE visibility problem and jumpy animation

2009-10-28 Thread umix
Hey yaa! I have a big problem with my jquery. I finally made it that my slidetoggle runs in firefox. The animation is a little bit jumpy in the end of the animation. I read a lot of workarounds, but somehow nothing helped me really. Perhaps anyone of you can rescue me out of this dilemma. The

[jQuery] Re: cluetip memory leak

2009-10-28 Thread Andrew Tan
Would we be able to pass in a number of variables to the functions such as show and hide which are initialised outside of the closures, rather than store references to the this object. I attempted to refactor/modify the code as a quick test but I kept getting null references to things like the

[jQuery] lightbox

2009-10-28 Thread rosnovski
I basically have a photogallery link in my navigation that when clicked I don't want to navigate from the homepage but just use the lightbox plugin to present all the pictures available. I have tried to use the rel=lightbox option and even putting squared brackets to try still no way. Is there

[jQuery] Fade In Background Image - Fade Out Completely?

2009-10-28 Thread JapAttack
Hi there I'm having some trouble. I want to create a background image behind all of my site's contents, have it fade in when the page loads and then maybe a little while after the next mouse movement have it fade out. So it'd be like Fade in on load Mouse movement 3 Seconds after

[jQuery] Re: TinyMce with .load

2009-10-28 Thread Nivanka
Hi I did a similar thing but for the load event of an ajax callback. It works smoothly, below is my code. jQuery(#uploadEdit).load( urltotalk, { dir : jQuery(#NewsletterSelector).val() }, function (){

[jQuery] Re: Fading Background AND Text, Navigation?

2009-10-28 Thread Nivanka
Hi, I think you will be able to do it by using the fadeIn fadeOut methods. just fade the anchor (a/a). And all will work as you need. The example you gave it is not fading I feel. It just change the color from green to red gradually. But with setting the opacity you can fade the text and the

[jQuery] Re: Superfish not working with Wordpress version jQuery 1.3.2

2009-10-28 Thread J.D.
On Oct 14, 7:02 pm, Go4 go4multime...@gmail.com wrote: I have used your great plugin for a menu in Wordpress 2.8.4 and I wanted to use the default Wordpress jQuery library jquery.js?ver=1.3.2 but your pluginSuperfishwouldn't work. I added the jquery-1.2.6.min.js file and it did work OK. Since

[jQuery] blockUI and iframe

2009-10-28 Thread elubin
is it possible to have blockUI block the entire page, but call it from within an iframe on that page? I don't see any parameters to pass an element or document? i know i can get access to the parent frame with jQuery ('body',parent.document), but wanted to use blockUI from within the iframe,

Re: [jQuery] lightbox

2009-10-28 Thread Andrew Tan
Which lightbox plugin are you using? I have been using prettyPhoto and with that one you need to have a link/anchor to each picture and each link/anchor needs to have the rel prettyPhoto.

[jQuery] Load updated data to exisiting table

2009-10-28 Thread yonghan
hi all i got codes like this views/admin/order_home [php] script type=text/javascript src=?php echo base_url(); ?js/ jquery.js/script script type=text/javascript src=?php echo base_url(); ?js/ jquery.form.js/script script type=text/javascript // wait for the DOM to be loaded

[jQuery] Re: jQuery beginner: Problem with :not selector.

2009-10-28 Thread alexpls
Thanks for the great help! I checked out your website (learningjquery) and it's a wonderful resource, I'll be going through its posts on a day-to-day basis now! Thanks again, All the best, alexpls On Oct 29, 1:40 am, Karl Swedberg k...@englishrules.com wrote: I modified the script for you on

[jQuery] Re: jQuery beginner: Problem with :not selector.

2009-10-28 Thread alexpls
Thanks for the help, Leonardo! It's amazing to see that what took me twelve lines of code to write can be accomplished in just three! All the best, alexpls On Oct 29, 1:43 am, Leonardo K leo...@gmail.com wrote: You could do this too: var $buttons = $('.button'); $buttons.click(function(){