[jQuery] Re: How to edit a portion of text

2009-12-16 Thread Virgil Spruit
The code isn't really semantic, which makes it difficult to get to the excerpt text. If you can't differentiate the excerpt from the content following by extra spans then there isn't a good way to catch your excerpt. On Dec 15, 5:49 pm, caruso_g peppecar...@gmail.com wrote: Hi Virgil, thanks a

[jQuery] Re: IE stops recurring ajax call

2009-12-16 Thread Henjo
Hi Scott, Could you post in a bit more detail what you had to change to get it to work in IE?  Searching these forums is a great way for people to solve their own problems. here is what I changed in order to get it to work in IE. Not working:

[jQuery] Re: Debugging in IE

2009-12-16 Thread Henjo
For anyone looking for the solution I found, please read the thread: http://groups.google.com/group/jquery-en/browse_thread/thread/2d570db96ed7f02a Henjo On Dec 15, 2:32 pm, Henjo henjohoek...@gmail.com wrote: Hi MorningZ, thanks for your thoughts. I didn't even think of that since it has

[jQuery] customize uplodify

2009-12-16 Thread David .Wu
http://www.uploadify.com/ This is the best jQuery upload plugin I ever used, I want to add one function when upload jQuery(queue).append('div id=' + jQuery(this).attr('id') + ID + ' class=uploadifyQueueItem\ input type=text / div class=cancel\ .

[jQuery] Urgent help with the validation plugin: no reaction onSubmit

2009-12-16 Thread Andre Polykanine
Hello everyone, There's a form I try to validate. As there is a Nickname field, I check with the Remote method if it's already used or not. I use a php file that forms a query to the MySql database asking if the nickname entered from keyboard is equal to the nickname I pass to the file (I get it

[jQuery] Re: How to programmatically ad a div element and animate it

2009-12-16 Thread Ham
Brian, thanks very much, really appreciate it. On Dec 16, 12:41 am, brian zijn.digi...@gmail.com wrote: Try this: function CreateNewElement() {         $('div id=div1test content/div')                 .appendTo('#contentContainer')                 .hide()                 .toggle('slow');

[jQuery] Re: running an onload code snippet only once

2009-12-16 Thread Richard KLINDA
No, I mean I now use window.onload as a workaround (instead of $(function(){})), it fires only once of course, but I did not like it because I can only use it once in the code. I did not know about $(window).load(func), thats very nice, thanks. Regarding 'Re: running an onload code snippet only

[jQuery] (validate) jQuery Validate + CKEditor

2009-12-16 Thread Rodolfo Pereira
When I use the jQuery Validate with the CKEditor, i need to submit the form twice for validate de textarea that use CKEditor. Why this happens?

[jQuery] Superfish

2009-12-16 Thread LAMF
I have a superfish menu for joomla and now I have a little problem configuring the colour options in the css for the menu. The URL for the demo site is here: [url]http://lmi.hymans.se/joomla[/url] What I only want to accomplish is to get the a:hover on the main menu row to be white #FFF not

[jQuery] superfish transparent PNG problem IE (8) when dropdown opens

2009-12-16 Thread troop
Hi Everyone! I encountered a really strange behavior of the superfish menu. It works like a charm an FF etc. but on IE 8 (couldn't test it with a lower one yet) the already transparent background of the content DIV gets a gradient transparency when the dropdown gets visible... i couldnt find the

[jQuery] Superfish - let the navigation fade in AND fade out

2009-12-16 Thread decola
I was searching for a plugin that makes me abel to make a dropdown navigation. I found Superfish and was really happy. But now i realized that then menuepoints fade in but just pop away if the mouse left them. I want that the menupoints fade out if the mouse leave them like on this page

[jQuery] Re: validate - error messages keep piling up

2009-12-16 Thread Mark Livingstone
anyone? :) On Dec 15, 12:37 pm, Mark Livingstone namematters...@msn.com wrote: Hi, Since I moved to a new design I cannot figure out how to stop the validate plug-in to append error messages and instead have it remove the previous error message before creating another one. here is what my

Re: [jQuery] Re: validate - error messages keep piling up

2009-12-16 Thread Jörn Zaefferer
Could you provide a full example, eg. via jsbin.com? Jörn On Wed, Dec 16, 2009 at 2:53 PM, Mark Livingstone namematters...@msn.comwrote: anyone? :) On Dec 15, 12:37 pm, Mark Livingstone namematters...@msn.com wrote: Hi, Since I moved to a new design I cannot figure out how to stop the

[jQuery] Re: Superfish

2009-12-16 Thread troop
Hi, the CSS comes from lmiab.css (line 69) : #horiz-menu li.sfHover a, #horiz-menu li.sfHover .separator { color:#00; } try to change that line, that should do the trick.

Re: [jQuery] Call from Javascript to jQuery javascript function

2009-12-16 Thread Richard D. Worth
On Tue, Dec 15, 2009 at 8:46 PM, brian zijn.digi...@gmail.com wrote: And, if you'd like callit() to be run only when the document is fully loaded, just wrap the call in another $(document).ready() block: script type=text/javascript $(document).ready(function() { // whatever

Re: [jQuery] Re: running an onload code snippet only once

2009-12-16 Thread Juan Ignacio Borda
try using: $(document).ready(function(){ ...your code here }); this is the JQuery way Original Message Those events window.onload, in jQuery, that would be $(window).load (...), should *not* be firing at any time other than when the document loads the first time...

Re: [jQuery] superfish transparent PNG problem IE (8) when dropdown opens

2009-12-16 Thread Charlie
there is nothing in script or css that does anything with images. Example doesn't have images in menu. troop wrote: Hi Everyone! I encountered a really strange behavior of the superfish menu. It works like a charm an FF etc. but on IE 8 (couldn't test it with a lower one yet) the already

