[jQuery] 1.4 issues using .is()

2010-02-03 Thread D A
I have this that has worked just fine in 1.3.2: if($(this).is('li')){ ...do something... }; In 1.4 (and 1.4.1), however, that produces an error: "g.nodeName is undefined" The only mention I found of this is here: http://forum.jquery.com/topic/window-is-div-returns-erro

Re: [jQuery] Fwd: Multiple file upload + flash component

2010-02-03 Thread D A
>  I am looking for a multifile uploader with html or jsp not with php. This > should be allowed to select the multiple files from the file selector. I am > sure that we can do that using the flash component. I am not familiar with > flash. I am using the multifile uploader from Jquery already. > A

Re: [jQuery] Fwd: Multiple file upload + flash component

2010-02-04 Thread D A
> DA: It does seems that the URL you send talks about usage of php. I am > looking for without php as php is not allowed in our case. Flash and jQuery are both client side technologies. As would be HTML 5. So none of those technologies would specifically have to be paired with any specific server-

[jQuery] Re: [validate] - how to validate tinymce editor?

2009-08-21 Thread D A
> Is it possible to inject somewhere inside validate() some action > before it is validatede.g. copy all content first to textarea. Tomas: I believe you have to attach the onClick event to the form submit button for TinyMCE to move the content into the textArea. I think you could probably j

[jQuery] Some basic AJAX questions re: jQuery load

2009-08-21 Thread D A
Been playing with jQuery for a while but haven't really gotten my hands dirty with actual AJAX calls. I have a few questions regarding a (hopefully) basic call: $('div#myContainer').load("mySnippet.html"); mySnippet ends up being just a snippet of HTML: my html I want to load via jQuery

[jQuery] .load() doesn't work on first call in FF3 and IE (But works in FF3.5)?

2009-08-25 Thread D A
We're attempting to load a snippet of XHTML into a container on a page via .load() from a fancyBox pop-up. Here's the bit of jQuery we're using: $('#LocatorGoLink').fancybox({ 'hideOnContentClick': false, frameWidth: 660, fr

[jQuery] Re: .load() doesn't work on first call in FF3 and IE (But works in FF3.5)?

2009-08-25 Thread D A
> All I can see is you're missing a closing single-quote (') after > locatorResults.cfm. Oops. That's a typo on my part in the example. We found out that it's maybe not jQuery that's the issue here. When we run it on the server where we're actually returning content based on the value we're pas

[jQuery] Re: .load() doesn't work on first call in FF3 and IE (But works in FF3.5)?

