[jQuery] Re: Space gallery

2008-01-11 Thread JimD
Wow Stefan that is awesome.

[jQuery] Re: a way to animate to auto?

2008-01-11 Thread Equand
no... i'm after smth like .animate({height:"100%"}) but the problem here... is that it doesn't animate from pixels... i need something like a trigger on .animate({height:"100%"}) from 29px to .animate({height:"29px"}) from 100% On Jan 12, 2:19 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > maybe t

[jQuery] Re: a way to animate to auto?

2008-01-11 Thread Joel Birch
maybe this is what you are after: .animate({height:"show"}) Joel Birch.

[jQuery] Re: [ANNOUNCE] Space gallery

2008-01-11 Thread Joel Birch
Yum. Thanks Stefan!

[jQuery] Re: Pretty Horizontal Rules with jQuery

2008-01-11 Thread Joel Birch
Deftly done!

[jQuery] Re: Superfish appears behind Flash in IE7

2008-01-11 Thread Joel Birch
This isn't a direct answer, but this thread was very interesting: http://www.sitepoint.com/forums/printthread.php?t=158317 I read that a while ago now so I can't remember the outcome, but I do remember that some very interesting solutions were mentioned as that thread progresses. Hopefully one he

[jQuery] Re: Superfish: Force menu to collapse

2008-01-11 Thread Joel Birch
This used to be possible by targetting a li element and running hideSuperfishUl() on it: $('#nav li.sfHover').hideSuperfishUl(); ...but since I had to make changes to allow multiple menus on a page have separate options, this doesn't work because hideSuperfishUl() now takes the options object (wh

[jQuery] Re: Superfish: problems with second tier

2008-01-11 Thread Joel Birch
It sounds like you need to set a width on the submenu's container ul. Because those menu items are floating, they will appear horizontally unless constrained by their parent's width. Regarding the flash issue, I've seen many people happy with one or another of the solutions, but if I remember cor

[jQuery] a way to animate to auto?

2008-01-11 Thread Equand
is there a way to animate({height: "auto";}) make work?

[jQuery] Re: Superfish menu extremely slow/clunky in IE6 with wordpress

2008-01-11 Thread Joel Birch
Hi John, I haven't checked that the new link works in IE, but I don't get why the second link would work if the only difference is that stylesheet is linked via a relative path "style.css" when from that page that path seems to resolve to the same as the absolute path which doesn't work. I don't

[jQuery] Re: Bigger Link Plugin

2008-01-11 Thread boermans
Your solution is okay providing you don't have many links to maintain. If at some point you need to change a url you (or whoever has the job) will have to make the change in two places. Given a bit of time this kind of thing is very easy to forget! Anyway, that's enough pimping of my own plugin :

[jQuery] Re: Bigger Link Plugin

2008-01-11 Thread weepy
nice plugin :) On Jan 11, 9:09 pm, cfdvlpr <[EMAIL PROTECTED]> wrote: > It turns out that all I needed to do was this: > $('.testBiggerLink').click(function() { > window.location = "/test.cfm";}); > > I don't know why I didn't realize it was this easy before. Your > plugin has some adv

[jQuery] Re: Autocomplete does not trigger onchange javascript code in input element.

2008-01-11 Thread Sheldon Griffin
Keep in mind that the onchange event for a text input box is only fired when the input loses focus. Tying your updatePartyAddress function to onkeyup instead of onchange is one way to get it to fire after every letter. That being said, it should be firing if you type in some letters and click on

[jQuery] Re: Bigger Link Plugin

2008-01-11 Thread cfdvlpr
It turns out that all I needed to do was this: $('.testBiggerLink').click(function() { window.location = "/test.cfm"; }); I don't know why I didn't realize it was this easy before. Your plugin has some advanced features that are nice, but I didn't actually need it here.

[jQuery] Follow code not working in IE6

