[jQuery] Re: can you perhaps tell why this page doesnt show in firefox?

2008-11-22 Thread Daniel
my firefox display it normally. Can you indicate which part is not displayed correctly in firefox ? Daniel. On Nov 22, 5:46 am, Rene Veerman [EMAIL PROTECTED] wrote: This page displays fine in IE, opera and safari. But not in firefox :( http://tevlar.net/mytevlar/ any clues greatly

[jQuery] Re: Simple Validate if empty

2008-11-22 Thread Daniel
if($('#term').val() == ){ alert(empty); //do something }else{ alert($('#term').val()); //do something } On Nov 22, 3:32 am, coughlinsmyalias [EMAIL PROTECTED] wrote: Hey, I have been trying to look for a simple way to validate one field, if its empty then do X, how would I check? I

[jQuery] Re: jquery for slideshows

2008-11-22 Thread Tolis Christomanos
Hello, Is it possible with this plugin to have .swf or .flv in your slides or it supports only images? On Sat, Nov 22, 2008 at 4:50 AM, Sai Krishna [EMAIL PROTECTED]wrote: I found this through stumble. Thanks to Jquery. It reduces flash cost

[jQuery] Superfish: Can't make the shadow and animation work

2008-11-22 Thread conticreative
I am using Superfish vertical in a Joomla site and while it is working quite well as a vertical menu, the animation and the drop shadow just don;t work.I have tried just about anything and I have used the initialization from several examples without anything ever changing. I modified the CSS

[jQuery] How does this find the first child?

2008-11-22 Thread BKahuna
I'm working my way through understanding the Master/Detail, AJAX enabled, accordion style control presented here: http://mosesofegypt.net/post/2008/04/GridView-Grouping-Master-Detail-Drill-Down-Using-jQuery-AJAX.aspx The following code has me confused (I've only included a couple lines of the

[jQuery] Data type issue in table sorter

2008-11-22 Thread hyon
Hi, I am using table sorter, and I have some problems... There are 10 rows in my table and each of them has a value such as text, number, and a number with decimal point. I think the table sorter decides the data type of each column based on the first column in the first row. So, if the value of

[jQuery] Cascade Plugin IE6 bug

2008-11-22 Thread Bernard
Hi all, the First Option demo doesn't work on IE6. It never selects the first option, and it displays a Javascript error message : Impossible to define the selected property. Index not valid It seems the target select list is not loaded, but I don't understand why ? Any idea ? Thank you,

[jQuery] Trouble in Table sorter

2008-11-22 Thread hyon
Hi, I am using table sorter for sorting my table. My table has a numeric value like 0, 1.5, etc. and it also has text like 'No data available'. When desc sorting, it generated 1.5, 0, and No data~~, but when asc order, it generated 0, No Data~~, 1.5. Anybody knows the reason? If so, please show

[jQuery] Re: Tablesorter pager and ajax

2008-11-22 Thread led
$('#foo').click(function() { $('#centro').empty(); $('#centro').hide(); $('#centro').fadeIn(3000).load('results_casa_mes.asp',{ nm_mes: document.getElementById('teste4').value, pessoas: document.getElementById('pessoas').value, tipo: document.getElementById ('tipo').value, localidade:

[jQuery] Re: Tablesorter pager and ajax

2008-11-22 Thread led
$('#foo').click(function() { $('#centro').empty(); $('#centro').hide(); $('#centro').fadeIn(3000).load('results_casa_mes.asp',{ nm_mes: document.getElementById('teste4').value, pessoas: document.getElementById('pessoas').value, tipo: document.getElementById ('tipo').value, localidade:

[jQuery] Re: Tablesorter pager and ajax

2008-11-22 Thread Balazs Endresz
You triggered the update before the data loaded, you have to do that in a function as the third argument: $('#foo').click(function() { $('#centro').empty(); $('#centro').hide(); $('#centro').fadeIn(3000).load('results_casa_mes.asp', { nm_mes: $('#teste4').val(),

[jQuery] Re: How to memorize a class change?

2008-11-22 Thread Rik Lomas
You could use the $.data() function to store any data when adding/removing classes: http://docs.jquery.com/Internals/jQuery.data Rik 2008/11/22 lukas [EMAIL PROTECTED]: I am removingadding a class to a DIV. What is the best way to memorize this change for the application before it is

[jQuery] Re: How does this find the first child?

2008-11-22 Thread Rik Lomas
As the $(master).children()[0] is a Javascript object, rather than a jQuery object, the src is referring to the attribute 'src', so in this case, it's the file path of the image Rik 2008/11/22 BKahuna [EMAIL PROTECTED]: I'm working my way through understanding the Master/Detail, AJAX

[jQuery] Re: smoother .animate()?

2008-11-22 Thread Balazs Endresz
I fear it won't help much but you can try caching some values outside the event handler: var mx=$(window).width(), my=$(window).height(), $k=$('#k'); Also, you set the duration in the wrong place, that should be in the second argument:

[jQuery] Re: jQuery front page example (the 'run code' example)

2008-11-22 Thread Richard W
It would be great to some feedback. I find it hard to believe I'm the only person who has an eye, or even cares, for detail. On Nov 20, 9:26 pm, Richard W [EMAIL PROTECTED] wrote: Why doesn't the little snippet of jQuery code on the homepage use a betterexample? When you run the code, it

[jQuery] when document.location.hash also activate the class inside of A

2008-11-22 Thread Mr.Ilia
I have index.html#members_kihon_image10 . When I enter it in URL it perfectly loads what I need. What I can't do is to also make a class selected inside of a tag on hash click? here is html div class=cur style=position:absolute; width:94px; height: 58px;a href=#members_kihon_image10

[jQuery] Higlight a div on mouseover/mouseout

2008-11-22 Thread Johan Fredriksson
Hi! I just started to play with jQuery and have loads to learn but I try to get i div to highlight it's borders when i hover with the mouse over it ( like 2px and dark blue). But, no matter what I try, it will not highlight itself! Div should be selected by name and not by class name. Any

[jQuery] Re: function is not a valid function

2008-11-22 Thread flycast
Answer: This site is hosted at GoDaddy.com - NOT by my choice! The DNS is hosted outside GoDaddy. If the A record is not pointed to GoDaddy then GoDaddy uses something they call previewdns.com. Previewdns.com adds stylesheets, html and js code to the end of the source code of every page that

[jQuery] Re: Resize an element without affecting the layout

2008-11-22 Thread ricardobeat
The problem is if you hover the upper part of the image, you move it away from under the cursor, firing the mouseleave, and during the animation it goes back under the cursor firing mouseenter. Make sure the image is still under the hovered position during all effects. - ricardo On Nov 21, 8:07 

[jQuery] Re: event delegation - great, but how does one trigger the handlers through code?

2008-11-22 Thread ricardobeat
Can't you just $('tbody td:eq(x)').click() ? The event should propagate as normal and reach the tbody. I guess. On Nov 22, 1:11 am, Leeoniya [EMAIL PROTECTED] wrote: During event delegation, handlers are registered higher in the DOM tree and then filtered when the event is triggered. This is

[jQuery] Re: exclude children from selected elements

2008-11-22 Thread ricardobeat
Thanks! Unfortunately I still work in a jQuery-less environment, but that's changing :) cheers, - ricardo On Nov 22, 2:14 am, Karl Swedberg [EMAIL PROTECTED] wrote: One very minor note: you don't need to do this:         var elm = e.target || e.srcElement; this is fine:         var elm =

[jQuery] Re: How to memorize a class change?

2008-11-22 Thread donb
What does .data() store, how long does it persist and where in the DOM does it get stored? The doc page makes no mention beyond it stores and retrieves. Looking at jquery.js sheds no light on it (for me) either. Doesn't appear to be in a cookie. On Nov 22, 6:58 am, Rik Lomas [EMAIL PROTECTED]

[jQuery] Re: Tablesorter pager and ajax

2008-11-22 Thread led
Please look at http://realferias.com/pager.asp . When the table is in a file that is loaded, the tablesorter and the pager fails. i?m using the $(table).trigger(update); but nothing. On Nov 22, 11:03 am, Balazs Endresz [EMAIL PROTECTED] wrote: You triggered the update before the data loaded,

[jQuery] Re: How to memorize a class change?

2008-11-22 Thread Rik Lomas
I believe the data is stored in the jQuery object itself, under jQuery.cache, so it would persist for just that page load, if you want to store data in a cookie you can use the jQuery cookie plugin: http://plugins.jquery.com/project/cookie Rik 2008/11/22 donb [EMAIL PROTECTED]: What does

[jQuery] Re: jquery for slideshows

2008-11-22 Thread Milan Andric
Thanks Sia, Do you have any recommendation on how to handle audio with javascript? Let's say I also want to play an audio/mp3 file along with the slideshow ... -- Milan On Nov 21, 8:50 pm, Sai Krishna [EMAIL PROTECTED] wrote: I found this through stumble. Thanks to Jquery. It reduces flash

[jQuery] Remove comma

2008-11-22 Thread shapper
Hello, I have the following code: $levels = $('input[name=Levels]:checked + label'); levels = $levels.map(function() { return $(this).text(); }).get(); $theme.append(levels.join(, )).append('br /'); How can I replace the last comma in levels by and ? I tried: levels.join(, ).replace(/,

[jQuery] Error in IE concerning Superfish

2008-11-22 Thread chadritchie
I am new to using jquery and plug-ins. I am receiving a few different errors in IE 7. jQuery is not defined and I think a problem with the SuperFish drop- down. The web address is hickorygymnastics.com Thank you in advance for your help, Chad

[jQuery] Re: Cascade Plugin IE6 bug

2008-11-22 Thread AlexGrande.com
take a stand and stop supporting ie6. On Nov 22, 11:37 am, Bernard [EMAIL PROTECTED] wrote: Hi all,  the First Option demo doesn't work on IE6. It never selects the first option, and it displays a Javascript error message : Impossible to define the selected property. Index not valid It

[jQuery] Multiple Autocomplete

2008-11-22 Thread iandotcom
Hey, I got this setup going on where the user can add multiple autocomplete boxes onto the page. I got a problem though, I need to return the ID of the selected user so I can use it with the PHP backend, but when a new row is made, all the ID values are changed to the latest autocomplete field.

[jQuery] Re: Remove comma

2008-11-22 Thread ricardobeat
I'm not very good with regexes but this should do, just make sure you always have a space after the comma: levels.join(',').replace(/(\,)(.[^,]*)$/,' and$2') I'm sure someone else can come up with a much more elegant expression! - ricardo On Nov 22, 3:10 pm, shapper [EMAIL PROTECTED] wrote:

[jQuery] Back Button

2008-11-22 Thread OhNoMrBill
Here is the scenario I am trying to deal with currently: I have a link that looks like: a href=# onClick=$.Content_Home();Some Link/a All the url links in this site look like this...onclick overrides. What I need to do is ensure that when a user clicks back, the actual prior jQuery function

[jQuery] Re: when document.location.hash also activate the class inside of A

2008-11-22 Thread ricardobeat
All that inline styling and javascript just makes it all harder to figure out... Why are you splitting the hash if it's exactly equal to the href? And what do you mean by activate the class? Add it to the element? Theretically this should be enough: $(document).ready(function(){ var hash =

[jQuery] Re: Higlight a div on mouseover/mouseout

2008-11-22 Thread ricardobeat
1. use the ID attribute, DIVs don't have a name attribute 2. you can do that with CSS only as below: #test:hover { border:2px solid blue } div id=testsomething/div an IE safe version: #test:hover div { border:2px solid blue } a href=# id=testdivsomething/div/a with jQuery: $('#test').hover(

[jQuery] Re: How to memorize a class change?

2008-11-22 Thread lukas
Thank you Rik, I just found it, it works well! On Nov 22, 11:29 am, Rik Lomas [EMAIL PROTECTED] wrote: I believe the data is stored in the jQuery object itself, under jQuery.cache, so it would persist for just that page load, if you want to store data in a cookie you can use the jQuery cookie

[jQuery] Re: SFBrowser updated to 2.5.1

2008-11-22 Thread Sjeiti
Strange why the include_once doesn't work on your machine. Just to be sure I changed the include_once to simply include (theoretically that shouldn't make any difference in this case, but you never know). I also fixed the IE bug (deleted a comma from the json).

[jQuery] Re: Remove comma

2008-11-22 Thread Michael Geary
I suggest not trying to use a regular expression at all, but just some straight-up array manipulation. It makes it easier to handle all the special cases involved here. Paste this code into the multiline Firebug console (orange up arrow in the bottom right of the Firebug panel) and hit

[jQuery] jquery in asp.net

2008-11-22 Thread lszk
I have a code in asp.net: body form id=form1 runat=server div id=container div id=login div class=window table tr td Login: /td td

[jQuery] jQuery with my shop hhG -Multistore Problem

2008-11-22 Thread cipao
Hello, i have a shop system from HHG-Multistore and i have installed a pciture tickbox for the product images to slighting, because the tickbox slight image function very well with jQuery.js but i have only one problem when a user visit my shop and he select as language english and add products

[jQuery] jquery in asp.net

2008-11-22 Thread lszk
I have a code in asp.net: body form id=form1 runat=server div id=container div id=login div class=window table tr td Login: /td td

[jQuery] Re: Remove comma

2008-11-22 Thread shapper
Hi, I tried to use as follows: $theme.append(commasAnd(levels.join(,))).append('br /'); I get an error. This is the message I got in Firebug: first.join is not a function commasAnd(London,Lisbon)Base.js (line 24) (?)()()Account.js (line 86) handle()()JQuery%2...1.2.6).js (line 2093)

[jQuery] Re: Simple Validate if empty

2008-11-22 Thread coughlinsmyalias
Hey Daniel, Thank you for that, just what I needed. Ryan On Nov 22, 4:26 am, Daniel [EMAIL PROTECTED] wrote: if($('#term').val() == ){   alert(empty);   //do something}else{   alert($('#term').val());   //do something } On Nov 22, 3:32 am, coughlinsmyalias [EMAIL PROTECTED] wrote:

[jQuery] Re: Remove comma

2008-11-22 Thread Michael Geary
The commasAnd() function I wrote takes an array argument. You're passing it levels.join(,) - which is a string, not an array. Don't do the .join() yourself - commasAnd() does that for you. Also you can simplify your code by doing a single .append() instead of two: $theme.append(

[jQuery] Same effect for multiple classes

2008-11-22 Thread coughlinsmyalias
Hey, I am trying to create something similar to an Accordion effect using jQuery but some some modifications. I have a ul with a bunch of elements inside (li). When you click say a link within the li slide a div down to reveal a quick description about the post. The part I am stuck at is, how do

[jQuery] Another jQuery Quicksearch Plugin question

2008-11-22 Thread russellneufeld
Hi all, Just learned about the quicksearch plugin from a couple of posts yesterday. Very cool. Thanks for writing and sharing it. I have a table which is filled in periodically from some asynchronous calls. That is, when the page initially loads, the table is empty. As search results

[jQuery] Slider bugs

2008-11-22 Thread zed
Hi, i recently installed another slider on a site and tried something new by having the slider span the entire width of the window instead of being contained in a box with no overflow. There seems to be some weird bugs now and I was hoping one of the gurus out there could give me a hand in

[jQuery] Re: event delegation - great, but how does one trigger the handlers through code?

2008-11-22 Thread Jeffrey Kretz
I pretty sure it won't, because click() will fire trigger(), which will use data() to lookup the bound event of the selected element, and not find anything. Haven't tested this though. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[jQuery] Re: jquery in asp.net

2008-11-22 Thread George
A. JQuery always run on a client side. It has nothing to do with C# or VB.NET. So no wonder that compiler gives you an error it simply does not know what $(...) is. B. You need to add to your page script $('input#%=tbLogin.ClientId%).focus(); /script The actuall ID of the tbLogin might be

[jQuery] Re: Remove comma

2008-11-22 Thread shapper
Thank You Michael. It is working fine. Thanks. On Nov 22, 8:44 pm, Michael Geary [EMAIL PROTECTED] wrote: The commasAnd() function I wrote takes an array argument. You're passing it levels.join(,) - which is a string, not an array. Don't do the .join() yourself - commasAnd() does that for

[jQuery] Re: dynamic tree / treeview

2008-11-22 Thread Bhavin
Anybody can guide me on this? On Nov 21, 12:55 am, Bhavin [EMAIL PROTECTED] wrote: Hi I am using jquery to createtreestructure type of functionality dynamically. I have to add nodes by opening dialog and save it into the database. Once response is returned then I need to show it on the

[jQuery] how do you get a div from an ajax form return?

2008-11-22 Thread davidgregan
I'm using the jquery forms plugin for an ajax request and update. I set the target option to the desired div that I want to update. The problem that I'm running into is that it will update the div with the contents of the entire page rather than the just the contents of that div. I'd like to do

[jQuery] Get Selected Value in DropDown

2008-11-22 Thread Westside
Hi, I am new to jquery and had a basic question but I couldn't find out how to do this in the API. How can I get the value in a drop down menu. Using prototype you can do $F('someId'); How can I do this in jquery? Thanks, -Westside

[jQuery] Re: dynamic tree / treeview

2008-11-22 Thread Jeffrey Kretz
I'm not 100% I understood your question, but I'll give it a shot. I have a dynamically rendered TreeView that is showing a page hierarchy, parent and child. There is an option to add/remove pages, as well as drag them around. Because I need the id of the page and its parent, I render it in the

[jQuery] animate problem with IE7

2008-11-22 Thread ^AndreA^
Hi all, I'm working on a slideshow/carousel: http://www.lesperimento.netsons.org/various/my_carousel/ It's works fine except than in IE7/6 (basically as usual... ;-) ) It's weird also because the next button/arrow works well under IE but NOT the prev button/arrow; and that's the problem. I

[jQuery] Re: animate problem with IE7

2008-11-22 Thread Jeffrey Kretz
I watched the animation with the IE developer toolbar, and noticed a couple of oddities. Firstly, the CSS for the divs are set to both position:absolute and float:left. This is not the source of the problem (I overwrite to float:none and tried it), but float:left is unnecessary if with absolute

[jQuery] Re: animate problem with IE7

2008-11-22 Thread ^AndreA^
Hi Jeffrey, thanks. I deleted the float: left;, i didn't know was useless with position:absolute; Anyway, I noted the strange behaviour of the li elements too. I uploaded jQuery unpacked... if you still want to have a look... ;-) BTW, there could be something wrong with

[jQuery] Re: Submitting the submit input value

2008-11-22 Thread Phil Haack
I was combining the ajax form plugin with the ajax validation plugin, which is why I need to call ajaxSubmit. I wrote up the details here: http://haacked.com/archive/2008/11/21/combining-jquery-form-validation-and-ajax-submission-with-asp.net.aspx The workaround I did was simply to add a

[jQuery] Re: Get Selected Value in DropDown

2008-11-22 Thread DumpsterDoggy
This gives you the current value of the drop down, if the drop down has an ID of someId. $(#someId).val(); On Nov 22, 3:44 pm, Westside [EMAIL PROTECTED] wrote: Hi, I am new to jquery and had a basic question but I couldn't find out how to do this in the API.  How can I get the value in a

[jQuery] Re: event delegation - great, but how does one trigger the handlers through code?

2008-11-22 Thread ricardobeat
You're right, it doesn't work. Maybe NW Events could help here: http://code.google.com/p/nwevents/ It's an event manager and it can fire/propagate 'fake' events. - ricardo On Nov 22, 7:32 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote: I pretty sure it won't, because click() will fire trigger(),

[jQuery] Re: Submitting the submit input value

2008-11-22 Thread Mike Alsup
I was combining the ajax form plugin with the ajax validation plugin, which is why I need to call ajaxSubmit. I wrote up the details here:http://haacked.com/archive/2008/11/21/combining-jquery-form-validatio... The workaround I did was simply to add a hidden input with the same name as

[jQuery] Re: how do you get a div from an ajax form return?

2008-11-22 Thread coughlinsmyalias
Hey, Can you send me your code to look at. Are you trying to update a DIV or use it as a succss show? On Nov 22, 6:08 pm, davidgregan [EMAIL PROTECTED] wrote: I'm using the jquery forms plugin for an ajax request and update. I set the target option to the desired div that I want to update.

[jQuery] How to bind validation to new loaded form?

2008-11-22 Thread [EMAIL PROTECTED]
Hi all, i have tried to transform a bind example to my situation, but i can't get it working. Via my menu, i load a form which i want to validate. ( with Validation plugin from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ Loading the form into my content div works fine,

[jQuery] Validate and Ajax. Could someone, please, help me?

2008-11-22 Thread shapper
Hello, On a form I am remote validation for an email. However, to this validation, I also need to provide the inserted username which is on another text box. I am using the following: $().ajaxSend(function(event, XMLHttpRequest, ajaxOptions) { ajaxOptions.data.username = $(#Username).val();

[jQuery] Re: animate problem with IE7

2008-11-22 Thread Jeffrey Kretz
I'm not an expert in the animation sytem -- you should open a ticket (dev.jquery.com) and get some others to take a look at it. When I stepped through the code, I found a potential problem here, line 3043 of jquery.js // We need to compute starting value if ( unit != px ) { self.style[

[jQuery] Re: event delegation - great, but how does one trigger the handlers through code?

2008-11-22 Thread Jeffrey Kretz
Do you know if this plays friendly with the jQuery event model? Looking through the source code, it has its own implementation of fix for events, along with its own data storage for event handlers. Without testing it, I would tend to think these two libraries wouldn't jam up and cause a mess.

[jQuery] Object-oriented plugins?

2008-11-22 Thread Hector Virgen
Does anyone know of a good example of an object-oriented plugin for jQuery? The reason I ask is that the jQuery convention is to return *this* at the end of the plugin to allow for chaining. While that's great for simple plugins, some of my advanced plugins instantiate object that I would like to

[jQuery] Re: Back Button

2008-11-22 Thread OhNoMrBill
I am in a real bind on this issue. Is anyone able to answer? Help would be greatly appreciated if you can!! On Nov 22, 10:50 am, OhNoMrBill [EMAIL PROTECTED] wrote: Here is the scenario I am trying to deal with currently: I have a link that looks like: a href=# onClick=$.Content_Home();Some

[jQuery] Re: Multiple Autocomplete

2008-11-22 Thread Hector Virgen
I just built one of these types of auto-completers the other day, and what I had to do was create multiple hidden inputs with the name appended in brackets. That way each of the values would be submitted instead of just the last one. So if you have a text input like this: input type=text

[jQuery] Re: When an embedded object ready

2008-11-22 Thread balamir
To answer my question, onload event seems to be working, so instead of ready, it should be load function. mysvg.load(function(){ above code goes here }); It is similar to images. Firefox DOM is ready before an image is ready. It looks like it is also ready before an

[jQuery] Re: Slider bugs

2008-11-22 Thread zed
I think I identified the source of the problem but I am still unclear how to fix it. There is this bit which is explained as offset is used to move to *exactly* the right place, since I'm using padding on my example, I need to subtract the amount of padding to the offset. Try removing this to