[jQuery] Click function dosen't work, after append new html data.

2009-03-10 Thread sure
Hi all, I am new to jquery. My close click event function dosen't work, when ever i append new html data to my div. Intially it is working fine with static data. Please help me to fix this problem. $(function() { $("#addrow").click(function() { a

[jQuery] [validate] grouped select boxes

2009-03-10 Thread Mark King
Hi. I have two select boxes for differrent classes of tickets , like so: 0 1 2 3 4 5 0 1 2 3 4 5 I want to validate that at least one ticket has been purchased. I would like to try to do this with the validate plugin, more for the purposes of R&D than anything else (I could write some code t

[jQuery] Re: Get Textbox-value and write to table-cell ()

2009-03-10 Thread Eric Gun
@mkmanning: Well done!! Your script works well. Thanks, and great job! :) @brian-263: Thanks for the idea. Yup, i'm using PHP as i said before. Therefore, i need those '[]'. Anyway, i'm still curious with what you mean by 'parse out the index from each of the IDs ...'. I'm not really sure how to

[jQuery] Re: Undefined function

2009-03-10 Thread ricardobeat
Just a guess: are you defined that function inside $(document).ready () ? If you are, it's only available inside that scope, you should define it outside so it's declared globally. But a better approach is, like mike said, to use proper event binding instead of inline attributes. It's cleaner and

[jQuery] Superfish vertical menu quirks???

2009-03-10 Thread Steve Yakoban
OK - I have superfish functioning in vertical mode so that instead of dropping down, it "drops up" as the submenus unfold. However, there seems to be alignment issues with this that may be a quirk in the coding? What I mean is: if a second level list (child) has 3 items or 4, or 5, the positioni

[jQuery] Re: SimpleModal error in IE7

2009-03-10 Thread Eric Martin
Ricardo, I believe I responded to your email, please let me know if you were unable to resolve this. -Eric On Mar 10, 8:46 am, Ricardo Garcia Vega wrote: > Hi! I\'m using your great plugin, but I have a problem with > IE7. The problem comes after closing de simplemodal, I then have to > click

[jQuery] Re: Does the "ready" event wait for JavaScript files to be downloaded?

