[jQuery] slideToggle animation 'skips'?

2009-01-07 Thread Oskar Rough
Hi all, I've written a short accordion-like script to show/hide a element. The problem is the slideToggle animation skips just before completion rendering it very 'unsmooth'. The slideUp seems to work just fine. At first I thought it would be fixed by removing all padding but didn't seem to fix

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread David Decraene
The great thing of html of course is that you can use css, means you can style it easily (demo has very basic styling, some rounded corners in firefox). Not sure how flexible styling in raphael is, I'm not familiar enough with it. Also don't think canvas or svg will be any faster, because the issu

[jQuery] jQuery UI accordion animation

2009-01-07 Thread RyOnLife
Hello, I am using the jQuery UI accordion widget and cannot get it to animate. I am calling like this: $('.ui-accordion').accordion() My jQuery UI build contains the "effects core" and "effect slide". What am I missing in order to achieve the animation? Thank you!

[jQuery] jquery cycle; click for next image

2009-01-07 Thread typenerd
Hi there, I've got some next/prev links going with my jquery cycle and I'm trying to also include the div .folio_cycle to be clickable for next image; can someone help me with that reference? http://rejectedrobot.com/portfolio/new.html

[jQuery] Re: script and strange behaviours with ie

2009-01-07 Thread Saledan
up, please! thanks On 3 Gen, 11:50, Saledan wrote: > Hi, > yes i supposed that browsers older than ie6 are now unsupported by > jQuery and web developers, i just play with those versions... the > important issues are with ie 6 and 7. > Yes, maybe the issue is with cache, but the strange thing i

[jQuery] Re: How to force a child page to open in iframe using jquery

2009-01-07 Thread AbhishEk
ok , thanks :) On Mon, Jan 5, 2009 at 10:34 PM, Ricardo Tomasi wrote: > > There is no way out! > > Actually, there is one: load the remote page via a proxy of your own, > where you can parse it and remove the script... websites are not meant > to be "captured" by others. > > On Jan 5, 6:39 am, Ab

[jQuery] Re: jQuery 1.3 + live/livequery + draggable problem

