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

2008-06-30 Thread Klaus Hartl
The javascript protocol is obsolete in DOM Level 0 event handlers. Here's how I would write that piece of code: $("").addClass('tag').click(function() { showBookmarks(i); }).text(i).appendTo("#leftcol"); Saves you the hassle with quoting and looks much cleaner, at least to me. --Klaus On

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

2008-06-30 Thread Klaus Hartl
Why not using a for or wile loop for the repetetive adding? $(function() { $("#example > ul").tabs({ cache: true, load: function(e, ui) { $("#seasons > ul").tabs(); for (var year = 2008; year >= 1996; year--) $(".seasonSelector").tabs("a

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

2008-06-30 Thread Michael Geary
I'm not quite following this. If you have a DOM element (i.e. "this" in your click function), and you want to do something with it later, simply save a reference to the element itself. Why do you want to use an index into a jQuery result array? Also, in a page with many elements, those "*" select

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

2008-06-30 Thread datatv
OK, I found it but that brings up the default. I still can't figure out why the rounded corners tool tip won't appear. On Jun 30, 5:46 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi, > > It looks like you've included the entire demo script, but you really   > only need one line inside a $(docu

[jQuery] zebra striping + flashing/blinking effect?

2008-06-30 Thread sketchy
I recently got acquainted with jquery and implemented this tutorial on zebra striping to my site: http://docs.jquery.com/Tutorials:Zebra_Striping_Made_Easy and its awesome but i was wondering it its possible to add like a blinking/flashing effect to one or a couple of the rows. The effect would

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

2008-06-30 Thread datatv
Where are you seeing those two lines? I can't find them anywhere. On Jun 30, 5:46 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > 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

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

2008-06-30 Thread Karl Rudd
Have a look at the "hover" function: http://docs.jquery.com/Events/hover It deals with the issues associated with "mouseout" and "mouseover". Karl Rudd On Tue, Jul 1, 2008 at 12:14 PM, Shaun <[EMAIL PROTECTED]> wrote: > > I was able to verify that it looks slow on FF3 today as well. > > If a

[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").

[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] 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

[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") retur

[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] 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 th

[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. > > $("").attr({ "class": "tag", "onclick"

[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 will

[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] 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 to initially display on load, and then disappear o

[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 the

[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 "cooki

[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 reall

[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] 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 pr

[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 functio

[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 display:n

[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 element, and then fade in and fade out the hover image when on mouse hover. Here'

[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 brows

[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] 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

[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. $("").attr({ "class": "tag", "onclick": "javascript:showBookmarks(" + "\"" + i + "\"" + ");"}).text(i).appendTo("#leftcol"); Karl Rudd On Tue, Jul 1, 2008 at 6:21 AM

[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

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

2008-06-30 Thread tlphipps
Based on my experiences with thickbox, I don't believe this is true. I have code in thickbox iframes which will close the thickbox window whenever I call it. I use something like: document.top.tb_remove() (can't remember exact syntax) On Jun 30, 10:29 am, Brice Burgess <[EMAIL PROTECTED]> wrote

[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 eas

[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 T

[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] 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 $("").attr({class:"tag", onclick:"javascript:showBookmarks(" + "\"" + i + "\"" + ");"}).text(i).appendTo("#leftcol"); IE seems to puke o

[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] 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 1

[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 >

[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 obj

[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 http://

[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] 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 $ (window.scrollTo

[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 > link:

[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 Thi

[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] 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 ele

[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] 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 marg

[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 ha

[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 writing.php?todo=display&writing_id=5&KeepThis=true&TB_iframe=true&wi

[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: 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 er

[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 = $("*", document.bo

[jQuery] Re: Iterating returned JSON?

2008-06-30 Thread Brad
I figured it out. jQuery.each(key,val) { // not jQuery.each(data) do stuff } -- Brad On Jun 30, 11:20 am, Brad <[EMAIL PROTECTED]> wrote: > I'm using getJSON and PHP is returning JSON that looks like this (I > inserted returns for readability) > > [{ > "id":"220", > "choice_name":"Foobar",

[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":"5

[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 kno

[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: 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 s

[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 wo

[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... resulting in I've got as far as targeting it fine using... $("#myDiv [title*='_']").attr({ // at a loss what to do here }); Any pointers anyone? Thanks -- View this message in

[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 can

[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 ? > > Cheer

[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

[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 even

[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. (http://www.thomasfrank.se/

[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 lo

[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 > subsubsubfa

[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 which contains an with a inside. The > 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 button or link

[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: YUI munging?

2008-06-30 Thread Ariel Flesler
Could be that window['eval'] wasn't enough, if so, try window['ev'+'al']. -- Ariel Flesler http://flesler.blogspot.com On 30 jun, 01:49, spicyj <[EMAIL PROTECTED]> wrote: > 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

[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: 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 proble

[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 = $j('.makeSelected.se

[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 20

[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 de

[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 != undefin

[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. On Jun 27, 7:54 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > Do these elements have a class or are they random elements

[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: 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

[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 thi

[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 th

[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 c

[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, 200

[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 h

[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 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] 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 k

[jQuery] Re: Single queued function after animation

2008-06-30 Thread Richard D. Worth
Pass the function as the final parameter to .animate(), like so: $('ul li').animate({left: 450}, "slow", function() { // this function will be called after the animation is done }); - Richard Richard D. Worth http://rdworth.org/ On Sun, Jun 29, 2008 at 8:45 PM, suprfish <[EMAIL PROTECTED]> wr

[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

[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 (el

[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] 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 cou

[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] Re: Jquery image gallery dev help

2008-06-30 Thread agus david
Hi Karl, that's exatcly the issue i got for some reason i cannot get the other way around to run parallel not sure why ... the code look like this ... identical each other but just behave a bit different is that bugs in jquery or my logic is something wrong ... $('#bigLeft').click( functi

[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

  1   2   >