Re: [jQuery] Superfish How-to?

2009-11-30 Thread Charlie
there's a Joomla plugin that will install superfish css, script, a substitute for supersubs and also i believe hover intent. The biggest issue that comes up on this board regarding superfish is from Joomla installs. The install works fine, but the existing menu css can conflict with superfish c

Re: [jQuery] get random record?

2009-11-30 Thread Charlie
link to different random functions depending on db http://www.petefreitag.com/item/466.cfm $getJSON and volia! Dave Maharaj :: WidePixels.com wrote: Has anyone come across a simple function that will get a random record from the db?   I just need to send a request every min or so to ge

Re: [jQuery] Validate: a question about the Remote option

2009-11-30 Thread Juan Ignacio Borda
hey..!!! you have to actually ECHO the result of your validation the remote method expects the response to be true or false. good luck! Original Message Hello everyone, I'm still dealing with that signup form. Now I'd like to check with an Ajax call if a login is already take

[jQuery] Changing the "Pager" navigation elements?

2009-11-30 Thread Josh
I have a gallery that uses the prev/next function with the pager navigation elements in between. What I would like to do is have the pager elements displayed as "4/15" (for example) rather than have fifteen different elements in a row with the fourth one displayed as being active. I understand that

Re: [jQuery] Best Practices or unobtrusive Javascript

2009-11-30 Thread Shawn
The blocking is an issue, but only if you end up loading more than XXX number of elements at a time. The specific number is browser dependent. I think I read somewhere that IE8 and FF3.5 will only load 4 items concurrently (CSS files, JS libraries, images, etc). So, the knee-jerk solution is

[jQuery] Re: jquery.form.js and uploading only files

2009-11-30 Thread RobL
I didn't find the solution I was after, however I approached it a different way. Instead of taking an existing form and removing elements, I built a new form and cloned the elements I needed and submitted it. If anyone can demonstrate a cleaner way to do this I'd be glad to see it. Cheers RobL

[jQuery] Re: Best Practices or unobtrusive Javascript

2009-11-30 Thread RobG
On Dec 1, 12:41 am, Scott Sauyet wrote: > On Nov 29, 8:21 pm, breadwild wrote: > > > I have seen several examples on jQuery plugin sites that have the > >

Re: [jQuery] jQuery expander won't work in Safari?

2009-11-30 Thread Karl Swedberg
It looks like you might be getting a JavaScript error due to a conflict between Mootools and jQuery. Not sure why it's happening in Safari, but not Firefox. This is the error that appears in Safari's error console: 53TypeError: Result of expression '($(filter)|| document).getElementsBySele

[jQuery] Re: Hide chat content

2009-11-30 Thread Scott Sauyet
On Nov 30, 11:00 am, Jerry Johnson wrote: > Ya, here is my problem. I know how to make the ajax call, and it all works, > but, I need to somehow connect the msg id from the mysql database to the > ajax call, so I need another div, that has the id. There are many ways to do this. One simple one i

Re: [jQuery] slideToggle Functions

2009-11-30 Thread Richard D. Worth
Each of the methods you mention accept (optionally) a single callback function as a final argument. Neither accept more than one. See: http://docs.jquery.com/Effects/toggle#speedcallback http://docs.jquery.com/Effects/slideToggle#speedcallback If you want to do something different in one case as

[jQuery] Using jQuery to total multiple sets of textboxes?

2009-11-30 Thread Equalizer700
I have some code that someone gave me that sums the contents of all textboxes with the class "additem, and puts the sum in the textbox with the class "totalitem". I am not a javascript or jQuery Guru by any means, but here it is: $(document).ready(function() { var total = 0; var i

[jQuery] Looking for term in JSON

2009-11-30 Thread Chad
What I have currently is once the page loads the wordStats goes out and counts the words and then it takes them and we use the most popular to pull information from a JSON file. The problem is that if it does not find the most popular word then it just gives off an error and I am not sure how to p

[jQuery] jQuery expander won't work in Safari?

2009-11-30 Thread trigramnorth
Hi, I'm using the code found here for jQuery expander: http://plugins.learningjquery.com/expander/ It seems to work fine in Firefox but not in Safari. Can anybody help me figure out why? Demo link: http://www.howtohostamurder.com/index.php?option=com_content&view=article&id=51

[jQuery] Re: Best Practices or unobtrusive Javascript

