[jQuery] Re: show/hide based on list selection

2007-10-17 Thread Karl Swedberg
Belinda, you can also use the .change() method on the element if you want (the part you commented out was just fine). Then you can either get the selected option's value like this ... q(this).text() or its text like this ... q(':selected',this).text() As Olaf mentioned, the real problem

[jQuery] Re: Self-directed Animations

2007-10-17 Thread John Resig
see: http://docs.jquery.com/Release:jQuery_1.2/Effects#Extensible_Animations It sounds like that might solve the issue for you. --John On 10/17/07, oravecz <[EMAIL PROTECTED]> wrote: > > It's fine that jQuery has all of these great built-in animation > routines, but I have a situation where I w

[jQuery] Self-directed Animations

2007-10-17 Thread oravecz
It's fine that jQuery has all of these great built-in animation routines, but I have a situation where I want to control the objects in a way that goes beyond property changes over time. Is there a way to take advantage of jQuery's timer pooling and easing code while performing the animation step

[jQuery] Re: if's 'n else's

2007-10-17 Thread Shmax
Well, that seems to work, for now, though I'm still puzzled. Thanks much! On Oct 17, 5:20 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > It looks like the .load ajax will still fire even if the selector returns an > empty result. Not sure why that is exactly, but you can easily work around >

[jQuery] Re: Updating the id of an a tag

2007-10-17 Thread Bruce MacKay
Thanks Glen, for both the solution and useful tip. Cheers, Bruce At 02:13 p.m. 17/10/2007, you wrote: Instead of .id() try attr("id",yourStringHere) One tip is to make your string in a variable right before it. That way you can easily alert the string to see if its coming up correctly. Glen

[jQuery] Re: questions about jeditable plugin

2007-10-17 Thread [EMAIL PROTECTED]
Thanks. On 10月17日, 下午6时04分, Mika Tuupola <[EMAIL PROTECTED]> wrote: > On Oct 17, 2007, at 4:55 AM, [EMAIL PROTECTED] wrote: > > > Sorry, I described before incomplete > > 1, When using jeditable plugin, how to style the activated input field > > or textarea field which is changed from editable te

[jQuery] Re: Stopping event propagation on non-standard event types

2007-10-17 Thread Jörn Zaefferer
Jonathan Sharp schrieb: I'll take a shot at that as I've been using some custom events in components being built and it'd be a nice behavior to have. And allow for a decoupling of callbacks that we have with developers currently. Gives me some interesting ideas for veto-based validation events.

[jQuery] Re: [NEWS] Humanized Messages

