[jQuery] Re: jQuery SL - jQuery Silverlight Plugin Feedback

2009-04-11 Thread Koistya `Navin
Thomas, On 10 апр, 23:30, Thomas Creutz alien...@alientxc.de wrote: sorry, but who is using Silverlight? It is limited to Windows, and so it cuts down more than 10 % of our visitors. Its again a good thing from M$ to get a monopoly.. It is also works on Macs, and there is version for Linux -

[jQuery] Re: jQuery SL - jQuery Silverlight Plugin Feedback

2009-04-11 Thread Thomas Creutz
Jordon Bedwell schrieb: I suggest you check out http://www.smoothhd.com/ before you start dogging Silverlight. Learn a little about things before you dogg them please. haha, its not possible, I use Linux ... and Moonlight is not the right solution. -Original Message- From:

[jQuery] Re: jQuery SL - jQuery Silverlight Plugin Feedback

2009-04-11 Thread Thomas Creutz
Thomas Creutz schrieb: Jordon Bedwell schrieb: I suggest you check out http://www.smoothhd.com/ before you start dogging Silverlight. Learn a little about things before you dogg them please. haha, its not possible, I use Linux ... and Moonlight is not the right solution. because: I have

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-11 Thread Lwangaman
Wow I guess you did it! I believe you have succeeded in the endeavour! On 11 Apr, 06:21, Ricardo ricardob...@gmail.com wrote: I think you already got the .dc namespacing thing, so: the mousedown is not being bound to the checkbox, but to the container element (the table, or in my example

[jQuery] Re: Fade Pictures In and Out

2009-04-11 Thread victorg
The problem is that you cant set the opacity of an background-image itself, it will change the opacity for the entire element. So, my solution is: 1. Create an element inside the element you want to fade (fading element) 2. Give it the same dimensions as the parent element 3. Set the parent's

[jQuery] Re: jQuery SL - jQuery Silverlight Plugin Feedback

2009-04-11 Thread Jordon Bedwell
I suggest you check out http://www.smoothhd.com/ before you start dogging Silverlight. Learn a little about things before you dogg them please. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Koistya `Navin Sent: Saturday, April 11,

[jQuery] Re: jcarousel and text below image

2009-04-11 Thread globalpropertyonline....@gmail.com
Thanks for the response Jay. I have now added the function as follows in the head and tried the following two lines at three different places but still no luck. The errors seems to have gone away now , but I do not see the Bla. div = $(div style='display:none'blah/div);

[jQuery] Re: jQuery SL - jQuery Silverlight Plugin Feedback

2009-04-11 Thread Jordon Bedwell
You confuse the Silverlight project completely. It's not just a player. It's really actually truly a server. Kind of like Flash Media Server but way more advanced, they are 10 different leagues apart. Check out http://www.streamflashhd.com/ which is an Adobe/Akamai project demonstrating using

[jQuery] Re: jQuery SL - jQuery Silverlight Plugin Feedback

2009-04-11 Thread Jordon Bedwell
I forgot to mention, all this is live. No refresh (like Flash alone) and most of the time, not noticeable unless you have a huge drop in bandwidth all of a sudden. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Jordon Bedwell Sent:

[jQuery] Re: JQGrid .setGridParam() causing error

