[jQuery] Re: jqModal r12 release

2008-06-30 Thread Alexandre Plennevaux
hi Brice, i need to convert my admin -in-development from thickbox, so basically make a wrapper function that interfaces nicely all my thickbox calls to jModal. if i manage to, i'll post a how-to... the only thing i'm not sure i can manage is the modal window width/height change per call, but i'll

[jQuery] Re: Problems with accordion plug in

2008-06-30 Thread Jörn Zaefferer
Could you upload a testpage and post the URL here? Jörn On Sat, Jun 28, 2008 at 2:38 PM, kirstyburgoine [EMAIL PROTECTED] wrote: Hi, I'm having a few problems with the accordion plugin. When the page loads it automatically adds the class 'selected' to all my links. It shouldn't do this

[jQuery] Re: Problems with accordion plug in

2008-06-30 Thread Jörn Zaefferer
Sorry, didn't see the link at first. The selected-class is added to all links due to the navigation:true being set. It matches the href-attribute of your links against the current location, and as they all contain nothing but #, they all seem to match. Try to remove the navigation option or set

[jQuery] more on mce + jquery

2008-06-30 Thread Salvatore FUSTO
Hi, i've another problem with mce + jquery: i've to read the content of the textarea transformed in a html editor by mce but either $(#myTextarea).val() or $(#myTextarea).html() always return an empty string. how can i read the textarea content? thanks and regards salvatore

[jQuery] Re: Adding hover to all table rows (tr) but the first one.

2008-06-30 Thread Gordon
And don't forget tbody, which is really handy if you need to subdivide the rows of a table up into smaller blocks. You can have multiple tbodys per table as long as they don't overlap. Dean Landolt wrote: Hi again, you replied directly to me with this: Awesome! Now 1 more question.

[jQuery] Re: Find parent width from sum of child divs

2008-06-30 Thread jimster
No word here?

[jQuery] Cycle Plugin with Lightbox?

2008-06-30 Thread C.Everson
Does anyone have a link to an example where they are combining the excellent Cycle plug-in with a lightbox type modal display? I'd like to be able to present the slides in Cycle, then let the user click a slide to see the larger image in a lightbox (or similar) presentation. Thanks! Chuck

[jQuery] Lightbox w/o resize

2008-06-30 Thread C.Everson
I'm looking for a lightbox type presentation (like thickbox or similar), but I would prefer one that does NOT resize the images. Any suggestions? Thanks! Chuck

[jQuery] Re: Find parent width from sum of child divs

2008-06-30 Thread jimster
My limited knowledge of javascript and a bit of googling I got this, which works great: to find width of all child divs: var scrollerW = 0; $(#scroller div).each(function () { var object = $(this); scrollerW += object.width(); }); $(#scroller).width(scrollerW); and then to

[jQuery] YUI munging?

2008-06-30 Thread spicyj
Why does the YUI Compressor not munge the variables in the jQuery source? If I try to compress only a part of it, then it works fine. Is there a way to compress the source smaller? Thanks!

[jQuery] dimensions, RTL and IE offset problem

2008-06-30 Thread iTsadok
There seems to be a skew when using offset() in a right-to-left layout, but only in Internet Explorer. These boxes align perfectly in Firefox and Safari, but IE7 puts the green box lower and to the right. Setting the margin doesn't seem to have any effect. html head script src=jquery.js

[jQuery] Re: Jquery image gallery dev help

2008-06-30 Thread agus david
hi Karl, that's exactly the problem i dont know why i cannot make the otherway around parralel like as i did from left to right the code exactly the same i dont put any queue or something but it just look like it's not in parallel before i try to put queue false doesn't make difference the code

[jQuery] How to center text (sweet mother of mary can it be this hard?)

2008-06-30 Thread LTG
I really did not want to post here and ask for help on centering text. But I have created the simplest possible JQuery sample page, used Firebug, and still can't figure it out. Can anyone say what it would take to center text on this page: http://dev.hdgreetings.com/test.htm Any help would be

[jQuery] Re: Question about Event Handling Optimization

2008-06-30 Thread ..:: sheshnjak ::..
You're not loosing anything by modulizing. All event definitions will still be included in your code (if you put them all in one js file, of course). Only difference is that they are not all evaluated, just ones you need. Win-win. Only thing you will loose is half an hour to put things right. On

[jQuery] new plugins and some questions

2008-06-30 Thread Sjeiti
Hi group... After some time of using jQuery I recently took time to create two plugins myself. The first is a sorting plugin called TinySort: http://plugins.jquery.com/project/TinySort The other is a file browsing plugin called SFBrowser: http://plugins.jquery.com/project/SFBrowser I have a

[jQuery] Re: determine if form still under focus

2008-06-30 Thread C. Feldmann
Thanks Michael! That is a nifty plug-in you made! In the mean time I went with a different solution using a helper variable, which monitors the situation. Since I only want one form to show at the same time, it did the trick. But I will definitely tuck away that plug-in in my library - it might

[jQuery] .attr does not work with read-only SVG IDLs

2008-06-30 Thread atrax
If I use the .attr method to set attributes on elements I run into the following problem when using it for SVG content. Most of the SVG IDLs define properties as read-only although they are writable as DOM attributes. In JQuery-1.2.6 the code for .attr has changed to use the property mechanism

[jQuery] How to generate a new css class on runtime?

2008-06-30 Thread Evert
I'm trying to generate a new css class with Jquery which is not defined in .css or html style. How do I generate a css class so that I can assign the class with .addClass() method?

[jQuery] Re: Really simple images gallery

2008-06-30 Thread Richard D. Worth
Put your images inside a container with a fixed width and overflow:hidden. See here for an example: http://sorgalla.com/projects/jcarousel/examples/static_simple.html - Richard On Sun, Jun 29, 2008 at 6:13 PM, pek [EMAIL PROTECTED] wrote: So this is what I basically want to do and don't know

[jQuery] Re: How to generate a new css class on runtime?

2008-06-30 Thread Richard D. Worth
Take a look at Ariel Flesler's excellent rule plugin: http://flesler.blogspot.com/2007/11/jqueryrule.html http://flesler.blogspot.com/2007/11/jqueryrule-09-released.html http://plugins.jquery.com/project/Rule - Richard On Mon, Jun 30, 2008 at 4:31 AM, Evert [EMAIL PROTECTED] wrote: I'm

[jQuery] Issue using a long array in jquery autocomplete

2008-06-30 Thread Gearóid O'Ceallaigh
Hi, I'm using bassistance's autocomplete on a website (plugin page found here: http://plugins.jquery.com/project/autocompletex). Its perfect for I need since it allows the data for the autocomplete to be loaded from a local array. However, whilst the autocomplete works fine in most browsers - it

[jQuery] Re: How to center text (sweet mother of mary can it be this hard?)

2008-06-30 Thread Micky Hulse
LTG wrote: Any help would be so appreciated. Hi LTG, If you disable JS, then your text centers. Using dev toobar via FF2.x, I viewed generated source, and wow! I have never seen so much markup for something so simple If I were you, I would just use one of the CSS-only techniques found

[jQuery] Re: Accordion madness and two divs inside

2008-06-30 Thread Karl Swedberg
Hi there, You also posted this question on the blog, so I replied there yeserday: http://www.learningjquery.com/2007/03/accordion-madness#comment-50125 Let us know if you need any additional help. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 29,

[jQuery] Re: How to center text (sweet mother of mary can it be this hard?)

2008-06-30 Thread Dan G. Switzer, II
ltg, I really did not want to post here and ask for help on centering text. But I have created the simplest possible JQuery sample page, used Firebug, and still can't figure it out. Can anyone say what it would take to center text on this page: http://dev.hdgreetings.com/test.htm You can do

[jQuery] Re: Really simple images gallery

2008-06-30 Thread pek
First of all, thank you for your reply.. I saw the example and the source code indicates that the images where all preloaded.. I am sure that it has a functionality that will load the next image on demand, but since I won't be using this tool, can you help me a little further? So, OK, I created

[jQuery] Re: Search for a div tag

2008-06-30 Thread [EMAIL PROTECTED]
These are dynamically generated multiple-select boxes in Sharepoint. The width is currently 143 pixels and we want to expand them so more of the text can be shown. The problem is the boxes are generated on the server. We would like to see if Jquery can automatically expand any items that match

[jQuery] Re: Detecting pressed keys (not keypress, but if it's already pressed)

2008-06-30 Thread Charles Sexton
Anyone? On May 28, 12:11 pm, Charles Sexton [EMAIL PROTECTED] wrote: Hi guys and girls, I don't know if this is possible, but I'm aiming to detect whether or not a key is pressed, as in the key is already pressed when the page loads. My application changes the page when Ctrl+arrow is

[jQuery] Re: How to center text (sweet mother of mary can it be this hard?)

2008-06-30 Thread Gearóid O'Ceallaigh
Why not just define a css class with text-align: center and add this to whatever element you need centering? I'm presuming you want to center the preview text in the example so this should center it to your rounded corner div. If you want it centered vertically also, you may have to use some

[jQuery] Re: Search for a div tag

2008-06-30 Thread [EMAIL PROTECTED]
Not sure if this went through the first time, but we're trying to update an dynamically generated multiple select box in sharepoint. Here's the pattern we're trying to match. div style='width:143px;height:125px;overflow:scroll' On Jun 27, 7:54 pm, Glen Lipka [EMAIL PROTECTED] wrote: Do these

[jQuery] Problem with IE7/jQuery's AJAX load function

2008-06-30 Thread fadeslayer
I experienced a problem with jQUERY's AJAX load function in IE7. I have a tag cloud on our site which, on click onto a word, loads page recurrencies of that tag in site's pages. But in IE7, when data from JSP come back to jquery, I get a runtime error, specifically in line if ( value !=

[jQuery] Re: How to center text (sweet mother of mary can it be this hard?)

2008-06-30 Thread Giuliano Marcangelo
Line 101 of the curvy corners js file, find $(contentContainer).css({ .., *float:left*, .,,.,}); remove the *float:left*declaration and the text will centre. tested in IE7,FF,Opera,Safari (Windows) 2008/6/30 Gearóid O'Ceallaigh [EMAIL PROTECTED]: Why not just define

[jQuery] Re: Validate plugin: RFC2822 compliant emails

2008-06-30 Thread Scott González
Using a regex for RFC 822 isn't a very good idea. To start off, it's an ARPA standard from 1982. RFC 2822 replaced it in 2001. But even just following that isn't good enough because of the reasons you've stated about UTF-8 and domain names. The RFC for IRI's (RFC 3987) wasn't released until

[jQuery] Making List Elements in a Tabs Setup Accessible with the Keyboard

2008-06-30 Thread Joe
I have a rather lightweight script that is page-weight efficient that I need to make accessible to keyboard users. Here's the tabs script so far: /* * Tabs Functionality * @author Joe McCann */ $j('#qaNav li a').click(function(){ var $removal =

[jQuery] Re: Problem with IE7/jQuery's AJAX load function

2008-06-30 Thread Ariel Flesler
You're using 1.2.3. Could you try replacing it with 1.2.6 ? attr() got massive modifications and that could fix the issue. Else.. can you give us an online link ? Cheers -- Ariel Flesler http://flesler.blogspot.com On 30 jun, 10:10, fadeslayer [EMAIL PROTECTED] wrote: I experienced a problem

[jQuery] Re: YUI munging?

2008-06-30 Thread Ariel Flesler
Because of an eval, and maybe the with() in jQuery offset. I faced this situation some time ago. Replace every eval( for window['eval']( I think that's enough. If you still find this issue, then get rid of the with(). Cheers -- Ariel Flesler http://flesler.blogspot.com On 30 jun, 01:49, spicyj

[jQuery] Re: Lightbox w/o resize

2008-06-30 Thread Joel Birch
I recommend Shadowbox. It has many options - the one you want is handleLgImages set to 'none'. http://mjijackson.com/shadowbox/ Joel Birch.

[jQuery] Re: jqModal - How to close the modal box from an iframe

2008-06-30 Thread Brice Burgess
On Jun 29, 1:32 pm, Hypolite [EMAIL PROTECTED] wrote: I have a jqModal div which contains an iframe with a form inside. The iframe allows me to show messages (error messages and success confirmation) back after the submission of the form. But I can't manage to close the modal dialog with a

[jQuery] get(index) method does not return DOMNode in jQuery 1.2.6?!

2008-06-30 Thread Vlad Terekhov
After upgrade to v.1.2.6 i got many errors in places, where my code works with nodes, returned by jQuery.get(index) method. Under firebug i sow that return value in 1.2.6 is not the same as in 1.2.3. Can you explain this? How to get native DOMNode object in jQuery 1.2.6?

[jQuery] Re: [treeview]

2008-06-30 Thread cookie
Hi, Did you figure this out? I'm having the same problem.. On Jun 12, 3:47 pm, Daniel [EMAIL PROTECTED] wrote: Hi I've got some troubles withtreeview: http://reunion-industrial.es/reiphp/productos.php First time it loads it Works perfectly, but when I click on one subsubsubfamily and

[jQuery] livequery + facebox loading after an ajax call

2008-06-30 Thread Chris
Been trying to add a facebox after ajax the page has been loaded via ajax... $(function() { $('a[rel*=facebox]') .livequery('click', function(event) { jQuery.facebox({ loading_image : 'loading.gif',

[jQuery] Re: Detecting pressed keys (not keypress, but if it's already pressed)

2008-06-30 Thread iTsadok
I don't know any way to read a key state, but you can probably work around the problem by putting your application in an iframe and holding the key state in the containing document. Alternatively, you can save the state of the Ctrl key in a cookie or in the window name.

[jQuery] Re: Issue using a long array in jquery autocomplete

2008-06-30 Thread gf
On Jun 30, 3:38 am, Gearóid O'Ceallaigh [EMAIL PROTECTED] wrote: Hi, I'm using bassistance's autocomplete on a website (plugin page found here:http://plugins.jquery.com/project/autocompletex). Its perfect for I need since it allows the data for the autocomplete to be loaded from a local

[jQuery] Re: Problem with IE7/jQuery's AJAX load function

2008-06-30 Thread fadeslayer
I resolved issue by upgrading to 1.2.6. Thanks a lot. On 30 Giu, 16:41, Ariel Flesler [EMAIL PROTECTED] wrote: You're using 1.2.3. Could you try replacing it with 1.2.6 ? attr() got massive modifications and that could fix the issue. Else.. can you give us an online link ? Cheers --

[jQuery] Re: Search for a div tag

2008-06-30 Thread gf
On Jun 30, 4:56 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: These are dynamically generated multiple-select boxes in Sharepoint. The width is currently 143 pixels and we want to expand them so more of the text can be shown. The problem is the boxes are generated on the server. We would

[jQuery] Blocking and Unblocking form processing

2008-06-30 Thread JB
Hi, I have a singel php page which posts the form data to itself, processes it en either shows the same page with error results or redirects to a new page. I am trying to implement blockUI since it involves some lengthy processing (checks on other servers). I can block the page in the click

[jQuery] Re[jQuery] moving character from title attribute

2008-06-30 Thread 5atfink
I'm sure this is easy but at a loss how to do it.. I need to strip out the underscore character _ from... div id=myDiv title=name_surname resulting in div id=myDiv title=name surname I've got as far as targeting it fine using... $(#myDiv [title*='_']).attr({ // at a loss what to do here

[jQuery] Solution! - Re: How to center text (sweet mother of mary can it be this hard?)

2008-06-30 Thread LTG
@Giuliano: Great job in finding a work around - your idea works, thank you. Secondly I believe I have found the root cause of the problem: It appears the latest version of curvyCorners has a bug that inverts the value of the autoPad parameter. Changing autoPad to false works! @#$. This

[jQuery] Re: How to center text (sweet mother of mary can it be this hard?)

2008-06-30 Thread LTG
Thank you all very much for the proposed solutions, here are the results: @Dan G.: Dan, I added what you proposed but it seems to center the red panel in the center of the screen, I'm try just to center text within the red panel. @Gearóid: What you suggested in already in the sample, doesn't

[jQuery] Re: jqGrid and modal windows

2008-06-30 Thread oscarml
Ok, I'll try it. Thank you for your very quick answer! On 24 jun, 15:43, Tony [EMAIL PROTECTED] wrote: Aha here is the problem. You openjqGridinmodalwindow. You use the navigator. The navigator create anothermodalwindow for the search form. Thus there is a problem with a z-index. To solve

[jQuery] Validate and erroneous display:none

2008-06-30 Thread LVR
I'm having a consistent problem with labels disappearing on keyup using the Validate plug-in. All of the functionality of the validate plug-in is there -- it works great. But elements are jumping around on the page! When a field is invalid, the label for tag turns the label red and bold. So

[jQuery] Re: jqModal - How to close the modal box from an iframe

2008-06-30 Thread Hypolite
Brice Burgess wrote: Someone correct me if I am wrong, but I believe that scripts executing within iframes have their own global scope (are isolated or sandboxed)... and thus they may only access elements/etc. within the DOM of the iframe itself. Thanks for the answer, as far as I know,

[jQuery] Iterating returned JSON?

2008-06-30 Thread Brad
I'm using getJSON and PHP is returning JSON that looks like this (I inserted returns for readability) [{ id:220, choice_name:Foobar, loc_affiliation:Foobar Inc., address:c\/o Some Co, Inc.\r\n999 W. 104th Street\r\nInglewood, CA 90304\r\nU.S.A., is_usa_address:1, phone_no:562-555-5965,

[jQuery] Re: Lightbox w/o resize

2008-06-30 Thread C.Everson
On Tue, 1 Jul 2008 01:06:40 +1000, Joel Birch wrote: I recommend Shadowbox. It has many options - the one you want is handleLgImages set to 'none'. http://mjijackson.com/shadowbox/ Thanks Joel! That looks promising - I'll check it out. Chuck

[jQuery] Getting element index, then adding text later to that index location

2008-06-30 Thread Dan
I want to get an element by an unique index, then at a later time do something to that element, such as add text. I was trying the following code: $(document).ready(function(){ $(*, document.body).click(function () { var index = $(*,

[jQuery] Re: Validate and erroneous display:none

2008-06-30 Thread Jörn Zaefferer
Don't add the error class to the label. The validation plugin searches for the error label based on that error class - adding it to the actual label causes the label to disappear. You could add a different class to the actual label so that the error label can be hidden or removed entirely (via

[jQuery] Re: pngFix or .width() problem

2008-06-30 Thread Snef
So what has changed? Still got the problem in 1.2.6. :( iZorg wrote: I have got the same problem. It began since version 1.2.2. So, if you can, use the jQuery version 1.2.1

[jQuery] Re: jqModal r12 release

2008-06-30 Thread Alexandre Plennevaux
aloha Brice! Further to my previous message, i've been trying some but didn't get much success with this, maybe you can help me: basically, my app is full of thickbox calls where urls are parts of the url query string, such as

[jQuery] Question about function objects vs object literals?

2008-06-30 Thread Oltmans
Hi all, I'm stuck in a situation where I need help. Any help will be highly appreciated. I've created an object, after creating the object, I'm assigning one of its functions to an event handler i.e. to onBlur event of Text-area. Problem is that when I try to access object properties from the

[jQuery] FF3/Mac, auto margins, and .offset() issue

2008-06-30 Thread ryc0de
I recently created a plugin with jQuery using quite a bit of the Dimensions plugins (jQuery 1.2.6) to absolutely position DIVs throughout a page. It works great in FF2 Win/Mac, FF3/Win, IE6/7, and Safari Win/Mac, but FF3/Mac seems to be giving me a bad left offset on a DIV when it has an auto

[jQuery] Re: Getting element index, then adding text later to that index location

2008-06-30 Thread spicyj
On Jun 30, 10:59 am, Dan [EMAIL PROTECTED] wrote: But when I click, it adds the red text color to all parents too. I changed the code too print the index number and it appends several index numbers to the element I click and the parents. [...] So, how do I get only the top most element

[jQuery] Re: How to center text (sweet mother of mary can it be this hard?)

2008-06-30 Thread spicyj
The problem is that curvycorners is adding float: left; to the innermost tag, causing the Preview to be on the left. The source claims that it's a fix for negative margins.

[jQuery] [jquery validate] Validating disabled inputs

2008-06-30 Thread oscarml
Hi, I have a problem with disabled input when I try to validate them. I use class=required but the validation plugin doesn´t detect when is empty. Any idea?

[jQuery] Re: Replace not a function with Regular Expression

2008-06-30 Thread Brian J. Fink
Glad I could be of assistance.

[jQuery] Cross Browser variance in scrollTop related calculation?

2008-06-30 Thread Bill
To determine if the document's vertical scroll bar is at the bottom of its travel, I've seen this calculation: delta = $(document).height() - $(window).height(); scrollTopIsAtMax = ($(window).scrollTop() == delta); As the document's scroll bar is scrolled down, the value of $

[jQuery] Re: struggling to get iframed content using jQuery Thickbox plugin for a calendar

2008-06-30 Thread mjatharvest
I've commented this section of my script for now so I can finish this up, but if anybody is interested in helping please reply, and I'll show you what's up. On Jun 27, 10:05 am, mjatharvest [EMAIL PROTECTED] wrote: Hi All, I'm working on a calendar for a site in the works at this

[jQuery] Re: Question about function objects vs object literals?

2008-06-30 Thread spicyj
No guarantees, but this might work (using code from http://www.hedgerwow.com/360/dhtml/ie6_memory_leak_fix/): http://pastie.org/private/rarlluuasfvmmtqkgvca On Jun 30, 12:18 pm, Oltmans [EMAIL PROTECTED] wrote: Hi all, I'm stuck in a situation where I need help. Any help will be highly

[jQuery] Lightbox alternative that supports .php files

2008-06-30 Thread sketchy
Hi all, I'd really appreciate any advice on whether there is an alternative to Lightbox that supports .php or any server side extensions? I've looked at Thickbox which goes a step further than lightbox, but it only seems to support HTML on top of images. It also suggests on the comments to

[jQuery] Ajax Cluetip intermittently calling adjacent href

2008-06-30 Thread me3design
Hi I'm new to jQuery. We are creating a site using an Ajax Cluetip. It works great in the today's events section, but the mini calendar intermittently calls the adjacent href showing the tooltip for the wrong date. Any suggestions would be greatly appreciated. The site is temporarily at

[jQuery] Re: Question about function objects vs object literals?

2008-06-30 Thread markus.staab
Hi, Method B C work, because you call the function and don't pass it to blur(). Regards, Markus On 30 Jun., 20:18, Oltmans [EMAIL PROTECTED] wrote: Hi all, I'm stuck in a situation where I need help. Any help will be highly appreciated. I've created an object, after creating the object,

[jQuery] Re: Detecting pressed keys (not keypress, but if it's already pressed)

2008-06-30 Thread Brian J. Fink
Yout might also try setting a one-time keyup in which you test the CTRL key state. But on a PC that key is the ALT key. Are you using MAC? On May 28, 7:11 am, Charles Sexton [EMAIL PROTECTED] wrote: Hi guys and girls, I don't know if this is possible, but I'm aiming to detect whether or not

[jQuery] Re: Lightbox alternative that supports .php files

2008-06-30 Thread Andy Matthews
There's absolutely no reason why shouldn't be able to use a PHP page with Lightbox (or Thickbox) for that matter. It shouldn't care what the file extension is. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sketchy Sent: Monday, June 30, 2008

[jQuery] Re: struggling to get iframed content using jQuery Thickbox plugin for a calendar

2008-06-30 Thread tlphipps
Since you're adding the class=thickbox using jquery, you'll need to make sure you call the tb_init() function again AFTER you set the class. What's probably happening is that the tb_init function is running BEFORE the class=thickbox is set. On Jun 27, 10:05 am, mjatharvest [EMAIL PROTECTED]

[jQuery] IE error on jquery braces {}

2008-06-30 Thread Heavy
Anyone know why the following line throws an error in IE7 and works fine in FF3 and Opera9.5? The complete HTML and JS and be found here: http://veryheavy.org $(span/).attr({class:tag, onclick:javascript:showBookmarks( + \ + i + \ + );}).text(i).appendTo(#leftcol); IE seems to puke on the

[jQuery] Re: Ajax Cluetip intermittently calling adjacent href

2008-06-30 Thread me3design
I forgot to add that since we are at the end of June you will need to advance the calendar to July in order to see more events.

[jQuery] Re: Lightbox alternative that supports .php files

2008-06-30 Thread tlphipps
I can confirm that PHP files work just fine in a thickbox. Just use the iframe mode of thickbox and you can load whatever filetype you want. On Jun 30, 3:16 pm, Andy Matthews [EMAIL PROTECTED] wrote: There's absolutely no reason why shouldn't be able to use a PHP page with Lightbox (or

[jQuery] Re: Re[jQuery] moving character from title attribute

2008-06-30 Thread Karl Swedberg
Hi there, I think you can do it this way: $(#myDiv [title*='_']).attr('title',function () { return this.title.replace(/_/g,' '); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 30, 2008, at 10:03 AM, 5atfink wrote: I'm sure this is easy

[jQuery] Re: [jquery validate] Validating disabled inputs

2008-06-30 Thread Jörn Zaefferer
Disabled inputs aren't validated because they are disabled. 99% of the time, disabled elements must be ignored during validation, so that is what the plugin does. Jörn On Mon, Jun 30, 2008 at 8:21 PM, oscarml [EMAIL PROTECTED] wrote: Hi, I have a problem with disabled input when I try to

[jQuery] Re: IE error on jquery braces {}

2008-06-30 Thread Karl Rudd
In JavaScript class is a reserved keyword so you need to quote it. As a rule I quote all keys, just to be on the safe side. $(span/).attr({ class: tag, onclick: javascript:showBookmarks( + \ + i + \ + );}).text(i).appendTo(#leftcol); Karl Rudd On Tue, Jul 1, 2008 at 6:21 AM, Heavy [EMAIL

[jQuery] Re: Question about function objects vs object literals?

2008-06-30 Thread Michael Geary
Here is what is throwing you off: When you take a reference to a function such as the t.display in your method A, you're not getting a bound method, but a simple reference to the function itself. IOW, when t.display is called later, it won't be called a method of the t object (as it would be if

[jQuery] Re: Question about function objects vs object literals?

2008-06-30 Thread Michael Geary
Here is what is throwing you off: When you take a reference to a function such as the t.display in your method A, you're not getting a bound method, but a simple reference to the function itself. By way of contrast, in Python you would get a bound method like your code is expecting:

[jQuery] Best way to detect between jQuery triggered event and actual browser-based event...

2008-06-30 Thread Dan G. Switzer, II
Just curious as to everyone's recommendations on detecting the difference between a jQuery created event object (i.e. $(#el).trigger(click)) and a real event object (i.e. create by the browser.) Right now I'm doing: if( !(ctrlKey in e) ) I believe the ctrlKey should be sent by every browser

[jQuery] trouble with fadeIn and fadeOut on a element in ie6 and ie7, works in firefox

2008-06-30 Thread mjatharvest
Hello All, I'm working on a site here http://208.79.237.221/ On the home page I have an ordered list of icons to choose between five different pages. I'm using jQuery to add a hover image to the markup after each a element, and then fade in and fade out the hover image when on mouse hover.

[jQuery] Re: Validate and erroneous display:none

2008-06-30 Thread LVR
I was hoping to actually use the label to denote the invalid field by making it (the label) red and bold. This part does in fact work great. It's when the entry in the field becomes valid on key-up that the display:none makes the label disappear. Is there a way to simply eliminate the

[jQuery] Re: struggling to get iframed content using jQuery Thickbox plugin for a calendar

2008-06-30 Thread mjatharvest
That worked! Awesome, thank so much. On Jun 30, 3:45 pm, tlphipps [EMAIL PROTECTED] wrote: Since you're adding the class=thickbox using jquery, you'll need to make sure you call the tb_init() function again AFTER you set the class. What's probably happening is that the tb_init function is

[jQuery] jCarousel - IE7 z-index of items versus dropdown menu

2008-06-30 Thread ericHurst
Hello, I'm having trouble with the z-index (I assume) of the list items in jCarousel appearing above an activated dropdown menu in IE. Setting the z-index of jacarousel-container to -1 causes the container to disappear completely. Upping the z-index of the curtain does nothing. You can see the

[jQuery] Re: Best way to detect between jQuery triggered event and actual browser-based event...

2008-06-30 Thread Josh Nathanson
Hmmm...that hasn't come up for me yet. Seems like the way you're doing it would be the way to go for now. Maybe in the next jQuery version they could add a key internalTrigger or something like that to the event object when the trigger method is run. -- Josh - Original Message -

[jQuery] Re: [jquery validate] Validating disabled inputs

2008-06-30 Thread Theodore Ni
If you really want to validate all disabled form fields also, the relevant line in the plugin is .not(:submit, :reset, [disabled]) to which you can add or remove functionality. Again, as Jörn has said, usually disabled elements are not meant to be validated, so make sure it's what you really

[jQuery] Re: Cookie domain and path

2008-06-30 Thread jcruz
That seems like it would work fine as well. In the above patch, the user only needs to set the options they want to use. Unset options result the default cookie settings used by the cookie plugin. On Jun 30, 1:30 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: How about a single option

[jQuery] (Newbie Help) Cluetip not showing up

2008-06-30 Thread datatv
I just started using Cluetip and I can't get the tip to show up at all even though I've tried the example on the Cluetip website (for rounded corners) to the letter. Can anybody look at my code and see where I might have screwed up? http://www.datatv.com/sw/SW_wp_sampler.html If you rollover

[jQuery] Help with the Scroll Function

2008-06-30 Thread Robin
Hi and thanks in advance to any who can help. I am trying to build out a portfolio site (http://www.xyforge.com/ portfolio) and am using the scroll function to show/hide content. The problem that I have is I want the first child of the #content div to initially display on load, and then

[jQuery] Adding namespace to every css class

2008-06-30 Thread albert
Hi, Is there a way to add namespace to every css class? a. Dynamically on the page? b. If it is not possible dynamically, how to do it not dynamically. For example - Original css-- .nav {.some css atribute } .main {.some css atribute } .box {.some css

[jQuery] slideToggle flickering in Firefox (jQuery version 1.2.6)

2008-06-30 Thread BipedalShark
I put together a slideToggle example for myself at http://www.richardsimoes.com/slidetoggle.html . One thing I noticed is that if one expands a question, scrolls all the way day, and then collapses the same question (use the Minimize Section link at the bottom), the top of the browser Window

[jQuery] Re: IE error on jquery braces {}

2008-06-30 Thread Heavy
Thanks, Karl you know your stuff. That was a big time saver. On Jun 30, 4:37 pm, Karl Rudd [EMAIL PROTECTED] wrote: In JavaScript class is a reserved keyword so you need to quote it. As a rule I quote all keys, just to be on the safe side. $(span/).attr({ class: tag, onclick:

[jQuery] Re: (Newbie Help) Cluetip not showing up

2008-06-30 Thread Karl Swedberg
Hi, It looks like you've included the entire demo script, but you really only need one line inside a $(document).ready() function. The first two lines that use the .cluetip() method in your script file are these: $('a.title').cluetip({splitTitle: '|'}); $('a.basic').cluetip(); Notice

[jQuery] Re: Cross Browser variance in scrollTop related calculation?

2008-06-30 Thread Bill
I've done a bit more research and found the following link, which I think is related: http://www.pithill.org/opera9.5_jquerybug.html. The source code for that web page implies that for Opera 9.5, the value of $(window).height() should be set to the value of window.innerHeight. Also, sorry about

[jQuery] Simple sliding help

2008-06-30 Thread pek
I can't find a way to slide left a horizontal list of images. Here is what I managed to do: http://treazy.com/pek/album/ As you can see, first, while sliding, the images suddenly bump and, second, I can't seem to find how to remove 100px every time someone clicks next (.css(margin-left) returns

[jQuery] Re: Moving mouse fast causes mouseout not to fire

2008-06-30 Thread Shaun
I was able to verify that it looks slow on FF3 today as well. If anyone knows of a lighter weight solution, please post. Thanks. On Jun 29, 11:41 am, Shaun [EMAIL PROTECTED] wrote: Hello All - I have the problem where for an image rollover, moving the mouse very quickly can leave my roll

[jQuery] Ingore: Cross Browser variance in scrollTop related calculation? - (see ticket #3046)

2008-06-30 Thread Bill
This Opera 9.5 discrepency has already be covered by http://dev.jquery.com/ticket/3046 (in fact, that's where the link in my 2nd post comes from). Sorry about all the noise. Bill On Jun 30, 5:45 pm, Bill [EMAIL PROTECTED] wrote: I've done a bit more research and found the following link,

[jQuery] adding and chaning delay to effects by extending the core problem

2008-06-30 Thread Ben Novakovic
Hi, I just had a quick question. I'm trying to add a new set of effects functions to jquery (that I hope to release as a plugin), but for some reason I can't get them to work, despite returning the correct element from all my functions. Basically, i have extended the core with a .delay function

[jQuery] Re: Using tabs - how do I get tabs to load on a nested page?

2008-06-30 Thread Sam
Thanks, that took care of it. $(function(){ $(#example ul).tabs({ cache: true, load: function(e, ui) { $(#seasons ul).tabs(); $(.seasonSelector).tabs(add, ./season.php? season=2008, 2008 Season); $(.seasonSelector).tabs(add,

  1   2   >