[jQuery] Re: How do I make an inline anchor link slowly scroll down?

2008-03-03 Thread Olaf Bosch
Michael Ray schrieb: Thanks for pointing me in the right direction. I am tryign to use LocalScroll but it doesn't want to work. I included 'jquery.scrollTo.js' and 'jquery.localscroll-1.2.4.js' in my head You bind the click on a h1, this have not a HREF, try this: h1a id=Cont href=#testTHIS

[jQuery] Re: tabs custom animation

2008-03-03 Thread Klaus Hartl
After some thinking about it I came to the conclusion that it's currently not possible with the build-in animation support. Although you can specify a custom animation $('#tabs').tabs({ fx: { height: 'toggle' } }); and change it afterwards $('#tabs').data('fx.ui-tabs', { height: 'toggle',

[jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls

2008-03-03 Thread Salvatore FUSTO
type=text/cssbody { background: #ffd }/style /head body h1Hello World/h1 buttonClose/button div id=main/div /body /html __ Informazione NOD32 2915 (20080303) __ Questo messaggio è stato controllato dal Sistema Antivirus NOD32 http://www.nod32.it

[jQuery] Effect: fadeOut fadeIn / opacity modifications don't work in my app

2008-03-03 Thread Alexandre Plennevaux
hi friends, I just noticed the fadeIn fadeOut effect don't work anymore in my application, meaning: there is no error, but the elements don't fade. The elapsed time of the effect runs then the element hides or shows, but without opacity transition. I think this might be not a bug in jquery but

[jQuery] Re: why jQuery?

2008-03-03 Thread Bil Corry
zok wrote on 3/2/2008 2:51 PM: what is going to have the best future: jQuery or Prototype (scriptaculous)? Maybe you can tell me a few differences and/or reasons for your joice... Maybe you can read the archives of the jQuery and Prototype lists, plenty of discussion on the topic:

[jQuery] Re: identify tables with same ID ( duplicate ids)

2008-03-03 Thread Gordon
IDs are supposed to be, by definition, unique. They are there so that scripting languages and CSS style rules can easily identify single elements. If your markup has more than one element with the same ID in it, then your markup is broken. If you have more than one element that needs to have

[jQuery] jQuery on Mozilla rhino

2008-03-03 Thread howa
Hello, Anyone tried to run jQuery on rhino? I followed John's post, it was okay. However, if I code in Java (since I don't use command line), the env.js cannot be interpreted: E.g. engine.eval(new FileReader(C:/env.js)); It gives: javax.script.ScriptException:

[jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls

2008-03-03 Thread Mike Alsup
doRoquest() is triggered by body onload() event, but i got no data from my url ( a controller page in a model glue app; then i modified the ajax call from being sync to async, i.e. async:true, and all works fine: can someone explain why only ajax sync calls work? regards salvatore

[jQuery] Re: jQuery in Action

2008-03-03 Thread Joe
Thanks for sharing MorningZ. My bad. Maybe I shouldn't have pulled the trigger so quickly on my enthusiasm... On Mar 2, 9:41 pm, MorningZ [EMAIL PROTECTED] wrote: Thoughts? There's at least 4 to 5 topics so far with thoughts about this book :-)

[jQuery] Post Form target into iframe, are there any events triggered?

2008-03-03 Thread fuzziman
More of a general JS questions for all the JS gurus who listen to this forum! I am posting a form into a hidden iframe: form method=post action=... target=postFrame ... input type=submit value=Submit / /form iframe name=postFrame style=.../iframe Is there an easy way to tell that the iframe

[jQuery] how many Jquery books are there?

2008-03-03 Thread changjie
As far as i know there r 'Learning Jquery' and 'Jquery In Action'.and else?

[jQuery] Re: Submitting a Patch

2008-03-03 Thread ratbeard
Thanks a lot Dan and Richard, just what I needed. Mike

[jQuery] Re: Can JQuery do a slider/button like on yui?

2008-03-03 Thread otherjohn
Ok, I believe I posted too soon. I found what I was looking for, a combination of UI/Slider and Hide function. sorry for the early post On Mar 2, 9:11 pm, otherjohn [EMAIL PROTECTED] wrote: Hi, I would like to make a form input field that has a button attached to the side, in-which when the

[jQuery] jquery treeview async doubt

2008-03-03 Thread oscarml
Hi, I'm trying Treeview jquery plugin and I have a doubt about async filling mode. In the example in http://jquery.bassistance.de/treeview/demo/async.html the tree is filled with source.php file. In that file, it writes directly a JSON structure but I can´t understand one part: precode ?php if

[jQuery] Re: Using jQuery without ready()

2008-03-03 Thread the_woodsman
To my knowledge, the main motivation for using ready and similar is that otherwise, you have to pay close attention to where your scripts are included in your page to ensure everything that the script relies on has already been added to that page. For example, if your script affects all

[jQuery] Re: Using jQuery without ready()

2008-03-03 Thread Hamish Campbell
http://docs.jquery.com/How_jQuery_Works#Launching_Code_on_Document_Ready On Mar 3, 10:21 am, fetis [EMAIL PROTECTED] wrote: Hi, all. I often use jQuery outside ready() function. Like this div id=asome html/div script  $(#a).some actions /script Have this way some hidden troubles or it's

[jQuery] BBC Site - jQuery

2008-03-03 Thread Dan Mitchell
Hi all, The new BBC website is using jQuery - a testament to how great jQuery is! Go team jQuery! http://www.bbc.co.uk Regards Dan

[jQuery] Re: extracting text not in an element

2008-03-03 Thread gg7353
Thank you Peter, I will give it a try.

[jQuery] Re: ajax and memory growth IE and FF

2008-03-03 Thread JuergenRiemer
thanks for your reply, I think the memory leak has to do with the $('#output').empty(); function call. If remove this line your memory leaks should go away. this did not work.. the memory is still growing. BTW: I was testing on: IE6 FF2

[jQuery] Re: How to validate form fields using jquery

2008-03-03 Thread manish
Hi Jorn, I have found where I was wrong. Actually I was calling the whole function at onsubmit of my form while this function is automatically called on the submit of form itself so I just need to place the code on my form and not at onsubmit. Second if I write the code directly on the form,

[jQuery] Superfish bug in IE 6

2008-03-03 Thread balmeter
Hi group, I have a problem with a superfish menu in IE 6. I am using the horizontal menu with drop-downs. In IE 6, the menu sticks to its default position. So, when a user scrolls down, the menu stays in the same place. Can anybody advise me on this? www.novapsychologists.org Thanks in

[jQuery] Re: Post Form target into iframe, are there any events triggered?

2008-03-03 Thread Mike Alsup
Is there an easy way to tell that the iframe has been loaded (e.g. some event that gets fired) ? I am able to poll the frame, catch the cross domain permission exception, etc but it seems a bit messy. Trap the load event for the iframe: var f = $('#postFrame')[0]; f.attachEvent ?

[jQuery] Re: How do I make an inline anchor link slowly scroll down?

2008-03-03 Thread Ariel Flesler
Ohhh man... I got crazy, mumbling to myself what the heck!. After 10 minutes of going thru pretty much everything, I realized you wrote: script type=text/javescript... javEscript.. fix that and it will work. @olaf The call to the plugin is done ok. LocalScroll has to be called on containers,

[jQuery] Re: Superfish bug in IE 6

2008-03-03 Thread Joel Birch
Hi Brian, It looks like having position:fixed on the body element is causing the problem. IE6 doesn't like position:fixed - looks like you may have to rethink that. Superfish bug... naah! ;) Joel Birch.

[jQuery] Re: Determining form state without displaying error messages

2008-03-03 Thread kapowaz
Right, after further investigation I believe that the problem is deeper than simply a bug with validate (I don't think there is one; it's just not designed to do what I'm attempting). So I figured I'd write up some more of my thoughts about what I'd like to do. Essentially, for a given form, I

[jQuery] How do you test if hidden or shown in jquery

2008-03-03 Thread otherjohn
ok, I have 2 elements that use the .toggle function to hide and show themselves. But I would like, when each is clicked, for it to test if the other element is currently showing and hide it and vice versa. Can someone help me find how to do that? John

[jQuery] Re: Effect: fadeOut fadeIn / opacity modifications don't work in my app

2008-03-03 Thread Jamie
I'm having the same problem in IE6.. On Mar 3, 5:26 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: hi friends, I just noticed the fadeIn fadeOut effect don't work anymore in my application, meaning: there is no error, but the elements don't fade. The elapsed time of the effect runs then

[jQuery] Re: BBC Site - jQuery

2008-03-03 Thread Michael
The bbc site is looking very good. On Mar 3, 11:50 am, Dan Mitchell [EMAIL PROTECTED] wrote: Hi all, The new BBC website is using jQuery - a testament to how great jQuery is! Go team jQuery! http://www.bbc.co.uk Regards Dan

[jQuery] Autogrow Plugin -- Apply to Textareas on When the DOM is Ready

2008-03-03 Thread Joe
So I'm using the Autogrow Plugin for a number of textareas on a page. However, I would like the change in height to be applied when the DOM is ready for all of the textareas the are loaded with values != , some with text that easily takes up the default size of the textarea and beyond. Is there

[jQuery] Re: How do you test if hidden or shown in jquery

2008-03-03 Thread Karl Swedberg
You could use either: if ( $('#foo').is(':hidden') ) { // do something } or ... if ( $('#foo').is(':visible') ) { // do something } --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 3, 2008, at 8:07 AM, otherjohn wrote: ok, I have

[jQuery] Re: How do you test if hidden or shown in jquery

2008-03-03 Thread Alexandre Plennevaux
$('#myotherelement:hidden').show(); $('#myotherelement:visible').hide(); On Mon, Mar 3, 2008 at 2:07 PM, otherjohn [EMAIL PROTECTED] wrote: ok, I have 2 elements that use the .toggle function to hide and show themselves. But I would like, when each is clicked, for it to test if the

[jQuery] Re: How do you test if hidden or shown in jquery

2008-03-03 Thread otherjohn
excellent, I believe that is just what I was looking for. Where can I find specific functions like this. I searched the api and couldn't find anything like it. john On Mar 3, 8:38 am, Karl Swedberg [EMAIL PROTECTED] wrote: You could use either: if ( $('#foo').is(':hidden') ) { // do

[jQuery] Re: identify tables with same ID ( duplicate ids)

2008-03-03 Thread Samant
Thanks Karl, Klaus and Gordon. I will try the approach and let u know. The reason i have duplicate ID tables is due the fact that.. my 1st table is a template table (this is hidden). On click of a button, i add tables dynamically (using the 1st table as a template) to the page (using DOM + js).

[jQuery] Re: identify tables with same ID ( duplicate ids)

2008-03-03 Thread MorningZ
On click of a button, i add tables dynamically (using the 1st table as a template) to the page (using DOM + js). Hence i end up with multiple tables with duplicate id's Have a counter of some sort, like a global variable like var TableCount = 0; when you add, append this value to the id

[jQuery] Re: jQuery in Action

2008-03-03 Thread timothytoe
I don't think there have been 4 or 5 topics. If there have been, I've missed most of them. I remember one topic where someone was asking about what books to read. And I started a kudos for the jQuery In Action book. If there have been any others, I missed them and I'd like to read them. By the

[jQuery] Re: Context Menu plugin - id of clicked element

2008-03-03 Thread Dan G. Switzer, II
Benster, Im new to jquery and im struggling with hopefully a simple question! Im using the Context Menu plugin - http://www.trendskitchens.co.nz/jquery/contextmenu/ which allows you to generate a right-click menu. All works fine, however im now trying to pass in the id of the item that has

[jQuery] Re: value attribute update problem

2008-03-03 Thread Dan G. Switzer, II
Otomar, Little problem with value attribute I have some input element where I try to update attributes. Input element before jQuery code: input type=text name=test value= testparam= maxlength=10 size=10 / jQuery code: $(input[name='test']).attr(value,test123);

[jQuery] adding a loading image to a mouse pointer

2008-03-03 Thread ryszard99
hi there, i've just started doing jquery stuff and am interested in how i can add a loading image that will follow the mouse pointer, pretty much exactly how cluetip does it. actually i'm using cluetip in my site and would like to replicate the loading image functionality.. if someone could

[jQuery] Re: Plugin Help

2008-03-03 Thread Leanan
Hmmm, ok. So with that setup, I (as a user) could do $.myAwesomePlugin.startRockin? I notice you have the options stuff under simply $.fn.myAwesomePlugin. So what if I wanted to call startRockin and set defaults, too? Does $.myAwesomePlugin.startRockin(options_go_here) do it? Or do I have to

[jQuery] challenge: optimize this swap position code !

2008-03-03 Thread Alexandre Plennevaux
Dear jqCoder, i, lame Interaction Designer having fun with jquery, challenge your coding skills to optimize (and improve?) the code for this effect ! http://www.pixeline.be/test/swap/ This follows up a previous discussion on how to swap visually two elements in a list so that the clicked one

[jQuery] Re: swap elements visually

2008-03-03 Thread pixeline
Friends, i did manage the animation effect: http://pixeline.be/test/swap/ thanks !! On Feb 29, 11:08 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: hi all! Hamish: i meant animating. But your code helps tremendously, i managed to get something quite acceptable like this: script

[jQuery] Re: Function overriding

2008-03-03 Thread David Stamm
The function sayHello() is defined inside the function jQuery.example, and is thus an inner function or nested function. It exists only when jQuery.example is executing. It cannot be accessed from outside jQuery.example without doing some magic with closures. When you tried to override

[jQuery] Reducing the amount of code

2008-03-03 Thread Haris
I want to reduce the amount of code. http://bin.cakephp.org/view/758193968

[jQuery] Re: Function overriding

2008-03-03 Thread timothytoe
You may find this article interesting... http://osteele.com/archives/2006/04/javascript-memoization On Mar 2, 11:50 pm, howa [EMAIL PROTECTED] wrote: Consider I have a simple plugin, e.g. jQuery.example = function(name) { sayHello = function(str) {

[jQuery] Re: Function overriding

2008-03-03 Thread howa
On 3月3日, 下午11時56分, David Stamm [EMAIL PROTECTED] wrote: The function sayHello() is defined inside the function jQuery.example, and is thus an inner function or nested function. It exists only when jQuery.example is executing. It cannot be accessed from outside jQuery.example without doing

[jQuery] Re: Return the checked items from checkboxes plugin

2008-03-03 Thread Sam Collett
On Mar 3, 3:51 pm, owen [EMAIL PROTECTED] wrote: I wrote: I'm using thecheckboxesplugin (http://www.texotela.co.uk/code/jquery/checkboxes/) and I'd like to pass the id of each checkbox that gets checked to a function. I see that the plugin has an option to return the checked items:

[jQuery] Re: BBC Site - jQuery

2008-03-03 Thread Sam Collett
The beta test has been up for a while and looks like it uses Interface (http://interface.eyecon.ro/) for the interactivity. Not jQuery UI unfortunately (Interface is more established though and has probably had more testing). There is still some legacy code (for example they use Simon Willison's

[jQuery] Masked plugin - AC000000805UK

2008-03-03 Thread Web Specialist
Hi all. Masked plugin is awesome. Great. But I found a little problem: using masked plugin and autotab plugin in the same page make masked plugin to autotab before user enters your data. Please look this example: ... $(#dsZIP).mask(9-999); form input type=text name=dsZIP id=dsZIP

[jQuery] EqualTo but only if checkbox is checked

2008-03-03 Thread [EMAIL PROTECTED]
How can I compare 2 text fields only if a certain checkbox is checked? Can you do something like this? billingAddress: { required: true minlength: 5 equalTo: #shippingAddress function(element) { return jQuery(#comparefields).is(:checked); }, I'm not

[jQuery] Marker over static map

2008-03-03 Thread Ahmadt
Hi Everyone, I have a simple question (but it's hard for me :) ) How can I print a clickable icon/picture over a picture basiccly I'm using mapper.jp (from http://www.netzgesta.de/mapper/) where you can click in each country on the world map and you can direct to another link and so on I want

[jQuery] Re: dblclick function bind and content selection

2008-03-03 Thread David Stamm
I tried to find a solution involving the event object's preventDefault() and stopPropagation() methods, but I couldn't get it to work. I was able to get the desired behavior with this tiny but excellent plugin: http://www.jdempster.com/category/jquery/disableTextSelect/ Hope that works for you!

[jQuery] Re: :first-line workaround?

2008-03-03 Thread bweaverusenet
Thanks Klaus. On Feb 29, 11:28 pm, Klaus Hartl [EMAIL PROTECTED] wrote: Wasn't clear to me you were talking about solely jQuery, e.g. *JavaScript based* element selection. There are a few CSS selectors that are hardly - if at all - to recreate with JavaScript. :first-line as well as :link

[jQuery] Re: How do you test if hidden or shown in jquery

2008-03-03 Thread David McFarland
On Mar 3, 2008, at 5:42 AM, otherjohn wrote: Where can I find specific functions like this. I searched the api and couldn't find anything like it. http://docs.jquery.com/Traversing

[jQuery] Re: Determining form state without displaying error messages

2008-03-03 Thread Jörn Zaefferer
kapowaz schrieb: [...] So, what can you recommend? What might be a way of accomplishing this within what exists already, or should I try to create something independent to handle this sort of scenario? Currently I completely lack the time to work on the validation plugin, so can't really

[jQuery] Re: jquery treeview async doubt

2008-03-03 Thread Thomas Hill
I recently grappled with this, so I'll help give you a leg up. Note that in the original async code, the only part of the list that exists at first is just an ul, and an /ul. On the page load, treeview is loaded with the parameter url: source.php, which is the page it goes to for its data. If you

[jQuery] :eq() expects number problem

2008-03-03 Thread mjpg
I'm selecting an item based on using an index. :eq(3) works but if I pass a variable it does not. CODE SNIPPET: function populateSelect(choosenValue) { // Get the optgroup options var choosenOptions = $('#courses optgroup:eq(choosenValue) option'); THE FOLLOWING WORKS:

[jQuery] Re: identify tables with same ID ( duplicate ids)

2008-03-03 Thread Samant
Hi MorningZ, Did not want to use this approach as, the tables can be added and removed dynamically..., so to complete the story .. htere are 2 buttons add and delete. Let say, the user adds 3 tables first. Then the global variable value will be 3 and tables will have ID as 'Instructions_1',

[jQuery] Re: :eq() expects number problem

2008-03-03 Thread Klaus Hartl
On Mar 3, 5:34 pm, mjpg [EMAIL PROTECTED] wrote: DO NOT SEEM TO WORK: $('#courses optgroup:eq(+choosenValue+) option');     // and I don't understand this anyhow No need for shouting. Seems like you messed up double and single quotes. Try: $('#courses optgroup:eq(' + choosenValue + ')

[jQuery] Re: jquery treeview async doubt

2008-03-03 Thread Jörn Zaefferer
oscarml schrieb: Hi, I'm trying Treeview jquery plugin and I have a doubt about async filling mode. In the example in http://jquery.bassistance.de/treeview/demo/async.html the tree is filled with source.php file. In that file, it writes directly a JSON structure but I can´t understand one

[jQuery] Re: jquery treeview async doubt

2008-03-03 Thread Jörn Zaefferer
Thomas Hill schrieb: Kind of long winded, but I hope it's what you needed. Anything else, lemme know. Thanks for writing it down. To compensate the lack of documentation, I've added that to the wiki: http://docs.jquery.com/Plugins/Treeview Its a start :-) Jörn

[jQuery] Re: why jQuery?

2008-03-03 Thread zok
Hey, thanks for your answers. Doesn't jQuery work with Rails? Cause I think jQuery is more flexible and has the simler code. Right? Thanks zok On 3 Mrz., 05:02, Shawn [EMAIL PROTECTED] wrote: First, I think that only YOU can make that choice for yourself. Each developer has their own

[jQuery] Re: :first-line workaround?

2008-03-03 Thread bweaverusenet
Hi, Karl. If I understand Widon't correctly, it simply replaces the space before the last word in an element with a non-breaking space. Could be wrong though. Thanks, it is food for thought though. On Mar 1, 10:01 am, Karl Swedberg [EMAIL PROTECTED] wrote: Not sure at all about this, but it

[jQuery] Re: How do I make an inline anchor link slowly scroll down?

2008-03-03 Thread Michael Ray
Thank Olaf for finding that spelling error! Ok, so I fixed that spelling error (what a shameful mistake i know), but it still does not want to work! I have simplified the code even further to just affect all inline links on the page: Here is the code script type=text/javascript

[jQuery] Re: Autogrow Plugin -- Apply to Textareas on When the DOM is Ready

2008-03-03 Thread Ariel Flesler
I never saw it, but the name suggests it strecthes textareas as you write, right ? If so, it must react to keypress, keydown, or keyup. If you want the plugin to check at start, you could try: $(function(){ $('textarea.autogrow').trigger(event); }); Where 'textarea.autogrow' is the selector

[jQuery] Re: EqualTo but only if checkbox is checked

2008-03-03 Thread George
I may not be sure what you're wanting but something like this may help: ... $(#billingAddress).val() == $(#shippingAddress).val() $ (#comparefields).is(:checked); I presumed you are wanting to compare the billingAddress and shippingAddress values. George On Mar 3, 4:13 pm, [EMAIL PROTECTED]

[jQuery] Re: identify tables with same ID ( duplicate ids)

2008-03-03 Thread MorningZ
It's your application and your code and your functionality... but something comes to mind So what if there are gaps in the ID name? At least that will keep them unique, and if you can use a very similar selector, just one additional character different in fact, to keep this very important base

[jQuery] techniques for displaying line numbers

2008-03-03 Thread rolfsf
I'm trying to sketch out a concept for an application that is essentially a simple text editor or equation editor. A user will type or paste some text ( a calculation of sorts) into a text area. Is there a way, perhaps using jquery, to display the line numbers along side the text or text-area?

[jQuery] Re: Autogrow Plugin -- Apply to Textareas on When the DOM is Ready

2008-03-03 Thread Joe
http://plugins.jquery.com/project/Plugins/category/20 That's the link to the plugin. Working on it now...I'll let you know when I get to the solution. Cheers. Joe On Mar 3, 2:13 pm, Ariel Flesler [EMAIL PROTECTED] wrote: I never saw it, but the name suggests it strecthes textareas as you

[jQuery] Re: jquery treeview async doubt

2008-03-03 Thread Thomas Hill
Hah! My first publication. Definately a start. Btw, Jörn, I found a bug where if you add a child node that has long(ish) text, the text attempts to wrap unnsuccessfuly and the span gets placed to the bottom right of the plus sign. In order to fix this, I put in some code to measure the node

[jQuery] Re: identify tables with same ID ( duplicate ids)

2008-03-03 Thread Michael Ray
its not hard to change it from an ID to a class, just say class=blahblahblah instead of id=blahblahblah You could also store the table IDs in a database and then you would never have duplicate IDs On Mon, Mar 3, 2008 at 1:39 PM, MorningZ [EMAIL PROTECTED] wrote: It's your application and your

[jQuery] Can't get started on Getting Started :)

2008-03-03 Thread kenny
Disclaimer: Complete jQuery/JavaScript noob here, but heavily experienced developer overall. (And I have been googling around finding similar questions, but nothing from those exchanges can get this basic hello-world example working.) Platform: FireFox 2.0.0.12 on Windows XP Here is what I had

[jQuery] Re: EqualTo but only if checkbox is checked

2008-03-03 Thread [EMAIL PROTECTED]
Yes, correct on your analysis. Thanks a lot for the approach here. Alright, so I'm trying to get it working through this syntax above. So.if I have: $(#signupForm).validate({ rules: { billingAddress: { required: true minlength: 5 equalTo:

[jQuery] IE7 Flicker On DIV slideUp()

2008-03-03 Thread alphadog
So, I have an issue that I have seen mentioned in other posts but no solutions work for me for some reason where in FF, slideUp() works fine, but in IE7, it flickers at the end of the slide. I am using jquery-1.2.3.pack.js and the DOCTYPE is set to strict (-//W3C//DTD XHTML 1.0 Strict//EN

[jQuery] Re: why jQuery?

2008-03-03 Thread Michael Ray
jQuery should work with ANY back end language, since it is a font end language. On Mon, Mar 3, 2008 at 12:52 PM, zok [EMAIL PROTECTED] wrote: Hey, thanks for your answers. Doesn't jQuery work with Rails? Cause I think jQuery is more flexible and has the simler code. Right? Thanks zok

[jQuery] Re: Reducing the amount of code

2008-03-03 Thread Ariel Flesler
Here you go http://bin.cakephp.org/view/758193968 The silly system seemed to override your thing.. sorry I didn't know. You can surely revert somehow, if you want. I didn't really analyzed the code, just made it shorter. What you are doing will keep the CPU up. I'd think of a better way, dunno

[jQuery] Re: Can't get started on Getting Started :)

2008-03-03 Thread Jeffrey Kretz
For what it's worth, I copied and pasted your HTML code and tested it on my computer and it worked. There were two changes I had to make. 1. There are some odd line-breaks in your html below. Maybe they were added by your e-mail client, but I had to make script type=text/javascript into

[jQuery] Re: How do I make an inline anchor link slowly scroll down?

2008-03-03 Thread Ariel Flesler
Olaf ? What the... ??? Now you are not including jQuery.ScrollTo... how do you expect it to work ? Add the plugin and it works... Cheers Ariel Flesler On 3 mar, 15:52, Michael Ray [EMAIL PROTECTED] wrote: Thank Olaf for finding that spelling error! Ok, so I fixed that spelling error (what

[jQuery] assign to outerhtml

2008-03-03 Thread pihentagy
Hi all! I'd like to update a tr tag of a table with an ajax call. The problem is that outerhtml is an IE specific attribute, and I have the row style defined in the tr tag. Is there a cross-browser solution to update a single row of a table either with some cross-browser outerhtml script or

[jQuery] Can I use jQuery to superimpose one image over part of another?

2008-03-03 Thread [EMAIL PROTECTED]
Hi, Let's say I have this HTML div id=imageDisplay align=center img id=backside name=backside alt= width=200 src=image1.gif / img id=frontside name=frontside alt= width=200 src=image2.gif / /div and then I have another image, image3.gif. I would like to layer image3.gif 100

[jQuery] Re: assign to outerhtml

2008-03-03 Thread Jeffrey Kretz
I had to do something similar, and this is how I solved it. $.ajax({url:'blabla',success:process}); function process(results) { var id = 'therowid'; var origRow = $('#'+id); var newRow = $(results).insertAfter(origRow); origRow.remove();

[jQuery] Re: Using jQuery without ready()

2008-03-03 Thread fetis
On Mar 3, 6:20 am, Hamish Campbell [EMAIL PROTECTED] wrote: http://docs.jquery.com/How_jQuery_Works#Launching_Code_on_Document_Ready But I'm not needed in code that running after page loaded. I just want to add some class (for example) to already loaded element. Have I wrap it into ready()

[jQuery] Re: Using jQuery without ready()

2008-03-03 Thread fetis
On Mar 3, 5:24 am, the_woodsman [EMAIL PROTECTED] wrote: To my knowledge, the main motivation for using ready and similar is that otherwise, you have to pay close attention to where your scripts are included in your page to ensure everything that the script relies on has already been added to

[jQuery] Event Bubbling - Not!

2008-03-03 Thread skube
I am a little confused about event bubbling. Say for example I have the following bit of HTML: code div id=main div id=one one /div div id=two two /div /div /code when I try: code $(#main).mouseout(function() {

[jQuery] Re: Event Bubbling - Not!

2008-03-03 Thread Benjamin Sterling
skube, try *mouseleave* instead, that one take bubbling into account. On 3/3/08, skube [EMAIL PROTECTED] wrote: I am a little confused about event bubbling. Say for example I have the following bit of HTML: code div id=main div id=one one /div

[jQuery] Re: why jQuery?

2008-03-03 Thread Jeffrey Kretz
Exactly, javascript runs on the client's browser. Ruby, PHP, ASP.NET etc. etc. all run on the server. There should be no conflict. JK _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ray Sent: Monday, March 03, 2008 1:05 PM To:

[jQuery] Re: why jQuery?

2008-03-03 Thread Rey Bango
Zok, Quite a bit of work has been done in having jQuery and Rails work together. If you search the list archives, you can find out morw. Rey... zok wrote: Hey, thanks for your answers. Doesn't jQuery work with Rails? Cause I think jQuery is more flexible and has the simler code. Right?

[jQuery] Re: Using jQuery without ready()

2008-03-03 Thread Jeffrey Kretz
If you put the jquery reference in the head and your script after the close of the /body tag, you don't need to use a $(document).ready. The funny thing is, that's exactly the behavior that $(document).ready is designed to simulate. JK -Original Message- From:

[jQuery] Re: IE7 Flicker On DIV slideUp()

2008-03-03 Thread Josh Nathanson
I wonder if this could be logged as a bug. I glanced at the jQuery source for animate, but it's difficult to figure out exactly where the problem is through all the abstraction. Several people have noticed this behavior in IE, but so far nobody has been able to come up with a definitive

[jQuery] Re: jQuery on Mozilla rhino

2008-03-03 Thread John Resig
Sounds like you're using an old version of Rhino. --John On Mon, Mar 3, 2008 at 6:16 AM, howa [EMAIL PROTECTED] wrote: Hello, Anyone tried to run jQuery on rhino? I followed John's post, it was okay. However, if I code in Java (since I don't use command line), the env.js cannot be

[jQuery] Re: Using jQuery without ready()

2008-03-03 Thread Hamish Campbell
In that limited case, I supposed you don't 100% have to, but it's still a **really** good idea. First of all, you want your page to load before executing scripts. There is nothing worse that JS failing half way through a page load, it's faster to execute jQuery after the DOM has loaded, you can

[jQuery] Re: ANNOUNCE: No Spam plugin

2008-03-03 Thread Bill
Hi Mike On Jan 23, 9:39 am, Mike Branski [EMAIL PROTECTED] wrote: This jQuery plugin turns an obfuscated e-mail address into a human- readable one. It's lightweight and accepts multiple filtering levels for additional security. Thanks for the plugin. Works great for me! I did run into a

[jQuery] Re: jQuery Firefox bug.

2008-03-03 Thread Mario
Hi! What do you mean? I didn't understand! a href=javascript:__doPostBack('wt_Linkwidget28','') onclick=return false; id=wt_Linkwidget28OutSystems corporate site/a Cheers, Mário On Feb 22, 10:14 pm, ruizbennett [EMAIL PROTECTED] wrote: If you remove the href (which has the postback), it will

[jQuery] Re: adding a loading image to a mouse pointer

2008-03-03 Thread Karl Swedberg
Hi there, Do you want the loading image to follow the mouse as the mouse moves? if so, you can set its top and left css properties on mousemove. Something like this: $('body').mousemove(function(event) { $('#loading-image').css({ top: (event.pageY + 10) + 'px', left:

[jQuery] Re: techniques for displaying line numbers

2008-03-03 Thread rolfsf
In looking for ideas, I discovered the http://plugins.jquery.com/project/designMode designMode plugin , which facilitates cross browser use of the designMode feature. Using this approach, I loaded a page with simple ordered list into an iframe. With designMode turned on, I can add lines and

[jQuery] Re: jQuery on Mozilla rhino

2008-03-03 Thread howa
On 3月4日, 上午7時27分, John Resig [EMAIL PROTECTED] wrote: Sounds like you're using an old version of Rhino. --John Hi John, I am using the latest one: rhino1_6R7 I can run successfully according to your post, I just can't read the JavaScript file (env.js) by using Java! I will dig into the

[jQuery] Re: Function overriding

2008-03-03 Thread howa
On 3月4日, 上午12時37分, David Stamm [EMAIL PROTECTED] wrote: I'm sorry, I thought you were trying to architect your own plugin to make it easier to override for others. A useful technique when you're overriding someone else's function, is to save a reference to the original implementation right

[jQuery] Re: Can I use jQuery to superimpose one image over part of another?

2008-03-03 Thread Karl Swedberg
Hi Dave, You could easily make this happen with CSS alone, or am I missing something? #imageDisplay { position: relative; width: 200px; overflow: hidden; } #image3 { /* give it whatever id you want */ position: absolute; left: 100px; } --Karl

[jQuery] Re: Half star rating plugin won't work with jQuery 1.2.3

2008-03-03 Thread Karl Swedberg
On Feb 29, 2008, at 1:16 PM, AsymF wrote: I got this one to work: Star Rating Plugin v1.1 - http://www.fyneworks.com/jquery/star- rating/ But the half star plugin won't work with 1.2.3: http://www.learningjquery.com/2007/05/half-star-rating-plugin Does anyone know a fix? The stars all