2009-04-11 Thread victorg
$(#results).setGridParam is not a function This usually means that #results cannot be find in the DOM, are you sure this is the correct element? Else i wouldn't know unless you supply a bit more of your source code. On Apr 10, 9:05 pm, Chuk violinssoundc...@gmail.com wrote: Hi.  I'm

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-11 Thread Lwangaman
BTW that jsbin.com is a great idea! Now does every little project in there get saved to a url? For example, this one is saved to /edabo? On 11 Apr, 10:21, Lwangaman donjohn.f...@gmail.com wrote: Wow I guess you did it! I believe you have succeeded in the endeavour! On 11 Apr, 06:21, Ricardo

[jQuery] Menu Hover and Selected

2009-04-11 Thread Takaya213
Hi I have the following jQuery code, but it doesn't seem to work 100%: $('.nav a img').hover( function(){ if($(this).attr(src).indexOf(_on) == -1) { var newSrc = $(this).attr(src).replace(.png,_on.png);

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-11 Thread Lwangaman
Now going back to my original example, I also had a separate checkbox that when checked checked all the others, and should cancel the mousedown event applied to those checkboxes. So this is how I went about doing it using your code: -- I namespaced the mousedown event (mousedown.ac) -- I closed

[jQuery] Re: Menu Hover and Selected

2009-04-11 Thread victorg
Maybe you should switch it to make use of the mouseover event only, and on mouseover change all menu items to off status and set the curret one to on? $(.nav a img).mouseover(function() { // clear all menu items with _on img $(.nav a img).each(function(){

[jQuery] Re: Managing scripts in AJAX applications

2009-04-11 Thread Jason Huck
On Apr 1, 1:39 pm, JMan jbeck...@gmail.com wrote: One thing I have been struggling with is AJAX applications is managing the js code that powers them. For example if you have a page that loads content from an AJAX call to the server and that content also has js code associated with it in

[jQuery] JQuery UI tabs and pagination

2009-04-11 Thread Claudio Poli
hi everyone, I've this situation: an X number of tabs; in tabs content there's a div classed .to_be_replaced and links for paginating. when I click on a link it should replace the content of .to_be_replaced. The problem here is that every div.to_be_replaced gets replaced, and not only the one

[jQuery] How to remove error messages from Validation Plugin

2009-04-11 Thread Rick
I'm using this plugin in its simplest form.. http://docs.jquery.com/Plugins/Validation All I have is this for my code: script $(document).ready(function(){ $(#form).validate(); }); /script It works fine, but I'm trying to hide the error messages which it defaults to This field is

[jQuery] jQuery plugin: Validation

2009-04-11 Thread Rick
I'm using this plugin in its simplest form.. http://docs.jquery.com/Plugins/Validation All I have is this for my code: script $(document).ready(function(){ $(#form).validate(); }); /script It works fine, but I'm trying to hide the error messages which it defaults to This field is

[jQuery] replacing entire html node having jquery trigger document.ready again for new content

2009-04-11 Thread e.sand
Hi, I have done a lot of searching and experimenting and haven't come up with a solution to my issue. There have been some people with somewhat similar questions, but nobody seems to be trying to replace the entire html node in a document and have all the script tags (especially including the

[jQuery] Re: Fade Pictures In and Out

2009-04-11 Thread Maurice Kroon
hi, not sure if this helps much, but it might put u in the right direction. As you've already mastered 'fading content in and out' you can do the same with about everything, including images or divs. What you should do is make a div and set it as background. This div will have that css

[jQuery] .ajax with php response

2009-04-11 Thread dttowns...@googlemail.com
Hi, I'm trying to get an echo output from a php page called through jquery's .ajax function: code $.ajax({ url:'php/cms_ne_edit.php', type:'POST', data:'ne_id='+ne_id,

[jQuery] Homemade, finder-like menu - problems with (un)hiding columns on click

2009-04-11 Thread Maurice Kroon
Hi, First of all, I wanted to thank you guys since you always help me out here. Second, about my problem.. I'm trying to write some jquery code here, but I've been stuck with it for days. What i want to do is a sort of finder-like (on mac) menu. Goal is to select a category. But, categories can

[jQuery] [Superfish] How to make secondary menu (i.e. the hover menu) horizontal instead of vertical

2009-04-11 Thread Stephen
Hi, I'm working with Superfish drop down menu which implements JQuery. Have it installed on Joomla 1.5.7 and am working on making the second- level menu horizontal. Right now hovering over a menu item with child items produces a vertical list.. I've tried to manipulate the CSS so that the li

[jQuery] Find and replace character inside div

2009-04-11 Thread jc_2009
Hi, How to do a find and replace with Jquery. For example... Current: div id=fruitsApple;Banana;Orange;Peach/div I want it to look like this: div id=fruitsApplebr /Bananabr /Orangebr /Peach/div I found and tried this code but it only does the first one. I don't know how to loop it. var f =

[jQuery] addClass (et al) malfunctioning in IE7

2009-04-11 Thread jnoob
im trying to perform a simple $(element).addClass('className', 1000); and while it runs smoothly in FF, IE7 is broken. the line of code is executed, but the element doesnt alter its appearance. when a second line of removeClass is executed, the element takes on the appearance of the 'className'

[jQuery] Re: Find and replace character inside div

2009-04-11 Thread Karl Swedberg
You'll probably want to set the global flag and use regex notation. var f = $('#fruits'); f.html(f.html().replace(/;/g, br /)); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 10, 2009, at 5:23 PM, jc_2009 wrote: Hi, How to do a find and replace

[jQuery] change LI class onclick of A inside

2009-04-11 Thread kevind
i'm using Glossymenu at dynamic drive: http://www.dynamicdrive.com/style/csslibrary/item/glossy_horizontal_menu/ what i want to accomplish is when I click one of the links inside the LI element, the LI's in the UL lose their class of 'current' and the clicked LI gains the class 'current' i

[jQuery] Re: Menu Hover and Selected

2009-04-11 Thread Takaya213
Nope, not quite what I was looking for. I want the one that is selected (page that you are on e.g. Home) to stay selected when one hovers over it, and the others to show a hover and then change back to the unselected state, but the one that is selected (page you are on) to stay selected.

[jQuery] Re: Find and replace character inside div

2009-04-11 Thread victorg
I think you would be best off with a Regular Expression: var f = $(#fruits); f.html( f.html().replace(/;/g,br/) ); /g enables global matching. When using the replace() method, specify this modifier to replace all matches, rather than only the first one.

[jQuery] Re: Menu Hover and Selected

2009-04-11 Thread victorg
Ah, guess i misunderstood. A way to handle that could be to check what the current page is and highlight the menu item of the link who has a href to that page. And add an extra check to the mouseout function to only remove the _on suffix if its not the current page. Would something like this

[jQuery] Re: JQuery UI tabs and pagination

2009-04-11 Thread Klaus Hartl
Use: $(.to_be_replaced, ui.panel).load(this.href); --Klaus On 11 Apr., 12:00, Claudio Poli masterk...@gmail.com wrote: hi everyone, I've this situation: an X number of tabs; in tabs content there's a div classed .to_be_replaced and links for paginating. when I click on a link it should

[jQuery] Re: change LI class onclick of A inside

2009-04-11 Thread victorg
The problem is that you are selecting li items which have the class glossymenu (li.glossymenu). While you actually need :ul.glossymenu li. So something like this should work :) $(ul.glossymenu li).bind(onclick,function(){ $(ul.glossymenu li).removeclass('current');

[jQuery] Re: Menu Hover and Selected

2009-04-11 Thread Takaya213
That's ok, we all misunderstand things at sometime or other. Unfortunatly this still removes the selected state of the button. Maybe it is due to the way that i am giving the button its selected state. victorg-2 wrote: Ah, guess i misunderstood. A way to handle that could be to check

[jQuery] Re: change LI class onclick of A inside

2009-04-11 Thread victorg
Oops, forgot the case on removeClass and addClass: $(ul.glossymenu li).bind(onclick,function(){ $(ul.glossymenu li).removeClass('current'); $(this).addClass('current'); }; ); On Apr 11, 3:50 pm, victorg vr.gerrit...@gmail.com wrote: The

[jQuery] Re: JQuery UI tabs and pagination

2009-04-11 Thread Claudio Poli
whops, thanks for pointing it out. claudio Il giorno 11/apr/09, alle ore 15:46, Klaus Hartl ha scritto: Use: $(.to_be_replaced, ui.panel).load(this.href); --Klaus On 11 Apr., 12:00, Claudio Poli masterk...@gmail.com wrote: hi everyone, I've this situation: an X number of tabs; in

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-11 Thread Lwangaman
Hmm, just noticed one problem though... A single click on a checkbox is supposed to work too, but with this code as soon as you mouseup the value goes back the other way... You have to drag off in order to keep the value in there... On 11 Apr, 06:21, Ricardo ricardob...@gmail.com wrote: I think

[jQuery] Re: How to remove error messages from Validation Plugin

2009-04-11 Thread Chuck Harmston
I don't recommend this, as it will stop users from submitting the form without giving them a reason for it. Talk about a usability nightmare. However, if you insist on it, there is a simple enough solution: just use CSS to style the .error class: label.error{display:none} Chuck Harmston

[jQuery] Re: Menu Hover and Selected

2009-04-11 Thread victorg
Guess i made a mistake again. :P This should work now, if not i'll eat my shoe. $('.nav a img').hover( function(){ if($(this).attr(src).indexOf(_on) == -1) { var newSrc = $(this).attr (src).replace(.png,_on.png);

[jQuery] Re: Menu Hover and Selected

2009-04-11 Thread victorg
Small correction.. var activePage = window.location.pathname.substr(1); $(a[href=+activePage+] img).trigger(mouseover);

[jQuery] Re: jQuery Cycle -- Thumbnail Paging

2009-04-11 Thread Chuck Harmston
Hi Amy, Do the thumbnails follow any naming convention? It wouldn't be terribly difficult to use a callback to replace the standard Cycle pager with thumbnails if we are easily able to determine the thumbnail URLs. Chuck Harmston http://chuckharmston.com On Fri, Apr 10, 2009 at 7:24 AM, amuhlou

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-11 Thread Lwangaman
Ok I tried to touch up the code a little to fix that, here's my example: http://jsbin.com/iyubi/edit Now, with a single click, the value on mouseup is reversed to keep it as it was with mousedown. But, when you do a drag, the mouseup of the last checkbox is not canceled or reversed... I suppose

[jQuery] jQuery BlockUI Plugin (v2)

2009-04-11 Thread stepan
Error in line 227, symbol 17 in IE8 File http://malsup.com/jquery/block/jquery.blockUI.js?v2.16

[jQuery] Re: JQuery UI tabs and pagination

2009-04-11 Thread stepan
hi! check the tab ID, or check currently selected tab On 11 апр, 21:00, Claudio Poli masterk...@gmail.com wrote: hi everyone, I've this situation: an X number of tabs; in tabs content there's a div classed .to_be_replaced and links for paginating. when I click on a link it should replace the

[jQuery] Re: jQuery plugin: Validation

2009-04-11 Thread stepan
hi exam. $(document).ready(function(){ $(#form).validate( errorPlacement: function(error, element) { } ); }); On 11 апр, 13:54, Rick r...@marketingease.com wrote: I'm using this plugin in its simplest form..http://docs.jquery.com/Plugins/Validation All I have

[jQuery] Re: change LI class onclick of A inside

2009-04-11 Thread kevind
the code i finally used was: $(ul.glossymenu li).click( function(){ $(ul.glossymenu li).removeClass(current); $(this).addClass(current);} ); thanks for the help; kd On Apr 11, 9:54 am, victorg vr.gerrit...@gmail.com wrote: Oops, forgot the case on

[jQuery] Re: JQuery Cycle Plugin Multiple Pagers on one page

2009-04-11 Thread Skinnyl
Thanks a lot! That's finally it... phew. I really appreciate your help.

[jQuery] Re: Error with BlockUI: 'parentNode' is null or not an object

2009-04-11 Thread mikemad
Thanks for the replies. I found out that the problem has to do with the fact that The BlockUi plug-in actually removes the passed in node from the DOM. At least I know what's going on now and am able to figure out a workaround. That's not good behavior for a plug-in. Mike On Apr 10, 4:14 pm,

[jQuery] 'Simulating' mouseenter/mouseleave/hover events using $.live

2009-04-11 Thread Walther
I am looking for a way to simulate the actions of the hover (or mouseenter/mouseleave) whilst using the live method of binding (The items are dynamic). Is there a way to do this or will I need to use the 'old fashioned' method of unbinding and rebinding? I do not want to use a plugin.

[jQuery] IE8 will not perform Fade animation properly

2009-04-11 Thread Jared A. D. Radtke
Hello All, I am new to this forum as well as web design (started a few months ago). I have been trying to implement fade effects on my site which are not working in IE8 (naturally works fine in everything else). When it runs, the text (set within a span that has an ID) simply disappears rather

[jQuery] jQuery Form Validation

2009-04-11 Thread NobitaNobi79
Hi, I am new to jQuery. I follow the example on http://docs.jquery.com/Plugins/Validation/Methods/email to add rules to a form validator. When I modified the rules to email: true (required: false), the script seems to stall there, no error message nor a check. Can someone tell me if I am doing

[jQuery] JQuery UI BlockUI Plugin bug

2009-04-11 Thread wardenik
In version: http://www.malsup.com/jquery/block/jquery.blockUI.js?v2.15 When you invoke .block() on the same element multiple times, then you get multiple layers. Instead it should if this element is already blocked :-) great plugin! thanks!

[jQuery] Superfish weird behaviour

2009-04-11 Thread undercash
Hi, I am just a joomla webmaster so my abilities are near 0.. However I d love someone to have a look at my superfish menu. It behaves differently depending of the section of the meny for example here at this page there is no problem http://www.free-poker-moneys.com/online-poker-bonus/ But

[jQuery] Simple HTML swap question

2009-04-11 Thread Calvin
I have a simple index page with 3 links(with separate ids) and a empty div/div tag(with an id). I am able to get content to load into the empty div tags but I am also repeating jquery code to do so. I have limited experience creating variables and switch/case statements and I'm thinking that's

[jQuery] sidebar menu

2009-04-11 Thread go_on
hi friends, i want to know how to create a floating sidebar menu. which expands and colapses on clicking. this side bar would open from left to right. I have seen this many site and want to know how to do it using jquery. kinda similar to this http://www.cssnewbie.com/example/popout-ad/ but i

[jQuery] Re: Fade Pictures In and Out

2009-04-11 Thread PF
Hey everyone and thanks for all the help. I currently have the photos working in a UL list, but I can't figure out how to set them as the background. Thanks for any help. PF wrote: Hi everyone. I asked awhile ago about fading content in and out, now I am wondering how to fade images in and

[jQuery] Validation plugin remote problem

2009-04-11 Thread Victorr
I'm using CakePHP, jQuery and the validation plugin. I'm having some problems. I'm trying to check if a email is already in use but I can't seem to get it too work. I'm just trying to get a error message to see that it works but I can't seem to get it right. Javascript:

[jQuery] Re: Simple HTML swap question

2009-04-11 Thread Karl Swedberg
Hi Calvin, One way you can simplify things is to give each of those containers (#letters-a, #letters-b, etc.) the same class -- for example, letters. Bind a click handler to all links within element that have class=letters Then, inside the click handler, you're going to load a file based on

[jQuery] Re: Simple HTML swap question

2009-04-11 Thread Calvin Stephens
Hi Karl, I was actually trying to build on a tutorial from your book- Learning jQuery 1.3. The example was from Chapter 6 (the appending HTML/ AHAH technique). Your solution will more than likeley work... I was just trying to figure out how to make some reuseable code for all of the links. Your

[jQuery] Re: Simple HTML swap question

2009-04-11 Thread Karl Swedberg
Yeah, I thought that looked familiar. ;-) Glad you like the book. Let me know if you need any more help with that. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 11, 2009, at 7:49 PM, Calvin Stephens wrote: Hi Karl, I was actually trying to build

[jQuery] Re: IE8 will not perform Fade animation properly

2009-04-11 Thread Jordon Bedwell
How exactly are you trying to fade it? A sample of your code would be good to diagnose said error, otherwise we have to assume that you are relying on JQuery to fade and if you are then assume that it's the way you have your span setup with CSS. -Original Message- From:

[jQuery] Re: Homemade, finder-like menu - problems with (un)hiding columns on click

2009-04-11 Thread rolfsf
I don't have an answer to your specific plugin problems, but have you seen Nicolas Rudas' jQuery Finder plugin? : http://www.nicolas.rudas.info/jquery/finder/ Perhaps an answer lies in that plugin, which has similar goals to your own On Apr 10, 3:46 pm, Maurice Kroon flapflapf...@gmail.com

[jQuery] Re: Simple HTML swap question

2009-04-11 Thread Calvin Stephens
Thanks for offering to help out more Karl! I was able to get it to work! Cheers, Calvin On Sat, Apr 11, 2009 at 5:16 PM, Karl Swedberg k...@englishrules.com wrote: Yeah, I thought that looked familiar. ;-) Glad you like the book. Let me know if you need any more help with that. --Karl

[jQuery] Re: JSON , PHP, MySQL, and jQuery

2009-04-11 Thread Jean
[ {'name': 'John', 'lastName': 'Doe','age':'25', 'height': '170', 'weight': '120'}, {'name': 'Jane', 'lastName': 'Doe','age':'26', 'height': '175', 'weight': '121'}, {'name': 'Jack', 'lastName': 'Doe','age':'27', 'height': '180', 'weight': '122'} ] i think is {' [name': 'John',