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
> 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
> 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-
> 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
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
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
> 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
> Here's the bit of jQuery we're using:
>
> $('#LocatorGoLink').fancybox({
> 'hideOnContentClick': false,
> frameWidth: 660,
> frameHeight: 700,
> overlayOpacity: .6,
> padding: 0,
>
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
> 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
> 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
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
> 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
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
> 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
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
> 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
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
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
> 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
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
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
> 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
> 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
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
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("
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
> 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
> 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
>> > 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
> 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
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,
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
> 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
> 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
35 matches
Mail list logo