2009-03-10 Thread Iair Salem
I think you can use the getScript method (http://docs.jquery.com/Ajax/ jQuery.getScript) Although It does not work perfect in Safari 2 (Hey, Safari 4 is almost here!) you can use the callback function as the ready function you were asking for. It works all between the same domain, but If you want

[jQuery] Re: Jquery 1.3.2 bug in getting checkbox ..... maybe

2009-03-10 Thread Karl Rudd
Remove the @ symbol. It's use has been deprecated for the past few releases and has now been removed. http://docs.jquery.com/Release:jQuery_1.3#Changes Karl Rudd On Wed, Mar 11, 2009 at 1:56 PM, Plant More Tree wrote: > > > Hi guys, > >    I upgraded to 1.3.2 from 1.2.6 and the following stop

[jQuery] Re: Missing semi-colons in form plugin.

2009-03-10 Thread Nisar Nisar Rafiq
*http://tinyurl.com/bmmfhd* * * *http://tinyurl.com/bml9w5* *http://tinyurl.com/89m6ah* On Wed, Mar 11, 2009 at 7:02 AM, Stan Lemon wrote: > > FYI: Semi-colons are missing on lines 87 & 605 of the form plugin, > thus making it hard to compress/obfuscate. >

[jQuery] Re: Jquery 1.3.2 bug in getting checkbox ..... maybe

2009-03-10 Thread Nisar Nisar Rafiq
*http://tinyurl.com/bmmfhd* * * *http://tinyurl.com/bml9w5* *http://tinyurl.com/89m6ah* On Wed, Mar 11, 2009 at 7:56 AM, Plant More Tree wrote: > > > Hi guys, > >I upgraded to 1.3.2 from 1.2.6 and the following stop working: > > $("inp...@type=checkbox]").each(function(i, item) { > >

[jQuery] Re: $(element).animate() shifts elements out of order while animating

2009-03-10 Thread dotnetCarpenter
seems like there is some half way measures that needs to be cleaned up.. it's getting too late. My fix won't work but I'll take a second look in the morning. good night :) On Wed, Mar 11, 2009 at 3:16 AM, dotnetCarpenter wrote: > This is the same issue http://dev.jquery.com/ticket/2185 > > I'll i

[jQuery] Jquery 1.3.2 bug in getting checkbox ..... maybe

2009-03-10 Thread Plant More Tree
Hi guys, I upgraded to 1.3.2 from 1.2.6 and the following stop working: $("inp...@type=checkbox]").each(function(i, item) { }); where I have almost spent an hour to diagnose it. Hence, I change to the following then it works : $("#form1 :checkbox").each(function(i, item) { }); hop

[jQuery] Re: $(element).animate() shifts elements out of order while animating

2009-03-10 Thread dotnetCarpenter
This is the same issue http://dev.jquery.com/ticket/2185 I'll investigate and see if I can fix all the inline-block and table-row animiation bugs in 1.3.2 On Wed, Mar 11, 2009 at 2:29 AM, Anonymous wrote: > Done :) > > From line 3889 to 3895 in > http://static.telia.dk/lib/jQuery/jquery-1.3.1-m

[jQuery] Missing semi-colons in form plugin.

2009-03-10 Thread Stan Lemon
FYI: Semi-colons are missing on lines 87 & 605 of the form plugin, thus making it hard to compress/obfuscate.

[jQuery] Re: How do I adapt this code for multiple uses?

2009-03-10 Thread Brad
Ian, See the docs on how to develop a jQuery Plugin. http://docs.jquery.com/Plugins/Authoring. However, since your code applies to each instance of a given class and not specific elements it already appears to do what you want. For example I changed your form to have two inputs and gave the se

[jQuery] Re: How do I adapt this code for multiple uses?

2009-03-10 Thread brian
On Tue, Mar 10, 2009 at 7:42 PM, IanR wrote: > > I have got some code http://pastebin.com/mc99132c which counts how > many characters have been entered in a textbox and subtracts it from > the maxlength to show how many characters are left. > > If I add a new textbox I don't want to copy and past

[jQuery] Re: $(element).animate() shifts elements out of order while animating

2009-03-10 Thread Anonymous
Done :) >From line 3889 to 3895 in http://static.telia.dk/lib/jQuery/jquery-1.3.1-mod.js Tested in small project in Opera9, Firefox 3, IE7, Chrome1, Safari3 on a windows Vista box. - dotnetCarpenter On Wed, Mar 11, 2009 at 1:27 AM, Anonymous wrote: > inline-block is well supported but widely

[jQuery] [tooltip]

2009-03-10 Thread solomenikm
I need help. I have image "planets.gif" on my main page. In this image with tag I did some clickable areas. I need to show tooltips for this areas with ajax-loaded content from other pages of my site. For example: in body of main page I have something like this : and if mouse will ov

[jQuery] How do I adapt this code for multiple uses?

2009-03-10 Thread IanR
I have got some code http://pastebin.com/mc99132c which counts how many characters have been entered in a textbox and subtracts it from the maxlength to show how many characters are left. If I add a new textbox I don't want to copy and paste the code down and rename the variables so is there a wa

[jQuery] Re: .append misbehavior in MSIE7 with cross-window element injection

2009-03-10 Thread Dave Methvin
Try this: $("", opener.document) That way it will create the li element in the right document. http://docs.jquery.com/Core/jQuery#htmlownerDocument

[jQuery] Re: $(element).animate() shifts elements out of order while animating

2009-03-10 Thread Anonymous
inline-block is well supported but widely misunderstood. Even IE6 supports it and it is much cleaner than using float that breaks the document flow. jQuery should support this but so far I haven't been able to find anything. I might make a patch to 1.3.1 (unfortunately there is a regression in 1.3

[jQuery] Re: Show div in div on mouseover

2009-03-10 Thread P
Ah... thats too easy. :) Thanks! On 10 Mar, 15:09, "ryan.j" wrote: > sorry, i forgot to add > > div.box div.links:hover { display:inline !important; } > > On Mar 10, 11:27 am, "ryan.j" wrote: > > > div.box div.links { display:none; } > > div.box:hover div.links { display:inline; } > > > On Mar

[jQuery] Re: add to

