[jQuery] Re: hiding a div when another div becomes empty?

2008-05-21 Thread Wizzud
$('#hiddenleft a').livequery('click', function() { var $this = $(this); $('#'+$this.attr('class')).show(); $this.remove(); if(!$('#hiddenleft a').length){ $('#hiddenleft,#hiddencontent').hide(); } }); On May 20, 3:52 pm, thekman [EMAIL PROTECTED] wrote: Hi all, I

[jQuery] BlockUI: Compress Version

2008-05-21 Thread Matthieu BARBE
Hi, I like blockUI, it's a nice plugin ! I suggest to propose a minified version and a packed version for this plugin. And, or can you see the changelog ? Thx, [EMAIL PROTECTED] PS : sorry for my bad english :(

[jQuery] Re: hiding a div when another div becomes empty?

2008-05-21 Thread thekman
Thank you Wizzud, works a treat... On May 21, 9:26 am, Wizzud [EMAIL PROTECTED] wrote: $('#hiddenleft a').livequery('click', function() { var $this = $(this); $('#'+$this.attr('class')).show(); $this.remove(); if(!$('#hiddenleft a').length){

[jQuery] Re: keycodes abstraction layer for different platforms

2008-05-21 Thread Massimiliano Balestrieri
using safari on macos char has the same keycode of my linux platform. It's a problem of windows only is there someone who knows how to fix it on windows? thanks

[jQuery] Re: hiding a div when another div becomes empty?

2008-05-21 Thread thekman
Hi Wizzud, Just wondering if there is any performance/browser compatibility or any other reason you changed: var $this = $(this).attr(class); $('#'+$this).show(); to var $this = $(this); $('#'+$this.attr('class')).show(); On May 21, 9:38 am, thekman [EMAIL PROTECTED] wrote: Thank you

[jQuery] Table slide toggle

2008-05-21 Thread Cloudream
http://labs.cloudream.name/jquery/tbody-slidetoggle.html Click TH to toggle tbody, but plays bad in FF2/OPERA9.2

[jQuery] Re: MooTools to Query

2008-05-21 Thread Wizzud
As with most things, there are different ways to achieve what you want. This is just one of them... Assumption: you have some styles defined along the lines of: style type='text/css' #demo-wrapper {height:250px; overflow:hidden;} .scrolling-content {height:250px;} /style (actual values are not

[jQuery] Re: BlockUI: Compress Version

2008-05-21 Thread Mike
I like blockUI, it's a nice plugin ! I suggest to propose a minified version and a packed version for this plugin. And, or can you see the changelog ? http://www.malsup.com/jquery/block/changes.txt You can pack your scripts here: http://dean.edwards.name/packer/ And you can minimize

[jQuery] Drag content from a page into a portal area - is it possible?

2008-05-21 Thread vneal
Hi can anyone help? I was just wondering whether anyone has come across any scripts which you have a portal in a page that you can update the content of - sort of like the functionality used in drag and drop shopping carts etc where you can drag an item into the basket area of the site - and

[jQuery] slideshow for big images

2008-05-21 Thread takeshin
Hello, I’m looking for a jQuery plugin to load dynamically and cycle big images. I need a plugin, that reads images from a directory or an array, but the current image must be read only if needed, not all at once. For example: 500 images 800x300px, only one (random or next) image is actually

[jQuery] Re: jsonp in GAE for jQuery xss

2008-05-21 Thread Andiih
Thx. Looks like the myhangouts example is going to get me moving... On May 20, 6:53 pm, Michael Geary [EMAIL PROTECTED] wrote: HiAndiih, I know the feeling! Don't worry, you will get it all sorted out. Take a look at the Google App Engine samples project:

[jQuery] Re: when to call noConflict?

2008-05-21 Thread Jon Reed
Call it before, there's some documentation here: http://docs.jquery.com/Using_jQuery_with_Other_Libraries J On May 20, 11:38 pm, darren [EMAIL PROTECTED] wrote: hi everybody I have some code where i need to use jQuery.noConflict() Do i call it before or after jQuery(document).ready() ?

[jQuery] Re: Tooltips

2008-05-21 Thread MartinS
Great! Do you have a demopage where I can see it alive? Thnx! On 19 mei, 23:39, Jörn Zaefferer [EMAIL PROTECTED] wrote: Actually the code is already here:http://dev.jquery.com/view/trunk/plugins/tooltip/jquery.formtip.js with ugly

[jQuery] Flicker code in js

2008-05-21 Thread Austin_newJQueryer
Hi guys...! Is there any sample coding for integrating FLICKER PHOTO by JS ( i am new to JS ) ... if yes please send any sample link thanks in advance Austin

[jQuery] Accordion Problems

2008-05-21 Thread fambizzari
I've just tried to implement the excellent UI Accordion plug-in (see http://www.favouritethings.com/dev/Accordion.htm) I am, however, struggling with 2 issues: 1. When you first open the accordion, it expands much more than needed and then contracts. 2. The manner in which it expands seems

[jQuery] Re: Sometimes my dynamic content doesn't load - please help!

2008-05-21 Thread Ry
Hi there, The long and the short of it is this. Different rendering engines in browsers do different things when they load a stylesheet - some wait and some try and go forward with rendering before it has loaded. Read about it here http://webkit.org/blog/66/the-fouc-problem/ which describes my

[jQuery] Re: AJAX ui.tabs and $(document).ready()

2008-05-21 Thread Scott González
This works perfectly fine for me. Do you have a demo page showing the problem? On May 20, 2:27 pm, Scott [EMAIL PROTECTED] wrote: It appears that when you use the AJAX implementation of ui.tabs the $ (document).ready() function is never executed. Should I be doing something else to get some

[jQuery] Re: [OT] twitter

2008-05-21 Thread marco
I'm also using Digsby since a few months and it's really a great software. My only wish is that it would be more open to let people create plugins themselves On May 21, 8:42 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: just found out digsby can be a twitter client. Great! Digsby manages

[jQuery] Re: selectors question

2008-05-21 Thread Wizzud
I, also, am not entirely sure what the end requirement is, but this might help ... $(document).ready(function() { var inputUpdate = $('input.listcomplete').next('ul').find('li') .bind('click', function(){ //this only works when a space is a valid separator, ie no LI //text contains

[jQuery] Strange Delay

2008-05-21 Thread Pickledegg
Heres an explanation of my problem: If you click DIRECTLY onto the 'faq' link and then click on one of the bold questions, the answer is faded in without a problem, and I'm happy. The weird thing is though, if you click on the 'rates' link or the 'main' link and then back to the 'faq' link,

[jQuery] Re: hiding a div when another div becomes empty?

2008-05-21 Thread Wizzud
It's just usage. '$this' is commonly used to indicate that the variable holds the jQuery object of 'this'. Personally I tend not to use variable names beginning with '$' because it confuses me, but a lot of people do, and that tends to be the convention they use, ie. var $this = $(this); var

[jQuery] Re: Tooltips

2008-05-21 Thread Jörn Zaefferer
No, not yet. Jörn On Wed, May 21, 2008 at 8:25 AM, MartinS [EMAIL PROTECTED] wrote: Great! Do you have a demopage where I can see it alive? Thnx! On 19 mei, 23:39, Jörn Zaefferer [EMAIL PROTECTED] wrote: Actually the code is already

[jQuery] Re: hiding a div when another div becomes empty?

2008-05-21 Thread thekman
ok, thank you, makes perfect sence now... On May 21, 1:34 pm, Wizzud [EMAIL PROTECTED] wrote: It's just usage. '$this' is commonly used to indicate that the variable holds the jQuery object of 'this'. Personally I tend not to use variable names beginning with '$' because it confuses me, but

[jQuery] Re: Fade out the whole page before loading next page

2008-05-21 Thread Peter Higgins
Just to jump in, You might get better animation quality/performance from a full screen fade if you fade _in_ a solid div occupying 100% of the viewport, rather than fading out the body tag. If the overlay div is the same color as your background, the effect will be near identical. the

[jQuery] Re: Strange Delay

2008-05-21 Thread Pickledegg
HERES THE LINKhttp://tinyurl.com/3m7t4n On May 21, 1:28 pm, Pickledegg [EMAIL PROTECTED] wrote: Heres an explanation of my problem: If you click DIRECTLY onto the 'faq' link and then click on one of the bold questions, the answer is faded in without a problem, and I'm happy. The

[jQuery] Re: Very basic animation of an image is jerky (not smooth). Am I doing something wrong?

2008-05-21 Thread Gordon
Isn't jerky here. What browser and machine spec are you using? On May 19, 7:27 pm, Ariel Barreiro [EMAIL PROTECTED] wrote: I am new to jquery but an experience developer. Here's the code actually running: http://guilespi.dyndns.org/jquery/bounceimage/

[jQuery] Validator plugin problem with radio buttons

2008-05-21 Thread Michael Price
I have two radio buttons on a form - one to select payment by card, another to select an alternate method. I'm using Jorn's validation plugin to validate the credit card fields but ONLY IF the credit card radio is ticked: CCType: { required: $(#paycredit).is(:checked) } However, this

[jQuery] SuperFish Plugin - How to Remove Animation

2008-05-21 Thread Ed
I love the animation on the SuperFish plugin, but my boss does not :( How do I remove all animation so that the nested ul's immediately appear with no animation?

[jQuery] Re: Very basic animation of an image is jerky (not smooth). Am I doing something wrong?

2008-05-21 Thread Ariel Barreiro
Really? I tested in a few environments. My main computer is a dell laptop, OS is a linux debian testing and I am using firefox 2.0.0.14. It's a Core Duo with 1GB RAM. I believe my box is properly configure as I experience a very fast response among all programs even when I have lots open. I

[jQuery] MOOTOOLS or JQuery

2008-05-21 Thread Mike
What are the pros and cons of each, and which is better to work with in ASP.NET?

[jQuery] Re: bind click event equal to mouseover

2008-05-21 Thread paragasu
On Tue, May 20, 2008 at 6:13 AM, Wizzud [EMAIL PROTECTED] wrote: One way is to make the LI's mouseover add a class, the mouseout remove that class, then set css to do what you want to the A element... $('li').hover( function(){ $(this).addClass('x') } , function(){

[jQuery] Re: Strange Delay

2008-05-21 Thread Pickledegg
Fixed, it was an error in my code where I'd placed an event handler function inside another event handler, and it was triggering both instead of the one. On May 21, 1:38 pm, Pickledegg [EMAIL PROTECTED] wrote: HERES THE LINKhttp://tinyurl.com/3m7t4n On May 21, 1:28 pm, Pickledegg

[jQuery] .show() Question

2008-05-21 Thread Jason
Hey all, Working on my graduation portfolio and I am not quite sure why things are behaving in the fashion that they are. Here is the test site to use as reference (I apologize for the gross code and long load time, only a test page). http://www.design72.net/d72_root/javascript_test.html I

[jQuery] problem with object response

2008-05-21 Thread Sebastián V. Würtz
How i can handle with jquery the uncaught exception: [object Object] firefox message when theres no answer from a query (via json in my case)? $.ajax({ url: weather.php, action: get_weather, dataType: 'json', success: function(json){

[jQuery] Re: Table slide toggle

2008-05-21 Thread Brian Schilt
I've had these similar problems with trying to animate table rows and cells. this problem is related to animations that adjust the width of the TR and TD elements. I've found that if I use animations that do not adjust the width, it acts fine. I would recommend you check out jQuery Enchant

[jQuery] Re: BlockUI: Strange flickering behavior.

2008-05-21 Thread Chris Jordan
Mike, thanks for your suggestion. I'll give that a shot and let report back. :o) Chris On Tue, May 20, 2008 at 9:11 PM, Mike [EMAIL PROTECTED] wrote: http://rock-itnaturalstone.com/dev/ThinVeneer.php Just hover over some of the stone samples to see what it's doing. It's driving me

[jQuery] Re: BlockUI: Strange flickering behavior.

2008-05-21 Thread Chris Jordan
That didn't fix the flickering problem. :o( Can anyone help? http://rock-itnaturalstone.com/dev/ThinVeneer.php Chris On Wed, May 21, 2008 at 11:10 AM, Chris Jordan [EMAIL PROTECTED] wrote: Mike, thanks for your suggestion. I'll give that a shot and let report back. :o) Chris On Tue,

[jQuery] Re: jQuery tooltip doesn't work after UpdatePanel update?

2008-05-21 Thread vladv
Thank you! I'll try to do that! :) On May 21, 6:38 am, steve_f [EMAIL PROTECTED] wrote: You need to hookup a callback using the ms ajax page request manager like so Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler); var EndRequestHandler=function(){

[jQuery] Re: BlockUI: Strange flickering behavior.

2008-05-21 Thread Chris Jordan
Just to clarify, in order to see the problem (especially in FF -- it looks a little different in IE) mouse over one of the thumbnails in the center of the page, and then leave the mouse there. You don't have to do any further movement of the mouse to see the problem happening. Thanks everyone. I

[jQuery] Another jQuery Camp after TAE conference?

2008-05-21 Thread Fontzter
I am going to put in a request at work to attend The Ajax Experience conference this fall in Boston. Last year there was a jQuery Camp following that conference. Does anyone know if there are plans to do the same thing this year? I want to make sure my travel/hotel arrangements will

[jQuery] Re: BlockUI: Strange flickering behavior.

2008-05-21 Thread Michael Price
Chris Jordan wrote: Just to clarify, in order to see the problem (especially in FF -- it looks a little different in IE) mouse over one of the thumbnails in the center of the page, and then leave the mouse there. You don't have to do any further movement of the mouse to see the problem

[jQuery] Re: BlockUI: Strange flickering behavior.

2008-05-21 Thread Chris Jordan
Michael, I'll try this. Thanks so much. On Wed, May 21, 2008 at 11:21 AM, Michael Price [EMAIL PROTECTED] wrote: Chris Jordan wrote: Just to clarify, in order to see the problem (especially in FF -- it looks a little different in IE) mouse over one of the thumbnails in the center of the

[jQuery] Re: BlockUI: Strange flickering behavior.

2008-05-21 Thread Chris Jordan
Hey, that's progress! I'm still getting the hour glass too, but the flicker is gone. It seemed before like the constantly being blocked and unblocked in rapid succession. Now, it looks just right, except that I don't like the hour glass. But I think I can show it to my client like this. Any

[jQuery] Re: Another jQuery Camp after TAE conference?

2008-05-21 Thread Matt
I'm curious about this also, I'm planning to put in the request at my work as well. It would be great to know if there will be a meetup/camp after the conference. Thanks for bringing this up Dave! Matt On May 21, 9:18 am, Fontzter [EMAIL PROTECTED] wrote: I am going to put in a request at work

[jQuery] Re: Another jQuery Camp after TAE conference?

2008-05-21 Thread Rey Bango
Logistics are still being worked on but we're planning on having one at TAE. Rey Matt wrote: I'm curious about this also, I'm planning to put in the request at my work as well. It would be great to know if there will be a meetup/camp after the conference. Thanks for bringing this up Dave!

[jQuery] Re: Another jQuery Camp after TAE conference?

2008-05-21 Thread Matt
Cool thanks Rey. I'll keep my eye out for more details. On May 21, 10:05 am, Rey Bango [EMAIL PROTECTED] wrote: Logistics are still being worked on but we're planning on having one at TAE. Rey Matt wrote: I'm curious about this also, I'm planning to put in the request at my work as

[jQuery] Re: BlockUI: Strange flickering behavior.

2008-05-21 Thread Chris Jordan
I figured out what the hour glass is all about. I'm throwing up an overlay, and that puts up the hour glass automatically. if you hover over just the text in the middle, then there's no hour glass there. Thanks for everyone's help! Chris On Wed, May 21, 2008 at 11:45 AM, Chris Jordan [EMAIL

[jQuery] jBox plugin help needed

2008-05-21 Thread JP
I am using this plugin http://www.aspstat.com/jbox/demo.htm owner has apparently died. and I need help knowing how to programmatically close the iFrame window. window.close and jBox.dispose( $('#jBox1') ); don't work thanks in advance

[jQuery] Re: Release: jQuery Validation plugin 1.3

2008-05-21 Thread Jörn Zaefferer
Currently not. Could you create a ticket for this? http://dev.jquery.com/newticket Thanks Jörn On Wed, May 21, 2008 at 5:58 PM, Alexsandro_xpt [EMAIL PROTECTED] wrote: That don´t work very well too. Test in Firefox: The firebug say: Too much recursion - jquery.js And get's browser slow.

[jQuery] accordion 1.5 - fixed height with scrolling

2008-05-21 Thread rolfsf
I had an accordion working with an older version of the jquery.accordion plugin, such that the accordion was a fixed height, and if an individual 'drawer' had too much content it scrolled. accordion v1.5 seems to override my overflow settings. It may just be a different option setting, but I

[jQuery] BlockUI: message as complete overlay

2008-05-21 Thread Chris Jordan
Recently in another thread (BlockUI: Strange flickering problem), I found that what I'd like is to have my message be the entire overlay. So as it stands right now, you get a semi-transparent overlay with a message in the middle. When you run your mouse over the overlay bit, the cursor turns into

[jQuery] Re: bind click event equal to mouseover

2008-05-21 Thread Ariel Flesler
Something like this ? $('li').mouseover(function(){ $(this).find('a').click(); }); -- Ariel Flesler http://flesler.blogspot.com On 21 mayo, 12:07, paragasu [EMAIL PROTECTED] wrote: On Tue, May 20, 2008 at 6:13 AM, Wizzud [EMAIL PROTECTED] wrote: One way is to make the LI's mouseover add

[jQuery] Re: Jquery effects Issue with multple ID targets

2008-05-21 Thread FrenchiInLA
Can you Post your code? anyway $(this) gives you the DIV as Jquery object inside of click event. Put the same class to all your div and use some code like: $(.yourclass).click(function(){$(this).dosomthing();}); Auriion wrote: Hi, I have 3 div's on the screen that I've also added

[jQuery] .get(0) fails in 1.2.5

2008-05-21 Thread jstrebel
Hi there, Noob.. and first post. Thanks for helping: When using jquery 1.2.1 this call var task = $(#task_+checklist_id+_+task_id)[0]; or var task = $(#task_+checklist_id+_+task_id).get(0); both return: [object HTMLTableRowElement] which is correct. (we are appending rows to a table...) But

[jQuery] Re: jBox plugin help needed

2008-05-21 Thread Sam Sherlock
perhaps thickbox, lightbox or shadowbox? the link is not responding with thinkbox - http://jquery.com/demo/thickbox/ you can close with tb_remove(); 2008/5/21 JP [EMAIL PROTECTED]: I am using this plugin http://www.aspstat.com/jbox/demo.htm owner has apparently died. and I need help

[jQuery] Re: Case Insensitive Selector

2008-05-21 Thread Scott Sauyet
Rafael Soares wrote: I'm using a [attribute*='value'] selector, and the only problem is that I need it to be case insensitive. I don't think there is any simple way, but a filter function should do what you need. http://docs.jquery.com/Traversing/filter#fn I might have this off a bit,

[jQuery] Scrolling div with image scroller?

2008-05-21 Thread hubbs
I have a very old javascript implementation of a scrolling div, that has an image as the scroller, so that I can scroll a div filled with content. Here is the original script: http://meddle.dzygn.com/eng/weblog/scroller.mod/ I would really like to find a new, clean and simple jQuery solution,

[jQuery] firefox 3 RC1 : tremendous slow down

2008-05-21 Thread Alexandre Plennevaux
hi friends, i just checked my jquery application using Firefox 3 Release Candidate 1 and whatever animations that are smooth and fluid in FF2 are staggering in FF3 RC1. Does anybody have the same issue, or knows why? the test is here: http://m2 .lab-au.com/ (choose 'projects'). thanks for

[jQuery] selector help

2008-05-21 Thread Antonio Collins
My app has to present some rather lengthy list of choices. Each choice has a checkbox tied to it and multiple choices can be made. When 'editting' the choices, we want to see all available choices, but after editting is done, we only want to see what was selected. I'm stuck coming up with the

[jQuery] Re: selector help

2008-05-21 Thread Antonio Collins
Had to resort to 2 statements. Still not sure why the filter() didn't work as expected. $('TR[*/INPUT]',list).hide(); $('TR[*/[EMAIL PROTECTED]',list).show(); Antonio Collins wrote: My app has to present some rather lengthy list of choices. Each choice has a checkbox tied to it

[jQuery] jQuery UI

2008-05-21 Thread Danjojo
Does the jQuery UI zip package contain jQuery, or is it just a library to USE with my jQuery library?

[jQuery] Re: AJAX ui.tabs and $(document).ready()

2008-05-21 Thread Scott
I figured out the issue, if you include the jquery libraries in your tabbed page it doesn't work but if you leave them out you still can use it. I guess the AJAX call just takes the html output from the page and inserts it into the page. On May 21, 6:25 am, Scott González [EMAIL PROTECTED]

[jQuery] Re: Jquery effects Issue with multple ID targets

2008-05-21 Thread FrenchiInLA
I did not check the CSS but as for Jquery code: you can regroup your DIV like following: div class=absoluteCenter id=closedChatBubbleA p ../images/closedChatBubbleA.png /p p ../images/expandedChatBubbleA.png /p

[jQuery] [Autocomplete] Applying bgiframe

2008-05-21 Thread Dyne Lightnos
Hello. How do I apply the bgiframe plugin to the autocomplete script? Do I just need to call the function on the textbox that I'm using? Thanks!

[jQuery] jQuery and tinyMCE help

2008-05-21 Thread Priest, James (NIH/NIEHS) [C]
I've got a form with several fields and I've added some real simple context help using jQuery with focus and blur. $([EMAIL PROTECTED], textarea).focus(function() { $(this).next('.contexthelp').show(); }); But not one of the forms is using TinyMCE and I can't for the life of me figure out

[jQuery] Re: Table slide toggle

2008-05-21 Thread Karl Swedberg
On May 21, 2008, at 12:02 PM, Brian Schilt wrote: I don't think there is a common download area for Enchant, just Google it and you'll find a bunch of places to download it. Let us know how it plays out. The Enchant effects are part of jQuery UI now. You can build a download of just the

[jQuery] Re: .get(0) fails in 1.2.5

2008-05-21 Thread Brandon Aaron
This is working for me. Must be a little more deeply rooted. Could you try and narrow things down? Create a simplified test-case that we could all explore? -- Brandon Aaron On Wed, May 21, 2008 at 12:53 PM, jstrebel [EMAIL PROTECTED] wrote: Hi there, Noob.. and first post. Thanks for

[jQuery] Cycle plugin pagerAnchorBuilder question

2008-05-21 Thread Andy Ford
Hi, I'm using the cycle plugin (and loving it). I'm using 'pagerAnchorBuilder' to build out the nav dynamically in an Ordered List. One thing I'd like to change is instead of having the 'activeSlide' class set on the anchor element, I'd prefer to have it set on its parent LI element. What

[jQuery] Inconsistent behaviour of [autocomplete]

2008-05-21 Thread Sebastian
Hello, the plugin http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ has a slight inconsistency. With multiple not set (default=false), I have different behaviour if I select a value with 'Enter' or with a mouse click. The return executes a $input.blur() the mouse click not. I

[jQuery] Re: MOOTOOLS or JQuery

2008-05-21 Thread Glen Lipka
Just about everyone here likes jQuery. ;) A quick googling shows a bunch of links to comparisons. http://www.google.com/search?hl=enq=jquery+vs+mootoolsbtnG=Google+Search I would also suggest trying a couple of simple demos in each one. I make alot of demos here: http://commadot.com/jquery I

[jQuery] Re: Cycle plugin pagerAnchorBuilder question

2008-05-21 Thread Mike
Hi, I'm using the cycle plugin (and loving it). I'm using 'pagerAnchorBuilder' to build out the nav dynamically in an Ordered List. One thing I'd like to change is instead of having the 'activeSlide' class set on the anchor element, I'd prefer to have it set on its parent LI element.

[jQuery] Transparent png fade bug IE7

2008-05-21 Thread Adam Housman
Hello everyone, I'm having a problem that seems to have been brought up here and on other discussion boards all over the web, but no one seems to have come up with a solution... I am trying to fadeOut and fadeIn transparent pngs. In IE7, all pixels that are transparent quickly turn to black as

[jQuery] Re: BlockUI: Strange flickering behavior.

2008-05-21 Thread Abba . Bryant
I have to point out that the blockUI plugin is overkill if all you want to do is fade the image and display a caption over it. If you gave each thumbnail a javascript created div inside the link and set to a 0 opacity with a white bg and then simply increased the opacity on hover-over, and

[jQuery] Re: .show() Question

2008-05-21 Thread Wizzud
If you put a background-color on #workContainer you will see that actually they both expand the same - one from the top-right corner, one from the top-left corner. It only appears to be different because of the different type of content. On May 21, 3:56 pm, Jason [EMAIL PROTECTED] wrote: Hey

[jQuery] if all classes are hidden?

2008-05-21 Thread thekman
Hi all, I have a bunch of divs on my page that all have a class of box, the boxes can be hidden by the div id, so when all are hidden, i also want to hide their parent div - left the code below hides the parent div as soon as one box is hidden, but i don't want to do this. Any ideas on how I

[jQuery] Re: bind click event equal to mouseover

2008-05-21 Thread Wizzud
So you've got a hover on the A, and the A is the sole content of the LI, and you want a hover on the LI to do the same as the hover on the A? Sounds to me like you might just need to make the A a block element - li a{display:block;width:100%;} - then you wouldn't need a hover on the LI. On May

[jQuery] Re: Cycle plugin pagerAnchorBuilder question

2008-05-21 Thread Andy Ford
Thanks, Mike! I look forward to that feature in the next rev. Having the class on the parent LI affords more flexibility with the css. Guess I can probably check for anchor elements with the class of activeSlide and then apply a class to the parent LI element maybe? Anyone know how I might go

[jQuery] Re: .get(0) fails in 1.2.5

2008-05-21 Thread Patrick McElhaney
On Wed, May 21, 2008 at 1:53 PM, jstrebel [EMAIL PROTECTED] wrote: When using jquery 1.2.1 ... Have you tried 1.2.3? Does it to work if you replace that line with a direct DOM call? var task = document.getElementById(task_+checklist_id+_+task_id) Patrick -- Patrick McElhaney 704.560.9117

[jQuery] Can you please help me to fix this

2008-05-21 Thread mattie
hi i need a basic idea of how to do this jquery part as im still a beginner. i have table row which has 3 table data which is repeating until all data finish for one client(family).i have to get all family members name and age above 25. this section in my HTML page: tr name=clientrow id=row td

[jQuery] Re: if all classes are hidden?

2008-05-21 Thread Hamish Campbell
if ( $('.box:visible').length == 0 ) { $('#left').hide(); On May 22, 12:13 pm, thekman [EMAIL PROTECTED] wrote: Hi all, I have a bunch of divs on my page that all have a class of box, the boxes can be hidden by the div id, so when all are hidden, i also want to hide their parent

[jQuery] Re: if all classes are hidden?

2008-05-21 Thread thekman
Thanks Hamish, works perfectly... On May 22, 1:46 am, Hamish Campbell [EMAIL PROTECTED] wrote: if ( $('.box:visible').length == 0 ) { $('#left').hide(); On May 22, 12:13 pm, thekman [EMAIL PROTECTED] wrote: Hi all, I have a bunch of divs on my page that all have a class of

[jQuery] clashing link div ID's?

2008-05-21 Thread thekman
Hi All, I have a bunch of links that I need to assign ID's to automatically through php. However, some of these ID's are already taken by some divs so are causing conflicts. I am thinking of adding_link to these new link ID's, so they now have an ID likedivid_link I want to hide the

[jQuery] Re: Convert special characters

2008-05-21 Thread Karl Rudd
JavaScript uses UTF-8, you need to make sure your pages are using UTF-8 and that your back end is also expecting that. Some useful links gleaned from a Google search of javascript utf-8: http://www.meanfreepath.com/support/javascript_charsets.html

[jQuery] Re: clashing link div ID's?

2008-05-21 Thread Michael Geary
Something like this would do the trick... $('#divid_link').click(function() { $( '#' + this.id.replace( /_link$/, '' ) ).hide(); }); Or if you prefer: $('#divid_link').click(function() { var id = this.id.replace( /_link$/, '' ); $( '#' + id ).hide(); }); BTW, how many is a bunch?

[jQuery] Re: clashing link div ID's?

2008-05-21 Thread thekman
Thanks Mike, that looks good... A bunch could be up to 30, would that be an issue? On May 22, 2:41 am, Michael Geary [EMAIL PROTECTED] wrote: Something like this would do the trick... $('#divid_link').click(function() { $( '#' + this.id.replace( /_link$/, '' ) ).hide(); }); Or if you

[jQuery] Re: clashing link div ID's?

2008-05-21 Thread ripple
javascript string functions. Example: ver test = split(_); alert(test[0]); You could also have multiple class names instead of adding it as an id if your already using the id val. Try not. Do or do not, There is no try. Yoda thekman [EMAIL PROTECTED] wrote: Hi

[jQuery] Re: clashing link div ID's?

2008-05-21 Thread Michael Geary
30 should be fine, but if you find that startup time is an issue, you can use a single event handler on a parent element (event delegation) instead. With a large number of elements, that's much faster, so it's good to be familiar with the technique. Let's assume that only your link elements have

[jQuery] Re: Case Insensitive Selector

2008-05-21 Thread Karl Swedberg
I agree that a filter function is probably the way to go, but a regular expression within it might be more flexible: $('something').filter(function() { return (/value/i).test( $(this).attr('attribute')); }); substitute your own value and attribute for the placeholders, of course.

[jQuery] Re: SuperFish Plugin - How to Remove Animation

2008-05-21 Thread pedalpete
at the beginning of the superfish.js, you'll see a list of function variables. In there, you'll see an 'animation' entry. I think the default is '{opacity:'show'},'. I don't know what the options are, but i'd set that to false and see how it goes. On May 21, 7:08 am, Ed [EMAIL PROTECTED]

[jQuery] Re: SuperFish Plugin - How to Remove Animation

2008-05-21 Thread Joel Birch
Hi Ed, The option you need to change is the speed option. For example, you could initialise Superfish like this: $(document).ready(function(){ $('ul.nav').superfish({ speed : 1 }); }); Setting speed to 1 will make the animation occur at the speed of 1 millisecond ie. instantly.