Re: [jQuery] Viewport Scroll

2009-12-16 Thread Richard D. Worth
See http://flesler.blogspot.com/2007/10/jqueryscrollto.html - Richard On Tue, Dec 15, 2009 at 2:42 PM, Wroathe reallyto...@gmail.com wrote: Hi there! I'm using jQuery to load in some content from a separate page and I was wondering if there was a way to make the browser viewport scroll

[jQuery] Re: IE stops recurring ajax call

2009-12-16 Thread Scott Sauyet
On Dec 16, 4:14 am, Henjo henjohoek...@gmail.com wrote: here is what I changed in order to get it to work in IE. Not working: jQuery('#option1').hide('fast').next().show('fast').bind ('change',function(){ ... } Working: jQuery('#option1').hide('fast').next().show('fast');

[jQuery] Re: superfish transparent PNG problem IE (8) when dropdown opens

2009-12-16 Thread troop
did you look at the site with IE8? the menu doesnt contain images, the maincontent DIV does. and the transparent PNG of the DIV gets messed up somehow. I kinda solved it by setting: animation: {height:'show'} now there is no opacity change, and the background PNG of the content DIV stays as

[jQuery] Fullcalendar plugin one problem I cannot solve

2009-12-16 Thread cem
Hi ; I want to make a timeline with the plugin fullcalendar the example is in this address. http://cembaykam.com/timeline/examples/agenda-views.html And the code is in this address : http://pastebin.com/m37f7b433 How can i make the hour-chart disappear. All my events are all

[jQuery] Re: validate - error messages keep piling up

2009-12-16 Thread Mark Livingstone
Jörn , it's hard to extract the code and make it functional just for jsbin.com Basically, the validation plug-in APPENDS span element that contains the error message right after the input field. When another message appears, it appends it again instead of first removing the initial message. My

Re: [jQuery] Re: validate - error messages keep piling up

2009-12-16 Thread Jörn Zaefferer
At least post your full JS codes instead of just excerpts. Jörn On Wed, Dec 16, 2009 at 3:54 PM, Mark Livingstone namematters...@msn.comwrote: Jörn , it's hard to extract the code and make it functional just for jsbin.com Basically, the validation plug-in APPENDS span element that contains

Re: [jQuery] Re: superfish transparent PNG problem IE (8) when dropdown opens

2009-12-16 Thread Jonathan Vanherpe (T T NV)
troop wrote: did you look at the site with IE8? the menu doesnt contain images, the maincontent DIV does. and the transparent PNG of the DIV gets messed up somehow. I kinda solved it by setting: animation: {height:'show'} now there is no opacity change, and the background PNG of the content

[jQuery] (validate)

2009-12-16 Thread eimantas
Hi guys I'm having trouble with validation plugin from bassistance.de. I have custom handlers for errorPlacement, highlight and unhighlight events. I also have defined custom errorElement. Error messages and validation data is extracted via metadata plugin using html5 data-* attributes. The

[jQuery] Re: validate - error messages keep piling up

2009-12-16 Thread Mark Livingstone
On Dec 16, 9:59 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: At least post your full JS codes instead of just excerpts. Jörn http://jsbin.com/isuco/edit I can e-mail you the link to my working page if that will help. Unfortunately I cannot change it here.

Re: [jQuery] Re: running an onload code snippet only once

2009-12-16 Thread Michael Geary
$(document).ready( function() {} ) and $( function() {} ) are the same thing. The latter is just a shortcut to the former. If one is acting oddly, chances are that the other will too. Richard, $( function() {} ) should *never* call your function more than once. It definitely shouldn't call it

[jQuery] Re: validate - error messages keep piling up

2009-12-16 Thread Mark Livingstone
On Dec 16, 9:59 am, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: At least post your full JS codes instead of just excerpts. Jörn http://jsbin.com/isuco/edit I can e-mail you the link to my working page if that will help. Unfortunately I cannot share it here.

Re: [jQuery] Re: Debugging in IE

2009-12-16 Thread Michael Geary
I'm glad you fixed your problem, but I'm certain that the conclusion (IE has trouble with a chained ajax call) is wrong. In the code you posted in the other thread, the chained and non-chained versions are quite different. You didn't just cut the chain into parts: the non-chained version uses a

Re: [jQuery] Call from Javascript to jQuery javascript function

2009-12-16 Thread Michael Geary
In fact, within a single script tag, function definitions happen first, before any code in that script tag is executed. It would be perfectly valid to write: script type=text/javascript // will be run immediately, but *after* callit is defined callit(); // will be defined

Re: [jQuery] Fullcalendar plugin one problem I cannot solve

2009-12-16 Thread Carlos De Oliveira
All you need is carefully modify the plugin, you also need permisions from author, in a better way, try to add an option to show only day events... -- Carlos De Oliveira Departamento De Sistemas Consultor Senior 0426 517 73 01 0212 204 69 60 cdeolive...@grupozoom.com card...@gmail.com

Re: [jQuery] (validate)

2009-12-16 Thread Jörn Zaefferer
Without seeing any of your code is pure guesswork to help you find the issue. I need to see at least the code configuring the validation plugin. Jörn 2009/12/16 eimantas enc.c...@gmail.com Hi guys I'm having trouble with validation plugin from bassistance.de. I have custom handlers for

[jQuery] Weird jquery tags in TinyMCE

2009-12-16 Thread CoolCow
Hi, I'm having some weird behavior of jQuery in the TinyMCE editor. When i look at the html source generated by TinyMCE there are some jquery attributes in the p tags like this: p jquery1260970139908=85 jquery1260969953675=85 jquery1260966727344=85 jquery1260966326083=85 jquery1260966252684=85

[jQuery] google.load issue

2009-12-16 Thread speedpac...@gmail.com
Hi, For obvious reasons, we try using Google to load javascript libraries when we need them. We already used Prototype using google.load() function, and now we decided to add jQuery as well since we will be using some jQuery UI widgets to speed up development on a project (more specifically we

[jQuery] MultiFile Emulation

2009-12-16 Thread Mark
I'm trying to emulate the multifile plug-in (http://www.fyneworks.com/ jquery/multiple-file-upload/) with files stored on a server. This worked with the 1.24 version of the plug-in. I've upgraded to the 1.46 version and now it isn't working fully correctly. This is my relevant HTML: code html

[jQuery] tablesorter ajax help

2009-12-16 Thread tjones
Hello, I'm totally new to using Tablesorter, for the most part. I have used it for static content and it's worked great. The problem I'm running in to is I would like to use a popup menu to choose which table to display but the sorting does not seem to work. It displays the table but I cant sort

Re: [jQuery] Re: validate - error messages keep piling up

2009-12-16 Thread Jörn Zaefferer
You have three classes specified for the errorClass. The plugin can't handle that. If you actually need more then one class, use the highlight and unhighlight options to add and remove those. Jörn On Wed, Dec 16, 2009 at 4:43 PM, Mark Livingstone namematters...@msn.comwrote: On Dec 16, 9:59

[jQuery] cycle plugin to rotate css background images - how please

2009-12-16 Thread melissa
how can i apply the simple fade example for the jquery cycle plugin to be used on a background image - instead of divs of images? i'm a complete novice at jquery and i'm building the site in drupal so i need some step by step if possible.

[jQuery] ie 7 and 8 not rendering animation

2009-12-16 Thread el_bob
anybody ever run into a problem where animation doesn't render? weird thing is, it works just fine in ie6. the animation actually runs, i've thrown some alerts in there to make sure it works, but the animation itself does not render. and it's only in a modal, all other animations on the page

Re: [jQuery] Call from Javascript to jQuery javascript function

2009-12-16 Thread brian
On Wed, Dec 16, 2009 at 9:17 AM, Richard D. Worth rdwo...@gmail.com wrote: No need to add another block. As you pointed out earlier, the document ready won't run until later. By the time it does, the callit function will have been defined: That's true, but I left it as 2 blocks because Wendi

Re: [jQuery] Call from Javascript to jQuery javascript function

2009-12-16 Thread brian
On Wed, Dec 16, 2009 at 11:14 AM, Michael Geary m...@mg.to wrote: In fact, within a single script tag, function definitions happen first, before any code in that script tag is executed. That's an excellent point. I was busy thinking about deferred execution and forgot about that.

Re: [jQuery] Urgent help with the validation plugin: no reaction onSubmit

2009-12-16 Thread brian
You might need to post some code. Are you using the submitHandler option at all? On Wed, Dec 16, 2009 at 7:06 AM, Andre Polykanine an...@oire.org wrote: Hello everyone, There's a form I try to validate. As there is a Nickname field, I check with the Remote method if it's already used or not.

[jQuery] jQuery ajaxStart() Event Handler

2009-12-16 Thread Mark
I have two Ajax methods in a page. The first handles the loading of html content in response to a user 'click' event, the second in response to a form submission. I want to have a 'loading...' message appear for the form submission but not the html load. But when I fire the html load event, the

[jQuery] [Masked Input] Variable length fields / inner padding

2009-12-16 Thread Brett Ritter
I have a set of odd requests from my users: The first request is that we have a date field: mm/dd/, BUT we accept short dates and pad appropriately with 0: 1/1/2009 becomes 01/01/2009. Checking for these cases server-side is easy enough, but I'd really like to provide some friendly masking

[jQuery] more ckeditor

2009-12-16 Thread Mean Mike
I can't seem to get anything out of the new jquery ckeditor plugin I can have it load a an editor no problem but I need to do more than just that a good starting point would be for me to be able to something like var foo = $.ckeditor.instances['textarea:#fck'].getData(); that would be a good

[jQuery] Re: more ckeditor

2009-12-16 Thread Scott Sauyet
On Dec 16, 2:10 pm, Mean Mike mcgra...@gmail.com wrote: I can't seem to get anything out of the new jquery ckeditor plugin I can have it load a an editor no problem but I need to do more than just that a good starting point would be for me to be able to something like var foo =

[jQuery] Re: more ckeditor

2009-12-16 Thread Mean Mike
maybe I have something setup wrong but every time I run that I get an js error CKEDITOR is not defined on line 32 of jquery.CKEditor.js On Dec 16, 2:44 pm, Scott Sauyet scott.sau...@gmail.com wrote: On Dec 16, 2:10 pm, Mean Mike mcgra...@gmail.com wrote: I can't seem to get anything out of

Re[2]: [jQuery] Urgent help with the validation plugin: no reaction onSubmit

2009-12-16 Thread Andre Polykanine
Hello brian and all, Not yet. And if I need to, how would I send the request to the PHP file? Can I do that only via standard $.ajax/$.post functions? thanks! -- With best regards from Ukraine, Andre Skype: Francophile; WlmMSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo!

[jQuery] Re: AJAX POST listener

2009-12-16 Thread Justin
Thanks Charlie Unfortunately, while the code managed to trigger on the first load of the page. Subsequent AJAX/POST calls from within the same page wouldn't be triggered. Any way to combine this with a 'live' function? On Dec 11, 9:53 pm, Charlie charlie...@gmail.com wrote: when in doubt the

[jQuery] Re: more ckeditor

2009-12-16 Thread Scott Sauyet
On Dec 16, 2:57 pm, Mean Mike mcgra...@gmail.com wrote: maybe I have something setup wrong but every time I run that I get an js error CKEDITOR is not defined on line 32 of jquery.CKEditor.js Have you done this?: $.ckeditor.config = {path: '/path/to/ckeditor/directory/', height: 300 }; It

[jQuery] Re: very simple jQuery not working

2009-12-16 Thread Brett Alton
I was looking for .keyup() not .change(), sorry. Please ignore. On Dec 16, 3:37 pm, Brett Alton brett.jr.al...@gmail.com wrote: html         head                 script type=text/javascript src=http://ajax.googleapis.com/ajax/ libs/jquery/1.3.2/jquery.min.js charset=utf-8/script        

[jQuery] Re: more ckeditor

2009-12-16 Thread Mean Mike
Scott, thanks for your replies I did get this to work $('#test').click(function(){ alert($.ckeditor.instance(fck).getData()); }); fck i the id of the textarea I'm using now this works because by

[jQuery] How to compare data in 2 jQuery data() elements

2009-12-16 Thread discern
When the document.ready fires, this data gets set (simplified for example purposes): [code] function getFields() { var s = { field1 : $(#field1).val(), field2 : $(#field2).val(), field3 : $(#field3).val() } return s; $(#original_data).data(fields,getFields()); [/code] Then, when someone

[jQuery] How to compare data in 2 jQuery data() elements

2009-12-16 Thread discern
When the document.ready fires, this data gets set (simplified for example purposes): function getFields() { var s = { field1 : $(#field1).val(), field2 : $(#field2).val(), field3 : $(#field3).val() } return s; } $(#original-fields).data(fields,getFields()); Then, when someone blurs a

[jQuery] Re: more ckeditor

2009-12-16 Thread Scott Sauyet
On Dec 16, 4:07 pm, Mean Mike mcgra...@gmail.com wrote: now this works because by the time i press the button the ckeditor is load so now I'm trying to figure out when it is load so I can apply things to it once its loaded rather than have a user click a button. Man, there is a lot of

[jQuery] Styling dynamic content

2009-12-16 Thread Jason Kaczmarsky
So I've created a little app which loads some filenames into a div via an AJAX query. This happens when a user clicks a button, not when the page loads. Because of this, I cannot style the filenames how I want. I've tried using CSS to do the trick: .file{ color: #F00; } .file:hover{

[jQuery] jquery and shtml - 2 problems

2009-12-16 Thread Allyson Woodrooffe
I am having trouble getting a tabbed content pane to run a jquery slideshow. It appears that jquery might not like the shtml extension (which we currently use on our site to include headers, footers etc) The example of it not working is at:

[jQuery] Re: jquery and shtml - 2 problems

2009-12-16 Thread Scott Sauyet
On Dec 16, 2:28 pm, Allyson Woodrooffe allys...@interwood.com wrote: It appears that jquery might not like the shtml extension (which we   currently use on our site to include headers, footers etc) That's not it. jQuery doesn't care about the page url at all. But you are serving up very

[jQuery] Re: How to compare data in 2 jQuery data() elements

2009-12-16 Thread Dave Methvin
 var o = $(#original-fields), n = $(#new-fields);  if (o != n) { // -- BRICK WALL   someAJAXFunctionThatSavesTheFieldsThatChanged();  } How can I compare the #original-fields data with the #new-fields data?  As it is, the two always differ; I assume this is because they are different

RE: [jQuery] Styling dynamic content

2009-12-16 Thread Smith, Allex
The browser should render all the styles no matter when they enter. Are you sure that the class is assigned to those elements? I would make sure by peeking at the rendered html via Firebug. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf

[jQuery] Re: jQuery ajaxStart() Event Handler

2009-12-16 Thread Mark
Actually scratch that - it was staring me right in the face... For anyone else who is interested, use: $.ajax({ type: 'POST', url: , beforeSend: function () { // show load message }, success: function (msg) { // message to display on success }, error:

[jQuery] traversal question for IE6 and IE7

2009-12-16 Thread cewing
Hi all, I've got a bit of HTML with the following structure: div id=foo dl dt / div id=bar dt / dd / dt / dd id=baz/ /div /dl /div in IE6 and IE7 $(dd#baz).parents() returns an object with 2 nodes in it, the dl and div#foo. it does not contain div#bar.

[jQuery] Re: Styling dynamic content

2009-12-16 Thread Jason Kaczmarsky
Yes, I am sure they are the correct class and are showing up properly. Button press: //loop $(#files).append('div class=file'+Files[i]+'/div'); //end loop Firebug: div id=files style=display: block; div class=filework.txt/div div class=fileSAS Guide.txt/div /div On Dec 16, 7:43 pm, Smith, Allex

Re: [jQuery] google.load issue

2009-12-16 Thread Michael Geary
Put your lines of code in separate script tags. google.load() uses document.write() to write a script tag into the document. This script tag is not executed until the current script tag exits. So your jQuery.noConflict() call is being executed before jQuery is loaded. If you break up the script

[jQuery] Re: superfish transparent PNG problem IE (8) when dropdown opens

2009-12-16 Thread BRAZ
IE8 and IE6 or below do not play well with PNG as I have found out recently. To fix issues with IE8 try putting this in the head tag: meta http-equiv=X-UA-Compatible content=IE=EmulateIE7 /

[jQuery] Tablesorterpager problem not paging after sorting column...and filter problem as well

2009-12-16 Thread Rone
Need some help here from others who are more experienced. I'm new to Jquery so please forgive me if this is a basic question. Problem #1 (Pagination): I have multiple tables that get displayed via ajax using jquery. Each of those tables uses the tablesorter functionality which works fine on all