[jQuery] hacking select tag

2007-10-22 Thread james_027
hi, anyone has an idea to make select tag readonly since readonly attr is not supported. Disabled is not a solution because it prevent the data from being posted. Thanks james

[jQuery] Re: hacking select tag

2007-10-22 Thread [EMAIL PROTECTED]
Gday James Depending on how you are doing this, you could always change the name of the select and create a hidden value with the real name. The if you are toggling between each change the names around. If available to use: select name=myname options If not available: select

[jQuery] Re: [NEWS] Humanized Messages

2007-10-22 Thread Mika Tuupola
On Oct 17, 2007, at 9:24 PM, Michael Geary wrote: 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 screen, so it tries to draw my eye in two directions at once. I agree place of message

[jQuery] Re: AJAX and dynamically created dropdowns

2007-10-22 Thread Mika Tuupola
On Oct 19, 2007, at 8:31 PM, Yaz wrote: I have a script that basically just reads some data from an xml file, then the data gets loaded into a select dropdown, by dynamically creating option tags. I had problem with IE and selects earlier. Found out that it needs both .val() and .append()

[jQuery] Re: AJAX and dynamically created dropdowns

2007-10-22 Thread Mika Tuupola
On Oct 20, 2007, at 5:20 PM, Karl Swedberg wrote: One other Firefox add-on that allows you to see the *generated* source is Web Developer toolbar: http://chrispederick.com/work/web-developer/ Click on the View Source menu, and then choose View Generated Source. Web Developer, along with

[jQuery] Re: jqMultiSelects suggestion

2007-10-22 Thread Rob Desbois
Hey Rodrigo, Apologies for the massive time in replying, I am very busy these days. That is a great suggestion, and one which a few people have mentioned. I will modify the official plugin source as soon as possible, but for now your fix does just great :-) All the best --rob On 9/22/07,

[jQuery] Re: hacking select tag

2007-10-22 Thread james_027
nice trick, thanks :) On Oct 22, 3:44 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Gday James Depending on how you are doing this, you could always change the name of the select and create a hidden value with the real name. The if you are toggling between each change the names around.

[jQuery] jQuery AJAX load and encoding/charset problems

2007-10-22 Thread Jesse Klaasse
I have already spent hours and hours on the following problem. I am using jQuery's AJAX load method in order to put a portlet in a DIV. The portlet url is: http://www.bam.nl/baminternet/baminternet/test/test_jQueryAjax/actueel.jsp

[jQuery] Re: $.get content refresh

2007-10-22 Thread Richard D. Worth
IE is using the cached version, since the URL hasn't changed. Try + 'nocache=' + Math.random() at the end of the URL. - Richard On 10/21/07, Nicolas Leuenberger [EMAIL PROTECTED] wrote: Hi, i'm working on a song-ticker for a non-commercial radio station. Now the following code is supposed

[jQuery] rikrik's pager - 10 per page?

2007-10-22 Thread amircx
hey , i found this cool plugin that paging records. the problem is that its only one per page.. http://rikrikrik.com/jquery/pager/ any idea how to make 10 per page? like for guestbook, i need 10 records per page, now its only one THANKS ALOT :) -- View this message in context:

[jQuery] overflow hidden Firefox bug with Draggable

2007-10-22 Thread pei
Hi, I'm working on a project using jQuery draggable (I'm using jquery 1.2.1 and jquery UI for draggable/droppable), and I'm noticing a problem that occurs only in Firefox (tested with Firefox 2.0.0.3 on MacOS 10.4 and Firefox 2.0.0.3 on Windows XP SP2). I have a number of draggable elements

[jQuery] Re: calling all jQuery Safari wizards!

