[jQuery] Re: JQuery sliding div issue

2009-09-30 Thread sneaks
i didnt test your code but if you say it works then i think you just need a resize listener: $(window).resize(function(){ // do stuff }); cheers j On Sep 30, 12:23 pm, jpearson311 wrote: > Hi all.  JQuery noob here.  I'm building a site right now that has a > left column navigation and the

[jQuery] Google map throwing exception

2009-09-30 Thread Mohd.Tareq
Hi All, I am trying google map with JQuery Model window. I have written some script to view google map with model window. Bellow steps are 1 - Click on link, (onclick event I am calling a javascript function to show google map with model window) function showGoogleMap(id,lat,long){ try{

[jQuery] Re: Hide row if empty

2009-09-30 Thread Wacko Jacko
Brilliant! I will try this and get back to you.Thanks for your time! On Oct 1, 3:21 pm, Charlie Griefer wrote: > Assuming you can turn those id's into classes (where you have > id="database")... you can do the following: > > $(document).ready(function(){ >     $('ul .database').each(function() {

[jQuery] Re: Hide row if empty

2009-09-30 Thread Wacko Jacko
Hi Charlie, Thanks for your reply. I am using Business Catalyst (SaaS, hosted solution) so I can't do the php / ASP thang. I was using those id's only for reference purposes in this thread. Thanks. On Oct 1, 3:14 pm, Charlie Griefer wrote: > If you're working with server side data like that,

[jQuery] Re: Hide row if empty

2009-09-30 Thread Charlie Griefer
Assuming you can turn those id's into classes (where you have id="database")... you can do the following: $(document).ready(function(){ $('ul .database').each(function() { if ($(this).text() == "") { $(this).parent().hide(); } }); }); On Wed, Sep 30, 2009 at 10

[jQuery] Re: Hide row if empty

2009-09-30 Thread Charlie Griefer
If you're working with server side data like that, couldn't you just write a conditional in whatever language you're using (PHP, CF, ASP, etc) to not display the if no data? Also, do you really mean to re-use "database" as an ID for multiple elements? ID's ought to be unique. On Wed, Sep 30, 20

[jQuery] Re: fadein is not a function?

2009-09-30 Thread jessie
No its ok,,, Please understand, this is my 3rd day at looking at jQuery... no previous javascript knowledge / or programming, Only a noob at css and html. have been self teaching myself for 1 year. Jess :) On Oct 1, 3:05 pm, Dhruva Sagar wrote: > Np, it happens to everyone, sorry for being a

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
No worries. Send me a NJ pizza. I haven't had good pizza since I left NJ :) On Wed, Sep 30, 2009 at 8:13 PM, Glen_H wrote: > > Thanks again! > > Thanks from Central jersey too! I saw on your site your home grown > Jersey, Good stuff. > > > Take it easy man. > > Glen > > On Sep 30, 11:05 pm, Ch

[jQuery] Re: fadein is not a function?

2009-09-30 Thread Dhruva Sagar
Np, it happens to everyone, sorry for being a bit harsh :). Thanks & Regards, Dhruva Sagar. Ogden Nash - "The trouble with a kitten is that when it grows up, it's always a cat." On Thu, Oct 1, 2009 at 10:09 AM, jessie wrote: > > Ye

[jQuery] Re: Tablesorter problems

2009-09-30 Thread Mike
Is there no one that can help? On Sep 30, 4:26 pm, Mike wrote: > Hi I have recently come across the tablesorter 2.0 for jquery and have > decided to use it on my website.  I have the examples to work etc. > however I would like to exclude the first column of my table from > being sorted and just

[jQuery] Callback Function > had a look but don't get it

2009-09-30 Thread jessie
Ok i'm nearly there LOL i have the link and a box which i want to foundOut as my function. All works dandy now :) But whatif i wanted after i clicked on the link to go to its normal state? Well i went to the jquery site but i don't think its designed for TRUE beginners like myself It talk

[jQuery] Hide row if empty

2009-09-30 Thread Wacko Jacko
Hi All, If I had a list displaying data as follows: Label Here{content here if available from database} Label Here{content here if available from database} Could I hide the whole if their is nothing available to show from the database in ? Thanks in advance for your help Jack

[jQuery] Re: fadein is not a function?

2009-09-30 Thread jessie
Yes thank-you... after i posted i had a look. I guess looking at this type of *new code* has boggled up my eyes ;-) On Oct 1, 2:36 pm, Dhruva Sagar wrote: > Did you even look at jQuery's site ?the function is fadeIn with a capital > 'I' > > example : $("selector").fadeIn("slow"); > > Thanks & R

[jQuery] Re: fadein is not a function?

2009-09-30 Thread Dhruva Sagar
Did you even look at jQuery's site ?the function is fadeIn with a capital 'I' example : $("selector").fadeIn("slow"); Thanks & Regards, Dhruva Sagar. Joan Crawford - "I, Joan Crawford, I believe in the dollar. Everything I earn, I

[jQuery] fadein is not a function?

2009-09-30 Thread jessie
Hi I'm doing some online tutorials and simple tasks I'm getting an error on the function .fadein can someone please tell me what is wrong with this code. $(function() { // document is ready for load $('a').click(function() { $('.box').fadein(5000)

[jQuery] Re: Trying to match just the first descendent in each tree of descendents

2009-09-30 Thread Charlie
$(".widget > .widget")  // stops at first desendant $(".widget .widget : first") //might work too, haven't tried it Andrew Ingram wrote: Apologies for the subject line, I'm struggling to explain the problem in a concise manner. I have the following document: Page Title Goes H

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Glen_H
Thanks again! Thanks from Central jersey too! I saw on your site your home grown Jersey, Good stuff. Take it easy man. Glen On Sep 30, 11:05 pm, Charlie Griefer wrote: > As with including an external .js file, including an external .css file is > not functionally different than including it

[jQuery] Re: [superfish] How to focus on clicked menu item after menu item is clicked with jQuery ?

2009-09-30 Thread Charlie
not sure exactly what you are trying to do but using jQuery addClass() you can create a different css class for anything you click on Tharindu Madushanka wrote: Hi, I am new to jQuery and using superfish popup menu widget to create a menubar. I have only four menus and 3 of them are not d

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
As with including an external .js file, including an external .css file is not functionally different than including it on the page. The included css will affect any applicable element(s) on the page. When you manipulate an element's CSS with jQuery, you're just manipulating the CSS of that speci

[jQuery] Re: Superfish navbar alignment question

2009-09-30 Thread Charlie
you could do that with out using navbar option, set sub li's inline and remove sub ul width, not tested but should be fairly straightforward Vali wrote: Hello, Actually I will repeat a message sent by some other user, message which seems to have been completely ignored. I believe this is

[jQuery] Re: Modal Dialog with a datepicker inside, works one time, then never...

2009-09-30 Thread Alex Barrios
2009/9/30 Nalum : > > Hello Alex, > The only reason it would be a problem is if you don't apply the jQuery > to the input every time it is loaded or if it is loaded a second time > and old input is still on the page then you have two elements with the > same id. > > If you have two elements with t

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Glen_H
Charlie, thanks for the feedback. A million times thank you! that is exactly what I was looking for. One other question I have is altering CSS using .css in Jquery, will that auto select any linked css files or will I have to further develop the jquery code to further direct it? I ask becuse well

[jQuery] Re: How to link the JQuery

2009-09-30 Thread Charlie Griefer
in your main page... you link to jquery.js: Then you can either write inline javascript under that... $(document).ready(function() { alert("I am ready"); }); ... or you simply link to other external scripts: ...as many times as you need to. There's no functional di

[jQuery] Re: Really struggling pls help

2009-09-30 Thread jessie
Hi James Thanks so much for replying to my desperate request for help! LOL Well somehow i managed to work This is what i've done. jQuery(function($) { function getLeaf(url) { var splited=url.split('?');// remove all the parameter from url url=splited[0]; return url.substring(url.lastIndexO

[jQuery] Re: remove accordion item

2009-09-30 Thread plian
hi, hope the following code could help header content Delete header2 content 2 Delete On Oct 1, 12:47 am, Hundredth Monkey wrote: > thanx fo

[jQuery] How to link the JQuery

2009-09-30 Thread Glen_H
I am confused as to how to link an external JQuery file to my web page. I understand using . My question is regarding the file I downloaded from Jquery.com. Do I add code to that file and link it, or do I link that file and then create a new file with javascript in it and link that as well? Do I

[jQuery] Re: Really struggling pls help

2009-09-30 Thread James
I'm still unsure what you want to achieve. To select the tag, in place of: $('input[type="image"]') you can use: $(".LPButton") assuming that all relevant tags to want to work on will have the class="LPButton". That's as far as I know. I'm not clear on what you want to do with it. (There's no

[jQuery] Really struggling pls help

2009-09-30 Thread jessie
Hi All Please be gentle with me! Ok, its been 5 days that i'm trying to understand jQuery. I cannot get my head around it for the life of me! i'm no programmer and have had no experience with JS. I've started developing websites only 1 yr ago and i came across jQuery when i wanted to do an acc

[jQuery] Form Validation

2009-09-30 Thread Samuurai
Hi, I have got some very rudimentary validation working with JQuery validation, however, by default, it creates some label tags with the error messages in them, right next to the input tags which have errors. How can I control where these error messages are displayed, as they're inside the same

[jQuery] Re: Help using

2009-09-30 Thread Jsudesign
Just a single page, It's for a display. On Sep 30, 1:37 pm, James wrote: > Does this have to take into account of people navigating through > different pages on the website? Or just on a single page? > > On Sep 30, 8:49 am, Jsudesign wrote: > > > Hello I'm in need of some help in getting my cus

[jQuery] Re: keeping table header fix

2009-09-30 Thread Jack Killpatrick
That's a neat trick I haven't tried before. Is there an easy way to deal with (as in hide/remove) the horizontal scrollbar that also appears? Does that work across browser? I've just tried FF so far. Thx, Jack Matt wrote: On Sep 16, 7:55 pm, Macsig wrote: Yes, I do but I don't see how th

[jQuery] Re: Prevent jagged text in IE

2009-09-30 Thread Dave Methvin
> I'm not sure why this 'fix' should be added to fadeOut? It seems most > applicable to fadeIn and fadeTo. Whoops, right. So the problem would be that in IE only, .fadeTo ("slow", 1) makes the element completely visible and then pops to 50% opacity based on the stylesheet when the element's filte

[jQuery] Re: ajaxQueue not aborting ajax calls with Autocomplete

2009-09-30 Thread jmunning
I figured this out. The problem was not with AjaxQueue it was that the abort method was not firing ajaxStop which is what I was using to hide the loading indicator. Upgrading my jquery.js file from 1.2.6 to 1.3.2 fixed this. Thanks. On Sep 28, 11:08 am, Jörn Zaefferer wrote: > Can you provide

[jQuery] Re: CSS not loading and cannot access newly loaded content

2009-09-30 Thread James
I really do not understand what you are trying to do. Could you set up a simplified test page and point to what you expect to happen and what is happening? On Sep 29, 11:12 pm, IsenGrim wrote: > Hi > > I want to load new content into a container using .load > ('content.html') after the user clic

[jQuery] Re: Behavior of document.write call in a .loaded external file

2009-09-30 Thread The alMIGHTY N
I actually should look into the availability of Flash plug-ins for jQuery. Those could prove useful to some of the projects I've got in the pipeline. I ended up finding the one document.write statement in Adobe's code and changing it to a DOM innerHTML call that worked perfectly. This was certa

[jQuery] Re: fadeTo() possible speeds

2009-09-30 Thread Matt Critchlow
>From the documentation: http://docs.jquery.com/Effects/fadeTo speed String, Number A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000). What else are you looking for? You use one of the three Str

[jQuery] fadeTo() possible speeds

2009-09-30 Thread kali
here, http://docs.jquery.com/Effects/fadeTo why are all possible params not listed?? (for example for fadeIn(), fadeOut(), fadeTo() it just says "speed", but why doesn't it list all possible speeds ("slow".. is there a "fast"???) this site is a bit weird, if I go to http://docs.jquery.com/Mai

[jQuery] Re: jQuery .post function failing in Safari 4.03

2009-09-30 Thread James
Sorry, cannot help. Please leap on your balcony (and video tape it). Just joking. ;) Do you have anymore information on what "the .post fails" mean? The sentence is too vague. Does it make the request and it errors? Or does it not make the request at all? You can use Firebug for Firefox to help

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread James
No problem. Yeah, the @ attribute character was deprecated and not used anymore since jQuery 1.3, so it must have been a (old) tutorial using previous version. On Sep 30, 10:38 am, "kevin.mccormick" wrote: > Exactly, thanks James. For some reason I found tutorial code that had $ > ("inp...@name=

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread kevin.mccormick
Exactly, thanks James. For some reason I found tutorial code that had $ ("inp...@name=product_id]").click(); instead of $("input [name=product_id]").click(); and so this broke it... I was close. THANK YOU On Sep 30, 1:28 pm, James wrote: > With your HTML, you can do it two simple ways: > > By cl

[jQuery] Re: Help using

2009-09-30 Thread James
Does this have to take into account of people navigating through different pages on the website? Or just on a single page? On Sep 30, 8:49 am, Jsudesign wrote: > Hello I'm in need of some help in getting my custom ad set up working. > Any help would be greatly appreciated. > > Here's what I'm tr

[jQuery] Re: (autocomplete) not selecting value unless user explicitly selects it

2009-09-30 Thread Mike Wertheim
I'm realizing that I didn't describe this completely enough. I'm putting together a search engine. So I need text field (with autocomplete) and a Search button. When the user presses return, it should submit the form (i.e. the equivalent of clicking the Search button). When the user explicitly

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread kevin.mccormick
Thanks for the reply Robert. :) Because the "product_id" represents grouping of radio boxes, I wanted a single click event on the product_id, then handle the display of the hidden checkboxes accordingly. As I thought, I had the name selector wrong. Instead of using this: $("product_id").click()

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread James
With your HTML, you can do it two simple ways: By classname (don't forget the .): $(".checkbox").click(); Or name of the fields: $("input[name=product_id]").click(); If you use: $("product_id") It's looking for an HTML element , which, you don't have such on your page. On Sep 30, 9:21 am, ri

[jQuery] Re: Behavior of document.write call in a .loaded external file

2009-09-30 Thread Michael Geary
When you load these dynamic players, have you already verified that your visitor has a compatible Flash player installed? That's really all that the fancy Adobe code (or alternatives like SWFObject) buys you. If you use the Adobe code to load some Flash movie on the main page, than it's already don

[jQuery] Re: jQuery .post function failing in Safari 4.03

2009-09-30 Thread Matt Critchlow
I would first try putting your function call to reloadWindow() in the complete callback for the $.post function. So your post code would look like: $.post( "includes/update.php", { action: "y" }, reloadWindow); and take out the call to reloadWindow() after updateSession() You may have other bac

[jQuery] Re: I think I'm using the wrong syntax for radio button name

2009-09-30 Thread roberto
I guess you are assigning the ".checked" class doing something else, right? Did u try this?: if ($("#multimarket").is(':checked')) { Into this: if ($("#multimarket").hasClass(':checked')) { Also, why you are using this: $("product_id").click(function () { Spite this: $("#checkbox").click(

[jQuery] Re: Help using

2009-09-30 Thread roberto
Why not to use setTimeout? This way you call once each function, and forget about clear the interval and waste memory. function1(){ // do something... // 30 miliseconds = 5 min -> then i call function2 window.setTimeout(function2, 30); } function2(){ // do something // 60 mi

[jQuery] Re: Problem with fade-effects and IE8

2009-09-30 Thread dirknibleck
I am experiencing the same issue with slideToggle and toggle in Internet Explorer 8. Were you able to find a resolution? On Sep 8, 2:08 am, Boolace wrote: > Hi, > > I've a problem with the fadeIn() and fadeOut()-commands of jQuery > usingInternetExplorer8. Firefox, Opera, Safari and IE up to ver

[jQuery] Re: Ajax results?

2009-09-30 Thread Michael Geary
25 x 12 sounds closer to 300 elements? Either way, it's easy to generate that much stuff in JavaScript and get good performance, if you're careful about how you write the code. Here's a post with some tips and optimized code for a similar task: http://groups.google.com/group/jquery-en/msg/121203c4

[jQuery] Re: keeping table header fix

2009-09-30 Thread Matt
On Sep 16, 7:55 pm, Macsig wrote: > Yes, I do but I don't see how that can help me out. > > Thanks > > On Sep 16, 4:01 am, Liam Byrne wrote: > > > do you actually have the headers in a , with the content in ? > > > Most people forget about those. > > > L > > > macsig wrote: > > > Hello guys, >

[jQuery] (autocomplete) not selecting value unless user explicitly selects it

2009-09-30 Thread mikewertheim
I'm using the jquery autocomplete plugin. Suppose the user starts typing, and the autocomplete presents a drop- down of possible values. If the user presses return, the first value in the drop-down is selected. What I want instead is the user experience that Firefox's search box provides: As th

[jQuery] I think I'm using the wrong syntax for radio button name

2009-09-30 Thread ripcurlksm
I have three radio buttons, and when a certain radio is selected I want to show a series of checkboxes. If the other two radio buttons are selected, I want to hide the checkboxes. I *think* the problem is that I am using the wrong syntax to call the click() function on the radio "name" attribute.

[jQuery] Re: Behavior of document.write call in a .loaded external file

2009-09-30 Thread The alMIGHTY N
Thanks for the response, Mike. I can't believe I didn't put those two things together! I'm creating a page that will display a Flash Video Player (the one that comes with Dreamweaver by default) to load progressive video content. My intention is to include links on that page representing differen

[jQuery] Help using

2009-09-30 Thread Jsudesign
Hello I'm in need of some help in getting my custom ad set up working. Any help would be greatly appreciated. Here's what I'm trying to do: I have content set up and after 10 minutes I want to display an advertisement over the content that last for 5 minutes. So it would look like this: Regular

[jQuery] Re: array object

2009-09-30 Thread Michael Geary
Cool. But change the variable name! It's not an array, it's an object. Two very different things in JavaScript. Calling it an array will just lead to confusion. :-) -Mike On Wed, Sep 30, 2009 at 7:02 AM, Poloman wrote: > > owesome just what i need to learn. Thank you very much > > On Sep 30, 8

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Thanks you very much amuhlou! I've changed the width and height and put them in the css poperty. On 30 set, 14:33, amuhlou wrote: > I'm inspecting the div with the IE developer toolbar and it looks like > the dinamica div's height isn't being recognized. When the plugin > initializes, it puts in

[jQuery] Re: Behavior of document.write call in a .loaded external file

2009-09-30 Thread Michael Geary
document.write() requires the document to be "open" in order to write to it. The three related functions here are: document.open() document.write() document.close() When a page starts loading, the browser implicitly calls document.open() to open the document. So document.write() works as you expe

[jQuery] Re: Ajax results?

2009-09-30 Thread James
I can't really say. It varies depending on what you're trying to put in and how you're doing it. For example, inserting 120 large tables versus 120 lines of text will probably have a noticeable difference. And how you're doing it. For example, inserting everything at once, or set a timeout to inse

[jQuery] Tablesorter problems

2009-09-30 Thread Mike
Hi I have recently come across the tablesorter 2.0 for jquery and have decided to use it on my website. I have the examples to work etc. however I would like to exclude the first column of my table from being sorted and just to remain static irrespect of the other columns being sortable. I have

[jQuery] Superfish Z-Index flash issue SAFARI Only

2009-09-30 Thread stellar
Using superfish on a site and getting drop down menus behind flash object (SWFObject dynamic embed) in Safari only. Works in all versions of IE 6-8, Firefox 3, Opera, Chrome. Only issue is Safari 4. Anybody ever run into this issue with Safari? Had the issue initially with multiple browsers an

[jQuery] jQuery .post function failing in Safari 4.03

2009-09-30 Thread jefrobaby
I need some cross browser support here before I leap off my balcony this morning. I am working on a simple store which has links for the shopper to enter a coupon code. These open a coupon code entry window. When the user enter the code and clicks submit the following actions fire off; check code

[jQuery] Behavior of document.write call in a .loaded external file

2009-09-30 Thread The alMIGHTY N
I need to be able to use jQuery's load function to grab the contents of an external file and append them to a particular DOM element. The problem is that when that external file includes scripts that contain calls to document.write, I get weird behavior that changes depending on which browser I'm

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
I'm inspecting the div with the IE developer toolbar and it looks like the dinamica div's height isn't being recognized. When the plugin initializes, it puts in a bunch of inline styles, so I'm thinking the height and width you have set may be getting overwritten.Add the dinamica div's height and

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Nothing! :) Just stay there, they are just replacement images. On 30 set, 14:11, amuhlou wrote: > what should the images below the cycle div be doing? > > On Sep 30, 4:52 pm, Ricardo wrote: > > > Here is a link:http://www.softcore.com.br/loxxi/servicos.php?idCategoria=11 > > You'll see the imag

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
I see now that it's only happening in IE6. Have you tried assigning a width to the that encloses the whole right column? On Sep 30, 5:11 pm, amuhlou wrote: > what should the images below the cycle div be doing? > > On Sep 30, 4:52 pm, Ricardo wrote: > > > Here is a link:http://www.softcore.com

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
what should the images below the cycle div be doing? On Sep 30, 4:52 pm, Ricardo wrote: > Here is a link:http://www.softcore.com.br/loxxi/servicos.php?idCategoria=11 > You'll see the images on the right side of the page. > > On 30 set, 11:36, amuhlou wrote: > > > I"m not sure I understand what

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Here is a link: http://www.softcore.com.br/loxxi/servicos.php?idCategoria=11 You'll see the images on the right side of the page. On 30 set, 11:36, amuhlou wrote: > I"m not sure I understand what you mean when you say the first div > hides the second.  Could you post an example page? > > On Sep

[jQuery] Re: remove accordion item

2009-09-30 Thread Hundredth Monkey
thanx for your response . but this doesnt work. there simply happens nothing . this is my HTML markup. header content Delete header2 content 2 Delete any idea what I' m doing wrong? I ve also tried to put IDs in

[jQuery] Re: jQuery plugin that can do the image effects here?

2009-09-30 Thread Michael Price
That would be absolutely perfect :D Thanks! Regards, Michael Price From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie Griefer Sent: 30 September 2009 17:19 To: jquery-en@googlegroups.com Subject: [jQuery] Re: jQuery plugin that can do the image ef

[jQuery] Re: jQuery plugin that can do the image effects here?

2009-09-30 Thread Liam Potter
Good old Ken Burns effect, always looks good. I've used the cross-slide plugin before, and will definitely do what you want. Charlie Griefer wrote: Hi Michael: Would this do? http://www.gruppo4.com/~tobia/cross-slide.shtml On Wed, Sep

[jQuery] Re: jQuery plugin that can do the image effects here?

2009-09-30 Thread Charlie Griefer
Hi Michael: Would this do? http://www.gruppo4.com/~tobia/cross-slide.shtml On Wed, Sep 30, 2009 at 5:48 AM, Michael Price wrote: > ‘lo all, > > Boss has been asking me if we can replicate the image fader here: > > http://www.gleneagles.com/home.aspx > > > > Note how it pans and slides as well

[jQuery] Re: remove accordion item

2009-09-30 Thread Liam Potter
$(this).parents("div.accordion").fadeOut('slow').remove(); where div.accordion is what you're trying to remove. Hundredth Monkey wrote: hi, i want to realize a delete button or link within an accordion item. is it possible to remove a special item or make the header disabled after a link click

[jQuery] remove accordion item

2009-09-30 Thread Hundredth Monkey
hi, i want to realize a delete button or link within an accordion item. is it possible to remove a special item or make the header disabled after a link click within the accordion item content? so far i' ve tried $(this).parent().fadeOut('slow'); but this kills all item contents :O( best regards.

[jQuery] Re: Ajax results?

2009-09-30 Thread Toaster
Thank you for your reply James In regards to the JSON vs HTML, would the browser have any problems creating 25 results items each with 12 pieces of information from JSON? (it'd be more of less 120 elements being appended)

[jQuery] Re: Prevent jagged text in IE

2009-09-30 Thread Kevin Dalman
@Dave > > with the "fix", fades out but then pops to 50% opacity I'm not sure why this 'fix' should be added to fadeOut? It seems most applicable to fadeIn and fadeTo. But whatever the case, a little extra code could handle edge-cases -- something like... if (jQuery.browser.msie && $(this).c

[jQuery] (jquery autocomplete) Result event isn´t tr iggering if no data has returned

2009-09-30 Thread Thiago Miranda de Oliveira
Hi.. I´m using something like that: var defaults = { minChars: 2, cacheLength: 1, delay: 300, max: 10, id: null, city: null, jsonaddress: 'teste.php', matchSubset: false,

[jQuery] Re: Checking/unchecking parent checkbox

2009-09-30 Thread evanbu...@gmail.com
Still didn't work for me. I think I'll take another approach to this. Thanks anyway. On Sep 29, 12:24 pm, Charlie Griefer wrote: > try: > > $(this).siblings('input[type=checkbox]').attr('checked',''); > $(this).siblings('input[type=checkbox]').attr('checked','checked'); > > On Tue, Sep 29, 200

[jQuery] Re: jQuery slideup/slidedown iphone (3rd click bug)

2009-09-30 Thread Sam Doyle
The site can be viewed at http://d2d.samstestdomain.com On Sep 30, 4:27 pm, Sam Doyle wrote: > I'm currently porting works website for iphone. I've wrote some jquery > for sliding up/down divs: > > $(document).ready(function(){ > >         //Corners >         $('#insideContainer').corner('20px')

[jQuery] jQuery slideup/slidedown iphone (3rd click bug)

2009-09-30 Thread Sam Doyle
I'm currently porting works website for iphone. I've wrote some jquery for sliding up/down divs: $(document).ready(function(){ //Corners $('#insideContainer').corner('20px'); $('p.link a').removeAttr('href'); $('p.link a').css('cursor','pointer'); $('p.l

[jQuery] JQuery sliding div issue

2009-09-30 Thread jpearson311
Hi all. JQuery noob here. I'm building a site right now that has a left column navigation and the navigation is nested inside a div, which is nested inside a table cell (i.e., ). I'm using JQuery to make it so when the user scrolls down the page, the div slides down smoothly and always stays at

[jQuery] Re: Using a selector with .load() doesn't execute script?

2009-09-30 Thread Carlos Becar
hi, maybe de problem is the script inside the page you call with ajax. try this : $(document).ready(function() { $('#nav a').click(function() { $('#contentHolder').load('content.html #toLoad',{},function(data){ $('#contentDiv').fadeOut('slow', fun

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
I"m not sure I understand what you mean when you say the first div hides the second. Could you post an example page? On Sep 30, 2:31 pm, Ricardo wrote: > Hello amuhlou! I don't want to cylce the second div. I want this div > to appear bellow the fist div. Now, the first div hides the second. >

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread Ricardo
Hello amuhlou! I don't want to cylce the second div. I want this div to appear bellow the fist div. Now, the first div hides the second. When the images in the first div fade I can see the image of the second div. On 30 set, 11:12, amuhlou wrote: > the cycle plugin cycles the direct children of

[jQuery] compare variables

2009-09-30 Thread Poloman
I have varA = com and varB=com55 or ton2 or son1.9 or whatever values... I want to do a comparison if the prefix of varB = com, which is varA, then do something. How can i write the code for this ?

[jQuery] Using a selector with .load() doesn't execute script?

2009-09-30 Thread Alex Washtell
I'm trying to load one page into another using the .load() method. This loaded page contains a script that I want to execute when it has finished loading. I've put together a simple example to demonstrate: Index.html: Jquery Test $(document).ready(function()

[jQuery] superfish

2009-09-30 Thread sanni46
Hallo, I would like to have two vertical superfish-menu-modules in one template on the left hand side.. I tried it, the first menu with superfish-menu works. But when I prepare the second menu, deactivate, and go to "Extensions - modules - new - superfish", choose the parameter of the menu and sav

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
the cycle plugin cycles the direct children of the div it's initialized on. If your goal is to cycle the 2nd div as well, you will need to use some wrapping divs. http://malsup.com/jquery/cycle/int2.html The examples at the bottom of that page show how you can cycle through divs. On Sep 30, 1:

[jQuery] Re: array object

2009-09-30 Thread Poloman
owesome just what i need to learn. Thank you very much On Sep 30, 8:05 pm, Karl Swedberg wrote: > On Sep 30, 2009, at 1:00 AM, Poloman wrote: > > > > > Can I get value and text of an option and put them into an array > > object? > > >     > >        britney > >        jackson > >     > > > I'd l

[jQuery] How to create Function libraries in jQuery?

2009-09-30 Thread FruitBatInShades
I have a load of utility functions that I use across many of my plugins. I'm including the ones each one needs in the plugins own code atm. I've spent a few days trying to figuire out how to create a single plugin/class that I can use as follows: myUtils.doThis($('selector')); and $('selector'

[jQuery] Re: array object

2009-09-30 Thread Karl Swedberg
Sure. it's an object. add this after that code and check out the result in Firebug or Safari's console: console.log(arrayob); What exactly do you want to do with the object after you've created and populated it? --Karl On Sep 30, 2009, at 9:35 AM, runrunforest wrote: I try your code,

[jQuery] Re: (jQuery validate) Remote Custom Message Problem on version 1.5.5

2009-09-30 Thread Thiago Miranda de Oliveira
I really don´t know where to submit it. And as I recall, I should test it with a test tool ( like qUnit) before, shouldn´t I? If I don´t, I´d be pleased to submit it. On Sep 29, 7:08 pm, James wrote: > You wanna go ahead and submit something in the Validation plug-in bug > tracker for this (if i

[jQuery] Re: array object

2009-09-30 Thread Mike McNally
well first of all you use the word "array" but then you describe something that's not actually an "array." The code looks fine to me, and will in fact produce an object. On Wed, Sep 30, 2009 at 8:35 AM, runrunforest wrote: > > I try your code, the result is: [object Object] > > On Sep 30, 8:05 

[jQuery] Re: array object

2009-09-30 Thread runrunforest
I try your code, the result is: [object Object] On Sep 30, 8:05 pm, Karl Swedberg wrote: > On Sep 30, 2009, at 1:00 AM, Poloman wrote: > > > > > Can I get value and text of an option and put them into an array > > object? > > >     > >        britney > >        jackson > >     > > > I'd like to

[jQuery] Re: Getting Last ID

2009-09-30 Thread lionel28
Thanks. The first row is always there. It cannot be removed if it's only one row. However, I just realized that the code that I am using is not jQuery function addNewRow(newId) { var tbody = document.getElementById('list').tBodies[0]; var lastRow = tbody.rows.length - 1; var newId

[jQuery] Superfish navbar alignment question

2009-09-30 Thread Vali
Hello, Actually I will repeat a message sent by some other user, message which seems to have been completely ignored. I believe this is a good question, I am also very interested in its answer (otherwise unfortunately I will have to look to some other navbar system). So, is it possible to align

[jQuery] parentNode is null or not an object

2009-09-30 Thread Hugo Estrada
I am getting this error on IE8; it is working nice on firefox, and I have to support IE. I found this page: http://www.nabble.com/Error-with-BlockUI:-%27parentNode%27-is-null-or-not-an-object-td22990094s27240.html And they identify as the problem occurring here: The error occurs in the 'install

[jQuery] Help using cylce(plugin)

2009-09-30 Thread Ricardo
Hello! I have this html markup: --some images here And this javascript code: $('.dinamica').cycle({fx : 'fade', timeout : '4000'}); The images in the "dinamica" div turns ok. But the second div stays bellow the dinamica div. I tried to change the display of both divs to "bloc

[jQuery] Re: Getting Last ID

2009-09-30 Thread Dave Methvin
> What is the best method to get the last ID so I have > > 1 > 3 > 4 Here's my untested solution: function addNewRow() { var $tbody = $("#list tbody:first"); var newId = +($tbody.find("tr:last").attr("id") || "0") + 1; var $row = $("").attr("id", newId).appendTo($tbody); ... } If there

[jQuery] Re: array object

2009-09-30 Thread Karl Swedberg
On Sep 30, 2009, at 1:00 AM, Poloman wrote: Can I get value and text of an option and put them into an array object? britney jackson I'd like to have something like this arrayob = {c1:"britner", c2:"jackson"}; You could do something like this ... var arrayob = {};

  1   2   >