2008-01-11 Thread bryce4president
This works in FF2 just fine. But doesn't work in IE6. I think it is a problem with the .html() $(this).after("LineDateAmountUser"); $.getJSON("Lines",{order:thisorder},function(jsonString){ $.each(jsonString, function(i){

[jQuery] Re: Ajax links not working

2008-01-11 Thread Steve Brownlee
Because the newly inserted link IDs are not in the root DOM. You need to use this tool to properly identify any elements added after the page load http://brandonaaron.net/docs/livequery/ On Jan 11, 12:57 pm, 700lbGorilla <[EMAIL PROTECTED]> wrote: > Still confused as to why this isn't working,

[jQuery] Re: Please help me correct this

2008-01-11 Thread Lionel Martelly
Thank you. But when I do that, then the submit does does not work at all. What I wanted to do is to display the errors in same page, and if no errors, continue normally to next page this is what I got in my php if(is_array($errors)) { while (list($key,$value) = each($errors)) { echo ""

[jQuery] Re: Opposite of .contains() ?

2008-01-11 Thread Sean O
Thanks for the prompt responses, guys! Loren/Vaughn, your solution worked great. I really need to spend some QT with Learning jQuery and selectors this weekend :) SEAN O Vaughn Pipes wrote: > > You might try something like this: > > $("p:not(:contains('1'))") > > Loren Pipes > > --

[jQuery] Re: Apple Mac IE 5.23

2008-01-11 Thread Karl Swedberg
yeah, Microsoft doesn't even support it anymore. If you want to see something hilarious, open the default start page, www.msn.com, in Mac IE 5.2. :) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 11, 2008, at 2:53 PM, Brian Cherne wrote: MacIE i

[jQuery] Re: problem with hide()

2008-01-11 Thread Steve Clason
Nicolas wrote: > Hello people; i'll go straight to my problem; when i load a certain > page inside it's $(document).ready(function(){ }); function i hide > some tables which (some) have images inside. The problem is that the > tables take a while to completly hide at the beggining, as i wish, and

[jQuery] jScrollPane not working in IE6, but works in Internet Explorer 7 and Firefox

2008-01-11 Thread nic
This is the code I'm using to initiate scrollbars on pages that need them: // add scrolling code to select pages $("code, #project").append("$ ('div.content').addClass('scroll');"); This looks for a tag and then adds the class "scroll" to div.content // run the

[jQuery] jScrollPane not working in IE6, but works in Internet Explorer 7 and Firefox

2008-01-11 Thread nic
Here is the site I'm having problems with and I could use something with a fresh set of eyes to help me out: http://www.costabellaliving.com/index.php?option=com_forme&fid=2 This is the code I'm using to initiate scrollbars on pages that need them: // add scrolling code to select pages

[jQuery] Re: problem with hide()

2008-01-11 Thread erdibalint
I am not sure I get you right but if you want your tables hidden when the page is downloaded initially why not render them with display:none at the beginning and show them when it is needed by an elegant jquery instruction? (something like $('table.your_class_here').show() ) Balint On Jan 11, 6:

[jQuery] Re: clueTip activate

2008-01-11 Thread motob
Karl, Dan, thanks for the ideas. Inspired by example #5 of the demo page I've set up the clueTip on the text box and I'm using a global variable to determine if the clueTip should actually display. It looks like this solution will work but the problem I'm running into now is that when the onActiv

[jQuery] Changing inline styles?

2008-01-11 Thread jerpod
I have to massage the output of a Microsoft Tree control in alternate browsers. In Firefox the tree output looks like this (simplifed and wrapped): //table definition and other non-essentials omitted  Athletics & Activities I'm trying to change the .. inline styles. The example above is

[jQuery] Google Maps Marker to infoBubble to Image to Thickbox

2008-01-11 Thread Robin Rowell
I am trying to create a situation where the user clicks on a marker within google maps, gets the info bubble flyout that contains a linkable image. Once the mini-sized photo is clicked on, it would show a large version of the photo via thickbox. I have gotten as far as getting the linkable image

[jQuery] Re: Apple Mac IE 5.23

2008-01-11 Thread Brian Cherne
MacIE is not supported by jQuery or any of its plug-ins. I don't think any modern JavaScript library supports it. When building a mainstream web site (today) I'd be surprised to see 0.05%using MacIE. However, if your project has an education audience you may need to support it -- school budgets, a

[jQuery] Re: Apple Mac IE 5.23

2008-01-11 Thread Benjamin Sterling
Nathan, jQuery does not even support mac ie, so thickbox will not work. On 1/11/08, cfdvlpr <[EMAIL PROTECTED]> wrote: > > > What percentage of your visitors use this browser? It's next to > nothing, is it not? Thickbox doesn't seem to work in this browser, > but if there's hardly anyone using t

[jQuery] Why do click events stopped after the first one?

2008-01-11 Thread Pops
I have this code below which I reduced to this for posting. Essentially, I have a bunch of screen shots which I display in reduced size as a block "menu" with the idea that when the user clicks on a image, it is fully displayed in a block below the "image menu." What is odd is when I have the

[jQuery] Apple Mac IE 5.23

2008-01-11 Thread cfdvlpr
What percentage of your visitors use this browser? It's next to nothing, is it not? Thickbox doesn't seem to work in this browser, but if there's hardly anyone using this browser anymore I don't want to worry about it...

[jQuery] Re: Ajax links not working

2008-01-11 Thread 700lbGorilla
Still confused as to why this isn't working, I'd appreciate any help.

[jQuery] Re: Please help me correct this

2008-01-11 Thread Mike Alsup
> I am new to jquery. After a lot of trial and errors, I managed to > accomplish what I wanted: beforesubmitting to a form, I check for php > errors and then I display them in a div above the submit button. Works > great. But the problem that I am having, if there are no errors, the > form submits

[jQuery] Please help me correct this

2008-01-11 Thread lionel28
I am new to jquery. After a lot of trial and errors, I managed to accomplish what I wanted: beforesubmitting to a form, I check for php errors and then I display them in a div above the submit button. Works great. But the problem that I am having, if there are no errors, the form submits as wanted

[jQuery] Re: checkbox and toggle function

2008-01-11 Thread David McFarland
On Jan 11, 2008, at 9:18 AM, jeff w wrote: > > yeah, > > I am having the same issue. > > Anyone have a solution?? check the discussion archives. there are two solutions posted: http://groups.google.com/group/jquery-en/browse_thread/thread/270e0659ae6c72ac/5208edce49f105c8?lnk=gst&q=toggle()+ch

[jQuery] Re: don't get it: how to pass a variable to a callback function

2008-01-11 Thread antiheld2000
hm , ijust tried it, but it didn't work. did i make a mistake?: var options = { success: function() { jQuery('div#adv_content').load('inc/de.application.adv.inc.php? page='+pageNumber); $("body

[jQuery] problem with hide()

2008-01-11 Thread Nicolas
Hello people; i'll go straight to my problem; when i load a certain page inside it's $(document).ready(function(){ }); function i hide some tables which (some) have images inside. The problem is that the tables take a while to completly hide at the beggining, as i wish, and take for a couple of se

[jQuery] Re: checkbox and toggle function

2008-01-11 Thread jpl80
Try This: $("#precheck").click( function () { $(".preregbox").toggle('slow'); }); Check here radio 1 radio 2 radio 3 radio 4 radio 5 jeff w-2 wrote: > > > yeah, > > I am having the same is

[jQuery] .NET Field Validators and jQuery

2008-01-11 Thread Jeffrey Kretz
I've been using jQuery for some time now, but this is the first time I've run into this problem. I believe it has to do with some changes made to the event model in 1.2.x I have an ASP.NET page with a form, and some required field validators. When clicking the submit button, the .NET valid

[jQuery] Re: checkbox and toggle function

2008-01-11 Thread jeff w
yeah, I am having the same issue. Anyone have a solution?? thanks! On Jan 8, 12:06 pm, jpl80 <[EMAIL PROTECTED]> wrote: > Using toggle() with a checkbox disables the checkbox's ability to check > itself on and off. > > http://tinyurl.com/yo9onzhttp://tinyurl.com/yo9onz > > -- > View this messa

[jQuery] Re: $(some_form.elements).length==1

2008-01-11 Thread Jörn Zaefferer
XASD schrieb: It seems "form.elements" is not enumerable in JQuery,why? Thats a bug: http://dev.jquery.com/ticket/2114 You can work around it by doing this: $([]).add(some_form.elements) Jörn

[jQuery] how to have jqmodal resize itself so content does not show through?

2008-01-11 Thread Alexandre Plennevaux
hi! i use jqmodal to show images. Does anybody knows how to make jqModal resize itself to the image inside? Thanks for any clue.. Alex

[jQuery] Re: Birthday is coming

2008-01-11 Thread John Resig
Yep - that's the current plan! --John On Jan 11, 2008 11:12 AM, Cloudream <[EMAIL PROTECTED]> wrote: > > is 1.22 going to be release on Jan,14? Seems lots of bugs were fixed. >

[jQuery] Birthday is coming

2008-01-11 Thread Cloudream
is 1.22 going to be release on Jan,14? Seems lots of bugs were fixed.

[jQuery] Re: Opposite of .contains() ?

2008-01-11 Thread Joan Piedra
Sean, I just found out your answer. You could turn this into a plugin and make it work like this $.fn.doesNotContain(); Cheers. $('p').each(function(){ if( !$(this).is(':contains(1)') ) { console.log( this ); // element that doesn't contain 1 } }); -- Joan Piedra || Fronte

[jQuery] Re: don't get it: how to pass a variable to a callback function

2008-01-11 Thread Steve Brownlee
Why not just make the showResponse() function an inner, anonymous function of onSuccess()? var options = { success: function() { jQuery('div#adv_content').load('inc/ de.application.adv.inc.php?page='+pageNumber); } url: 'inc/application.adv.func.php' } O

[jQuery] Re: htmlspecialchars($string) equivalent

2008-01-11 Thread acesfull9
Thank you! On Jan 11, 7:25 am, Danny <[EMAIL PROTECTED]> wrote: > function htmlspecialchars(string) = { return $ > ('').text(string).html() } > > the text() function does what you want but only by inserting the > string into an element. html() pulls it back out. > > Danny > > On Jan 10, 5:18 pm,

[jQuery] Re: Opposite of .contains() ?

2008-01-11 Thread Loren Pipes
You might try something like this: $("p:not(:contains('1'))") Loren Pipes

[jQuery] Re: [SITE ADDITION] pythonline.com

2008-01-11 Thread spinnach
aaah, i see you have the machine that goes PING! Andre Meyer wrote: On Jan 11, 2008 12:39 PM, spinnach <[EMAIL PROTECTED] > wrote: seems that the pythons also recognized jquery as a quality product :).. http://pythonline.com/ of course

[jQuery] Re: Opposite of .contains() ?

2008-01-11 Thread Jake McGraw
$("p").not($("p").contains("1")); See: visualjquery.com >> DOM >> Traversing >> not(elems) On Jan 11, 2008 10:35 AM, Sean O <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm trying to select elements that do not contain certain text. > In effect, the opposite of .contains(). > > e.g. > 1: 1: 2: 3: 4

[jQuery] Re: [Fwd: [jQuery] Pagination stop propagation]

2008-01-11 Thread Sebastián V. Würtz
Sebastián V. Würtz escribió: I really need help badly with this Mensaje original Anyone have an idea why i cant cancel the the normal action of the button, im keep getting redirect to the "somethin.htm" in this example? http://www.d-scribe.de/webtools/jquery-paginatio

[jQuery] Opposite of .contains() ?

2008-01-11 Thread Sean O
Hi, I'm trying to select elements that do not contain certain text. In effect, the opposite of .contains(). e.g. 1: 1: 2: 3: 4: How can I select all s without a 1 in the text? like... $("p").doesNotContain("1") Various attempts with not: and filter() have failed... Thanks, SEAN

[jQuery] Cluetip ajaxProcess and .find Problem

2008-01-11 Thread Chris Scott
I'm using cluetip to pull a page via ajax and want to display only a certain div from the page (using an ID selector). If I use the defautl ajaxProcess code, it works normally and pulls in the entire page into the cluetip. However, when I modify it to use .find to narrow it down using t

[jQuery] don't get it: how to pass a variable to a callback function

2008-01-11 Thread antiheld2000
hi, i got a silly little question: ho do i pass a variable from a function to a callback? see this example for better understanding: var options = { success: showResponse, url: 'inc/application.adv.func.php' }; function showResponse(responseText, stat

[jQuery] Re: Superfish menu extremely slow/clunky in IE6 with wordpress

2008-01-11 Thread [EMAIL PROTECTED]
Hi Joel - I am still trying to find a solution to this problem. I just realize that in my previous post, I gave the wrong URL for the result of the change that I made... Check this: http://news1.pandesa.com/wp-content/themes/zenful_pandesa/test1.htm At the above URL, the menus are working great

[jQuery] Re: JQuery accordion and TBODY

2008-01-11 Thread Karl Swedberg
Hi Andy, I haven't tried it before, but I imagine it has something to do with the "display" property assigned to the tbody after it is shown. Is the problem occurring in all browsers? Have you tried a simple .show() and .hide() in place of the .slideDown('slow') and .slideUp('slow')? I k

[jQuery] Re: clueTip activate

2008-01-11 Thread Karl Swedberg
Great idea, Dan. Thanks! --Karl On Jan 11, 2008, at 9:49 AM, Dan G. Switzer, II wrote: I think it's possible, but it may take some creativity on your part. Take a look, particularly, at the onActivate option. There is an example of enabling/disabling the clueTip on the demo page, jTip

[jQuery] Re: Want to move content back and forth between containers with jquery

2008-01-11 Thread Karl Swedberg
Hi Todd, sorry for the late delay in replying. Yeah, that looks great. No sense in unbinding and re-binding when the elements don't need it. The main things I tried to do were to (1) avoid removing and re-creating the elements, and (2) move the "onclick" handler out of the HTML and into t

[jQuery] Re: clueTip activate

2008-01-11 Thread Dan G. Switzer, II
>I think it's possible, but it may take some creativity on your part. >Take a look, particularly, at the onActivate option. There is an >example of enabling/disabling the clueTip on the demo page, jTip theme >example #5: > >http://plugins.learningjquery.com/cluetip/demo/ Also, you might be able

[jQuery] Re: clueTip activate

2008-01-11 Thread Karl Swedberg
Hi, I think it's possible, but it may take some creativity on your part. Take a look, particularly, at the onActivate option. There is an example of enabling/disabling the clueTip on the demo page, jTip theme example #5: http://plugins.learningjquery.com/cluetip/demo/ --Karl __

[jQuery] [Fwd: [jQuery] Pagination stop propagation]

2008-01-11 Thread Sebastián V. Würtz
I really need help badly with this Mensaje original Anyone have an idea why i cant cancel the the normal action of the button, im keep getting redirect to the "somethin.htm" in this example? http://www.d-scribe.de/webtools/jquery-pagination/demo.htm y download the page and

[jQuery] Re: htmlspecialchars($string) equivalent

2008-01-11 Thread Danny
function htmlspecialchars(string) = { return $ ('').text(string).html() } the text() function does what you want but only by inserting the string into an element. html() pulls it back out. Danny On Jan 10, 5:18 pm, acesfull9 <[EMAIL PROTECTED]> wrote: > is there a javascript/jQuery equivalent t

[jQuery] Event handler executes method, without assigning it as a callback

2008-01-11 Thread wanni
Hey folks! Just started a few days ago using jQuery and i really learned to love it! :) While building a little JavaScript formular validation "framework" i found a strange behavior. First i add the following function to the prototype of the Object class, so i can check on EVERY object if it own

[jQuery] JQuery accordion and TBODY

2008-01-11 Thread andy9989
Hi everybody, I am having problems with slideUP - slideDown applied to TBODY tag. The initial state is hide - all. when I apply slideDown, it slides down the content of TBODY (correctly) and instantly places it below the table. Here is a simple code: $j(document).ready(function(){ $j('tbo

[jQuery] Superfish: Force menu to collapse

2008-01-11 Thread Stefan
Hi Joel and everyone else on this channel, I would like to close/collapse the superfish menu with a JavaScript call, something like: $("ul.nav").superfish().collapse(); Is this possible with Superfish? Is there a way I can call the "out" function somehow? Thanks in advance, Stefan

[jQuery] Re: Need

2008-01-11 Thread Raghuveer Rawat
Thanks Glen/Klaus for help. I modified table structure and included CSS class. Below is my CSS denition for menu.. .activeMenu{ width:90px; text-align:center; background-image:url(../images/blackbg.jpg); } .passiveMenu{ width:90px; background-image: url(../images/rboxbg.jpg)

[jQuery] A easy way to switch an to

2008-01-11 Thread Popech
Hello and best wishes, I've a website on which I am putting a lot of code () that is already transform in but those are not easy to use with copy/paste.. As http://www.learningjquery.com/ , I'de like to put a button for a nice switch between and , over any My blog software gives me original

[jQuery] Re: [SITE ADDITION] pythonline.com

2008-01-11 Thread Andre Meyer
On Jan 11, 2008 12:39 PM, spinnach <[EMAIL PROTECTED]> wrote: > > seems that the pythons also recognized jquery as a quality product :).. > > http://pythonline.com/ > of course ;-) regards andré

[jQuery] Tablesorter 2.0.1 with pagination plugin trigger("update") problem.

2008-01-11 Thread dr.ew
I seem to be losing all the data on any page not currently being shown if I do a $("table").trigger("update"); I'm trying to remove a row then do the update (if not it just comes back when you sort or change page) I'm also trying to replace a row after I know it's value has changed then do an up

[jQuery] $(some_form.elements).length==1

2008-01-11 Thread XASD
It seems "form.elements" is not enumerable in JQuery,why? Thanks.

[jQuery] Re: using serialize function on tag

2008-01-11 Thread David White
I've started to get some of this working now, without using the serialize function as that only seems to apply to forms. Here is my code currently... http://jquery.com/src/jquery-latest.js";> $(document).ready(function(){ $("ul#item_lis

[jQuery] Re: Tablesorter 2.0.1 removing rows and resorting

2008-01-11 Thread dr.ew
Are you using pagination? I'm having an issue with running $ ("table").trigger("update"); It destroys all the data that isn't showing. On Dec 4 2007, 9:31 am, Adam Kroll <[EMAIL PROTECTED]> wrote: > Figured my problem out. I placed in the wrong place in my code. > Happy to say it works perfectly

[jQuery] Re: jqModal to get info from database fails

2008-01-11 Thread pere roca
bingo! and I need no Ajax in the code... just the iframe in a div. Thanks a lot. You can check again in: http://edit3.csic.es/fitxers/xmls/jqModals2.html Now I want from the main page execute some code when user clicks on the "Submit" button of the iframe. I can access to the iframe div us

[jQuery] [SITE ADDITION] pythonline.com

2008-01-11 Thread spinnach
seems that the pythons also recognized jquery as a quality product :).. http://pythonline.com/ dennis.

[jQuery] Re: get value of checked checkboxes into a list

2008-01-11 Thread James Dempster
$().ready(function() { $('#editOptions').click(function() { alert($('input:checkbox[name=listProductID]:checked')); // returns only the first value, selected or not }); }); untested but should work. Also see, http://docs.jquery.com/Selectors/checkbox http://docs.jquer