2007-10-22 Thread muccy
On Oct 7, 2:40 pm, To [EMAIL PROTECTED] wrote: On Oct 6, 7:36 pm,muccy[EMAIL PROTECTED] wrote: $(#photo).fadeIn(slow); $(#photo).show; $(#photo).fadeIn(slow, function() { $(this).show(); } it should work well I'm afraid it's not... :-S This is my code:

[jQuery] Re: clueTip feedback and suggestions

2007-10-22 Thread chrisandy
I'm getting a problem using the slideDown / toggleDown fx. It is showing an error in IE6 and IE7 - invalid argument. I have mentioned this in a previous message. I'm really impressed with what you've achieved with this and I managed to grasp the basics in a relatively short time but this is

[jQuery] problem with ifixpng background position

2007-10-22 Thread Lewis
hi guys i have come across an issue with IE 6 and Ifixpng, and could do with some advice! the transparency seems to be working, but in ie6 - the script also seems to strip out the background positioning styles... anyone come across this? is this gonna be an issue with the style sheet, or is

[jQuery] Re: jQuery AJAX load and encoding/charset problems

2007-10-22 Thread Dan G. Switzer, II
Jesse, I have already spent hours and hours on the following problem. I am using jQuery's AJAX load method in order to put a portlet in a DIV. The portlet url is: http://www.bam.nl/baminternet/baminternet/test/test_jQueryAjax/actueel.jsp

[jQuery] $(document).ready inconsistent behaviour IE/FF - bug?

2007-10-22 Thread Jesse Klaasse
Schematically I have the following page: html head script type=text/javascript $(document).ready(function() { alert(DOM ready); }); /script /head body table

[jQuery] Re: Gotcha in the ajax call

2007-10-22 Thread Dan G. Switzer, II
When making a GET call via jQuery.ajax, jQuery 1.2.1 adds a URL parameter named '_' (the single underscore character) whose value is the current time stamp. I'm not sure I understand why, and in any case, this caused me some grief when I tried to use it in a Facebook app. The reason is that the

[jQuery] document.ready inconsistent behaviour IE/FF - bug?

2007-10-22 Thread Jesse Klaasse
(I have already sent this message but somehow it got marked as spam??!) Schematically I have the following page: html head script type=text/javascript $(document).ready(function() { alert(DOM ready); });

[jQuery] Re: jQuery AJAX load and encoding/charset problems

2007-10-22 Thread Jesse Klaasse
Dan, I have removed the HTML and body tags now, but unfortunately this doesn't seem to help. Any other ideas? -Original Message- One thing I noticed quickly is this page is a full HTML that includes html and body tags. If you're loading HTML fragments into a DIV, you shouldn't load a

[jQuery] how to 'reset' a function that fired on page load?

2007-10-22 Thread theTree
Hi all, this ones had me stumbling for a while now... how do I get a hover function thats bound to a specific group of elements eg: $('#bar .foo').hover(function(){ $(this).addClass('greyHover'); }, function(){ $(this).removeClass('greyHover') });

[jQuery] Re: Sorting links alphabetically with jQuery

2007-10-22 Thread Klaus Hartl
On 22 Okt., 12:19, Wizzud [EMAIL PROTECTED] wrote: function sortText(a, b) { var A = $(a).text(), B = $(b).text(); if ( A B ) return -1; else if ( A B ) return 1; return 0;} var tgt = $('#test') , arr = $(tgt.find('a').get().sort(sortText)) ; tgt.empty().append(arr); arr

[jQuery] Re: jqGrid new version

2007-10-22 Thread Andrea - Aosta
Hello: very good work... one info: it is not possible to get the data with a POST ... in the example all are set for a GEt method // get the requested page $page = $_GET['page']; // get how many rows we want to have into the grid // rowNum parameter in the grid $limit = $_GET['rows']; // get

[jQuery] Re: looking for advice on the best way to do this... autocomplete then fetch more data

2007-10-22 Thread Priest, James (NIH/NIEHS) [C]
-Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] This is actually pretty easy to accomplish. If you're only passing back a few pieces of information, you could pass the data back with the autocomplete matches. The advantage of this is you don't have to do

[jQuery] Re: jqGrid new version