2009-08-25 Thread D A
> Here's the bit of jQuery we're using: > > $('#LocatorGoLink').fancybox({ >                        'hideOnContentClick': false, >                        frameWidth: 660, >                        frameHeight: 700, >                        overlayOpacity: .6, >                        padding: 0, >  

[jQuery] Re: .load() doesn't work on first call in FF3 and IE (But works in FF3.5)?

2009-08-26 Thread D A
After a lot more testing, I think I know what's going on. I'm not sure if it's a jQuery issue or javascript in general. I've asked this on the FancyBox group, but thought I'd ask in here too as I have a hunch it's a more universal concept with jQuery that I need to grasp. What my script is doing

[jQuery] Re: .load() doesn't work on first call in FF3 and IE (But works in FF3.5)?

2009-08-26 Thread D A
> Looks like a case of "asynchronous-itis". You're reading the val() of > the load()-ed div before the Ajax call has had a chance to respond. > > What you'll want to do is add the fancyBox stuff to the callback > function for load() like this: > > $('div#resultsDataContainer').load('locatorResults

[jQuery] Re: .load() doesn't work on first call in FF3 and IE (But works in FF3.5)?

2009-08-26 Thread D A
> Looks like a case of "asynchronous-itis". You're reading the val() of > the load()-ed div before the Ajax call has had a chance to respond. > > What you'll want to do is add the fancyBox stuff to the callback > function for load() like this: Leonard: Thanks! You *were* on the right track with

[jQuery] Proper way to detect webkit-based browsers?

2009-09-04 Thread D A
Now that we're switching to feature detection rather than browser detection, how does/should one detect for a webkit browser? Is there a known feature that we can check for that would Identify Safari and Chrome? We're running into some (rather minor) layout issues with some jquery plug-in render

[jQuery] Re: Proper way to detect webkit-based browsers?

2009-09-08 Thread D A
> You can still use jQuery.browser.safari.  That property is true when > the userAgent string contains "webkit". Is that a no-no? It's listed as deprecated, so would prefer to avoid it, but perhaps that's still the only valid way until we have more features to detect? -Darrel

[jQuery] "not well-formed" error when loading .js via jQuery

2009-09-08 Thread D A
I have a document that I'm using jQuery.load() on to grab some external XHTML. Within this XHTML, once loaded, I want to also load some .js files and execute some more jQuery. However, when I do that, the browser chokes on the comments in the .js file: == Error: not well-for

[jQuery] Re: "not well-formed" error when loading .js via jQuery

2009-09-08 Thread D A
> Is my logic sound (load an external .js file via jquery sent back via > an ajax call?) Perhaps a better way to re-word the previous post: If I'd like to load content on a page via AJAX that, in turn, needs to load some unique jQuery .js that I'd rather not burden the initial page load with, wh

[jQuery] chaining animations and pausing for each step

2009-09-10 Thread D A
In pseudo code, here's what I'm trying to do with some text: shrinkText.changeText.EnlargeText. The jQuery I'm using for this: $('span#calendarNumber').animate({ color: '#999', fontSize: '12px' }, 500 ).html($('#calculatorSampleInPopup1').val()).a

[jQuery] Re: chaining animations and pausing for each step

2009-09-11 Thread D A
> Since the animations chain, the next one > shouldn't start until the animate is done. Ah...to be more specific, I guess I wasn't chaining animations. I was chaining an non-animated event to an animation. The solution in that case seems to work is instead of chaining the second animation, I ad

[jQuery] What's your favorite 'portfolio slider' plugin?

2009-05-22 Thread D A
I'm being lazy. I could spend a few hours trying out all the plugins, but am hoping someone already went through that heavy lifting for me... I'm looking for a portfolio slider. Ideally, it'd have the following features: - sliding objects can be a mix of HTML (text, images, maybe flash/video as

[jQuery] Slide show transition using backgrounds and pngs (jquery cycle lite)

2009-06-05 Thread D A
I'm attempting to create a mini slide show of rotating image. I'm using jquery cycle lite: http://malsup.com/jquery/cycle/lite/ and pngfix http://jquery.andreaseberhard.de/pngFix/ I've used both before and don't seem to conflict with each other. However, in previous incarnations I was applying

[jQuery] Re: Slide show transition using backgrounds and pngs (jquery cycle lite)

2009-06-06 Thread D A
> I'm attempting to create a mini slide show of rotating image. I'm > using jquery cycle lite: > > http://malsup.com/jquery/cycle/lite/ Well, after a lot more trial and error and experimenting, I've come to the conclusion that the plugin (or, perhaps more likely, IE) can't handle background image

[jQuery] Re: Slide show transition using backgrounds and pngs (jquery cycle lite)

2009-06-07 Thread D A
Ah, so this is definitely an IE issue rather than anything jQuery centric. That makes sense! -Darrel > IE cant handle css-images properly > Try to use your images as html. > > 2009/6/6 D A > >> >> > I'm attempting to create a mini slide show of rotating imag

[jQuery] .toggle issues with TRs

2009-10-26 Thread D A
I'm working with a table where any particular TR will have a link to load a nested Table. The jquery will 1) create the new TR + TD (with appropriate colspan) 2) add a container (DIV set to display: none) 3) load a new table via AJAX into said DIV 4) animate the DIV 'o

Re: [jQuery] Why does 'attr' work with 'divs' and not 'p's'?

2009-11-10 Thread D A
> jquery > var originalTitle=$("a.basic").attr("title"); >                        $("p.area1").text(originalTitle); > > html > This is where the original title should go > Your selector is looking for a paragraph with a class of 'area1'. However, there is no paragraph with that class in your mark

Re: [jQuery] sending a html part to a printer

2009-11-11 Thread D A
> Hi guys, is it possible to print a part of the html page using JQuery > and printed copy must not include the browser addons like datetime and > the url. I want the print out to be a plain document with just data > (Ms Word look alike print out) The first part of your question could be done usin

[jQuery] mod'ing pseudo-classes...possible?

2008-12-12 Thread D A
I'm using a sprite as a background image for a collapsible pane. It has for states closed off, closed on, open off, open on. When the pane opens, I want to move the background image so it's in the 'open off' state, and then, on mouse-over, whos teh 'open on' state. I can easily get former to wor

[jQuery] Re: mod'ing pseudo-classes...possible?

2008-12-16 Thread D A
Thanks, Dave. I'll give it a shot! Worse case, I used the same image, but two different spans and swap them out. -Darrel On Sat, Dec 13, 2008 at 1:42 PM, Dave Methvin wrote: > >> $(".detailsPaneToggle").children("a").css('background-position','0px -35px'); >> $(".detailsPaneToggle").children("

[jQuery] jquery.corners.js --- how to use with IE?

2008-12-29 Thread D A
Anyone using jquery.corners.js? I'm using it to create some rounded tabbed navigation. It works wonderfully in Firefox. However, I can't grasp how to accommodate the workarounds it uses for IE. It adds markup above the object to create the rounded corners, but doesn't seem to adjust the padding

[jQuery] Re: jquery.corners.js --- how to use with IE?

2008-12-29 Thread D A
> Anyone using jquery.corners.js? > I'm using it to create some rounded tabbed navigation. It works > wonderfully in Firefox. Well...I just notices a previous discussion about jquery.curvycorners.js? I hate to look gift horses in the mouth, as both of these are great plugins, but i'm finding tha

[jQuery] Re: jquery.corners.js --- how to use with IE?

2008-12-29 Thread D A
> What do you mean by curvycorners adding markups? > It's lightweight and besides the javascript (7k) you only need to add two > divs > http://www.haitiwebs.com/ihaiti/magazine.php? If you view the Generated Source, there's quite a few extra Divs added to create the corners. For instance, on you

[jQuery] Re: jquery.corners.js --- how to use with IE?

2008-12-29 Thread D A
>> > Anyone using jquery.corners.js? >> > I'm using it to create some rounded tabbed navigation. It works >> > wonderfully in Firefox. > > Does this page work for you in IE? > > http://malsup.com/jquery/corner/ It does, but notice that there's a difference between IE and Firefox. Specifically, th

[jQuery] Re: jquery.corners.js --- how to use with IE?

2008-12-30 Thread D A
> I just looked at it in both ie and ff, all I see is 2 div > > > > > src="http://www.haitiwebs.com/ihaiti/vbcover/vbmagazine/mainimages/cropped_1 > 0.jpg" /> > > > You need to view the generated source...the markup AFTER jquery modifies the page. Again, is that a big d

[jQuery] PNG Fix option that doesn't resize background PNGs?

2009-03-26 Thread D A
I am using Andreas Eberhard's PngFix plugin: http://plugins.jquery.com/project/pngFix Unfortunately, there's a known issue with it resizing background images to fit the container. I am using a PNG sprite so create a rollover effect for some buttons. As such, I don't want the background resized,

[jQuery] Jquery.Carousel -- need help understanding loading content via ajax

2009-03-26 Thread D A
I've implemented the Jquery.Carousel on our site. I'm stumped on how to load content dynamically, however. The demo site: http://sorgalla.com/projects/jcarousel/#Dynamic-Content-Loading ...shows how to load content into a blank carousel when the page loads. We'll have data (LIs) already loaded

[jQuery] Re: Jquery.Carousel -- need help understanding loading content via ajax

2009-03-26 Thread D A
> I've implemented the Jquery.Carousel on our site. I'm stumped on how > to load content dynamically, however. OK, I made some progress. I can now get data to load, though I'm pretty sure my syntax is way off. I've also ran into an issue with carousel.add. Here's the code: My carousel initially

[jQuery] Re: Jquery.Carousel -- need help understanding loading content via ajax

2009-03-27 Thread D A
> I've implemented the Jquery.Carousel on our site. I'm stumped on how > to load content dynamically, however. Well, this is what I've hacked together. It's mess, and I'm sure incorrect in many ways. It also doesn't QUITE work how I want it to. I'd love it if anyone would be willing to jump in an