2009-01-07 Thread Joshua Uziel
Hey Richard, Brandon, Thanks... the kind citizens of IRC and a little more forum digging pointed me to the answer (I'd have updated this thread sooner, but being new to the group meant my posts were moderated). I'm working on something that's in development and can live on the edge within the jQu

[jQuery] Re: Toggle child elements

2009-01-07 Thread donb
Ddoesn't the animation actually consist of an expanding div - meaning, the contents (and the outermost div) are fixed in position? Nothing is actually 'sliding down' On Jan 7, 8:58 pm, Wacko Jacko wrote: > Hi All, > > Quite new to jQuery so would very much appreciate your help. > > http://www.p

[jQuery] Re: Get TD Position [X, Y]

2009-01-07 Thread Saiful Haqqi
On Thu, Jan 8, 2009 at 10:52 AM, donb wrote: > > I think you will have to calculate it from the table's position + the > width of each column. Table cells do not have x,y coordinates > defined. > > That you mean's i has define the table width and column height? how i get the index of column? i

[jQuery] Re: Get TD Position [X, Y]

2009-01-07 Thread donb
I think you will have to calculate it from the table's position + the width of each column. Table cells do not have x,y coordinates defined. On Jan 7, 10:45 pm, "saiful.ha...@gmail.com" wrote: > hi all, > > I want make simple sub menu, id mouse over the column of table will > show the div with

[jQuery] Re: jQuery 1.3 + live/livequery + draggable problem

2009-01-07 Thread Brandon Aaron
I'm currently using the SVN Trunk version of jQuery and jQuery UI and the sortables, which use drag and drop, are working for me. If you are willing to live on the edge, which I'm guessing you are since you are trying to use preview releases, you might want to try trunk to see if that fixes your is

[jQuery] Get TD Position [X, Y]

2009-01-07 Thread saiful.ha...@gmail.com
hi all, I want make simple sub menu, id mouse over the column of table will show the div with some text finally. can i get the XY position foreach column in table?! JQuery Code $(".left_menu_td").mouseover(function(){ $("#sub_menu").css({"top":this.position().top, "left":this.position.left, "di

[jQuery] Re: jQuery 1.3 + live/livequery + draggable problem

2009-01-07 Thread Richard D. Worth
I'm not sure you'll have success (yet) combining a (preview) released version of jQuery UI 1.6 with a (preview) released version of jQuery 1.3. Here's a summary jQuery UI 1.5.3 will only work with jQuery 1.2.6 (not 1.3) jQuery UI 1.6 final will only work with jQuery 1.3 final (not 1.2.6) The prob

[jQuery] Toggle child elements

2009-01-07 Thread Wacko Jacko
Hi All, Quite new to jQuery so would very much appreciate your help. http://www.punklogic.com.au/contact-punk-logic.htm if you click on the tab in the header called 'PunkLogic elsewhere' you will notice I have used the toggle command to view a div in the header. Problem is, the elements etc in

[jQuery] click(function) in an iframe

2009-01-07 Thread Mike B
Hello, I've got a menu on my page that opens when clicked, and stays open until it's reclicked or the user clicks anywhere else on the page. Basically, it behaves the same as an application menu. The problem is that a large part of the page is occupied by an iframe and I can't figure out how to g

[jQuery] using html() I get a non-secure error message in IE

2009-01-07 Thread nrewb
I do not know Javascript or Jquery very well, but by process of elimination I have determined this script(not written by me) is the cause of the non-secure error message in IE on a shopping cart checkout page. elm = $('#display_cart_summary') elm.html(elm.html().r

[jQuery] jQuery 1.3 + live/livequery + draggable problem

2009-01-07 Thread Joshua Uziel
Through the wonders of jQuery 1.2.6, jQuery UI 1.6rc2/4 and LiveQuery, I am able to make divs that are generated after the page load be draggable via something like so: $(".results_container").livequery(function() { $(this).draggable({ helper: 'clone',

[jQuery] missing trigger callback

2009-01-07 Thread michael44
Thanks for your code I'm using ContextMenues to invoke non modal js-windows showing additional datas (pictures, datasets ...) in my WP-CMS. This works fine with jqModal for inline content but not with ajax! If the jqModal-window is not closed there is no event and no callback to update the wi

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Tristan Burch
It seems like a good idea to to both. That way if the user does have JavaScript disabled, there is still validation on the server side. On Wed, Jan 7, 2009 at 1:47 PM, Will Anderson wrote: > > I choose to validate from PHP because of a couple things. > > 1. It's more secure because nobody can se

[jQuery] livequery always fires initial toggle function following ajax response

2009-01-07 Thread rockrep
I'm trying to use livequery, toggle, and ajax together. The toggle methods fire off ajax requests that will update the div containing the DOM elements that are bound to the click/toggle (the reason I'm trying to use livequery in the first place). Unfortunately, it seems like livequery always re

[jQuery] Superfish (and Suckerfish actually)

2009-01-07 Thread Rudeshark
I would guess that I'm missing something here rather than it being a problem of Superfish (and Suckerfish too)... Instead of wanting to change HTML page when you click on one of the links that are my menu items, i.e Next page I want the links to be set via a jQuery click event such as:

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Nikola
Great information, I have some very strong ideas of when and how I'll impliment jQuery and php validation now. Thanks much, Nikola

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Dave Methvin
> I am wondering what the relative advantages / disadvantages are of > validating purely in php vs. in jQuery. Neither is a replacement for the other, so using both is the best solution. Client-side validation with jQuery lets you give the user feedback without requiring a page reload. That tend

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Cam Spiers
I like to implement all my validation logic server side and to make it more userfriendly I like to ajax my forms and send the validation errors back as json. I know this might not be the prefered method for some but it means you only have to write your validation code in one language. (because as

[jQuery] Re: about "speed up references to window"

2009-01-07 Thread Jinpu Hu
search window in global scope is slower than search window in local scope On Jan 8, 9:50 am, Jinpu Hu wrote: > oh,thank you > i see > > On Jan 8, 9:25 am, Ricardo Tomasi wrote: > > > It has to be a local var: > > > (function(){ > > var window = this; > > > })(); > > > On Jan 7, 11:17 am, Jinpu

[jQuery] Re: about "speed up references to window"

2009-01-07 Thread Jinpu Hu
oh,thank you i see On Jan 8, 9:25 am, Ricardo Tomasi wrote: > It has to be a local var: > > (function(){ > var window = this; > > })(); > > On Jan 7, 11:17 am, Jinpu Hu wrote: > > > I see "var window = this" from latest svn code > > > I use firebug debugger it. > > > info:"Exception: redeclarat

[jQuery] get tag name

2009-01-07 Thread bob
January February function do_something_based_on_tag_name(selector) { if(???=='select') {} } var selector = jq('#month'); do_something_based_on_tag_name(selector); How do I get tag name from "selector" variable?

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread Ricardo Tomasi
using "NO" Canvas or SVG is not that great a feature is it? :) Make that use raphael.js and it's all set! On Jan 7, 5:13 pm, David Decraene wrote: > Thanks! > > It does need some computations that scale exponentially with the > amount of nodes shown... > but I think it seems to perform ok with

[jQuery] Re: about "speed up references to window"

2009-01-07 Thread Ricardo Tomasi
It has to be a local var: (function(){ var window = this; })(); On Jan 7, 11:17 am, Jinpu Hu wrote: > I see "var window = this" from latest svn code > > I use firebug debugger it. > > info:"Exception: redeclaration of const window" > > but in core.js > > var >         // Will speed up reference

[jQuery] Re: Select Element CSS Attributes

2009-01-07 Thread Ricardo Tomasi
This seems to work. $('elements').filter(function(){ return $(this).css('backgroundImage').indexOf('.png')+1; }); Out of curiosity, are you trying to deal with png transparency in IE6? On Jan 7, 4:29 pm, _cam_ wrote: > How would you select elements that have CSS background images ending > w

[jQuery] Re: Using jquery to construct menus like nbc.com

2009-01-07 Thread Ted
OK, I lied - one more question. I'm having an issue that appears intermittently when the user loads the page, and their mouse is already over a designated link that triggers the menus. When the user is over the link before the page has finished loading, the toggle function gets confused, and thin

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Nikola
Thanks for the info, I was thinking along the same lines but wasn't altogether sure.

[jQuery] Re: event name

2009-01-07 Thread Richard D. Worth
alert(event.type) See http://docs.jquery.com/Events_(Guide)#event.type for more info. - Richard On Wed, Jan 7, 2009 at 5:46 PM, bob wrote: > >var handler = function(e){ > >//How do I know what event triggered this function? >//this does not work: >

[jQuery] Re: IE Problem

2009-01-07 Thread jhm
> Are you sure you understand what Fiddler does? Yea, I saw what it does and I really appreciate the tip. It's really useful and I could see the actual GET was working returning the data. The problem was with the json data in the file I was opening (a fundamental mistake on my part). Just in cas

[jQuery] Re: mouseout problem

2009-01-07 Thread Mauricio (Maujor) Samy Silva
Here you find what bind() do: http://docs.jquery.com/Events/bind -Mensagem Original- De: Saiful Haqqi Para: jquery-en@googlegroups.com Enviada em: quarta-feira, 7 de janeiro de 2009 20:12 Assunto: [jQuery] Re: mouseout problem $(doc

[jQuery] event name

2009-01-07 Thread bob
var handler = function(e){ //How do I know what event triggered this function? //this does not work: alert('e = ' + e); if(e=="focus") alert("focus"); else if(e=="blur") alert("blur"); } jq('i

[jQuery] Re: Debugging in IE7

2009-01-07 Thread donb
http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express is supposed to... (Although I haven't personally tried it - I have the regular version myself) On Jan 7, 4:40 pm, Nikola wrote: > Thanks much, I'm going to try these all out later today.

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread roxstyle
$(document).ready(function(){ $(".searchUser tbody td:first-child").css({"width":"80px"}); $(".searchUser tbody td:nth-child(2)").css({"width":"110px"}); $(".searchUser tbody td:nth-child(3)").css({"width":"145px"}); $(".searchUser tbody td:nth-child(4)").css({"width":"70px"});

[jQuery] (smooth) scroll to anchor but...

2009-01-07 Thread schnuck
...what if the areas i need to scroll to are defined as anchors in html elements on top of a large inline image? and the areas that trigger the links are image map areas too. clicking on the image map areas scroll from one area to another. ideally not using absolute positioning, but with html anc

[jQuery] Re: mouseout problem

2009-01-07 Thread Saiful Haqqi
$(document).ready( function() { $("#text_span") .mouseover( function () { $("#isPopUp

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Will Anderson
I choose to validate from PHP because of a couple things. 1. It's more secure because nobody can see my PHP code, but they can see my jQuery code. 2. If the user has JavaScript disabled, or for some other reason the jQuery is unable to validate the code, it will still be validated. On the other

[jQuery] Validation: Which and why...

2009-01-07 Thread Nikola
I am wondering what the relative advantages / disadvantages are of validating purely in php vs. in jQuery.

[jQuery] Re: Debugging in IE7

2009-01-07 Thread Nikola
Thanks much, I'm going to try these all out later today.

[jQuery] Re: malsup cycle plugin: possible to have images change with nicer transparency

2009-01-07 Thread Mike Alsup
> DURING IMAGE CHANGES the white part of the picture which I believe is > transparent is visible and cuts into the next image. Is this normal > and unaviodable? > > On firefox/linux I have 3 jpgs 3 gif (hope I did the transparency > right) and 3 png images... > > they are mostly white pictures so

[jQuery] [autocomplete] Show all options regardless

2009-01-07 Thread Aaron Jensen
I'm trying to find an autocomplete/potentially combobox plugin that does everything we're looking for so I don't have to roll our own. So far the Jörn's is working the best but I can't seem to make it do exactly what I want. Here's the behavior I desire, perhaps there are some options I'm missing

[jQuery] Select Element CSS Attributes

2009-01-07 Thread _cam_
How would you select elements that have CSS background images ending with .png? And then add a class.

[jQuery] Re: remote method - custom message

2009-01-07 Thread Jörn Zaefferer
Thanks for the details, should get fixed in the next release: http://dev.jquery.com/ticket/3807 Jörn On Wed, Jan 7, 2009 at 5:36 PM, adamnfish wrote: > > (I'm using the uncompressed v1.5 download here!) > > It looks like the implementation of the remote method is supposed to > support custom me

[jQuery] Re: In a pickle -- JavaScript Pagination vs. PHP/MySQL Pagination

2009-01-07 Thread chris at zeus
I would take this a step further and suggest cutting out a lot of headache in your code by using a php framework to manage a lot of the functions you want to use. I would check out codeigniter.com. CI has pagination and db helpers so you don't have to write all the code yourself. On Jan 7, 8:38

[jQuery] Re: mouseOut problem, tip not dissapearing

2009-01-07 Thread amuhlou
If I'm understanding correctly the hide img list function is based on the click event, so putting the hide tooltip function inside of it would only work if the user always clicks on every image. On Jan 7, 1:48 pm, Kean wrote: > In the hide img function just call hide tip. > > On Jan 7, 8:53 am,

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread amuhlou
you're quite welcome :) On Jan 7, 3:02 pm, roxstyle wrote: > thank you so much, that is going to work. > > On Jan 7, 11:55 am, amuhlou wrote: > > > I accidentally replied directly to the author, so for anyone curious > > about the same thing, you could use the following code: > > > $(document).

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread roxstyle
thank you so much, that is going to work. On Jan 7, 11:55 am, amuhlou wrote: > I accidentally replied directly to the author, so for anyone curious > about the same thing, you could use the following code: > > $(document).ready(function() { >         $(".tbl tbody td").each(function(i) { >      

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread amuhlou
I accidentally replied directly to the author, so for anyone curious about the same thing, you could use the following code: $(document).ready(function() { $(".tbl tbody td").each(function(i) { var $tdWidth = $(this).width(); $(this).children().width($tdWid

[jQuery] Re: Need advice on new jQuery plugin

2009-01-07 Thread Richard D. Worth
On Wed, Jan 7, 2009 at 12:41 PM, BrianH wrote: > > Thank you so much! > I have fixed items 1,2, and 3. For items 4 and 5, I had created an > issue on the project site: > http://code.google.com/p/postlink/issues/detail?id=1 > > I know I shouldn't use alerts (that was more for me when I was > deve

[jQuery] Re: about "speed up references to window"

2009-01-07 Thread Balazs Endresz
Using myvar==undefined (or any variable, which is undefined) is about 30% faster than typeof myvar=="undefined" About window, I don't know if that would speed up accessing it but being a local variable it may be a bit faster. I think the main purpose is to allow some minifiers to replace local va

[jQuery] anatomy of a web browser request

2009-01-07 Thread Tristan
Does anyone have any good documentation that describes the different steps a browser goes through when requesting a web page? I'm interested in the timing of different browser 'events' (ie 1st byte received, some HTML is rendered, dom-ready, browser.onload, all HTML is rendered page done, etc.).

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread David Decraene
Thanks! It does need some computations that scale exponentially with the amount of nodes shown... but I think it seems to perform ok with a not too high amount of nodes, for an implementation that only uses html elements. Who nows, with future browsers (or a better algorithm :)) things might

[jQuery] malsup cycle plugin: possible to have images change with nicer transparency

2009-01-07 Thread yvonney
DURING IMAGE CHANGES the white part of the picture which I believe is transparent is visible and cuts into the next image. Is this normal and unaviodable? On firefox/linux I have 3 jpgs 3 gif (hope I did the transparency right) and 3 png images... they are mostly white pictures so if transparen

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread roxstyle
no, not exactly. if the div contains a long email or url with no spaces-the div will expand beyond the intended width set for the "td" and essentailly break the table layout. What i am trying to achieve is to place the actual "td" content in a "div" and have the "div" (1) inherit the parent td w

[jQuery] Re: mouseOut problem, tip not dissapearing

2009-01-07 Thread Kean
In the hide img function just call hide tip. On Jan 7, 8:53 am, "i...@wenn.com" wrote: > We have a page that when you hover over images the tooltip shows, when > you click on the image, the list of images is hidden but the tip seems > to still say on the screen till i move mouse over another obj

[jQuery] Re: mouseOut problem, tip not dissapearing

2009-01-07 Thread amuhlou
Without an example page or code showing how the tooltips are generated, it's very difficult to diagnose the problem. On Jan 7, 11:53 am, "i...@wenn.com" wrote: > We have a page that when you hover over images the tooltip shows, when > you click on the image, the list of images is hidden but the

[jQuery] Re: How can i count validation errors and trigger alert on submit?

2009-01-07 Thread Jan Eggers
For counting errors, use numberOfInvalids(), which comes with the showErrors-Method. Set onfocusout: false, if you don't want the plugin to validate on leaving the element. There are some examples in the documentation: http://docs.jquery.com/Plugins/Validation/validate#toptions On Jan 7, 8:18 a

[jQuery] Facing issues in UI/tabs

2009-01-07 Thread Ajay
I am facing two issues in using the tabs library : 1. ) I read the old version at http://stilbuero.de/jquery/tabs/ here a method is given to adjust height of all tabs to the largest by : $('#container').tabs({ fxAutoHeight: true }); but in version 3 I couldn't find anything like this in the docu

[jQuery] remote method - custom message

2009-01-07 Thread adamnfish
(I'm using the uncompressed v1.5 download here!) It looks like the implementation of the remote method is supposed to support custom messages from the server when using the remote method but because of a trivial bug, they don't work. This quick change fixes the problem (details below) From: 915

[jQuery] mouseOut problem, tip not dissapearing

2009-01-07 Thread i...@wenn.com
We have a page that when you hover over images the tooltip shows, when you click on the image, the list of images is hidden but the tip seems to still say on the screen till i move mouse over another object that has a tip on it. Is there any way around this problem?

[jQuery] IE bug with Thickbox and jqGalScroll

2009-01-07 Thread chadhunt...@gmail.com
Stuck on an IE bug. Check it out at: http://fansn.com/temp/thickbox/ You'll notice when you click the link in IE, the Slideshow comes above the thickbox and does not scroll with the window. Notice though when you close it, you can see it properly working for a split-second. So I've been trying t

[jQuery] Tabs - reloadTab

2009-01-07 Thread Hyarion
Hi, First I just wanted to say how much I love Klaus' Tabs system, I've been using it a lot lately and it has worked flawlessly. I'm using nested tabs and I've been attempting to create a function which reloads the selected nested tab. I'm sure this is a trivial task but my limited JavaScript ex

[jQuery] Jquery validation not working in thick box

2009-01-07 Thread raj
Hi Why Jquery validation not working in thick box ? pls advise me thanks for advance

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread Joe
Very impressive! Seems a bit sluggish at times in FF 3.0.5, but nice work! Joe On Jan 7, 5:12 am, David Decraene wrote: > I had some fun creating a pure HTML-DOM based Force-directed graph > layout, similar to a touchgraph (http://www.touchgraph.com/) view. > > Built with the help of jQuery (h

[jQuery] Re: feature suggestion: .attr() without params returns the whole list of attributes

2009-01-07 Thread Joe
Oh nice! Yeah what I need to do is get the source from you and add the cookie settings to the plugin. It's been working like a charm! joe On Jan 6, 11:45 am, Balazs Endresz wrote: > Hi Joe! > > Sorry, I was wrong, as the namespace is reversed. But maybe using it > this way is easier and a bit

[jQuery] Re: IE Problem

2009-01-07 Thread MorningZ
"Unfortunately, it doesn't help my problem" Are you sure you understand what Fiddler does? With the program running to the side of IE, you can see: 1) that the getJSON request is actually made (which btw, it'll be good to get in the habit of proper capitalization in JavaScript) 2) if it was, th

[jQuery] Re: Need advice on new jQuery plugin

2009-01-07 Thread BrianH
Thank you so much! I have fixed items 1,2, and 3. For items 4 and 5, I had created an issue on the project site: http://code.google.com/p/postlink/issues/detail?id=1 I know I shouldn't use alerts (that was more for me when I was developing the plugin). I would prefer to just ignore any elements

[jQuery] Re: cycle, jquery loads correctly on my firefox, but not on friends.

2009-01-07 Thread Karl Swedberg
Looks good to me, too. I'm not very confident that this will work, but you might want to try changing your references to be "root relative" rather than "document relative": So, instead of "../../assets/js/jquery-1.2.6.js" just do "/assets/js/jquery-1.2.6.js" with all of the js and css file

[jQuery] Re: row highlite in jquery

2009-01-07 Thread Vicky am
thanks for you are knowledge and the best :) On Wed, Jan 7, 2009 at 9:55 PM, Karl Swedberg wrote: > Yes, it can be done. I'm not sure if you're now trying to select rows or > cells or both, though. > Here is a way you can select rows that have descendant TDs but don't have > descendant TABLEs: >

[jQuery] Re: row highlite in jquery

2009-01-07 Thread Karl Swedberg
Yes, it can be done. I'm not sure if you're now trying to select rows or cells or both, though. Here is a way you can select rows that have descendant TDs but don't have descendant TABLEs: $('tr').filter(function() { return $('td', this).length && !$('table', this).length; }); --Karl

[jQuery] about "speed up references to window"

2009-01-07 Thread Jinpu Hu
I see "var window = this" from latest svn code I use firebug debugger it. info:"Exception: redeclaration of const window" but in core.js var // Will speed up references to window, and allows munging its name. window = this, // Will speed up references to undefined, and

[jQuery] Re: mouseout problem

2009-01-07 Thread Thomas
Hi saiful! You have several syntax errors in your code, but I assume they're just typos (for once, you have "isPopUp" in your one selector, instead of "#isPopUp"). Your problem likely stems from misinterpreting the mouseout event, though. That event fires *every time the cursor leaves a child of

[jQuery] ajax calls not happening wth jquery ans asp.net 2005

2009-01-07 Thread b u d d h a
hi, am trying to call a server function like this $(document).ready(function (){ $('#Button1').click(function() { $.ajax({ type: "POST", url: "remotefunctions.aspx/Test", data: "{'str':'1'}", contentT

[jQuery] Re: IE Problem

2009-01-07 Thread Thomas
It would be interesting to see './files/v-winter.txt' as well, specifically how it's being served. Total shot in the dark, but I remember having had a similar problem (IE-only) when I started playing with XML files many moons ago. Maybe it would help if you served that file with an 'content-type

[jQuery] Feature request - fadeToggle

2009-01-07 Thread Erik
I'd like to suggest a small feature, having fadeToggle() (similar to toggle() and slideToggle()). Thanks! Erik

[jQuery] Tabindex not working in Firefox on load of page

2009-01-07 Thread Bart
I've written some code to be able to set the tabindex automatically in our pages. It looks like this: $(document).ready(function() { var el = $(".fieldsetDiv"); if (el.children().length == 0) { el.remove(); } //setting tabindex automatically va

[jQuery] The EU will implement new regulations passenger baggage

2009-01-07 Thread cj
In order to ensure flight safety, the EU member states from November 6 passenger baggage from the implementation of the new requirements. By then, all countries in the European Union airport boarding or transfer passengers EU countries, the carry-on hair gel, toothpaste, face cream and other liqui

[jQuery] How to prevent incremental ajax requests?

2009-01-07 Thread Web Specialist
Hi all. I'm using this very simple script to load remote content inside a div: $(document).ready(function() { $("#frm :input:visible:enabled:first").focus(); $().ajaxStart($.blockUI).ajaxStop($.unblockUI); $('.carrega').click(function(){ var row = this; row.abbr = row.a

[jQuery] Re: Draggable function for new created div..

2009-01-07 Thread Richard D. Worth
You have set .draggable to be called as soon as the document is ready, making any element with the id of 'myNewDiv' draggable. The problem is, you're not creating that element until you click on a link. See http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_elem

[jQuery] Re: adding a class to an object if the next object has the same attribute value.

2009-01-07 Thread Ricardo Tomasi
In this line: $(".row > div").next("[Type="+$(this).attr("Type")+"]") 'this' is refering to the 'window' object or some other context, not the element you just selected. $('.row > div').each(function(){ //inside each 'this' is the current element var $this = $(this), next = $this.next();

[jQuery] Re: jquery UI Dialog containment

2009-01-07 Thread Richard D. Worth
The current version of dialog is designed to be a viewport dialog, not related to any other element. The general plan is to build in support like you have described when we have layout support/modules in jQuery UI. The workaround you're using seems reasonable. If it's not working as you'd expect,

[jQuery] Re: Need advice on new jQuery plugin

2009-01-07 Thread Richard D. Worth
On Tue, Jan 6, 2009 at 2:15 PM, BrianH wrote: > > I had a need for a certain functionality on my web page and thought I > would try my hand at writing my first jQuery plugin (I'm sure that's > how everyone gets their first plugin started). Since this is my first > plugin, I would really apprecia

[jQuery] Re: storing objects in jQuery data

2009-01-07 Thread gibble
I actually found this while waiting for this message to be approved to the list, what I ended up using was a slight modification so it does a deep clone/copy var aCopy = jQuery.extend(true, {}, $('#something option:first').data ('value')); dave.methvin wrote: > > >> Is there a way to get jus

[jQuery] Re: image caching problem

2009-01-07 Thread Thomas
Ok, thanks! I accept it! :) On jan. 7, 16:00, MorningZ wrote: > try to append the time (something unique from the last) on the URL > > so if you had: > > > > then setting the src to something like > > $("#somethin").attr("src", "user1.jpg?x=" + new Date()); > > should do the trick > > . > On Ja

[jQuery] Re: image caching problem

2009-01-07 Thread MorningZ
try to append the time (something unique from the last) on the URL so if you had: then setting the src to something like $("#somethin").attr("src", "user1.jpg?x=" + new Date()); should do the trick . On Jan 7, 9:41 am, Thomas wrote: > Hi folks! > I have a simple profile image upload scri

[jQuery] Re: Jquery coding direction

2009-01-07 Thread tawright915
So in my code I have: $(document).ready(function($) { if ($("#TextBox11").val()|| $("#TextBox12".val()) { $("#TextBox11").valid(); $("#TextBox12").valid(); }; $("#form1").validate( {

[jQuery] Re: In a pickle -- JavaScript Pagination vs. PHP/MySQL Pagination

2009-01-07 Thread tlphipps
Just to follow this up a little, I'm guessing the slow loading you see has nothing to do with MySQL and everything to do with trying to load 800 rows worth of data into the browser. So I would guess that your option 1 would not give you any advantage since the browser would still take several sec

[jQuery] Re: Superfish with bgiframe does not cover position:relative div in IE

2009-01-07 Thread Jamie Krug
Thanks! I didn't think I'd ever fix that one, but with your tip it took only 5-10 minutes to fix my related issue. In my case I also had to add a position:relative to the container holding my superfish menu, so I could give it a z-index higher than the other position:relative container that was no

[jQuery] image caching problem

2009-01-07 Thread Thomas
Hi folks! I have a simple profile image upload script. The problem is that I can't change the actual image with jQuery, because is cahed ( i suppose ). Only one picture allowed per users so I renamed their files to user1.jpg, user2.jpg, etc. I tried to use $('#somethin').attr("src", "userN.jpg");

[jQuery] Re: is accessing element by a class faster than accessing X element by ID

2009-01-07 Thread Christof Donat
Hi, > $('#toto_contaner').children(); That only works, if all .toto elements are direct children of #toto_contaner and there are no other elements in #toto_contaner. In case only the second assumption does not hold, I guess $('#toto_contaner > div.toto').hide() is the fastest solution. If th

[jQuery] Re: My toggleClass is not working.

2009-01-07 Thread Vincent Robert
toggleClass() takes a class name as argument, not a selector. $(document).ready(function() { $("a").filter("#click").click(function(){ $("div .six").toggleClass("two"); }).end() }); On Jan 6, 10:20 pm, amuhlou wrote: > In your script it appears that you are try

[jQuery] Re: display errors with a transition...

2009-01-07 Thread Paulo Eugênio
Hello Christine Davis, ShowToolTips recently added a feature, not provided further established with the approval of jquery.validate for it, the link in this demo: http://www.aemundo.com.br/jquery/validate/demo.html

[jQuery] Re: Debugging in IE7

2009-01-07 Thread the_guv
Companion.JS from Core is useful too.  Details at Debugbar site, debugbar is best I know of. -- guvnr.com - Web Design Spain inc. the_guv's Tips & Tutorials:- web wise - producing, blogging & surfing content - how-to's and highlights pc care - hone IT, enjoy IT ... or just fix a feed.

[jQuery] Re: form input field value

2009-01-07 Thread MorningZ
Try the "keyup" event instead http://www.bloggingdeveloper.com/post/KeyPress-KeyDown-KeyUp-The-Difference-Between-Javascript-Key-Events.aspx Not sure that's totally the solution, but it's worth a try... i will note though, DB update on every single keypress? surely there must be a better way t

[jQuery] Re: cycle, jquery loads correctly on my firefox, but not on friends.

2009-01-07 Thread Mike Alsup
> Hello, I am using JQuery 1.2.6, lightbox .5, and cycle together to > create a slideshow feature for a site i'm doing. > > the scripts load for me on my computer, but not for my client using > (he tried two machines IE 6, firefox 3) it just tiles all images > vertically and lightbox doesn't funct

[jQuery] Re: row highlite in jquery

2009-01-07 Thread vivekamar007
Very good help..can i join two condition? $('td:not(:has(table))') and $('tr:has(td)') ... On Jan 7, 10:28 am, Karl Swedberg wrote: > On Jan 6, 2009, at 8:53 PM, Vicky am wrote: > > > Hello Karl, Very good it works. Also how isay if td does not have   > > table. one of my td has and it shoul

  1   2   >