2009-03-10 Thread mkmanning
@Elmar, there's nothing wrong with your jQuery; there is with Joseph's: creating a closing LI won't work :( Could you show where in your script you're trying to append the LI? On Mar 10, 4:03 pm, Joseph Le Brech wrote: > $("").appendTo("#myList").html("Please show up"); > > the one you used tho

[jQuery] Re: How to turn a bulleted list into a pseudo select box

2009-03-10 Thread Jack Killpatrick
Ah, ok, I see, thx. This comes to mind, but it's probably not quite exactly what you're looking for: http://pop.seaofclouds.com/ perhaps of interest, too: http://www.leigeber.com/2008/04/sliding-javascript-dropdown-menu/ http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm You basically

[jQuery] Re: Does the "ready" event wait for JavaScript files to be downloaded?

2009-03-10 Thread ricardobeat
If the scripts are not present at page load they will load after ready has already fired. You'll have to use a callback (like in JSONP) to fire when a script has loaded. There was a posting recently about a plugin that loads js in an iframe and uses the body onload event, but I can't remember it's

[jQuery] Re: add to

2009-03-10 Thread Joseph Le Brech
$("").appendTo("#myList").html("Please show up"); the one you used those should also work tho. > Date: Tue, 10 Mar 2009 14:18:57 -0700 > Subject: [jQuery] add to > From: elsch...@googlemail.com > To: jquery-en@googlegroups.com > > > Hi there, > I am probably trying the most basic example and

[jQuery] Re: A loading image in the centre of the screen

2009-03-10 Thread JT
You can also pass the image in the message $.blockUI({ message: '' }); $(document).ready(function() { $.unblockUI; }); If you only want the image to show without any borders, you can modify BlockUI's default options. http://malsup.com/jquery/block/#options

[jQuery] alert('jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...'); in production code

2009-03-10 Thread jods...@googlemail.com
I just ran into a problem caused by my adblocker. it removed a portion of the website that apparently was needed for jcarousel to determine the dimensions of its object. This caused a series of the above mentioned alert messages. I cant even reconfigure my adblocker to not remove the element, beca

[jQuery] JQuery Form Validation & Fancybox

2009-03-10 Thread MonkeyBall2010
You'll have to forgive me if this question sounds easy but I am fairly new to jQuery so I'm still learning things here. I'm trying to do the following: -Display a signup form with the Fancybox plugin (working) -Validate the form, currently using the bassistance Validation plugin (working) -Dynam

[jQuery] Re: Undefined function

2009-03-10 Thread Jonathan
I don't think it's valid to have an Element ID that starts with a number. Try prefixing it with something, e.g $("#UIElement_" + currentUI); surreal5335 wrote: > I have been having trouble trying to define a function. I've tried > every idea I have come across on the internet but nothing worked.

[jQuery] add to

2009-03-10 Thread Elmar
Hi there, I am probably trying the most basic example and failed in my attemps so far. I would like to add new ´s to an existing with jQuery. What I am trying to do: in my script: ... $('#myList').append('please show up'); ... in my HTML: ... existing link ... But although I ask

[jQuery] Re: Undefined function

2009-03-10 Thread mkmanning
Two suggestions: 1. Don't use inline onclick="..., separate your behavior by using .click(function(){}) or .bind('click', function(){}) as you're doing inside the showMe() function 2. IDs cannot begin with a number, it's invalid HTML. It might be helpful if you gave a more complete sample of your

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread mkmanning
@Alwin, it seems like all you're doing is abstracting my original suggestion of storing the original value in the data object for the corresponding input into another method that then uses the data method (e.g. the holdData function has my original suggestion as its only content). I'm not seeing f

[jQuery] Cannot create jCarousels when not visible

2009-03-10 Thread Bob
I just lost a lot of time on this, so I'm posting it here to hopefully save others from the same fate. You cannot create jCarousels when they are not visible. The code that computes the dimensions uses offsetWidth and offsetHeight, which only work for visible elements. I had several tabs that h

[jQuery] Re: li width bug in jCarousel

