[jQuery] Re: Need a cookie to cap the frequency of my sliding div

2007-10-27 Thread somnamblst
Thanks. Are you saying I should remove this line $('#slidebar').html($('#hidebar').html()); So I have the following? $(document).ready(function() { initSlideboxes(); function initSlideboxes() { $('#slidebar').slideDown(normal); setTimeout(function() {

[jQuery] Re: jQuery Interface Sortable: loosing the style of dragged item

2007-10-27 Thread NiKo
On 23 oct, 06:26, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: OK I figured it out Unfortunately this means that the item effectively has no parent element (other than body) to inherit cascaded styles from. However, it is enclosed in a div with an id of dragHelper. So to restore your styles,

[jQuery] Re: :not selector broken in v1.2.1?

2007-10-27 Thread jkl
yea, that works, thanks Karl! Yea, i agree too that following css convention is a better choice. Here's the other deprecated stuff in v1.2 that I just found (for other newbies): http://docs.jquery.com/Release:jQuery_1.2#Removed_Functionality john On Oct 26, 7:13 pm, Karl Swedberg [EMAIL

[jQuery] How do you return the index of an option selected

2007-10-27 Thread BuckRogers
How do you return the index of an option selected: select option value=Aa/optionoption value=Bb/optionoption value=Cc/option /select I want to return 0, 1 and 2 when the above optiones are selected

[jQuery] interrupting a delayed effect?

2007-10-27 Thread webrocker
hi group, I use the pause-plugin (http://blog.mythin.net/projects/jquery.php) to delay an slidedown-effect in my navigation if the user mouseovers a link. I have slightly modified it to get it to work (changing line 29 from $.dequeue(self) to $(self).dequeue() So this works fine:

[jQuery] Re: jqGrid update

2007-10-27 Thread Tony
Ryura, Good idea - now I will try to add another parameter to the subgrid where we can choice which columns should be passed to the subgrid url Regards Tony On 26 Окт, 16:54, Ryura [EMAIL PROTECTED] wrote: Another great update. I've been working with subgrids now, and everything seems very

[jQuery] Re: interrupting a delayed effect?

2007-10-27 Thread webrocker
It seems that using the setTimeout() directly, without use of the pause-plugin, do the trick, b/c this can be undone with clearTimeout(). $('#navigationullia').mouseover( function(){ var myList = $(this).parent('li').children('ul'); if(

[jQuery] Re: clueTip feedback and suggestions

2007-10-27 Thread DaveG
Using 0.9.2.1, this line is the problem: if (tipAttribute == $this.attr('href')) { return false; } Problem is that both tipAttribute and $this.attr('href') are undefined, returning false, which seems to prevent the anchor inside the triggered div from firing. Here's my

[jQuery] No click-response after inserting embed-mediaobject with jquery media-plugin

2007-10-27 Thread King Bukkum
Hi All! I have a problem and hope somebody can help me. I created an embedded windows media player object with the jquery media-plugin. This object has id=wmplayer and plays a stream on my page. This works very well. But now I want to play the stream fullscreen. This is what I did: (on page):

[jQuery] Re: How do you return the index of an option selected

2007-10-27 Thread Adrian Lynch
Try the following: script type=text/javascript src=/shared-scripts/ jquery-1.2.1.min.js/script script type=text/javascript $(function() { $(#debug).click(function() { $(#mySelect option).each(function(i) { if

[jQuery] Draggables IE7 problem

2007-10-27 Thread fiasst
Hi there, I'm using jQuery for a ecommerce site I'm working on. It's using Draggables and the site can be found http://www.sibenet.com/limeblue here . My problem When viewing in IE7 the sidebar menu (semi-transparent menu on the far right) jumps to the left of the screen after it's been

[jQuery] Re: No click-response after inserting embed-mediaobject with jquery media-plugin

2007-10-27 Thread Mike Alsup
I created an embedded windows media player object with the jquery media-plugin. This object has id=wmplayer and plays a stream on my page. This works very well. But now I want to play the stream fullscreen. This is what I did: (on page): span id=fullscreenplay fullscreen/span (jquery):

[jQuery] Re: jQuery incorrectly passes URL field as POST

2007-10-27 Thread Mike Alsup
When calling an AJAX function with the POST method, there is no way for me to edit the GET fields of the URL because they are incorrectly passed as POST. I would like to use this follow URL structure in my ajax requests: url: 'myfunction.php?fooBar' method: 'POST' But through firebug I

[jQuery] Re: No click-response after inserting embed-mediaobject with jquery media-plugin

2007-10-27 Thread King Bukkum
Hi Mike! Thanks for your answer! Your plugin is great! I have changed the code. But still nothing happens in IE... Any suggestions? On 27 okt, 16:20, Mike Alsup [EMAIL PROTECTED] wrote: I created an embedded windows media player object with the jquery media-plugin. This object has

[jQuery] Re: sortable problem ...

2007-10-27 Thread df-sean
It's really too bad that this is left unfixed for so long. For the project I'm currently working on, I think I'm going to have to switch to Prototype in order to get a working Sortable list :-( I love jquery and would love to stick with it, but it needs to work (including the UI effects).

[jQuery] Re: setting selected in Safari

2007-10-27 Thread Eric Martin
On Oct 26, 5:27 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, following code works in Firefox, but not Safari, why? or just my Safar? can anybody test it? Thanks. A.C. $(#state [EMAIL PROTECTED]'KY']).attr(selected, selected); select name=state id=state option value=NYNew

[jQuery] Re: why this will fail in Safari?

2007-10-27 Thread Eric Martin
On Oct 26, 6:15 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I try to set a selected option in a Select box, the following code works without jQuery function defined, once I un-comment the jQuery part, it works in Firefox, but not in Safari any more, please help, Thanks. A.C.

[jQuery] Re: How do you return the index of an option selected

2007-10-27 Thread Eric Martin
On Oct 27, 1:25 am, BuckRogers [EMAIL PROTECTED] wrote: How do you return the index of an option selected: select option value=Aa/optionoption value=Bb/optionoption value=Cc/option /select I want to return 0, 1 and 2 when the above optiones are selected $('select').change(function () {

[jQuery] Re: Draggables IE7 problem

2007-10-27 Thread Eric Martin
On Oct 27, 7:15 am, fiasst [EMAIL PROTECTED] wrote: Hi there, I'm using jQuery for a ecommerce site I'm working on. It's using Draggables and the site can be found http://www.sibenet.com/limebluehere . My problem When viewing in IE7 the sidebar menu (semi-transparent menu on the far

[jQuery] Validation rule for Joerns' Plug-in...

2007-10-27 Thread Rick Faircloth
Hi, all. Quesiton: How to validate the selection for a drop-down select input? If choices are: 1 - Choose Category (This is the default selection) 2 - Automotive 3 - Medical If the user doesn't change from 1 - Choose Category I want an error message instructing them to choose a category.

[jQuery] Re: Validation rule for Joerns' Plug-in...

2007-10-27 Thread Web Specialist
Rick I'm using Jorn's Form Validation plugin and this approach works fine: select name=Category id=Category title=Please select something validate=required:true option value=Choose a category/option option value=Automotive/option option value=Medical/option /select Cheers Marco Antonio

[jQuery] Re: Validation rule for Joerns' Plug-in...

2007-10-27 Thread Web Specialist
Sorry. select name=Category id=Category title=Please select something validate=required:true option value=Choose a category/option option value=2Automotive/option option value=3Medical/option /select 2007/10/27, Web Specialist [EMAIL PROTECTED]: Rick I'm using Jorn's Form Validation

[jQuery] Re: Validation rule for Joerns' Plug-in...

2007-10-27 Thread Rick Faircloth
Thanks. that looks like the best route to take.just leave the field empty of value and validate against required. Much appreciated! Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Web Specialist Sent: Saturday, October 27, 2007 11:40 AM To:

[jQuery] Re: jQuery incorrectly passes URL field as POST

2007-10-27 Thread Richard D. Worth
This was a regression in 1.2, fixed in 1.2.1. See ticket #1580 for details: http://dev.jquery.com/ticket/1580 - Richard On 10/27/07, Mike Alsup [EMAIL PROTECTED] wrote: When calling an AJAX function with the POST method, there is no way for me to edit the GET fields of the URL because

[jQuery] Re: drawing on mousemove - performance problem

2007-10-27 Thread Flesler
http://groups.google.com/group/jquery-dev/browse_thread/thread/cc768c85d5514098?hl=en On Oct 26, 10:48 am, Flesler [EMAIL PROTECTED] wrote: $(function(){ $(document).mousemove(function(e){ draw([ e.pageX, e.pageY ]); }); }); do you really need to generate an array? I

[jQuery] Re: why this will fail in Safari?

2007-10-27 Thread Lee Hinde
Just for the archives, I found that Safari won't let jQuery add a selected attribute, but if one exists jQuery can toggle it. E.g., option id=01 value=NY selected=New York/option should work. I sorted through this a few months ago, so my memory may be a bit off. On 10/26/07, [EMAIL

[jQuery] Re: drawing on mousemove - performance problem

2007-10-27 Thread Cloudream
http://labs.cloudream.name/jquery/move.html like this? On Oct 26, 5:57 am, powtac [EMAIL PROTECTED] wrote: Is there a way to reduce the cpu load when I do something like this (and move the pointer very fast on the screen): $(document).mousemove(function(e) { x = e.pageX; y

[jQuery] Re: why this will fail in Safari?

2007-10-27 Thread Cloudream
$(document).ready(function(){ }); miss ; ? On Oct 27, 9:15 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I try to set a selected option in a Select box, the following code works without jQuery function defined, once I un-comment the jQuery part, it works in Firefox, but not in Safari

[jQuery] Re: clueTip feedback and suggestions

2007-10-27 Thread DaveG
There *seems* to be a pattern where the elements are floated, it causes the problem -- I'm not 100% sure of this though. The problem is odd in that there seems to be a relationship between where the hint last appeared, and where it is displayed for a subsequent element. There are some

[jQuery] Re: clueTip feedback and suggestions

2007-10-27 Thread DaveG
DaveG wrote: Okay, I have a little more, and now it's more important :) Due to the positioning issues I was having I switched to use bottomTop. This works fine, *except* when the target element is close to the right side. In this case the hint gets pushed horizontally out to the center of

[jQuery] like ContextMenu plugin, but with left clic and submenu

2007-10-27 Thread onlyafriend
Hi Friends i'm looking something like ContextMenu plugin, but it works with left click and have submenus, another pluging that i have seen need to construct ul tag for every link, but ContextMenu for instance you can make ul and you can attach ul menu and javascript for all rows in a grid.. .

[jQuery] Re: clueTip feedback and suggestions

2007-10-27 Thread Karl Swedberg
thanks a lot for all the work, Dave! I wanted to reply so you don't think I'm ignoring you. I've been at conferences all week, out of town, so my time to spend on any of this stuff has been quite limited. I will try to dig into it and have some sort of fix in place by the end of the coming

[jQuery] passing this

2007-10-27 Thread Jean-Sébastien
Hello, i want to call a function $('#selection').parent.child() with the following code : jQuery.fn.extend({ parent: { child: function(o){ doSomethingWith(selectedElement) } } }); but i dont know how to pass the selected element through parent (#selection) to child function. regards.

[jQuery] Re: Checkboxes and radios

2007-10-27 Thread Feijó
wow!!! What a builtfull code :)) Worked perfectly Thanks a lot, Wizzud Hope I get that advanced in jquery soon []s Feijó On Oct 26, 9:04 pm, Wizzud [EMAIL PROTECTED] wrote: OK, so they're actually children of the grandparents (aunts/ uncles?)... var checkBoxes =

[jQuery] Re: No click-response after inserting embed-mediaobject with jquery media-plugin

2007-10-27 Thread Mike Alsup
Hi Mike! Thanks for your answer! Your plugin is great! I have changed the code. But still nothing happens in IE... Any suggestions? On 27 okt, 16:20, Mike Alsup [EMAIL PROTECTED] wrote: I created an embedded windows media player object with the jquery media-plugin. This object has