2007-10-22 Thread Tony
It can be done. In this case you need to edit code and to change the ajax call type from GET to POST - i.e: $.ajax({ url: ts.p.url,type:POST,dataType:xml,data :...). If you use JSON you need to change $.getJSON with $.ajax the same way, but do not forget to eval the response with eval. If you

[jQuery] Re: clueTip feedback and suggestions

2007-10-22 Thread Rick Faircloth
You must have fixed the problem in IE 7, because it's displaying well, without any errors here. Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chrisandy Sent: Monday, October 22, 2007 4:44 AM To: jQuery (English) Subject: [jQuery]

[jQuery] Re: problem with ifixpng background position

2007-10-22 Thread Rick Faircloth
Hi, Lewis... I believe you'll find that the problem is not with Ifixpng, although I haven't used that one, but rather with IE 6. I ran into this trying to use transparent png's on IE 6 previously. I was using the IEpngfix solution from www.TwinHelix.com, and ran into the background positioning

[jQuery] Re: clueTip feedback and suggestions

2007-10-22 Thread chrisandy
Thanks Rick but I think you must be looking at the 'pop up' that is working fine - when you click on 'more details' though - that's when it goes wrong

[jQuery] Re: clueTip feedback and suggestions

2007-10-22 Thread Rick Faircloth
You're right... when I click on the more details area, the same pop-up appears, but begins to scroll up and down over and over. Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chrisandy Sent: Monday, October 22, 2007 9:20 AM To:

[jQuery] Re: script within ajax html response

2007-10-22 Thread MHM
Ok I have managed to find a simple solution works partly by encompassing them (the scripts) in functions in a global script file. and then calling the function. so for example to have an effect of a slidedown. normally you would do script $('#openme').slideDown(slow); /script or put in on an

[jQuery] showing / hiding divs based on location hash, proposed solution

2007-10-22 Thread stef
i previously asked about a way to hide and show divs based on the location hash value. so if the url is domain.com/page.php#contact then all divs but the contact div should be hidden when coming from an external page. Jorn pointed me to some existing plugins but they went a bit over my head, so

[jQuery] How would I modify this code to...

2007-10-22 Thread Rick Faircloth
.cause any open details div to close when another details div opens? $(document).ready(function() { $('div.calendar').find('div.details').hide().end().find('table.clickme').click(function() { var answer = $(this).next(); if (answer.is(':visible')) {

[jQuery] Re: How to position this div?

2007-10-22 Thread [EMAIL PROTECTED]
But won't this just make the DIV appear whereever it was originally positioned? I want newDiv to appear with the same x coordinate as the image and the y coordiante to be equal to the image's plus 16 pixels. How do I set the coordinates before I activate show? Thanks, - On Oct 19, 5:18 pm,

[jQuery] Re: Getting window portal size in 1.2.1

2007-10-22 Thread Jeffrey Kretz
Well, that is a good point. Using the window width and height (which works in the latest SVN) really is fine. Perhaps then, the actual bug is the body height, which is currently showing the viewport height (less scrollbar) when it should show the full height of the body. JK _

[jQuery] Re: slideUp/slideDown - Bug in IE with images

2007-10-22 Thread debussy007
I had to set it as relative since I have (in the real page) absolute elements in it - which also disappear smoothly in FF but not in IE !! - So in my script I set background as '' and hide absolute elements if IE browser is used. Thank you. Wizzud wrote: Remove 'position:relative;' from

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
One thing to look at is the toggle() function. It will open if closed and close if opened. No need for the IF statement. Also, you can animate a DIV inside a row smoothly, you don't need the whole table. To make it so that only one answer is open at any time, in the past, I have just closed them

[jQuery] Re: $(document).ready inconsistent behaviour IE/FF - bug?

2007-10-22 Thread Jeffrey Kretz
I just built a page like your example and tested it: http://www.scorpiontechnology.com/Cobalt/sleeptest.htm I'm not sure what you're putting on your server side, but for mine I just used a Thread.Sleep(1) command. Both IE7, FF and Opera alert DOM ready right away, rather than waiting for

[jQuery] Image expand plugin

2007-10-22 Thread Txt.Vaska
Bonjour: For the life of me I can't find this plugin now...it simply took a thumbnail (from a group of them) and when clicked it had an animated effect that would grow it larger in a div in a layer above the other images. I can't figure out where this went. Anybody know of this? Thanks

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
I whipped up a demo. http://www.commadot.com/jquery/faq.php Is this the kind of thing you were looking for? Glen On 10/22/07, Rick Faircloth [EMAIL PROTECTED] wrote: …cause any open details div to close when another details div opens? $(document).ready(function() {

[jQuery] Setting top and left coordinates unsuccessful, assistance needed

2007-10-22 Thread [EMAIL PROTECTED]
Hi, I have several movable DIVs on my page. Each has a little image of an arrow. My intention is when I roll over the arrow image, another DIV will appear underneath the arrow. I figured I could call .show() on the DIV and then adjust it's top and left coorindates based on the image's.

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Rick Faircloth
Yep. that's it precisely! Thanks, Glen. I'll go the route you've taken and see what I can do. Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Monday, October 22, 2007 12:22 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: How

[jQuery] Strip library for certain functionality, possible?

2007-10-22 Thread Steve Finkelstein
Hi all, As much as I love loading all of jQuery into every single web project I'm involved in, this current one is for an iPhone catered web application. And to be quite blunt, loading anything over EDGE is painful. I'd like to still use a few methods available, such as jQuery.Ajax(). Is there

[jQuery] Re: clueTip feedback and suggestions

2007-10-22 Thread chrisandy
I don't get that problem! I simply get an error - 'invalid argument'

[jQuery] blockUI + Multiple DIVs

2007-10-22 Thread Copperleaf
Has anybody played with having multiple divs come up with using blockUI? One approach I tried was to create a single div that was borderless and transparent and have two smaller divs inside it. This seemed ok on all platforms other than IE. IE is giving me fits on the vertical size and scroll

[jQuery] Re: Gotcha in the ajax call

2007-10-22 Thread bigethan
So the solution I see here is to disable the caching by setting the 'cache' property to false, and then rolling your own don't cache my ajax calls solution that you can then use in creating the signature for the url. -E

[jQuery] Cycle Plugin questions - prev/next as a callable function of cycle?

2007-10-22 Thread Tobias Parent
OK, so I've got the cycle plugin working beautifully, and I created my own hover pause utility, as it needed to integrate with a separate pause button. Working wonderfully. However... Now, I'm trying to set it so that, when a prev/next button are clicked, the player advances/rewinds as it

[jQuery] Re: problem with ifixpng background position

2007-10-22 Thread Lewis
Bah!! curse you IE6... curse you to hell oh well, thanks Rick that would explain the problem - however, if anybody has heard on the grape vine of any work-arounds - then i'd love to hear them!!! Lewis On Oct 22, 2:20 pm, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, Lewis... I believe

[jQuery] Align to bottom (Div)

2007-10-22 Thread Chris J. Lee
Trying to figure out a solid efficient algorithm for aligning objects to the bottom. The div is a column and the height is dynamic because the contents of the right column changes. (see below) so say the markup for the image is this: div id=container div id=col-left class=alignstupidbottom

[jQuery] Re: Gotcha in the ajax call

2007-10-22 Thread M. A. Sridhar
No, I don't set the cache property. But I use the 'script' data type for the query (because I want to avoid cross-domain issues) and the jQuery code explicitly sets cache to false when using 'script'. It seems as if I should explicitly set cache to true in my case. But that's really a

[jQuery] Re: problem with ifixpng background position

2007-10-22 Thread sidisinsane
As far as I know, the Twinhelix IEpngfix succeeds in applying alpha- transparency to background-images because from a technical standpoint the background-image isn't a background-image anymore. That's why it cannot respond to background-positioning. So whatever workaround you'd come up with,

[jQuery] How to count characters

2007-10-22 Thread Johny
Hi, I have textarea id=id_Message class=vLargeTextField name=Message rows=8 cols=40/textarea how can I count numbers of characters that a user writes? Thank you B.

[jQuery] Possible .clone() bug in 1.2.1 on IE6

2007-10-22 Thread James V
I use jQuery extensively to help create repeatable elements in some forms. After upgrading from 1.1.4 to 1.2.1, I noticed it stopped working. I finally narrowed down the cause to the (dynamically set) name attribute no longer getting cloned correctly. Is this expected behavior in 1.2.1, or a

[jQuery] How to count characters

2007-10-22 Thread Johny
I have textarea id=id_Message class=vLargeTextField name=Message rows=8 cols=40/textarea how can I count numbers of characters that a user writes? Thank you B.

[jQuery] Re: Cycle Plugin questions - prev/next as a callable function of cycle?

2007-10-22 Thread Tobias Parent
I keep answering my own questions!! I ask, I bust something, I try a few things... and it WORKS! I have the next/prev running through the cycle plugin, as normal, but I also have a function called on the click of my next/prev buttons (apparently, one function attached isn't disconnecting

[jQuery] Re: How to count characters

2007-10-22 Thread Marshall Salinger
Hi Johny, This is a great plugin for that. http://www.tomdeater.com/jquery/character_counter/ -Marshall Johny wrote: Hi, I have textarea id=id_Message class=vLargeTextField name=Message rows=8 cols=40/textarea how can I count numbers of characters that a user writes? Thank you B.

[jQuery] Re: problem with ifixpng background position

2007-10-22 Thread polyrhythmic
The best workaround I've found is to create a background div, apply the filter to that div, and wrap it and the foreground in another block element, and position the background div as desired. It's a pain, which is one of the reasons I haven't done it on my own site yet :-/ . Not really a

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Rick Faircloth
Just one issue, Glen. With this code (changed to match my HTML. I'll rewrite that later), everything works perfectly, except that if I click on the same table (the 'table.clickme'), the row closes, then opens and closes again. $(document).ready(function(){

[jQuery] Re: showing / hiding divs based on location hash, proposed solution

2007-10-22 Thread d . wachss
That seems like a lot of work. Why not $(function(){ /* shorthand for $(document).ready(function(){ */ $('#aboutContent div').hide(); /* hide all div's */ $(location.hash).show(); /* the hash (with the # sign) is the same as the CSS selector for an ID (that's why it was chosen) */ } To

[jQuery] Re: How to count characters

2007-10-22 Thread Andy Matthews
If you just want a total (at any one point) of how many characters are in the field, then this should work: $('#id_Message').val().length; -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Johny Sent: Monday, October 22, 2007 12:25 PM To: jQuery

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
Could you post a URL of the page? Easier to debug that way. Glen On 10/22/07, Rick Faircloth [EMAIL PROTECTED] wrote: Just one issue, Glen. With this code (changed to match my HTML… I'll rewrite that later), everything works perfectly, except that if I click on the same table (the

[jQuery] Re: How to count characters

2007-10-22 Thread Karl Swedberg
On Oct 22, 2007, at 2:04 PM, Johny wrote: I have textarea id=id_Message class=vLargeTextField name=Message rows=8 cols=40/textarea how can I count numbers of characters that a user writes? Thank you B. Hi Johny, Let's say you have div id=foo/div below the textarea. You could do

[jQuery] Re: Align to bottom (Div)

2007-10-22 Thread Jeffrey Kretz
Would you be able to use a purely CSS solution, rather than a javascript one? Something like: http://www.scorpiontechnology.com/cobalt/floatbottom.htm Simulates a float:bottom type of style. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[jQuery] Re: showing / hiding divs based on location hash, proposed solution

2007-10-22 Thread d . wachss
Well, it could be shorter :) $(function(){ $('#aboutContent div').not(location.hash).hide(); }); Danny On Oct 22, 9:40 am, stef [EMAIL PROTECTED] wrote: i previously asked about a way to hide and show divs based on the location hash value. so if the url is domain.com/page.php#contact then

[jQuery] Flash 3 times?

2007-10-22 Thread MichaelEvangelista
I have a client who wants to have a photo load on the page, then 'blink' 3 times about 1 second apart. Either a blinking border or replacing the image with another image and back, or another method to draw attention to the image when the page loads (user is supposed to click image to initiate

[jQuery] setting value in iframe hidden var?

2007-10-22 Thread Jack Killpatrick
I've googled around and searched this list's history and found various discussions about how to set a value (in this case, in a hidden form field) inside of an iframe from the parent, but nothing so far seems to be making IE happy. I *don't* want to use the frameReady plugin and am looking

[jQuery] Re: Image expand plugin

2007-10-22 Thread Sean O
This is the best one I've ever seen -- 'HighSlide'. It's not jQuery, but it rocks: http://vikjavev.no/highslide/#examples Looks like the latest version can handle various content types like images, text, and flash. ___ SEAN O http://www.sean-o.com Txt.Vaska wrote: Bonjour:

[jQuery] Re: Strip library for certain functionality, possible?

2007-10-22 Thread Michael Geary
You basically just need to edit the code and take out everything you're not using. There's no magic for it. The easiest way to do this is by using a text editor that can automatically comment and uncomment blocks of code. Komodo Edit can do this; I would expect that TextMate and most decent

[jQuery] Re: jqGrid new version

2007-10-22 Thread Ryura
Thanks Tony. I realized I had forgotten to comment the JSON lines that needed to be commented, and also the Javascript was looking for server.php when it was really example.php. It seems to be working fine now! Great job on everything. This is by far one of the best jQuery plugins yet. I'm not

[jQuery] New to jQuery, question on accessing form elements in nested HTML documents

2007-10-22 Thread jmcintyre_jdg
I have a form that lives in its own HTML file. If I load the jQuery library into the page, I can assign click handlers to buttons on the form, no problem, by putting them in the $(document).ready function like this: $(document).ready(function(){ alert('document is ready'); // just seeing if

[jQuery] Ajax Galleries

2007-10-22 Thread www.rasimcoskun.com
http://www.rasimcoskun.com/ajax-galerileri İnternette, AJAX ile hazırlanmış binlerce uygulama mevcut. AJAX galerilerinde bu uygulamaların en güzellerini listelenmiş olarak bulabilmeniz mümkündür. Çünkü bu uygulamalar, bu galerilere özenle seçilmiş oluyorlar. Örneğin web siteniz için AJAX tekniği

[jQuery] .hover() issue

2007-10-22 Thread Shloime
Hi, I came across a weird situation. I would appreciate if someone can help me figure out a way to prevent this. Please see my sample page at http://www.rabbihorowitz.com/index_new2.cfm. The way this is supposed to work is that when you hover over the red column it animates and expands over the

[jQuery] Re: $.get content refresh

2007-10-22 Thread NicolasLeuenberger
thank you very much, this did the job! :-) cheers, nico On Oct 22, 11:16 am, Richard D. Worth [EMAIL PROTECTED] wrote: IE is using the cached version, since the URL hasn't changed. Try + 'nocache=' + Math.random() at the end of the URL. - Richard On 10/21/07, Nicolas Leuenberger [EMAIL

[jQuery] Re: New to jQuery, question on accessing form elements in nested HTML documents

2007-10-22 Thread Tobias Parent
I'd suggest looking at the LiveQuery jQuery plugin. It allows you, at a later time, to connect with dynamically-generated content and attach events to them. Regards! -Toby jmcintyre_jdg wrote: I have a form that lives in its own HTML file. If I load the jQuery library into the page, I can

[jQuery] Re: .hover() issue

2007-10-22 Thread Tobias Parent
Well, this isn't the prettiest way of doing it, and it isn't formatted to be a plugin, but this works: $(document).ready(function() { $(.HP_Column1).hover( expand, contract ); }); function expand() { $(.HP_Column1).unbind(hover);

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Rick Faircloth
Wish I could, Glen. This is a secure app, closed to the public. sorry. I'll be creating some public calendars, etc., with this technique later on, but haven't, yet. Anything you'd like for me to try? Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

[jQuery] Re: Flash 3 times?

2007-10-22 Thread Jeffrey Kretz
How about this: $(document).ready(function() { $('img').each(function(i) { // Get the image, set the count and an interval. var img = $(this); img[0].$count = 0; img[0].$interval = setInterval(function() { // Animate the opacity over .2 seconds

[jQuery] re[jQuery] place single word with image on the whole page

2007-10-22 Thread bjb
Hi, I'd like to replace a word in a text with an image, something like pthis is the logo/p with pthis is the /p any ideas? best regards Bernd -- View this message in context: http://www.nabble.com/replace-single-word-with-image-on-the-whole-page-tf4674239s27240.html#a13354510 Sent from

[jQuery] get(0)

2007-10-22 Thread Thierry
I'm new to jQuery and i cant figure out what this does: node.get(0).onreadystatechange = function () {

[jQuery] Mystery jquery attribute and behavior...

2007-10-22 Thread Deane
I'm using jquery to zebra-stripe some tables. On one page, the jquery consistently displays the same odd behavior. Here's my code: $(table.Data tr:even).addClass(EvenRow); On the first table on the page (the page has several), it applies the EvenRow class to the first eight rows (instead of

[jQuery] get(0)

2007-10-22 Thread Thierry
hey, im new to jquery, and im wondering what this does: this.node.get(this[0]).onreadystatechange = function () somehow, google groups missed my first post on this

[jQuery] ajax with two html input arrays

2007-10-22 Thread Cut
jQuery List, I have 2 form element arrays: input type=hidden name=rockno[] value=/* Changes based on rock id */ -and- input type=text name=units[] value=/* Changes based on selected rock */ The form's size changes at runtime, so the user can enter as many rocks as needed. Therefore, the size

[jQuery] Re: .hover() issue

2007-10-22 Thread Shloime
This doesn't remedy the problem. It just makes the animation work very slowly and after a long delay after it runs the initial animation correctly. On Oct 22, 5:51 pm, Tobias Parent [EMAIL PROTECTED] wrote: Well, this isn't the prettiest way of doing it, and it isn't formatted to be a plugin,

[jQuery] Multiple loads of page degrades performance(?)

2007-10-22 Thread Joel S
Hi all I'm fairly new to jQuery, but have been playing with it for a couple months. This is my first post here. I've got a page with a table where each cell has a div that gets reloaded using load(). Each page that gets loaded into its cell also needs to be able to reload -- preferably

[jQuery] Re: re[jQuery] place single word with image on the whole page

2007-10-22 Thread Duncan Heal
Hi Bernd You could do this with a variety of CSS techniques (hide the text and have a background image). In jQuery you could do something like this: $(document).ready(function() { $('#logo').html('img src=image.gif /'); }); You'd have to have an ID attached to the P. p id=logoText

[jQuery] Re: get(0)

2007-10-22 Thread John Resig
You've got me! What does that do? Where is it from? --John On 10/22/07, Thierry [EMAIL PROTECTED] wrote: hey, im new to jquery, and im wondering what this does: this.node.get(this[0]).onreadystatechange = function () somehow, google groups missed my first post on this

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
Ahh, I forgot to test that. It's fixed now. refresh. Glen On 10/22/07, Rick Faircloth [EMAIL PROTECTED] wrote: Wish I could, Glen. This is a secure app, closed to the public… sorry. I'll be creating some public calendars, etc., with this technique later on, but haven't, yet.

[jQuery] Re: Flash 3 times?

2007-10-22 Thread MichaelEvangelista
Ooh neat-o Thanks Jeffrey - I will try it! -- -- Michael Evangelista, Evangelista Design Web : www.mredesign.com Newsgroups: news://forums.mredesign.com Blog : www.miuaiga.com Jeffrey Kretz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How about this:

[jQuery] Re: get(0)

2007-10-22 Thread Dave Methvin
node.get(0).onreadystatechange = function () { It's setting an event handler for a readystatechange on the first DOM node in a jQuery object. If the element only has one DOM node, you should be able to do it this way as well using jQuery's .bind() method: node.bind(readystatechange, function()

[jQuery] Re: setting value in iframe hidden var?

2007-10-22 Thread Jack Killpatrick
Hmm, no takers on this one yet. Anyone? I would be happy also with simply knowing how the page in the iframe can get the id of it's parent iframe tag. Easier? Jquery or no jquery, either way is fine. - Jack Jack Killpatrick wrote: I've googled around and searched this list's history and

[jQuery] Re: jQuery.dequeue is not a function

2007-10-22 Thread Christiaan van Woudenberg
I've found a few places in the interface plugin libs where the old version of dequeue is used; they need to be replaced with the new calls to work. The old version took two arguments, the new version uses jQuery chainability. For example: On line 473 of ifx.js change :

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Rick Faircloth
Thanks, Glen. The code is working well in FF2, fairly well in IE7. I say fairly well, because when I click a table once, the div opens properly. When I click the table a second time, the details div closes properly once, then flashes open and closed very quickly. But again, this is

[jQuery] Re: Mystery jquery attribute and behavior...

2007-10-22 Thread John Resig
My guess: You're doing an Ajax call which is loading an HTML chunk that's also pulling in a fresh copy of jQuery and re-applying the even/odd styling. --John On 10/22/07, Deane [EMAIL PROTECTED] wrote: I'm using jquery to zebra-stripe some tables. On one page, the jquery consistently

[jQuery] Re: help - Mineral search program

2007-10-22 Thread Cut
So, I just used a standard ajax call with a response object instead of using jquery. This way, in my event function, I could do: div input calling button: request.onreadystatechange = function() {replaceInputElement(this);}; /div so that replaceInputElement gets a reference to the

[jQuery] Triggering a function when a user stops scrolling

2007-10-22 Thread Damien
Hey all, I've been trying to figure out how to trigger a function after a user stops scrolling. I was considering a time delay, but that doesn't seem to make sense for what I'm using this for (a long page of links). Here's a basic example of what I've got now: $(document).scroll(function(){

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
Does my demo do the bad behavior you are describing? It seems to work right for me in different browsers. Without seeing your html then it's kind of hard to debug. I gave a working demo, doing exactly what you described. Not sure what more I could say. My first guess is that there is a problem