2009-03-10 Thread Bob
Oops - I wasn't aware that the second parameter was the context - I was reading this as if both parameters were inside the quotes. Please ignore this note.

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread Alwin Pacheco
Try to use something like this... var form = function() { var self = this; this.holdData = function() { $(':input').each(function(i, field) { $(this).data('value', $(this).val()) }); return self; }; this.retrieveData = function() { $(':input').each(function(i, f

[jQuery] Re: How to turn a bulleted list into a pseudo select box

2009-03-10 Thread Andy Matthews
Howzabout I show you what I'm thinking of. This is what I came up with. It does pretty much everything I wanted: http://commadelimited.com/uploads/hover/ It's not perfect, but it's meant to fill a gap in our software. Currently we only have Flash navigation on our dealer sites. A crawler would

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread donb
How about just clone-ing the form node and replace the current form with the clone when you want to 'reset' it? On Mar 10, 5:31 pm, Brad wrote: > mkmanning's plugin, along with his recommendation to use jQuery's data > method instead of a global object, will work nicely. > > To answer my other

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread Brad
mkmanning's plugin, along with his recommendation to use jQuery's data method instead of a global object, will work nicely. To answer my other question re: getting the full html of an element, there is this plugin: http://plugins.jquery.com/project/outerhtml. On Mar 10, 1:16 pm, Brad wrote: > I

[jQuery] Undefined function

2009-03-10 Thread surreal5335
I have been having trouble trying to define a function. I've tried every idea I have come across on the internet but nothing worked. I hope some one here has an of how to get it defined properly. The code that is not defined is: var currentUl = 1; function showMe(n) { $("ul#gallery").cl

[jQuery] Re: Open a Pop Up Window Using jQuery

2009-03-10 Thread MorningZ
is there any compelling reason to *not* use window.open, which any jQuery solution will ultimately use anyways? or are you looking for a modal (which blockUI can do, jqModal can do, jQuery UI can do, etc) On Mar 10, 2:46 pm, ".Nil" wrote: > Hi, > > How Could I open a open a pop window using j

[jQuery] jcarousel + cycle

2009-03-10 Thread sorahn
Hey guys, i'm using Cycle, to display some images, and i wanted the pager to be a carousel so that as we add more things we aren't constrained by the width of the page. That part in general wasn't that hard. The trick is making the carousel scroll based on the active slide for cycle. I was rea

[jQuery] Re: How to turn a bulleted list into a pseudo select box

2009-03-10 Thread Jack Killpatrick
Andy, can you explain what you're looking for in a different way? I've read it a few times and am not sure what you're looking for. Thx, Jack Andy Matthews wrote: No one has input on this? I know I've seen it done somewhere, I just can't remember where. On Mar 10, 11:30 am, "Andy Matthews" w

[jQuery] Re: making variable in [tooltip] plugin available to Shadowbox

2009-03-10 Thread BB
Hi roryreiff, maybe you store the title-attribut from the current element in a variable and add it when the tooltip hides. If this doesn't work try to set the title in the rel-attribut: rel="shadowbox;title='Hallo'" On 10 Mrz., 18:25, roryreiff wrote: > Hi there, > > I am using the tooltip plu

[jQuery] li width bug in jCarousel

2009-03-10 Thread Bob
In jcarousel 0.2.3, in the reload() funtion, on line 269, there is this code to compute the dimensions of the li's: $('li', this.list).each(function(i) { ... but won't that compute the dimensions of all li's in the document? It should only be recomputing the dimensions of the child li's and s

[jQuery] Re: First jQuery Plugin

2009-03-10 Thread mkmanning
Hyphens are perfectly valid in IDs: HTML 4 spec section 6.2 says, "ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".")." XHTML spec section C.8 says, "Note that the c

[jQuery] Re: How to turn a bulleted list into a pseudo select box

2009-03-10 Thread Andy Matthews
No one has input on this? I know I've seen it done somewhere, I just can't remember where. On Mar 10, 11:30 am, "Andy Matthews" wrote: > I have a bulleted list that I'd like to convert into a pseudo select box. > The result would be appear to be a select box, but would merely expand the > list c

[jQuery] Re: bassistance.de Jörn's Enhancement

2009-03-10 Thread Tyron Scholem
Attached, the files needed to execute this version. Please let me know what do you think about it! On Mon, Mar 9, 2009 at 13:45, Tyron wrote: > Hello everybody, > I made some updates on the script, mainly to include the resources > below: > > - default formatResult unformats the result, keeping

[jQuery] Cluetip: deactivate a tip

2009-03-10 Thread abhi
How do I deactivate or unbind a cluetip associated with an element? In the demo, togglable clueTip still invokes the onActivate function. I don't want any other processing to happen. Want to get rid of the hover over event processing for the element. Thanks in advance Abhi

[jQuery] Superfish Menus Not Appearing In IE6

2009-03-10 Thread Josh
I realize that this is a common issue, but I can't seem to track down the problem with my site. I have installed the Superfish plugin, and of course, it works like a champ for all browser except for IE6. I installed the bgiframe plugin with the hope that the background images in my portal applic

[jQuery] Does the "ready" event wait for JavaScript files to be downloaded?

2009-03-10 Thread Angus
I am working on a Web app that will consist of virtually empty html pages to be downloaded with references in the head tag to JS files that will be used to dynamically construct the elements of the page. I have read that the "ready" event waits until the DOM is loaded and manipulable. Would this

[jQuery] Open a Pop Up Window Using jQuery

2009-03-10 Thread .Nil
Hi, How Could I open a open a pop window using jQuery? ~.Nil

[jQuery] [treeview] Node click behavior

2009-03-10 Thread Ryan
Is there a way to make a node in the treeview expand/collapse ONLY if the +/- is clicked but not the folder icon or folder name but still make the node selectable?

[jQuery] Superfish integration into Joomla 1.5

2009-03-10 Thread WR
Hello, I try to integrate Superfish menu into Joomla 1.5. But no luck. : ( Perhaps I don't understand the principles. Maybe someone can help? I made some articles and made menu (using mainmenu mod from joomla). No CSS, just default. Downloaded and installed superfish mod for joomla 1.5. Enabled i

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread Brad
I'll have a look. It sounds like this is the basis for what I need. Thanks. On Mar 10, 12:58 pm, mkmanning wrote: > Haven't tried it but you could use my getAttributes plugin (http:// > plugins.jquery.com/project/getAttributes) to store the current > attributes in the data as I suggested, and th

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread Brad
Thanks for pointing out about that $(this) is pointer. On Mar 10, 12:50 pm, MorningZ wrote: > Reading up on the documentation would be a good thing, as knowing the > basics, like knowing what ".html()" does, is absolutely required if > you want to learn to use this library to the fullest > > As

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread Karl Rudd
Form elements have "defaultValue" and "defaultSelected" attributes. You might want to explore using those to "reset" the elements. http://www.irt.org/script/909.htm Karl Rudd On Wed, Mar 11, 2009 at 5:58 AM, mkmanning wrote: > > Haven't tried it but you could use my getAttributes plugin (http:

[jQuery] Re: filter(fn)

2009-03-10 Thread Karl Swedberg
if(($out).filter(':contains(Invalid)')) That is always going to be "true" since it returns a jQuery object regardless of whether there are any matched elements. Try this instead: if(($out).filter(':contains(Invalid)').length) --Karl Karl Swedberg www.englishrules.com www.lear

[jQuery] Re: Global Object, Scope question

2009-03-10 Thread Matt Kruse
On Mar 10, 10:38 am, Brad wrote: > When a page first displays I would like to save a bunch of data about > a form. For example the IDs of all of the inputs and how they are > originally defined. Depending on user actions I may need to restore > individual form fields to their original state. You

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread mkmanning
Haven't tried it but you could use my getAttributes plugin (http:// plugins.jquery.com/project/getAttributes) to store the current attributes in the data as I suggested, and then retrieve it later. That would get you not only the value but all other attributes. $(document).ready(function(){

[jQuery] Re: Shadowbox and JQuery

2009-03-10 Thread Jon
Hey BB, Thanks so much! What was puzzling me was the way the skin path is formed. For anyone else who is having issues with this, the first parameter in the loadSkin method is the folder name of your skin and the second is the path from the root to your skin folder but NOT including your skin f

[jQuery] Re: how to change direction of sub-indicator arrow in superfish

2009-03-10 Thread seezee
yeah, i figured that out later. turns out i had done it once before, on an older site, & just forgotten how. thanks for the followup, --cz On Feb 17, 1:00 pm, Fontzter wrote: > You need to alter the image file arrows-ff.png so that the arrows > are pointing the opposite direction. > > On Fe

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread MorningZ
Reading up on the documentation would be a good thing, as knowing the basics, like knowing what ".html()" does, is absolutely required if you want to learn to use this library to the fullest As for "If I store the value of $(this) as shown I can later retrieve the value for a specific field by

[jQuery] Re: Shadowbox and JQuery

2009-03-10 Thread Jon
Hey BB, Thanks so much! What was puzzling me was the way the skin path is formed. For anyone else who is having issues with this, the first parameter in the loadSkin method is the folder name of your skin and the second is the path from the root to your skin folder but NOT including your skin f

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread Brad
Thanks for the help on the other question. I missed the part about reverting the value. Actually I don't think that I need to explicitly store the value. If I store the value of $(this) as shown I can later retrieve the value for a specific field by e.g., calling ... $(origFormData['age']).val(

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread mkmanning
Rather than create a global object, why not just take advantage of the jQuery data method and store the original value with its corresponding form element: $(":input").each(function(){ $(this).data('origVal',this.value) }); On Mar 10, 11:02 am, MorningZ wrote: > You forgot an important

[jQuery] Re: custom error messages

2009-03-10 Thread James
It looks okay. If you remove all your messages, does your default messages display? If not, something else is the issue. On Mar 10, 2:51 am, Jaggi wrote: > been bashing my head with this one all day and can't seem to get it to > display my custom error messages, any help would be great. > > $("#

[jQuery] Re: How to prevent refreshing jQuery menu and still have SEO friendly links/pages??

2009-03-10 Thread ricardobeat
You can keep a sitemap with the whole structure, but ideally you shouldn't use AJAX to load whole pages in place of links. "Reloading" different pages is not bad. On Mar 10, 10:20 am, 123gotoandplay wrote: > Hi all, > > How do i prevent my jQuery from reloading per page, but still have SEO > fr

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread MorningZ
You forgot an important part of the line origFormData[this.name] = $(this); and this is you need to store the value, so origFormData[this.name] = $(this).val(); and on your other topic, the code was also provided to revert the value back to the saved value On Mar 10, 1:36 pm, Brad wrote: >

[jQuery] Re: Reset individual form objects to their original display state

2009-03-10 Thread Nekura Neko
I'm thinking that $("form input").each(function() { $(this).val(origFormData[$(this).attr ("id")]); }); should step over each input field in a form and conjure up values from the origFormData object based on the id of the current element conjuring a value. But the state-saving code should be mo

[jQuery] Re: filter(fn)

2009-03-10 Thread Liam Byrne
Hard to tell, since you haven't said what it is doing or what you're "expecting" it to do, but I think data should be {oname:name} Maybe that's what's wrong ? You'll also need a return false to prevent the standard form submit from kicking in brightdad...@googlemail.com wrote: Hi Expe

[jQuery] Reset individual form objects to their original display state

2009-03-10 Thread Brad
I have a need to reset individual form objects to their original state. When the document loads I save the element like this: var origFormData = {}; $(document).ready(function(){ // Save original form data for each input field $(":input").each(fun

[jQuery] Superfish Menu not working in Firefox

2009-03-10 Thread emorya...@gmail.com
www.omegaboxing.com In Internet Explorer, it works flawlessly as the navbar. However, in Firefox, the submenus tend to roll behind the content box. What's the best way to fix this?

[jQuery] Re: [Listnav] Extra characters

2009-03-10 Thread jdg
Hello Jack, Thanks for the reply. It seems it's not allowed to use characters with accents as class names. So I have ln-á LIs but the plugin cannot select them. A workaround could be to group accented characters with normal ones, like every "a" and "á" results could be on the same list. Is it pos

[jQuery] filter(fn)

2009-03-10 Thread brightdad...@googlemail.com
Hi Experts, I am trying to do something like this; $("form#submit").submit(function(){ var name = $('#name').attr('value'); var $out = $("#message"); //Send the request $.ajax({ type: "POST", url: "post.php", data: "oname

[jQuery] SimpleModal error in IE7

2009-03-10 Thread Ricardo Garcia Vega
Hi! I\'m using your great plugin, but I have a problem with IE7. The problem comes after closing de simplemodal, I then have to click twice in the button to open it again, because the first time there\'s the js error, wich says: \"nodeType\" is null or not a object... It only happens with IE... wh

[jQuery] Superfish Menu Dropdown Not Working In Firefox

2009-03-10 Thread emorya...@gmail.com
www.omegaboxing.com As shown through Internet Explorer, the navbar works flawlessly. However, when viewing through Firefox, the dropdown menu tends to go behind the content section. How can I fix this?

[jQuery] jQuery Menu

2009-03-10 Thread fperez2...@gmail.com
I'm currently working on a jQuery menu that loads content via ajax in a div. The menu tree menu with three levels. This is the code that manages the top level click events: $categories.click(function(){ for (i = 0; $categories.length; i++) { switch(this.id){ case "topLevel_" + i:

[jQuery] making variable in [tooltip] plugin available to Shadowbox

2009-03-10 Thread roryreiff
Hi there, I am using the tooltip plugin successfully, though I have run into a problem in that I have another plugin, Shadowbox, that needs to access the title attributes that tooltip if blasting away. Is there any way to make the tooltip variable 'tooltipText' global such that I can call it from

[jQuery] Re: Does anyone know of a plugin that allows you to use offset with a right position value instead of left.

2009-03-10 Thread Martin
Thanks that worked perfectly. On Mar 10, 4:48 pm, Liam Potter wrote: > put a div around everything, give it a maximum width and position:relative; > this will "trap" your absolute positioned elements. > > > > Martin wrote: > > Hello all, > > > I am trying to use a slider that when clicked sl

[jQuery] Re: Anyone else getting a False Positive from Norton?

2009-03-10 Thread PawPrint
Users completing a new update from Norton no longer have the problem - guess you can ignore this one. On Mar 10, 12:48 am, PawPrint wrote: > I just started getting phone calls with anyone using Norton due to a > false positve any time someone activates any of my jQuery effects as > simple as .s

[jQuery] Re: Troubles with animate in IE (possible bug)

2009-03-10 Thread Leonardo K
Ops, change this: $('div.body:visible').slideUp(); to $bodyVisible.slideUp(); because u already have the element to slideUp in the var :D On Tue, Mar 10, 2009 at 13:51, Leonardo K wrote: > I dont know exactly whats wrong in your code, but u can do much simplier > code, like this: > > $(docum

[jQuery] Re: Troubles with animate in IE (possible bug)

2009-03-10 Thread Leonardo K
I dont know exactly whats wrong in your code, but u can do much simplier code, like this: $(document).ready(function() { //hide all div.body $('div.show_wrapper div.body').hide(); $('a.show_link').click(function() { //element to slide Up or Down var $bodyTarget = $(thi

[jQuery] Re: Getting text from a div

2009-03-10 Thread mkmanning
That would be the same as RobG's: div.firstChild.data; where this.$windowTitleBar[0] = the containing div (although it's unclear how you'r getting this.$windowTitleBar[0]) $('.window-titleBar')[0] will get the element from the jQuery selector. Using .firstChild.data on that will work but is de

[jQuery] Re: Does anyone know of a plugin that allows you to use offset with a right position value instead of left.

2009-03-10 Thread Liam Potter
put a div around everything, give it a maximum width and position:relative; this will "trap" your absolute positioned elements. Martin wrote: Hello all, I am trying to use a slider that when clicked slides out to the left. I cant use offset to position my element, because the slider will slide

[jQuery] Does anyone know of a plugin that allows you to use offset with a right position value instead of left.

2009-03-10 Thread Martin
Hello all, I am trying to use a slider that when clicked slides out to the left. I cant use offset to position my element, because the slider will slide to the right, owing to the left position element. I have tried to use absolute positioning, but due when the page is resized my layout is lost.

[jQuery] Re: blur(). not working good enough

2009-03-10 Thread mkmanning
'el' and 'spn' variables are both so we can cache the jQuery object and save having to do the traversal again later in the function; this is generally a good practice from a performance perspective. The 'spn' variable chains the hide() method to the selector, since the selector still returns the j

[jQuery] metadata plugin within jquery core

2009-03-10 Thread Massimiliano Balestrieri
hello I was wondering why the metadata plugin is not included with the core? thank you for your attention -- Massimiliano Balestrieri

[jQuery] Re: Global Object, Scope question

2009-03-10 Thread Brad
Thanks. All of my attempts were trying to overly complicate things. On Mar 10, 9:52 am, MorningZ wrote: > simply saying > > var ThisVar = whatever; > > makes it "global" > > so in your code, it would be like > > > var FormData = {}; > > $(document).ready(function(){ >        $(":input").each(fu

[jQuery] Re: .append misbehavior in MSIE7 with cross-window element injection

2009-03-10 Thread Nekura Neko
Same behavior -- which is a "No such interface supported" exeception on this WinXP/IE7.0.5730.13 machine. The $(newElement).appendTo($ (opener.document).find("#injectHere")) permutation also behaves in this way. On Mar 10, 8:48 am, Joseph Le Brech wrote: > What about something like this? > > $(

[jQuery] Re: Global Object, Scope question

2009-03-10 Thread MorningZ
simply saying var ThisVar = whatever; makes it "global" so in your code, it would be like var FormData = {}; $(document).ready(function(){ $(":input").each(function() { FormData[this.id] = $(this).val(); }); }); function resetField(id) { if (FormData[id] !=

[jQuery] [tooltip] tooltip container flowing off page in Safari 4, not resizing as should

2009-03-10 Thread roryreiff
Hi there, In my implementation of the tooltip plugin, I have notice that in Safari 4 the tooltip does not resize when the cursor moves against the window. That is, I have track set to true as default, so initially the tooltip formats so that it does not overflow over the side of the window, but t

[jQuery] Re: .append misbehavior in MSIE7 with cross-window element injection

2009-03-10 Thread Joseph Le Brech
What about something like this? $($(opener.document).find("#injectHere")).append(newElement); > Date: Tue, 10 Mar 2009 08:32:28 -0700 > Subject: [jQuery] .append misbehavior in MSIE7 with cross-window element > injection > From: nekura.n...@gmail.com > To: jquery-en@googlegroups.com > >

[jQuery] Global Object, Scope question

2009-03-10 Thread Brad
This is really a javascript question, but will use jQuery. When a page first displays I would like to save a bunch of data about a form. For example the IDs of all of the inputs and how they are originally defined. Depending on user actions I may need to restore individual form fields to their o

[jQuery] .append misbehavior in MSIE7 with cross-window element injection

2009-03-10 Thread Nekura Neko
I need to alter a parent window from its pop-up (customers insisted) child, using dynamic data. The following works in Firefox 3, but not in MSIE7. var newElement = $("
  • ").text("Mod State"); $(opener.document).find("#injectHere").append(newElement); See http://www.5pmstudio.com/js/base.h

  • [jQuery] Re: cancelling default click handler for

    2009-03-10 Thread Klaus Hartl
    On 10 Mrz., 16:00, Karl Swedberg wrote: > >         > > > Not saying that I prefer this way, just that it's possible. > > --Karl Cool. I've never tried that... --Klaus

    [jQuery] Re: cancelling default click handler for

    2009-03-10 Thread Karl Swedberg
    On Mar 9, 2009, at 3:07 AM, Klaus Hartl wrote: One reason not doing it is probably because IE only supports explicitly associated labels. --Klaus Sure, but that doesn't mean you can't do this: Not saying that I prefer this way, just that it's possible. --Karl On 9 Mrz., 04:

    [jQuery] Re: blur(). not working good enough

    2009-03-10 Thread bart
    Thank you both for posting :) mkmanning, your code works very well! I'm still somewhat of a noob with jQuery syntax, care to explain your code a little more thorough? //The children of the matched element -filtered down to the span element- get hidden, what does the ", spn" part do exactly? var

    [jQuery] Re: How do I change the "q=" parameter?

    2009-03-10 Thread MorningZ
    around 348 (i'm looking at version 1.0.2) is this snippet data: $.extend({ q: lastWord(term), limit: options.max }, extraParams), changing q right there should work (i just lightly tested doing so and it worked fine) On Mar 10, 10:21 am, Bogdan Craciun wrote: > Hello > This

    [jQuery] Re: First jQuery Plugin

    2009-03-10 Thread OtakuD
    Ok I get that, its an option I can try. What Id like to know though is why the select elements in the currently selected tab arent being populated if the previously selected tab had an element of the same name eg: first tab: Select Category Second Tab: Select Product Sele

      1   2   >