[jQuery] Re: simplemodal next/back functionality

2009-12-30 Thread nevgenevich
Thanks a lot for a full example so quickly! styling isnt a problem at all, that i can hack together somehow... however, your code doesnt fully work (i've only tried the previous link part thus far, but...) it generates the link properly, when clicking on it: it closes the modal but does nothing el

[jQuery] Re: autocomplete plugin not working in firefox

2009-12-30 Thread mary ann
Hi, good idea. I've now got Firebug and it does not show anything relating to autocomplete. Its like the scripts never get run at all. But in ie, its fine. Thanks for your help. On Dec 30, 6:19 pm, MorningZ wrote: > Do you have FireBug installed (you should!) to see if the plugin at > least tri

[jQuery] Re: autocomplete plugin not working in firefox

2009-12-30 Thread MorningZ
Do you have FireBug installed (you should!) to see if the plugin at least tries to make the request? http://www.getfirebug.com On Dec 30, 8:23 pm, mary ann wrote: > I'm using the autocomplete plugin.  The following script works in IE, > but doesn't work in Firefox.  It doesn't appear  that these

Re: [jQuery] jquery and tomcat

2009-12-30 Thread brian
jQuery is a client-side framework. Your host provider should not be at all an issue. Perhaps you're confusing Java with Javascript. They are completely separate things. On Wed, Dec 30, 2009 at 1:07 PM, jason wrote: > hello, > i am looking to begin web development after a bit of experience with >

[jQuery] animate() not working for opacity in IE

2009-12-30 Thread Brian
I'm trying to animate a div from 100% opacity to 40% opacity WITHOUT using fadeTo(). I need to use animate(). It works fine in chrome/FF/safari, but in IE, the opacity doesn't animate, it simply changes to that after the animation is done. Happens in IE 7 and 8. I'm doing this:

[jQuery] move iframe

2009-12-30 Thread chibis
I need to move elements on the page from one div to another which I do with $("#div1 *").appendTo("#div2"). However some of the elements in div1 are iframes and after move they loose all their content, so that after move rather than have ... I have: The iframes don't have src file and ar

[jQuery] autocomplete plugin not working in firefox

2009-12-30 Thread mary ann
I'm using the autocomplete plugin. The following script works in IE, but doesn't work in Firefox. It doesn't appear that these are even being triggered. So when the page displays in Firefox, the searchStudents textbox has no autocomplete associated with it. $(document).ready(function() { $

[jQuery] jquery and tomcat

2009-12-30 Thread jason
hello, i am looking to begin web development after a bit of experience with computer programming (computation and numerical methods). i am looking for a web host. so far anhosting.com seems like a fine option, but i would like to be able to make use of jquery. can anyone recommend a web host? als

Re: [jQuery] Re: Help on Independent DIV's that toggle!!

2009-12-30 Thread Erik R. Peterson
Wow... I'm just now getting back to this and I am totally messed up. I never thought it would be such a challenge. I thank you. Erik On Dec 30, 2009, at 12:40 PM, brian wrote: > On Tue, Dec 29, 2009 at 11:11 PM, Erik wrote: >> Brian, >> >> It looks like you just added $(this).next >> >

Re: [jQuery] Re: json return

2009-12-30 Thread PUTRA PRIMA
owh thx joe its works now ^^ On Wed, Dec 30, 2009 at 6:52 PM, Joe Sondow wrote: > Your json string represents an array. The variable "data" is probably > that array. There is no idfakultas property on the array, but there is > an idfakultas property on each of the two objects in the array. Try >

[jQuery] Re: opera and :visible selector

2009-12-30 Thread phatfish
On Dec 30, 7:51 pm, MorningZ wrote: > How about seeing if > > $("#main-form :input").filter(":visible").serialize() > > works across all browsers Yup, that seems to work fine for Opera and the others. Thanks MorningZ. I wonder if the problem is with jQuery or Opera. I would guess its an issue wi

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread T.J. Simmons
You know, I didn't even realize there was two differing sets of documentation; that would explain why I was confused as to the multitude of arguments passed when the documentation listed only one. I appreciate the help; you guys cleared that up for me. Thanks. -- T.J. On Dec 30, 4:04 pm, Scott S

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread Scott Sauyet
On Dec 30, 1:35 pm, "T.J. Simmons" wrote: > You know, I see it now; it says in the documentation "The object that > will be merged into the jQuery object.".. I read that and took it to > be the core of jQuery itself, since the documentation only lists one > argument for $.extend. In Mike's article

Re: [jQuery] Re: How to change a form action?

2009-12-30 Thread Thai Dang Vu
It's very embarrassing. I spent an hour with it because it was not working. Then suddenly, it works. 2009/12/30 Šime Vidas > Well, Ive tested in Firefox and IE8 and it works. >

[jQuery] Re: How to change a form action?

2009-12-30 Thread Šime Vidas
Well, Ive tested in Firefox and IE8 and it works.

[jQuery] Pull AJAX Data from Mob Wars game

2009-12-30 Thread conundrum9
I'm building a target board for the Facebook game Mob Wars and I've got it all finished except for one thing. I'm trying to find a way to pull a target's status (alive, dead, etc) from Mob Wars and insert it into my page. I've used firebug to inspect the element which is a text node, but I'm relat

[jQuery] How to change a form action?

2009-12-30 Thread Thai Dang Vu
I have a form like this ... I want to change the action of that form. So I use $('#form').attr('action', 'http:/'); but there's an error saying something like 'this element property cannot be changed'. Is it possible to change a form action?

Re: [jQuery] Tablesorter issue with single digits

2009-12-30 Thread EdgarTorres
Hi DaMook were you able to fix that bug?, I just include the debugger as indicated in: http://tablesorter.com/docs/example-option-debug.html but the desired column is detected as text instead of digit, it's very strange, I haven't been able to fix it yet. Regards, DaMook wrote: > > Could any

[jQuery] Re: jQuery + OOP + AJAX

2009-12-30 Thread Scott Sauyet
On Dec 30, 10:51 am, fran23 wrote: > Thanks Scott ! Your proposals are an inspiration in doing things better. Glad to help. This one will have to be shorter... > > First of all, does the click have to be in the last paragraph itself? > > Or could it be in some parent container of the paragraphs

[jQuery] Re: opera and :visible selector

2009-12-30 Thread MorningZ
How about seeing if $("#main-form :input").filter(":visible").serialize() works across all browsers On Dec 30, 2:21 pm, phatfish wrote: > On Dec 30, 5:50 pm, MorningZ wrote: > > > I'm not so sure the blanket statement ":visible doesn't work in > > Opera", as Opera 10 runs the jQuery Docs exam

[jQuery] Re: opera and :visible selector

2009-12-30 Thread phatfish
On Dec 30, 5:50 pm, MorningZ wrote: > I'm not so sure the blanket statement ":visible doesn't work in > Opera", as Opera 10 runs the jQuery Docs example just fine: > > http://docs.jquery.com/Selectors/visible > > Works fine for me anyways > > perhaps it's not selecting what you think it should

[jQuery] Re: If radio button checked - do stuff

2009-12-30 Thread Silver
Thanks guys ... I got it working now .. $(document).ready(function(){ /* S Q1 */ $('input[name=1_setting]:radio').click(function () { if ( $(this).val() == 'home_fy' ) { $.post("dq_process.php", { q: 1, r: 13300 } ); } else if ( $(this).val() == 'home_by' ) { $.post("dq_process.php", { q: 1,

Re: [jQuery] simplemodal next/back functionality

2009-12-30 Thread brian
Given the following HTML: one two three four five Modal one Modal two Modal three Modal four Modal five $(function() { $('a.Foo').each(function() { $(this).click(function() {

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread T.J. Simmons
You know, I see it now; it says in the documentation "The object that will be merged into the jQuery object.".. I read that and took it to be the core of jQuery itself, since the documentation only lists one argument for $.extend. In Mike's article I saw that it was combining two things, I just wa

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread MorningZ
oops.. that should say: "the third: $.extend(obj2, obj3);"

[jQuery] Re: Plugin Authoring and $.extend

2009-12-30 Thread MorningZ
anything that the docs doesn't explain properly? it pretty much "combines" two objects, saving the result in the object specified as the first parameter... in Mike's awesome article, he has "default" values but if the user passes in options, the .extend() method overwrites the defaults with what t

Re: [jQuery] superfish: disable arrows in first list

2009-12-30 Thread Charlie
simple solution is use css to hide them, or use jquery to remove them Thies wrote: Hi, is it possible to "disable" the arrows at superfish only at the first list, so that the arrow will only be shown in the sublists? Thanx a lot Frank, Germany

[jQuery] Accordion Navigation Menu: help needed!

2009-12-30 Thread zsigmonda
I'm having a problem with an accordion navigation menu as seen here: http://www.jalc.org/rr/bands/overview.asp The problem: Say you click on 2009, the menu loads, and you click on a band name. It goes to that band page, but, understandably, the accordion snaps back to its base state. In this case

Re: [jQuery] If radio button checked - do stuff

2009-12-30 Thread brian
You have some redundancy there. Selecting on ':radio' is unnecessary because you're also selecting for the element name. And the ':checked' is no good because that limits this to elements that have already been checked. That's likely not the desired behaviour. Try: $('form input[name=setting1]').c

[jQuery] Re: opera and :visible selector

2009-12-30 Thread MorningZ
I'm not so sure the blanket statement ":visible doesn't work in Opera", as Opera 10 runs the jQuery Docs example just fine: http://docs.jquery.com/Selectors/visible Works fine for me anyways perhaps it's not selecting what you think it should be? and FF/ Chrome/IE compensate for it On De

[jQuery] Plugin Authoring and $.extend

2009-12-30 Thread T.J. Simmons
Hi all, Got a quick question. I'm writing my second plugin following Mike Alsup's pattern (http://www.learningjquery.com/2007/10/a-plugin- development-pattern) and the only part that I have yet to wrap my head around is using $.extend().. I understand what it does, sorta, but not the why. I've rea

[jQuery] Re: If radio button checked - do stuff

2009-12-30 Thread MorningZ
i think the problem is with your selector (and this is above and beyond the "psuedo" error $("form input[name=setting1]:radio").filter(':checked').click that will only bind the "click" event to checked radio buttons, which on page load wouldn't be the desired behaviour I've fallen for "event del

Re: [jQuery] Re: Help on Independent DIV's that toggle!!

2009-12-30 Thread brian
On Tue, Dec 29, 2009 at 11:11 PM, Erik wrote: > Brian, > > It looks like you just added  $(this).next > That, and used class names in the selector, rather than a unique ID, so that it operates on a set of elements. Using next() assumes that each link comes just before the div that it should toggl

[jQuery] Element Exact Width

2009-12-30 Thread ShenoudaB
Dears, i was trying the width method whats get the width if the css property width was declared or inherited. but i was looking to get the exact width of the div, while not specifying it in the CSS Style Properties. as in the Width Jquery Documentation Example: http://code.jquery.com/jquery

[jQuery] opera and :visible selector

2009-12-30 Thread phatfish
Hi all, Im using this code -- var uri = "/generator/render?s=form&o=image&"+$("#main- form :visible").serialize(); -- to select and then serialize only the visible fields in a form (i have hidden inputs i don't want sent in this ajax request). However Opera v10.10 it appears doesn't support the

[jQuery] superfish: disable arrows in first list

2009-12-30 Thread Thies
Hi, is it possible to "disable" the arrows at superfish only at the first list, so that the arrow will only be shown in the sublists? Thanx a lot Frank, Germany

[jQuery] If radio button checked - do stuff

2009-12-30 Thread Silver
Hey all, I think I'm close, but I keep getting the errors ( Unkonw pseude-class or pseude-elmemt 'radio'). All I need is if the user clicks a radio button for the right if statement to run and send the variables to the dq_process php file. $("form input[name=setting1]:radio").filter(':checked').

[jQuery] Re: Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread MorningZ
There's multiple issues with the code quoted below... 1) you have this selector: $('[class^=toggle-item]") but there is no sign of anything in the HTML shows that has any class name that starts with "toggle-item" 2) related to #1, the attribute "class" is *not* a simple string to all browsers,

RE: [jQuery] Re: Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread Rick Faircloth
After removing the space from the jQuery src link, are your div's performing as you want? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Erik Sent: Wednesday, December 30, 2009 10:45 AM To: jQuery (English) Subject: [jQuery] Re: Toggle

Re: [jQuery] jquery customised easing

2009-12-30 Thread t1mmie
Wow, I can't believe how easy that is..!!! Many thanks Richard :D One last little thing... I don't suppose you could help me condense my code down in to using functions too? ^_^ Don't worry if not - you've been a great help. Cheers! Tim Richard D. Worth-2 wrote: > > The easing plug-in doesn'

Re: [jQuery] jQuery + OOP + AJAX

2009-12-30 Thread fran23
Thanks Scott ! Your proposals are an inspiration in doing things better. > > > But even here, there is still something strange. On each click of the > > > div, you're binding another event handler to do the same job. >> >> that's the CENTER OF MY TROUBLE ... >> [...snip...] > Well, first of all

RE: [jQuery] Re: Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread Rick Faircloth
Did you get my last email about the "extra space" ? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Erik Sent: Wednesday, December 30, 2009 10:44 AM To: jQuery (English) Subject: [jQuery] Re: Toggle link Needs to Be UNDERNEATH!!! Not

[jQuery] Re: Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread Erik
Rick, If you wanted to have independent DIV'S that toggle, how would you do it? Erik On Dec 30, 10:36 am, "Rick Faircloth" wrote: > Perhaps it's a simple as an extra space in your jquery src link: > > > > > Note the extra space above in type="text/ javascript" ... > > When I tried to run you

[jQuery] Re: Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread Erik
Not sure where, but this is it... Still doesn't work. $(document).ready(function() { $('[class^=toggle-item]').hide(); $('[class^=link]').click(function() { var $this = $(this); var x = $this.attr("className"); $('.toggle-item-' + x).toggle(); return false; }); }); foo

RE: [jQuery] Re: Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread Rick Faircloth
Perhaps it's a simple as an extra space in your jquery src link: > Note the extra space above in type="text/ javascript" ... When I tried to run your code, I get a $(document).ready(function() { undefined error until I took out that extra space. After I took out the extra space, the code seeme

Re: [jQuery] jquery customised easing

2009-12-30 Thread Richard D. Worth
The easing plug-in doesn't care what property is being animated: $('#side').animate({backgroundPosition: "71px 9px"}, 500, 'easeOutBack'); - Richard On Wed, Dec 30, 2009 at 9:50 AM, t1mmie wrote: > > Hey Richard, thanks for your reply!! > > Yeah I was aware of the easing plug-in but I didn't t

[jQuery] HTML5 template

2009-12-30 Thread Šime Vidas
It's pretty useful for me (when testing, etc) http://vidasp.net/template.html

Re: [jQuery] jquery customised easing

2009-12-30 Thread t1mmie
Hey Richard, thanks for your reply!! Yeah I was aware of the easing plug-in but I didn't think it could be used in the way I need it? As I am positioning background image..? Please correct me if I'm wrong - better yet - show me how? :D Thanks again Richard D. Worth-2 wrote: > > This can be ac

Re: [jQuery] jquery customised easing

2009-12-30 Thread Richard D. Worth
This can be achieved by using the easing plugin http://plugins.jquery.com/project/Easing which is included in the jQuery UI Effects Core. See here for a demo: http://jquery-ui.googlecode.com/svn/trunk/demos/effect/easing.html I think the one you're looking for is 'easeOutBack' - Richard On We

[jQuery] Re: Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread Erik
Hi Rick, Thanks for your help... I made it really simple. Take a look at this: $(document).ready(function() { $('.SomeOtherClass').hide(); $('a.SomeClass').click(function() { $(this).prev('div.SomeOtherClass').slideToggle(400); $(this)

RE: [jQuery] Re: Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread Rick Faircloth
I took the code below and put it into my editor to format it so I could read more easily. Check your div openings and closings and make sure they match correctly. You've got some problems there that may be throwing off the functionality. Notice where you've got your CONTENT, CONTENT, etc... line

[jQuery] jquery customised easing

2009-12-30 Thread t1mmie
Hey all. I'll be quite amazed if anyone can help me with this one. I've been scouring the internet trying to find a tutorial on this, but no such luck!! I'm putting together my own little side navigation and I have an affect in my mind that I want to achieve and I'm sort of half-way there. I've

[jQuery] Re: Issue with css() when appending marginLeft

2009-12-30 Thread Šime Vidas
I don't think the position property was set to fixed in the first place... the css method can take either an string, or an string and another valuer of any type, or a map of key/values... so if you want to set more than one property at once, use a map: css({"bottom": "40px", "position": "fixed",

[jQuery] Re: :parent selector is confusing

2009-12-30 Thread Šime Vidas
Well, :parent is the complement of :empty, so maybe :not-empty :)

[jQuery] Re: Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread Erik
Already tried it and I get the same results. This is really funny I don't understand. Allow me to start all over. Here is my script:

RE: [jQuery] Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread Rick Faircloth
What happens if you move your jquery source link to the top and leave your toggle code in the bottom? Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Erik Sent: Wednesday, December 30, 2009 7:54 AM To: jQuery (English) Subject: [jQ

[jQuery] Toggle link Needs to Be UNDERNEATH!!!

2009-12-30 Thread Erik
Hi Everyone, My script works great, but I don't know why the link has to be above the toggle content. Is it possible to place the link beneath the DIV I want to hide and show. Right the script only works if the link is above. My intent is to have independent DIV's that toogle... It works, but

[jQuery] Re: Selector and fadeIn/Out problem! (need help)

2009-12-30 Thread Dan Krusi
Hey, If you are trying to get the parent of the 'close' button and fade that out, just use one of the following: closest( expr ) parent( [expr] ) $(document).bind("click", function (e) { $(e.target).closest("li").toggleClass("hilight"); // will traverse the clicked element returning the fi

[jQuery] Re: json return

2009-12-30 Thread Joe Sondow
Your json string represents an array. The variable "data" is probably that array. There is no idfakultas property on the array, but there is an idfakultas property on each of the two objects in the array. Try this for your alert: alert("tes =" + data[0].idfakultas + " " + data[1].idfakultas);

Re: [jQuery] (validation): remote rule causes submit to abort, fix included

2009-12-30 Thread amschroeder
I ran into the same problem as Ken. Calling $("#form").validate().form() would yield true, even when the remote validation should have been failing. The problem is... (1) When calling .validate.form() -- it returns prematurely with the status of "pending" for all remote validation rules. (2)

[jQuery] simplemodal next/back functionality

2009-12-30 Thread nevgenevich
i'm using simplemodal library to show a collection of items, each of which is some html content... however, all of these are of the same structure and are related, so i'm trying to find a way to implement back/next links to save users an extra click (to close the current, then open next, and wait f

[jQuery] Issue with css() when appending marginLeft

2009-12-30 Thread Luke Dyson
Hi, I've just found a wierd issue when using the css() function, and using marginLeft. When doing the below, it works: $("#aDiv").css("bottom","40px","position","fixed").css("marginLeft", "-176px"); But, when I try to consolidate, it ignores it, like so: $("#aDiv").css("bottom","40px","position"

[jQuery] Re: google.load issue

2009-12-30 Thread Alex
Hi David, Google document a nicer way to deal with this in their documentation. The Google API can call a javascript callback when the library you requested has been loaded. http://code.google.com/apis/ajax/documentation/#GoogleLoad Cheers, Alex On Dec 24, 11:44 pm, "speedpac...@gmail.com" wro

[jQuery] :parent selector is confusing

2009-12-30 Thread xaguilars
Hi, I have a suggestion. The jQuery :parent selector is confusing. You could think that this will return the element's parent. A more appropiate name would be :has-child(ren) Thanks

[jQuery] Help w/ Toggle Hide & Animate

2009-12-30 Thread bman
Hi All, I am trying to build a script that allows me to click a pic with class 'threetest', then pics with classes 'onetest' and 'twotest' are toggle hidden, then 'threetest' is animated to move to 2% off the left margin and finally some other div called 'newtext' is revealed. Here is my script s

[jQuery] into Thickbox

2009-12-30 Thread Saana
Hi all, I have an element in my page. I want to display that in thickbox.So I've used TB_inline for it.Everything works fine in other browsers.Whan the link is clicked the (video) loads into the thickbox. But in IE 8 When the same link is clicked twice, for the first time the video loads, but the

[jQuery] jQueryUI Dialog positioning upon window resize

2009-12-30 Thread buntu
Hi, I'm initializing the dialog with position: [900, 58] and it looks good until I resize the window. Upon window resize to reduce the viewport, horizontal scroll is introduced since the dialog is still at position [900, 58]. Can anyone please help provide a solution to make the dialog reposition o