[jQuery] Change the data attribute of flash object - works in FF, not IE

2008-12-11 Thread VaughanJ
Arrgh! Please can someone help me out with a jQuery/flash issue. I have a page with a content region on the left and a flash movie on the right. The flash object calls in images from an XML file, using code like this (generated using swfobject.js): swfobject.embedSWF("/sites/pod_billboard.swf

[jQuery] Problems with Validate's errorPlacement

2008-12-11 Thread knal
Hi there, I'm using Validate on my website, but i'm having difficulties with the errorPlacement. In simple a part of my form looks like this: E-mail* Validation works fine, but i can't get the message to display inside '*'. The following places the text immediatly before the

[jQuery] Re: getJSON invalid label

2008-12-11 Thread Eric Garside
Using the "callback" argument in the getJSON function usually won't work unless the recipient is setup to use "jsonp". Basically, jQuery is replacing your callback parameter before it sends the request. So you see that you're requesting: http://api.nytimes.com/svc/movies/v2/reviews/search.json?ap

[jQuery] Potential Bug when .append (ing) html and then selecting on it?

2008-12-11 Thread sironf...@msn.com
I have the follow HTML markup Information Sources ... ... ... I'm trying to create show/hide buttons against the 'Information Sources' element to toggle the element to disappear/ reappear. So far I have the following jquery $(document).ready(function() { $('h4.filteredRe

[jQuery] .parent().parent() ... better way to get parents' parent

2008-12-11 Thread Joel Taylor
Is there a better way to get a parents parent than to just do repeated '.parent()' ??

[jQuery] Re: jquery IE problem

2008-12-11 Thread Hobo
First impressions from a user end is that the site is super slow. (I'm Firefox 3 on Ubuntu). Your page load time for me was around 11 seconds. Just by enabling firebug, I found an error in one of your JS files: [Break on this error] wrote: > I have a test site, and everything works so smooth, b

[jQuery] Re: Prefixing all href attributes (or how to get .attr('href') to return a string)

2008-12-11 Thread Hobo
Honestly, it might be easier to just overload the links onclick events, instead of worrying about doing the appendation to everything. $("#content_main a").click(function(){ window.location = 'cms/' + $(this).attr('href'); }); On Dec 11, 9:11 am, Kris <[EMAIL PROTECTED]> wrote: > Okay the on

[jQuery] Re: jQuery reloads all JS files on show()

2008-12-11 Thread pbergqvist
Hi, I experience the same problem. I have a modal dialog window which content is loaded dynamically from a separate page. That page includes three additional scripts. These three scripts are never cached due to a timestamp added after the file name.. Sample jQuery code: $("div a.link").click( fu

[jQuery] Problems with Validate's errorPlacement

2008-12-11 Thread knal
Hi there, I'm using Validate on my website, but i'm having difficulties with the errorPlacement. In simple a part of my form looks like this: E-mail* Validation works fine, but i can't get the message to display inside '*'. The following places the text immediatly before the

[jQuery] Another date picker

2008-12-11 Thread Alex Kroman
Hi -- We just released another date picker using jQuery that we've been using internally at OpenSourcery for a while now and are really liking. The main benefits of our date picker are that: - Dates can be entered through the keyboard or a calendar widget - Validation for keyboard entered dates

[jQuery] Re: jQuery reloads all JS files on show()

2008-12-11 Thread pbergqvist
Hi, I experience the exact same problem. I have a modal dialog window which content is loaded dynamically from a separate page. That page includes three additional scripts. These three scripts are never cached due to a timestamp added after the file name.. Sample jQuery code: $("div a.link").cli

[jQuery] Ajax parse error in IE

2008-12-11 Thread Chris M
Hi all, I really love jQuery and am running into my first real issue with it, regarding AJAX callbacks in Internet Explorer. I have a Python script configured that returns a string of text that I want to inject into an HTML page. My AJAX call looks like this (reduced to essentials): $.ajax( {

[jQuery] Simple FadeIn with Appending

2008-12-11 Thread WhoButSB
Hello all, I have a really simple question but, and once I figure out this little hurdle I know I will be able to work on a lot more stuff. I would like to add a simple notification to fade in when some one presses a button but I would like to attach the notification after a label. I know I have

[jQuery] Re: Limit lines and characters of textarea

2008-12-11 Thread Louie Miranda
Sorry to dig this up. But, maybe you could combine some of the codes and techniques here -- http://www.ajaxray.com/Examples/charLimit.html -- Louie Miranda ([EMAIL PROTECTED]) http://www.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) On Dec 12 2007, 9:36

[jQuery] JSONP and callback function name

2008-12-11 Thread jtuchscherer
Hi there, I am about to write a web service client with JQuery and I ran into a pretty weird problem. For some web service calls I need to authenticate a user. Part of the authentication is to create a MD5 checksum of all request parameters plus values plus a secret. The server than validates the

[jQuery] [Validate] Problems with errorPlacement before element

2008-12-11 Thread knal
Hi there, I'm using jQuery's Validate, which works great, but i seem to be unable to define the place where to place the error message. Extremely simplified, my form looks like this: E-mail* I'd like my error message to appear inside the div.warn, but i't fix it like that. I know i have to

[jQuery] newbie: unfold form on checkbutton

2008-12-11 Thread frits1607
Hello, I need to make a dynamic form. This morning I found jquery and this looks like the tool I need. My first challenge is unfolding part of a form on a checked checkbutton. The code I wrote does not work. Can someone point me in the right direction? $(function() { jQuery.fn.exte

[jQuery] Re: jQuery reloads all JS files on show()

2008-12-11 Thread pbergqvist
I experience similar problems. I'm using a modal dialog window in which we load content from a separate page. In the html that gets loaded we include three additional js scripts. These three scripts are always retrieved without cache because of the timestamp that is added to the js-file. jQuery:

[jQuery] Problems with Validate's errorPlacement

2008-12-11 Thread knal
Hi there, I'm using Validate on my website, but i'm having difficulties with the errorPlacement. In simple a part of my form looks like this: E-mail* Validation works fine, but i can't get the message to display inside '*'. The following places the text immediatly before the

[jQuery] Top 5 Movies of the Box Office Watch Online

2008-12-11 Thread 24 Hrs Movies
Top 5 Movies of the Box Office 1. Four Christmases Reese Witherspoon, Vince Vaughn, Mary Steenburgen 2. Twilight Kristen Stewart, Robert Pattinson, Billy Burke 3. Bolt John Travolta, Miley Cyrus, Susie Essman 4. Australia Nicole Kidman, Hugh Jackman

[jQuery] Styling the 2nd table tag above a row

2008-12-11 Thread Guy
Hi, I'm having a dilemma where I need to style the table which encloses a table with a row which has a style attached to it. The source looks like this. etc. I want to be able to directly access the first table tag to style the entire table with a border. Is there an easy way to do this

[jQuery] Top 5 Movies of the Box Office Watch Online

2008-12-11 Thread 24 Hrs Movies
Top 5 Movies of the Box Office 1. Four Christmases Reese Witherspoon, Vince Vaughn, Mary Steenburgen 2. Twilight Kristen Stewart, Robert Pattinson, Billy Burke 3. Bolt John Travolta, Miley Cyrus, Susie Essman 4. Australia Nicole Kidman, Hugh Jackman

[jQuery] Re: hover event going to infinite loop

2008-12-11 Thread brian
It's not an infinite loop. Your cursor is passing over the div and back several times, causing the hover states to toggle. Try this: Now, run your cursor in and out of the div several times. The toggling should run for a bit, then stop. The fix is to either set a width on the div so that it do

[jQuery] Re: a == b, but I don't understand why it doesn't...

2008-12-11 Thread ricardobeat
jQuery selectors are only instructions processed by other functions.. so it depends on what you're doing. In this case you would be creating one less jQuery object and that can be significant less overhead. On Dec 11, 5:32 am, nachocab <[EMAIL PROTECTED]> wrote: > Thanks Richard, > That's a great

[jQuery] Re: Click Handler Not Returning False in IE7 Due to getScript()?

2008-12-11 Thread Joe
Strange, I get the jumpy response On Dec 10, 6:15 pm, donb <[EMAIL PROTECTED]> wrote: > Seems perfectly fine to me.  IE version 7 > > On Dec 10, 5:32 pm, Joe <[EMAIL PROTECTED]> wrote: > > > Any leads on this? > > > On Dec 6, 2:01 pm, Joe <[EMAIL PROTECTED]> wrote: > > > > Go here: > > > >htt

[jQuery] Re: hover event going to infinite loop

2008-12-11 Thread Sridhar
that didn't work. On Dec 11, 1:00 am, sad1sm0 <[EMAIL PROTECTED]> wrote: > try unbinding before attaching the hover event > > $('#divEmpDetails').unbind().hover();//fill in the gaps > > Now that I look at your post I realize that's what fixed my gallery > issue.  Looks like a similar problem.  Ma

[jQuery] Re: Beginner question about toogeling a status

2008-12-11 Thread heohni
Hi, is there someone who can give me a hand with that topic? Please? On 11 Dez., 16:30, heohni <[EMAIL PROTECTED]> wrote: > Hi, > > this is my first post, I hope I do everything right! > > I have a list of users and for each user I have a little img showing > the actual status which is eather > -

[jQuery] Beginner question about toogeling a status

2008-12-11 Thread heohni
Hi, this is my first post, I hope I do everything right! I have a list of users and for each user I have a little img showing the actual status which is eather - active - in-active - active but no login On click on this little img icon, I want to call a ajax php script which toogles the status.

[jQuery] getJSON invalid label

2008-12-11 Thread jrutter
What am I doing wrong? Im able to submit the request and get a response, but in Firebug it says invalid label and the alert doesnt show up. here is my code: $("form").submit(function() { $.getJSON("http://api.nytimes.com/svc/movies/v2/reviews/ search.json?api- key=c82338627f

[jQuery] Re: Prefixing all href attributes (or how to get .attr('href') to return a string)

2008-12-11 Thread Kris
Own workaround: if(document.domain=='localhost') { var root_url = 'http://localhost/ project/'; } else { var root_url = 'http://www.mydomain.com/inprog/ project'; } $("#content_main a:not(.external)").attr('href', function() { orig_url = $(this).attr('href'); if(orig_url.substring(0,4)=='htt

[jQuery] Re: Prefixing all href attributes (or how to get .attr('href') to return a string)

2008-12-11 Thread Kris
Okay the only issue I'm facing now and its not strictly a JQuery one, its more an IE one... HREF's like 'images/trucks.jpg' should be prefixed with 'cms/' giving 'cms/images/trucks.jpg'. Firefox and Safari are okay, I get URLs like: http://www.mydomain.com/inprog/cvs/cms/images/trucks.jpg But

[jQuery] Re: Code migration from js to jquery

2008-12-11 Thread Alexandre Plennevaux
in case it doesn't help, here is aa blog post that describes (read comments) http://simple.procoding.net/2008/03/21/how-to-access-iframe-in-jquery/ On Thu, Dec 11, 2008 at 1:00 PM, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > try this: > > var innerDocument = $('#indexIframe").get(0).conte

[jQuery] Re: Code migration from js to jquery

2008-12-11 Thread Alexandre Plennevaux
try this: var innerDocument = $('#indexIframe").get(0).contentDocument; alert($("#cab", innerDocument).val()); On Thu, Dec 11, 2008 at 12:48 PM, m.ugues <[EMAIL PROTECTED]> wrote: > > Is there an elegant way to migrate this piece of code > > var innerDocument = parent.document.getElementById >

[jQuery] Code migration from js to jquery

2008-12-11 Thread m.ugues
Is there an elegant way to migrate this piece of code var innerDocument = parent.document.getElementById ("indexIframe").contentDocument; alert(innerDocument.getElementById("cab").value); with jQuery? I cannot get it :( Thanks, kind regards Massimo Ugues

[jQuery] Re: jQuery.uploader released: Flash based jQuery uploader

2008-12-11 Thread rernens
Move to Flash Player 10 just to see if it would change something. No changes. Firefox 3 crashes. It seems that the plugin does not handle properly the 404 return code from the server. Will try on Windows with firefox and IE7 and 8.

[jQuery] Re: jquery.css strips out my dashes in IE

2008-12-11 Thread MaTi
thanks mate :) works fine On 10 Dez., 19:34, ricardobeat <[EMAIL PROTECTED]> wrote: > You have to use the camelCase variants when dealing with javascript: > textAlign, backgroundColor, etc; > > On Dec 10, 2:41 pm, MaTi <[EMAIL PROTECTED]> wrote: > > > Hi guys, > > > i wrote the following code: >

[jQuery] Re: Setting background image does not work...

2008-12-11 Thread Kris
I see, the path is not relative to the css file (../images/banner/ default.gif) that first set background, its relative to root (images/ banner/custom.gif). Many thanks for confirming I had correct syntax, one of those where you can bang your head aginst the walls for days!!

[jQuery] Re: Prefixing all href attributes (or how to get .attr('href') to return a string)

2008-12-11 Thread Kris
Many thanks Karl, I never would have got there without help. On Dec 10, 5:10 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Kris, > > The problem is that $(this) is referencing something other than the   > link at that point -- either some enclosing method or the window   > object. You can g

[jQuery] Re: vertical jcarousel + galleria + IE = bug

2008-12-11 Thread dopeless
ok, i've got an answer. to make it work propertly in IE, you have to define "scroll" option. In my case it have hade the value 2. On Dec 10, 7:39 pm, dopeless <[EMAIL PROTECTED]> wrote: > Hi, people, > > i've got such a bug: i'm trying to implemen Galleria together with > Jcarousel. It works fin

[jQuery] Re: "please wait while loading..."

2008-12-11 Thread Kevin Thorpe
fabrice.regnier wrote: Hi to all, i have a nice gif "please wait while loading..." and i'd like to show it when i click on a button. Is there a nice jquery way to do it ? do i need a plugin ? $("#Idsubmit").click(function () { --> start showing the gif

[jQuery] Re: xml find element with this attribute value

2008-12-11 Thread Crazy-Achmet
Hey, i couldn't get it to work! This is my code to get all the event nodes. $(xml).find('event').each(function(){ var name = $(this).attr('name'); $('').html(n

[jQuery] jquery IE problem

2008-12-11 Thread mysterbx
I have a test site, and everything works so smooth, but ie makes the animations s ugly... please help me out, here's my script: http://www.bxsearch.com/x/jquery2.js and the test is here: http://www.bxsearch.com/x/ what is wrong with it?

[jQuery] Re: Simultaneous $.load() calls wait for eachother

2008-12-11 Thread Robin Speekenbrink
That's the weird thing about the calls: it doesnt matter what i do on my server side ( ie. a sleep-command) the second call only renders when the firstcall has returned data... ? And about the ajaxSetup part: the async is by default already true, so all calls should be called async-ed... I'm at

<    1   2