2007-10-17 Thread Sean Catchpole
Very Cool. ~Sean

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread [EMAIL PROTECTED]
To give you an update on this, I tried to exaggerate the effect, I put -100 for both offsetX and offsetY, $('ul.jd_menu').jdMenu({ offsetX: -100, offsetY: -100, activateDelay: 20, hideD

[jQuery] Re: show/hide based on list selection

2007-10-17 Thread Olaf Bosch
Belinda M. Giardine schrieb: I have found this question in the archives and set up a test page based on the responses I have found. But for me it is not working, the section is hidden and doesn't reappear no matter what is selected. I have tried several different browsers. The real task is

[jQuery] Re: continuous action while mouseover

2007-10-17 Thread Brian Cherne
Unfortunately, I have very little time this afternoon/evening (perhaps not enough time to write a proper response)... but I'll try: If the time between timeout calls is NOT important (ex: to update the position of an element) then use setInterval. It basically acts like a self-calling timeout, exc

[jQuery] Re: show/hide based on list selection

2007-10-17 Thread Olaf Bosch
Belinda M. Giardine schrieb: I have found this question in the archives and set up a test page based on the responses I have found. But for me it is not working, the section is hidden and doesn't reappear no matter what is selected. I have tried several different browsers. The real task is

[jQuery] Re: if's 'n else's

2007-10-17 Thread Josh Nathanson
It looks like the .load ajax will still fire even if the selector returns an empty result. Not sure why that is exactly, but you can easily work around it like so: if ( $("#appendMe").size() ) { $("#appendMe").load( etc. ); } -- Josh - Original Message - From: "Shmax" <[EMAIL P

[jQuery] Using jQuery and ajax to retrieve and append to table on scroll

2007-10-17 Thread [EMAIL PROTECTED]
Hi Sorry if this is duplicate post but i ddint see my previous post after hitting submit. If you visit www.dzone.com you'll notice that as you scroll down on the main page and if you are apout to approact the end of the page (while scrolling)...another 23 results are grabbed and appended to the

[jQuery] Re: How to dynamically load javascript from a database instead of using getscript?

2007-10-17 Thread Mark Lacas
Got it. My answer to my own questiong and other's responses. I'm using a perl cgi to access the database and it turns out I didn't even have to use eval. I just insert the script chunk with the inspector code from that database. $("#"+dp_id + " .dp_inspector_code").append( safescript( '

[jQuery] Re: [NEWS] Humanized Messages

2007-10-17 Thread SterlingK
That's actually pretty cool. I like it. With regards to Sean O, I gotta say I'm really getting to the end of caring too much about ie6 anymore - it's been long enough and makes us miss out on too many fun apps like this.

[jQuery] help - Mineral search program

2007-10-17 Thread Cut
I'm creating a js/jquery script that will accept a rock, submit the rock to a database via php, and use the xml returned to populate a select list, which will replace the text input. I have the multiple input generation working, database submit working, and I can parse the xml. I can't seem to

[jQuery] show/hide based on list selection

2007-10-17 Thread Belinda M. Giardine
I have found this question in the archives and set up a test page based on the responses I have found. But for me it is not working, the section is hidden and doesn't reappear no matter what is selected. I have tried several different browsers. The real task is on a more complex page, I am

[jQuery] if's 'n else's

2007-10-17 Thread Shmax
I'm just not getting it. My web pages are generally generated dynamically. To get specific, I'm using jQuery/Ajax to make a category selector widget, just like the one you use on eBay to sell stuff. Here's what it looks like in a basic, test environment: http://www.shmax.com/pick_cat So far so g

[jQuery] multiple JCarousels in ie7

2007-10-17 Thread Frosev
Hi i have multiple carousels all images show in firefox although only the first image shows up in ie7. I'm pulling the image filepaths from a database and loading images like that. The number of carousels is defined by how many galleries a user has. Anyone know how to go about solving this problem

[jQuery] Re: Superfish, bgiframe, jQuery 1.2

2007-10-17 Thread kauaicoder
Hi Joel, Thanks for the reply. Here's the url where you can view the problem http://hcs.gts.tsu.biz/test.html. I actually don't need to use the bgiframe plugin since I don't have any select elements on the page but I'd like to know I can use it for future projects. If you hover over the "About Ka

[jQuery] Using jQuery to load content from DB on scroll

2007-10-17 Thread [EMAIL PROTECTED]
Hi I'm sure most of you have visited the DZone website. As you might have noticed they have a jquery functionality where when the user is about to scroll to the end of the page ..25 or so more results are fetched and appended to the already shown list. I am Very new to jquery and love its goodi

[jQuery] Re: jQuery 1.2.1 and Interface/ui Sortable Bug?

2007-10-17 Thread df-sean
In the meantime... What's the latest working version I can use which will work even on Safari? Do I need to downgrade jquery too? If someone could tell me which versions I need to get going right away, I'd really appreciate it. Thanks! Sean

[jQuery] Re: multiple ajax selects; dynamic selects don't support onchange?

2007-10-17 Thread [EMAIL PROTECTED]
NICE WORK INDEED!! while i got mine working using the livequery plugin, turned out to be the binding issue... i think i might take a look at yours... looks nice, quite responsive for a huge database. On Oct 4, 11:22 am, "Web Specialist" <[EMAIL PROTECTED]> wrote: > Rob > > great job. > > Two que

[jQuery] Re: [NEWS] liScroll Plugin

2007-10-17 Thread Guy Fraser
GianCarlo Mingati wrote: > Hi all. > http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html > This is my scrolling news ticker plugin for jQuery. > Nice plugin. Would it be possible to have the plugin automatically add the divs and the class to the

[jQuery] accordion setting height: 0px, overflow-y: hidden

2007-10-17 Thread gregarious
Hi, I'm using the accordion widget that came with the recent release of jQuery UI and I'm having trouble getting the right height of the second content of the accordion. The code is as follow: $(function(){ $("#side-content").accordion(); }); $(function(){ // Load the tags

[jQuery] Tabs and Cookies

2007-10-17 Thread khinester
Hello, I am trying to implement the tabs jquery, but I would like for the browser to remember the tab selected on page refresh. Following details within another post, I have the following: var TABS_COOKIE = 'tabs_cookie'; $("#container-1 ul").tabs((par

[jQuery] Re: 1.2.1 remove() forgets bindings?

2007-10-17 Thread Collin Allen
Cool, the native DOM .removeChild(x) worked as needed, but I just have to be sure to make my code clean up after itself where necessary. Thanks for the tip! On Oct 17, 1:44 am, Wizzud <[EMAIL PROTECTED]> wrote: > The change was deliberate, because most people use remove() to > (literally) remove

[jQuery] accordion setting height: 0px, overflow-y: hidden

2007-10-17 Thread gregarious
Hi, I'm using the accordion plugin that came with the first release of jQuery UI and I'm having some troubles getting the right height of the second content of the accordion. The code is as follow: $(function(){ $("#side-content").accordion(); }); $(function(){ function get

[jQuery] Re: Flash and jQuery

2007-10-17 Thread Pyrolupus
ActionScript (inside the Flash movie): getURL("javascript:$('#" + id + "').hide()"); Better yet, create a hider function that does the work: ActionScript: getURL("javascript:hideElem('" + id + "')"); JavaScript: function hideElem(elemID) { //error checking, verification, etc. $('#' + elemI

[jQuery] Re: jQuery 1.2.1 and Interface/ui Sortable Bug?

2007-10-17 Thread df-sean
Thanks Richard. I suppose I can wait a week ;-) Cheers.

[jQuery] draggable and droppable tabs

2007-10-17 Thread scottnath
I am trying to create draggable/droppable tabs. I've got it partly built, but I'd love some community input on this. A working model can be seen here: http://scottnath.com/tabs/draggable_tabs.html Below I will paste the jquery code I'm using. First, here are some issues I'm running into that I

[jQuery] Re: Syntax for bind using a string from a variable for the callback functions name

2007-10-17 Thread Mark Lacas
Got it, here is how I did it. Works great! Thanks all. ml $( ".object" ).each( function() { var element = this; var dblclick_func = $( "#"+element.id + " .dp_properties").attr("dp_dblclick_func"); if ( typeof( dblclick_func ) != "undefined

[jQuery] Re: continuous action while mouseover

2007-10-17 Thread Rick Faircloth
Yeah, Karl… that was pretty sad. Where’d you say got that BS in education? :o) Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Sharp Sent: Wednesday, October 17, 2007 4:18 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: continuous action wh

[jQuery] Re: continuous action while mouseover

2007-10-17 Thread Alexandre Plennevaux
Brian, could you fastly elaborate (with a basic code sample if possible) on how to do this: use a self-calling timer to do any additional math/logic with those coordinates Thanks a lot for your time and help! alex _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]

[jQuery] Re: continuously search for elements in a document

2007-10-17 Thread Wizzud
Ummm . no. This onBlur stuff that's in .NET somewhere - what is it triggering on? If it is triggering on known elements (known to you that is), and it is actually a blur event, can you not add your own blur event handler to the same elements and hide/show the LIs that way? On Oct 17, 1:

[jQuery] UI - Sortables: How do you get the new order?

2007-10-17 Thread jason
I'm sure I'm missing something obvious, but how do you retrieve the new order of a sortable list? Thanks, Jason

[jQuery] tablesorter and tr odd even coloring problem

2007-10-17 Thread FrankTudor
Hi all, I have a table built dynamically (serverside). I have table sorter on the table and when I sort it sorts the colors or the rows as well. It is very irritating and I am not sure how to correct it. I tried repopulating the class via jquery labeling each odd and even but siince the page do

[jQuery] [NEWS] PQuery v0.2 for jQuery 1.2 released

2007-10-17 Thread Rey Bango
PQuery is a set of helper classes for JQuery JavaScript library.This library allows you to easily integrate AJAX , Effects and other JQuery functionality into your PHP scripts.IT has a small foot print and is compatible with PHP4 and PHP5. Details here: http://www.ngcoders.com/php/updates-p

[jQuery] Re: Bind event that should be executed first

2007-10-17 Thread Fabien Meghazi
> >if (v.form()) // runs form validation and returns true if successful > >// you have to dig into the validation source > > to figure this out > > [...] > Granted, documentation still needs a lot of work, but the method is > documented here: > http://jquery.bassistance

[jQuery] Re: Stopping event propagation on non-standard event types

2007-10-17 Thread Jonathan Sharp
On 10/17/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > > Jonathan Sharp schrieb: > > I'll take a shot at that as I've been using some custom events in > > components being built and it'd be a nice behavior to have. And allow > > for a decoupling of callbacks that we have with developers current

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread Jonathan Sharp
Now that I think about it, the offsets only apply to sub menus. Try this instead. I quickly tested it so I think it has a chance at working. ul.jd_menu ul { margin-left: -8px; margin-top: -13px; } Cheers, -js On 10/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > To give you an

[jQuery] Re: Stopping event propagation on non-standard event types

2007-10-17 Thread Jonathan Sharp
I'll take a shot at that as I've been using some custom events in components being built and it'd be a nice behavior to have. And allow for a decoupling of callbacks that we have with developers currently. Cheers, -js On 10/17/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > > Jonathan Sharp sc

[jQuery] Re: Stopping event propagation on non-standard event types

2007-10-17 Thread Jörn Zaefferer
Jonathan Sharp schrieb: $(window) .bind('testEvent', function(e) { alert('1'); e.stopPropagation(); e.preventDefault(); return false; }) .bind('testEvent', function() { alert('2'); }) .trigger('testEvent'); The above code doesn't stop the

[jQuery] Re: How do I completely overwrite an event?

2007-10-17 Thread Jonathan Sharp
If you're using jquery-1.2+ you can do the following to just wipe out your events: $('#BLAH').bind('click.myfn', function() { ... }); $('#BLAH').unbind('click.myfn').bind('click.myfn', function() { ... }); This will only replace your event (myfn can be whatever you want) otherwise if you do unbin

[jQuery] Re: continuous action while mouseover

2007-10-17 Thread Jonathan Sharp
It's ok Karl, we all have our days sometimes that doesn't make sense. You beat me to the post. Also take a look at the jdNewsScroll ( http://jdsharp.us/jQuery/plugins/jdNewsScroll/) that has code to start/stop the scrolling of news items based upon the mouse entering/leaving. Hope this helps some.

[jQuery] Stopping event propagation on non-standard event types

2007-10-17 Thread Jonathan Sharp
$(window) .bind('testEvent', function(e) { alert('1'); e.stopPropagation(); e.preventDefault(); return false; }) .bind('testEvent', function() { alert('2'); }) .trigger('testEvent'); The above code doesn't stop the testEvent from triggering th

[jQuery] Re: continuous action while mouseover

2007-10-17 Thread Karl Swedberg
Yikes, you'd never be able to tell from my post below that I used to teach English. Sorry if it confused anyone. Here is what I meant to write (with corrections inside the asterisks): Jonathan Sharp created a plugin that *does* something very similar to what you're going for here. Maybe you

[jQuery] .get works in Firefox, but not IE

2007-10-17 Thread cfdvlpr
Here's some code I have that works great in Firefox. But in IE, it this line does nothing: $ ('#bottomHalfofThickbox').html(updatedSamples); function redecorate(){ $('.removeSample').click(function(){ var productID = $(this).attr("productID");

[jQuery] Re: continuous action while mouseover

2007-10-17 Thread Karl Swedberg
Hi Alexandre, Jonathan Sharp created a plugin that doesn't something very similar to what you're going for here. Maybe you can grab some ideas for it? http://jdsharp.us/jQuery/plugins/AutoScroll/ --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 17

[jQuery] Close Thickbox and Make the Parent Window go to href

2007-10-17 Thread cfdvlpr
Here's a function I have that doesn't quite do what I want it too: $('.closeWindow').click(function(){ parent.tb_remove(); //This closes the thickbox parent.location.href=$(this).href(); // This tries to load the href url in the thickbox right as it closes it }); What can I repl

[jQuery] Re: showing div#test3 when url is domain.com/page.php#test3

2007-10-17 Thread Jörn Zaefferer
stef schrieb: on my test.php page i have a set of divs, the visibility of which is toggled via a menu that uses jquery toggle(). the menu points to domain.com#test1 - domain.com#test2 - domain.com#test3 and the divs are #test1, #test2 and #test3. #test1 is shown by default, when the page loads b

[jQuery] Re: Java Server Faces and JQuery

2007-10-17 Thread Jörn Zaefferer
Joe schrieb: Does anyone have experience using JQuery with Java Server Faces? The id-encoding isn't helpful to select elements via jQuery. Using class-selectors instead can ease the pain. All in all, jQuerys unobtrusive nature is still very helpful when working with JSF. About components:

[jQuery] Re: continuous action while mouseover

2007-10-17 Thread Alexandre Plennevaux
hi brian, i just found out you are the one behind the excellent hoverIntent plugin! i will change my code to use your plugin and follow your advises, although some of which may have me posting again on this list soon :). thanks much! alexandre _ From: jquery-en@googlegroups.com [

[jQuery] Re: [NEWS] Humanized Messages

2007-10-17 Thread Michael Geary
> http://binarybonsai.com/archives/2007/10/15/humanized-messages-for-jquery/ Ugh. Am I the only one who doesn't like this user interface at all? I click in the middle of the screen. A message appears up at the top - where I'm not looking - AND another bouncy message appears at the BOTTOM of the

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread Jonathan Sharp
Try passing in with your defaults (using either positive or negative numbers) and see if that helps at all. offsetX: 4, offsetY: 2, Cheers, -js On 10/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I do. It is > > http://elearningrd.info/portal/test.php > > - Dave > > On Oct 17, 10:09

[jQuery] Re: [NEWS] Humanized Messages

2007-10-17 Thread Rick Faircloth
Really, more than the pop-up messages, I was curious about use of the messages tab at the bottom. When would someone want to have a running list of messages? Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh Nathanson Sent: Wednesday, October 17, 2007 12:4

[jQuery] Re: Updating the id of an a tag

2007-10-17 Thread Glen Lipka
Instead of .id() try attr("id",yourStringHere) One tip is to make your string in a variable right before it. That way you can easily alert the string to see if its coming up correctly. Glen On 10/17/07, Bruce MacKay <[EMAIL PROTECTED]> wrote: > > Hello folks, > > I'm having problems with the fo

[jQuery] Re: hoverIntent help: firing dropdowns all at once (extreme novice)

2007-10-17 Thread Brian Cherne
Hi Claudina, I'm sorry I haven't much time today to help more directly, but I'll trying setting you down the right path. $("#topmenu li") ... will find all the LI tags inside of #topmenu and apply this behavior $(#topmenu > li") ... will find only the LI tags that are direct children of #topmenu.

[jQuery] Re: hoverIntent help: firing dropdowns all at once (extreme novice)

2007-10-17 Thread Olivier Percebois-Garve
You need to clean up your html : is forbidden. After a there should always be a . ans should go around that. Your functions are targeting "ul.tags". so it will show/hide all the markup inside of that tag. -Olivier c.s. wrote: I'm using the hoverIntent plugin to control a series of

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread [EMAIL PROTECTED]
I do. It is http://elearningrd.info/portal/test.php - Dave On Oct 17, 10:09 am, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote: > Do you have a URL of a sample page? > > -js > > On 10/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > I tried setting all the padding attributes in t

[jQuery] [NEWS] MTV & Adobe team up for AIR contest: HUGE PRIZES

2007-10-17 Thread Rey Bango
MTV and Adobe are having a contest to find the AIR app the makes the coolest use of MTV assets (eg: RSS feeds, podcats, etc.). Considering that this community has some of the best developers around, I know this is something that would be a perfect opportunity for some big time prizes: Total

[jQuery] Re: Need help using #id

2007-10-17 Thread Michael Geary
Yes, you can certainly call $() with a variable instead of a string literal. jQuery is just JavaScript, $ is just a function name, and you can always rewrite: alert( 'woot' ); as: var woot = 'wo' + 'ot'; alert( woot ); So you just need to do some debugging. What are the values of nID

[jQuery] Re: [NEWS] Humanized Messages

2007-10-17 Thread Josh Nathanson
I think the cool thing about it is how it fades out on mousemove. It's less obtrusive than the usual native browser alert popup. And, having a log of messages could be useful in some implementations I suppose. There's another plugin that's kind of unheralded that I stumbled over called "Impro

[jQuery] Re: getJSON, I don't get it

2007-10-17 Thread Jeffrey Kretz
The getJSON shortcut doesn't have a parameter for an error handler. You could just use the direct ajax call: $.ajax({url:url,dataType:'json',success:processResults,error:handleError}); JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Trans Se

[jQuery] Re: continuous action while mouseover

2007-10-17 Thread Brian Cherne
OnMouseOver - capture initial position - start onMouseMove listening OnMouseMove - capture mouse postion OnMouseOut - stop onMouseMove listening Note 1) OnMouseMove is a very cpu-expensive event. It literally fires with every tiny little move of the mouse. You'll want to you have onMouseMove han

[jQuery] hoverIntent help: firing dropdowns all at once (extreme novice)

2007-10-17 Thread c.s.
I'm using the hoverIntent plugin to control a series of drop-down menus. I have it set up and it works save for the fact that if I hover over a li element it fires (displays) all the of drop-downs instead of doing it individually. I think I need to set up some sort of timer, or stop (?) This is m

[jQuery] continuous action while mouseover

2007-10-17 Thread Alexandre Plennevaux
Hi friends, i was wondering: how can i trigger an action while the mouse stays on a specific area of the screen? i tried the following code: it works ONCE (when the mouseover event is triggered) but not continuously, while the mouse i over my "active" zone. var centerX = $('#datascape').wi

[jQuery] Re: getJSON, I don't get it

2007-10-17 Thread Trans
On Oct 17, 8:31 am, Trans <[EMAIL PROTECTED]> wrote: > The "home.json" file loads just fine, but the callback is never > invoked, i.e. alert(data) never runs. It had been working fine, and > all of a sudden it just stopped working. So I stripped it down to just > what you see above, and it still d

[jQuery] Why people love the jQuery JavaScript library

2007-10-17 Thread Rey Bango
Read Ben Nadel's posting title "jQuery And The Anticipation Of Greatness" (http://www.bennadel.com/index.cfm?dax=blog:997.view) Rey...

[jQuery] Re: [NEWS] Humanized Messages

2007-10-17 Thread Sean O
Looks great in FF, but is hosed in IE6. Too bad, it would make a great 'update confirmation' for a few of my web apps. I do like the Humanized site, which served as the inspiration for this... ___ SEAN O http://www.sean-o.com Jeferson Koslowski wrote: > > Found a new jquery plugin: > ht

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread [EMAIL PROTECTED]
I tried setting all the padding attributes in the jdMenu.slate.css file to zero, but still no luck -- the menu appears away (to the bottom and right) of the graphic). On your web site, you mention the plug-in supports relative positioning. Is there an example somewhere on the site? I can just m

[jQuery] Re: Announce: jqPuzzle - Customizable Sliding Puzzles with jQuery

2007-10-17 Thread Alexandre Plennevaux
i think this deserves to replace the actual jquery logo on the homepage (of course, in a smaller size version)! what a great showcase! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Stoltze Sent: mercredi 17 octobre 2007 14:40 To: jQuer

[jQuery] getJSON, I don't get it

2007-10-17 Thread Trans
Here's my file: $(document).ready(function() { $.getJSON("home.json", function(data){ alert(data); }); }); Err The "home.json" file loads just fine, but the callback is never invoked, i.e. alert(data) never runs. It had been

[jQuery] Re: AJAX problem on Internet Explorer

2007-10-17 Thread Sharan
Thanks Hrvoje, It was the same problem as you explained and your suggestion worked really well. I used : var i = Math.round(1*Math.random()); $('.orders').load('/shopping_carts/minicart/?a='+i,function(){. Thanks again, Sharan.

[jQuery] Updating the id of an a tag

2007-10-17 Thread Bruce MacKay
Hello folks, I'm having problems with the following line of code $("[EMAIL PROTECTED]'del_']").id("del_*"+pb+"_"+iA+"_ck"); in the function below. What I'm trying to do is replace the id of the a tag from its existing id of 'del_' to 'del_*x_y_ck', where x and y are the variables pb and iA.

[jQuery] showing div#test3 when url is domain.com/page.php#test3

2007-10-17 Thread stef
on my test.php page i have a set of divs, the visibility of which is toggled via a menu that uses jquery toggle(). the menu points to domain.com#test1 - domain.com#test2 - domain.com#test3 and the divs are #test1, #test2 and #test3. #test1 is shown by default, when the page loads by using css to h

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread Jonathan Sharp
Do you have a URL of a sample page? -js On 10/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I tried setting all the padding attributes in the jdMenu.slate.css > file to zero, but still no luck -- the menu appears away (to the > bottom and right) of the graphic). On your web site, yo

[jQuery] Re: Why people love the jQuery JavaScript library

2007-10-17 Thread Chris Jordan
Very cool. Thanks for the link Rey! :o) Chris On 10/17/07, Rey Bango <[EMAIL PROTECTED]> wrote: > > > Read Ben Nadel's posting title "jQuery And The Anticipation Of > Greatness" (http://www.bennadel.com/index.cfm?dax=blog:997.view) > > Rey... > -- http://cjordan.us

[jQuery] Re: Emulating css :first-letter

2007-10-17 Thread Suni
The problem is easy to find once you turn the Opera error console visible (Tools -> Advanced -> Error console). The problem is the extra comma (,) at the end of line 52. IE and Opera will trip on this, whereas Firefox will manage to survive it. This is a very common problem and usually the firs

[jQuery] Re: creating drop down menus with JQuery?

2007-10-17 Thread Jonathan Sharp
The menu positioning code uses absolute positioning. Try removing the padding in CSS on the LI which should then make the menu appear directly below the arrow. Cheers, -js On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Beautiful. This may also be a non-jdMenu question but I'll

[jQuery] Re: AJAX problem on Internet Explorer

2007-10-17 Thread Hrvoje
Did you try to append a random string or number to the URL, so the browser does not cache the response? example: $('.orders').load('/shopping_carts/minicart/? a='+random_string_or_number,function(){... I had a similar problem (IE did not display the change on the page) and when I added a rando

[jQuery] Re: Announce: jqPuzzle - Customizable Sliding Puzzles with jQuery

2007-10-17 Thread Ralf Stoltze
Hello, Andy + Alexandre, thank you very much for your feedback! For the moment, I put the plugin in the media and widgets categories. I put up another demo to give kudos to John and the jQuery team. I really appreciate your hard work! The demo shows the jQuery logo based on a .psd file from the

[jQuery] IE7 jQuery event problem

2007-10-17 Thread HarryKC
Hi! this script works in FF/Safari/IE6 but breaks in IE7. When the page first loads the function work as intended, and adjusts the height of the given element, but when you resize the window IE7 throws an error "Invalid argument" adn the scrtipt stops. I use this script to adjust the page layout

[jQuery] IE7 jQuery event problem

2007-10-17 Thread Hrvoje
Hi! I have a script that adjusts the layout of the page, depending on the window size, but IE7 throws an error. The script works fine in FF/Safari/IE6. When the page loads both scripts are fired, and the layout is set. If you then resize the browser window IE7 throws an error. Can someome tell

[jQuery] Re: [NEWS] Humanized Messages

2007-10-17 Thread Rick Faircloth
Whatever. please share with us some of your visions, Andy. :o) From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Wednesday, October 17, 2007 9:55 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: [NEWS] Humanized Messages That's only

[jQuery] Superfish and PNG transparency for IE

2007-10-17 Thread Olivier Percebois-Garve
Hi I have png background image for a drop-down menu, made using superfish. Both jquery png plugins are breaking, when applied to it. pngFix works, but gives a potato shape to my image. ifixpng simply breaks and produces js errors. Any thoughts ? I'll try to debug it, but I hate so much js in IE

[jQuery] Re: trying to get an element on $.each iteration

2007-10-17 Thread Richard D. Worth
Inside the $.each callback function, 'this' holds a reference to each iterating/ed element (in your example, the dd). See http://docs.jquery.com/Core/each#callback for more info. So, you can do $(this).find("input") -or- $("input", this) One other thing you might do is change $.each($("dd"),func

[jQuery] Re: [NEWS] Humanized Messages

2007-10-17 Thread Andy Matthews
That's only because you're just not visionary enough Rick. :) _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Faircloth Sent: Wednesday, October 17, 2007 8:53 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: [NEWS] Humanized Messages It's an inte

[jQuery] Re: [NEWS] Humanized Messages

2007-10-17 Thread Rick Faircloth
It's an interesting app, but I'm not sure what the practical applications may be. ??? Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Wednesday, October 17, 2007 9:12 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: [NEWS] Humanize

[jQuery] Re: jQuery 1.2.1 and Interface/ui Sortable Bug?

2007-10-17 Thread Richard D. Worth
This issue is still being worked on. It should be fixed within a week in advance of the next release. - Richard On 10/16/07, df-sean <[EMAIL PROTECTED]> wrote: > > > Does anyone know of any workarounds or is JQuery Sortables just > unusable for the time being. I have a project that I'd planned on

[jQuery] AJAX problem on Internet Explorer

2007-10-17 Thread Sharan
Hello Everybody, Please go to this page http://iconsushi.com/products/ . and add the product by clicking on + icon. The product icon shows up in the shopping cart by AJAX. Now when you click on the product icon (in shopping cart) again it gets removed from the shopping cart. This functional

[jQuery] Suckerfish problem with overlapping vertical submenus

2007-10-17 Thread Den
Hi! I would like to solve this problem: I wanted to the opener submenu overlap the menu items below. I made an example for this it will be clear what I intend to say: http://wapurl.co.uk/?11HM7XC I made nothing with the original example but changed the overlap ul elements left css parameters 9

[jQuery] tablesorter AND hide/show toggle in table

2007-10-17 Thread FrankTudor
There might not be a solution for this out thiere, but I have thrown tablesorter 2.0 on a table that has rows that are initially hidden. Of course those hidden elements get sorted and end up at the bottom of the table. So I am wondering if table sorter can ignore every other row, or if there is s

[jQuery] Re: continuously search for elements in a document

2007-10-17 Thread rich
4 lines down to 1! Works perfectly; I didn't know you could do some of those things. I've only been working with javascript/jQuery for a few days. - Errors are the only things in the ul.errors list - .NET handles the hiding/showing of the span's. It does it in a way that I'm not really sure if I

[jQuery] Re: Some issue with "parent > child" selector with XML and namespaces

2007-10-17 Thread Orange
Thanks for answering, In fact jQuery supports namespaced elements, as I can do selectors like "catalog" or "catalog book", it juste does not work when I use the ">". No other idea ? I think I'll have to see what's going on in jQuery code ... Orange

[jQuery] Re: Humanized Messages

2007-10-17 Thread Alexsandro_xpt
Very nice Jeferson, It's pretty good for FORM assistance. What you know? On 16 out, 19:09, "Jeferson Koslowski" <[EMAIL PROTECTED]> wrote: > Found a new jquery > plugin:http://binarybonsai.com/archives/2007/10/15/humanized-messages-for-jq... > > From the authors blog: "(...) It's simply a large

[jQuery] trying to get an element on $.each iteration

2007-10-17 Thread didats triadi
I'm quite new in JQuery. If I have a HTML structure like this: abc this is text abc this is text I want to get the input and span object. Actually, I can do that separately. But I think there is a simple way. And I have no idea about that. $.each($("dd"),function(i) { // i'm stuck here. i

[jQuery] Re: Writing a plugin - tips needed

2007-10-17 Thread sgrover
Let me see if I got this right. I understand private/public just fine, but am not clear on the context here... So, I'll build a sample... jQuery.myObj = function (params) { //private stuff var pad = function(num) { if (num.toString().length < 2) { return "0" + num; } return num

[jQuery] Re: How do I completely overwrite an event?

2007-10-17 Thread hipsterJoe
Your code just have to do it because string window.status+='b' means that your add string 'b' to window.status! So problem is not in jQuery events features. nick wrote: > It seems that jquery is "appending" new events to any existing event > handler. eg: > > $('##BLAH').click(function(){window.s

  1   2   >