2009-11-30 Thread Scott Sauyet
On Nov 30, 10:32 am, Andre Polykanine wrote: > I prefer to put JS in header, also. But I read somewhere that there is > a bug dealing with an interference of PHP's $variables and jQuery > $-notation, so it's suggested to put the jQuery functions into the > body and not into the head section. Is it

[jQuery] Validate: a question about the Remote option

2009-11-30 Thread Andre Polykanine
Hello everyone, I'm still dealing with that signup form. Now I'd like to check with an Ajax call if a login is already taken. That's what I'm doing: $("#signup").validate( { rules: { ulogin: { required: true, // It's a custom method checking a regexp, it's working login: true, rangelength: [3,20]

[jQuery] get random record?

2009-11-30 Thread Dave Maharaj :: WidePixels.com
Has anyone come across a simple function that will get a random record from the db? I just need to send a request every min or so to get new content from the db and change the content. Pretty much like a banner rotator but used for random content. thanks, Dave

Re: [jQuery] Jquery specialist for hire

2009-11-30 Thread Jerry Johnson
I'll do it for $5. paypal: laces...@gmail.com email me at: jerryhost@gmail.com

Re: [jQuery] Jquery specialist for hire

2009-11-30 Thread Michael Geary
There was a pretty good example posted here a few days ago that may have all the code you need: http://groups.google.com/group/jquery-en/msg/546500f34de23d79 The problem that Darjana was asking about shouldn't apply in your case; just be sure to use the full absolute URL to your Server 2. You'll

[jQuery] slideToggle Functions

2009-11-30 Thread Gavin
I have a simple bit of jQuery that I just can't get working. $('#my-element').click(function(){ $('#list-element').slideToggle(function(){ $('#status-element').html('show artist index'); console.log('show');

[jQuery] superfish

2009-11-30 Thread jq
does anyone know how to make the text link color of a superfish menu remain highlighted when navigating to its submenus? I have a menu where you see the link text only (not the background). I can only get the list item background to remain onhover, but not the enclosed link color. Maybe this is

[jQuery] Re: Having trouble getting Superfish to work...

2009-11-30 Thread flashwood59
Hi, I would like to try superfish in a joomla template. I am new to this list. I need somebody to guide me through the procedures to get it working. a. Where do you create or copy files to in the site structure, root or template folder? b. When using hoverIntent, where do those files go? c. What c

[jQuery] Looking for Plugin

2009-11-30 Thread KevinM2k
Hi, I'm looking for a jQuery plugin that can do the same thing as this site: http://www.totalpropertyservices.co.uk/services.php you'll see near the top there are 4 images which when rollover an overlay pops up, but the image can (if wanted) also fade to others similar to the cycle plugin for jQ

[jQuery] Superfish How-to?

2009-11-30 Thread flashwood59
Hi, I would like to try superfish in a joomla template. I am new to this list. I need somebody to guide me through the procedures to get it working. a. Where do you create or copy files to in the site structure, root or template folder? b. When using hoverIntent, where do those files go? c. What c

Re: [jQuery] Re: Problem with plugins

2009-11-30 Thread Michael Geary
Could it be that you are also loading prototype.js or some other library that redefines the $() function? Does it find plugin methods if you use jQuery(...)... instead of $(...)...? Do the built-in jQuery methods show up? What does it display if you enter each of these lines into the Firebug con

[jQuery] Jquery specialist for hire

2009-11-30 Thread Bjorn Symister
I have posted on craigslist with no luck, so I will post here. I am seeking a specific jQuery solution. Please name your rate and I can pay through paypal. I needed this solution last week :) My Scenario, 2 Servers, 2 Scripts, 1 Form. Form collects Email addresses. This form is on Server 1: my

[jQuery] Re: Problem with plugins

2009-11-30 Thread Scott Sauyet
On Nov 30, 10:48 am, Paulodemoc wrote: > The plugins are being loaded. When I open the source code and click on > the js url, it opens alright > But when I call the command: > > $(selector).pluginFunction({options}); > > An error message appears saying that pluginFunction is not a > function..

Re: [jQuery] Re: Hide chat content

2009-11-30 Thread Jerry Johnson
Ya, here is my problem. I know how to make the ajax call, and it all works, but, I need to somehow connect the msg id from the mysql database to the ajax call, so I need another div, that has the id.

[jQuery] Re: Problem with plugins

2009-11-30 Thread Paulodemoc
The plugins are being loaded. When I open the source code and click on the js url, it opens alright But when I call the command: $(selector).pluginFunction({options}); An error message appears saying that pluginFunction is not a function... on ALL plugins... On Nov 27, 12:45 pm, Brett Ritter

Re: [jQuery] Re: Best Practices or unobtrusive Javascript

2009-11-30 Thread Andre Polykanine
Hello Scott and all, I prefer to put JS in header, also. But I read somewhere that there is a bug dealing with an interference of PHP's $variables and jQuery $-notation, so it's suggested to put the jQuery functions into the body and not into the head section. Is it true? -- With best regards fro

RE: [jQuery] Selector Help

2009-11-30 Thread Rick Faircloth
Good, practical formatting for understand “the chain”… From: Michael Geary [mailto:m...@mg.to] Sent: Monday, November 30, 2009 3:28 AM To: jquery-en@googlegroups.com Subject: Re: [jQuery] Selector Help That's a nice solution. Let's make it easier to follow with some indentation: $('a.

[jQuery] Re: jquery problems - please help - not a CODER - just an USER

2009-11-30 Thread Scott Sauyet
On Nov 30, 6:48 am, Escu wrote: > i got an wordpress theme (paid one) and it uses jquery. I got a plugin > (WP Ajax Edit Comments 3.1) that uses jquery too. The problem is that > both jquerys doesn't work together. When i disable one, the other one > is working. Any ideeas? Although it's possible

[jQuery] Re: How to text inside Tag of a Table?

2009-11-30 Thread Scott Sauyet
On Nov 30, 6:43 am, "SharepointMag [yb]" wrote: > var $elements = $('table'); > $elements.each(function(){ > // here i want to get the text inside the caption tag inside THIS element ... >  } var captionText = $("caption", this).text(); The second parameter to the "$" function is a context t

[jQuery] Re: Best Practices or unobtrusive Javascript

2009-11-30 Thread Scott Sauyet
On Nov 29, 8:21 pm, breadwild wrote: > I have seen several examples on jQuery plugin sites that have the >

[jQuery] Re: Superfish - Multiple Columns

2009-11-30 Thread Chris
On Nov 22, 11:25 am, Charlie wrote: > : simplest case -- you can put just about any element into an LI, , floating > your internal elements with 1/2 the width of the LI/UL they are in will make > 2columns > Chris wrote:How would you useSuperfishto make a dropdown menu that > containsmultipleco

[jQuery] How to text inside Tag of a Table?

2009-11-30 Thread SharepointMag [yb]
Hi, how can i the text inside a Tag of a table? I am iteration though elements with this code: var $elements = $('table'); $elements.each(function(){ // here i want to get the text inside the caption tag inside THIS element ... }

[jQuery] jquery problems - please help - not a CODER - just an USER

2009-11-30 Thread Escu
i got an wordpress theme (paid one) and it uses jquery. I got a plugin (WP Ajax Edit Comments 3.1) that uses jquery too. The problem is that both jquerys doesn't work together. When i disable one, the other one is working. Any ideeas?

[jQuery] jqgrid - pager in add inline form

2009-11-30 Thread CRL
Hi I'm trying to add next/prev buttons in the default add in form of a jqgrid. Do you have any idea or example to help me? I could add my own buttons, but I'd like to call the same function as framework to navigate... Thanks in advance. Cyril

[jQuery] JCarusel - contents of page have moved to the left

2009-11-30 Thread elena-bred...@yandex.ru
Forgive for my bad English I have established JCarusel on the site www.persona-city.ru. After that all contents of page have moved to the left. How it to correct? Elena

[jQuery] Validate plugin: insertAfter problem/question

2009-11-30 Thread Gian
I am using the jQuery Validation plugin in conjuction with the jqTransform plugin to style the form. I need to insert the error message after the "rowElem" div. I can do that, but the problem is that for each input field I get all the error messages form the other fields. Example: if I got 3 requi

[jQuery] Centering simple-modal in an iFrame

2009-11-30 Thread Christian
hi, we have a page A with an embedded iframe B (which is quite long, but most of the time the content only fills the part at the very top). Displaying a simple-modal centered in the iframe B results (obviously) in the modal being located in the non visible area. So we're wondering whether there is

[jQuery] Superfish vertical/arrow question

2009-11-30 Thread MozreplGuy
Hi all, I successfully included superfish into a joomla site (still on localhost). I use it in vertical mode. It works fine. But there is one thing that doesn't look very nice. Every menu with a sub menu has a sub-indicator '>>' (character 187, enabled by autoarrow flag). The indicator itself is

[jQuery] Re: Hide chat content

2009-11-30 Thread Scott Sauyet
On Nov 29, 3:26 pm, Jerry Johnson wrote: > ok, that worked, but now I need to make an ajax call... So go ahead and make one. :-) Or were you looking for more specific help? -- Scott

[jQuery] Re: Best Practices or unobtrusive Javascript

2009-11-30 Thread breadwild
Thanks, I did not know that. On Nov 30, 1:09 am, Rafał Pocztarski wrote: > 2009/11/30 breadwild : > > > I have seen several examples on jQuery plugin sites that have the > >

[jQuery] Re: Best Practices or unobtrusive Javascript

2009-11-30 Thread breadwild
Thank you. I'm not exactly doing Ajax, but I should have mentioned that when the page is loaded, user-admin time preferences for innerfade.js, for example, are selected from the database and populate template placeholder in the Javascript. So, it sounds like I will not be kicked out of the pool i

[jQuery] jQuery Validate and Dialog Confirm. submit() not working.

2009-11-30 Thread impact
I have a form that is being valdiated with jQuery validate plugin. On clicking submit, and after form has been succesfully validated, I want a dialog confirmation to appear, then on clicking OK, the form submits. See my code below. The Dialog opens fine. Dialog works fine, but the form does not

[jQuery] Re: jQuery Validate using input type=image

2009-11-30 Thread Rich
yep, all done thanks - setting background-color: transparent; was the key to getting it look perfect! Thanks for your help. Richard On Nov 30, 11:57 am, Jörn Zaefferer wrote: > Styling s is quite flexible. Start with border:none, the rest should > be easy. > > JörnOn Mon, Nov 30, 2009 at 12:51

Re: [jQuery] Re: jQuery Validate using input type=image

2009-11-30 Thread Jörn Zaefferer
Styling s is quite flexible. Start with border:none, the rest should be easy. Jörn On Mon, Nov 30, 2009 at 12:51 PM, Rich wrote: > Thanks that does pass the required value but I'll need to play around > with styling the button as I don't want the image to appear as an icon > and not as a button

[jQuery] Re: jQuery Validate using input type=image

2009-11-30 Thread Rich
Thanks that does pass the required value but I'll need to play around with styling the button as I don't want the image to appear as an icon and not as a button. Thanks On Nov 27, 5:20 pm, Jörn Zaefferer wrote: > The plugin handles that case, though only for type="submit". You could try > using

[jQuery] Re: jquery autosuggest with spinner

2009-11-30 Thread Christine Al-Thifairy
thanks Jörn, I did apply the style you have suggested in your reply and the spinner works now. cheers, Christine On Nov 30, 3:26 pm, Jörn Zaefferer wrote: > Try specifying a style for the loading class, which gets added to the input > whenever a request is pending: > > input.loading { backgro

[jQuery] Re: validation method not working in ie

2009-11-30 Thread hcvitto
Has anyone any clue for this? On Nov 27, 5:09 pm, hcvitto wrote: > Hi > i'm using the validation plugin on a form. I added three methods to > check that three select value are not equal but it doesn't work in ie. > here's the page > > http://www.fepgroup.it/community/registrati__.php > > Any idea

Re: [jQuery] fadeout doesn't work first time

2009-11-30 Thread Michel Belleville
I think your problem is nothing has the activetab class first, so $(".activetab") selects nothing, you don't start any fadeOut and the fadeIn() callback doesn't get called. Though I'm a bit puzzled as to how it works on the second and subsequent calls (as you don't give the activetab class to any e

Re: [jQuery] Scroll and select

2009-11-30 Thread Michel Belleville
First of all flash and php are 2 very different things (moreso than flash and javascript which are both client-side) because php is server-side. In fact many sites use both php and flash. Now if you wanna do something like that, you can put all your song names in a list ( with an for each line) a

Re: [jQuery] Selector Help

2009-11-30 Thread Michael Geary
That's a nice solution. Let's make it easier to follow with some indentation: $('a.filter').click(function() { $(this) .closest('ul') .children() .removeClass('active') .end() .end() .closest('li') .addClass('active')