[jQuery] JCarousel not rendering images in IE

2009-07-01 Thread expresso
Has anyone had a problem where JCarousel does not render images in IE 8 but works fine in FF?

[jQuery] Re: basic jQuery/JavaScript pattern

2009-07-01 Thread harryhobbes
Excellent explanation. Thank you. On Jun 23, 8:28 am, Scott Sauyet wrote: > jerome wrote: > > (function(){ > > ... > > })(); > > > How is this basic to understanding how jQuery works, and how > > JavaScript works? > > The basic idea is that global variables are evil.  This technique moves > what

[jQuery] Re: Eval issue ?

2009-07-01 Thread Ricardo
If you put the loop inside a function, you'll have access to the 'i' variable because of scoping: // *** just for demonstration, this is bizarre *** for (var i=0; i < TAGS.length; i++) { (function(i){ TAGS[i].click( function(event) { alert(B[i]); }); })(i); };

[jQuery] Re: just trying to get more efficient with jQuery coding

2009-07-01 Thread Ricardo
Couldn't make complete sense of your last chain, but it could be reduced to something like this: $(".entry h4").click(function() { $(this) .siblings('h4.active') .removeClass('active') .end() .toggleClass('active') .next() .toggle('slow') .toggleClass('activ

[jQuery] Re: simple JSON parse problem!!!

2009-07-01 Thread Ricardo
No. JSONP provides a way to pass the JSON response directly to a callback function without the need for eval(), independent of what you're doing with it. It was conceived to allow cross-domain use of JSON, 'cause you don't get the response from XHR but from an appended tag. Think of it like this:

[jQuery] Re: Cleaning up javascript before ajax load

2009-07-01 Thread Charlie
one more thing you might look at and maybe get clarification on empty()   " Note that this function starting with 1.2.2 will also remove all event handlers and internally cached data. http://docs.jquery.com/Manipulation/empty Veeru wrote: Hi Charlie I have checked the links you gave me,

[jQuery] Re: Cleaning up javascript before ajax load

2009-07-01 Thread Charlie
all the memory issues are over my head, I was hoping someone in the know might provide an interesting answer myself. I remembered that test , thought it might interest you. Veeru wrote: Hi Charlie I have checked the links you gave me, found some interesting stuff like adding a .html("")

[jQuery] Re: Cleaning up javascript before ajax load

2009-07-01 Thread Veeru
Hi Charlie I have checked the links you gave me, found some interesting stuff like adding a .html("") before updating the ajax content; but in the problem situation mentioned, they were only load html, but what if there is js as well - like if any element has an onClick() event in the html, and t

[jQuery] Re: Cleaning up javascript before ajax load

2009-07-01 Thread Veeru
thanks for the reply waseem i was thinking something along the same lines as well, to keep all the js in an external file and probably load it even before the ajax pages are called so there would be no js in the ajax calls, just html. My web application, is something that usually runs round the c

[jQuery] Re: Cleaning up javascript before ajax load

2009-07-01 Thread Charlie
there was an interesting thread on this a few months ago. Take a look at the test run, was continuous loading of large file every 200 ms. The OP ran test for a day Solution Thread: http://groups.google.com/group/jquery-en/browse_thread/thread/ef024e92a41113a3/58f86e8deca2de4c?lnk=gst&q=memor

[jQuery] Re: Target specific ul list items for css

2009-07-01 Thread Wacko Jacko
Thanks guys! Paul's http://docs.jquery.com/Selectors/nthChild suggestion is perfect as the lists are generated dynamically I can not add id's to each item. On Jul 2, 11:14 am, Shiro wrote: > Perhaps give each of them an ID? for example: > > > one > two > ... > fifth > sixth > > > T

[jQuery] Re: jQuery cycle plugin pager not working in FF and Safari

2009-07-01 Thread Jason
Thanks! Problem solved. It is always the simple things. I appreciate the help. On Jul 1, 8:54 am, Mike Alsup wrote: > > I am having an odd error where the pager generates links but they > > don't change the slide in FF and Safari. The biggest surprise of all > > is that it actually works in IE.

[jQuery] Re: Chained Autocomplete selects

2009-07-01 Thread brotherjames
Is there an easy way with the Cascade plugin to tie to events in addition to change... The issue is that the Cascade works well when the parent is changed but does not show the child value on an update form as the parent in most cases do not need to change... but the child is not displayed because

[jQuery] how to make jquery.cycle slow down after one full cycle

2009-07-01 Thread YES
I want to have the timeout on my jquery.cycle change from 500 to 2500 after one full cycle is complete. (or after a certain amount of seconds which ever is easier) Ive tried all manner of ideas on how to get it to work but cant seem to figure it out. Can anyone offer me some advice. Thanks, Ja

[jQuery] Validate first and the carry on

2009-07-01 Thread James W
I am using some jquery code to validate a form and then post the results of the form via an ajax request to a script. I am struggling with the code as when I click submit the form validates but then also makes the ajax request. What I would like to be able to do is validate the form and then if th

[jQuery] jQuery + Jeditable

2009-07-01 Thread Annabel
Hi, I have a PHP page containing a table of what are basically database rows, several of the fields are editable using Jeditable. I really like the Jeditable user-friendliness but... The standard Jeditable behaviour is that once a field has been edited the result is returned from the server - th

[jQuery] Re: Target specific ul list items for css

2009-07-01 Thread Shiro
Perhaps give each of them an ID? for example: one two ... fifth sixth Then you can target them by: $("#fifth") in jquery OR #fifth { } in CSS On Jul 1, 6:10 pm, Wacko Jacko wrote: > How would I target (with jQuery or normal javascript) the 5th and 6th > li in an unsorted list

[jQuery] Modal Boxes Position Off on Centered Layout

2009-07-01 Thread smartpill
I have a few sites with centered layouts and any modalbox script positions the containing item in a relative position to the parent item instead of left:0; bottom:0; or whatever it will be over to the right in relation to how much space is outside the main site container. So if I have a 900px wide

[jQuery] mouseover on image in jCarousel

2009-07-01 Thread camila
Is there a way to create a mouseover effect on an image that is in a jQuery carousel? I want a description to appear by my image when you mouseover it. Does anyone know if this is possible and how to do it?

[jQuery] jQuery with HTML radio button forms

2009-07-01 Thread Shiro
Hi, I have a problem running a simple jQuery script. This is what I'd like to do: - Select from a list of radio button - Each radio button will show a hidden dropdown list The jQuery snippet I use is as follows: $("#wrapper_almond").hide(); $("#flavors input[name=cakes]").click(function(){

[jQuery] Re: Cleaning up javascript before ajax load

2009-07-01 Thread waseem sabjee
Been trying to replicate your situation. the best solution i see is to not load the variables. may be if you can explain your environment in more detail. like : this is how I understand. lets assume we have our container within this container we have out element we basically loading the full

[jQuery] Re: jQuery Animation & Loading

2009-07-01 Thread Valor
I did consider leaving out the ajax loading. In my opinion, its just a bit of eye candy and I still have the URL's a person can access directly. So if i'm not wrong, you are suggesting that I create a single page will all the content and load the content using jquery. So a single div container wi

[jQuery] Re: jQuery Animation & Loading

2009-07-01 Thread Charlie
seems you are at mercy of load times and with a rapid animation there isn't much room for time lag. Have you considered skipping the ajax loading? Shouldn't be a lot of work to create 4 divs within your sliding panel, with ID's match your nav href rather than code all this out giving sequenc

[jQuery] Re: Cleaning up javascript before ajax load

2009-07-01 Thread Veeru
anybody??

[jQuery] Re: Target specific ul list items for css

2009-07-01 Thread Paul Witschger
http://docs.jquery.com/Selectors/nthChild also works. James wrote: http://docs.jquery.com/Selectors/eq On Jul 1, 3:10 pm, Wacko Jacko wrote: How would I target (with jQuery or normal javascript) the 5th and 6th li in an unsorted list for styling? I need to change the css for only 2 items

[jQuery] copy and paste event

2009-07-01 Thread jonathan
I have a text input box, is there a way to detect a copy and paste event into the box? keyup, focus doesn't really do it. thanks

[jQuery] Re: Target specific ul list items for css

2009-07-01 Thread James
http://docs.jquery.com/Selectors/eq On Jul 1, 3:10 pm, Wacko Jacko wrote: > How would I target (with jQuery or normal javascript) the 5th and 6th > li in an unsorted list for styling?  I need to change the css for only > 2 items in a list. > > Thanks in advance for your help.

[jQuery] Target specific ul list items for css

2009-07-01 Thread Wacko Jacko
How would I target (with jQuery or normal javascript) the 5th and 6th li in an unsorted list for styling? I need to change the css for only 2 items in a list. Thanks in advance for your help.

[jQuery] jQuery Animation & Loading

2009-07-01 Thread Valor
I think my problem would be better clarified if you guys were able to view the live site. The link is http://nxiel.com/ and the password is "guest1234" (without quotations). Now if you browse through the pages you will see how the animation slides to the left and back to right with updated conten

[jQuery] Re: jquery prompt replacement

2009-07-01 Thread Michael Geary
There are no plugins like that because you can't do that in JavaScript. You can't block execution of JavaScript code until some event (such as closing your lightbox-style confirmation) occurs. The best you can do is to call another function when the event happens. This is why every asynchronous J

[jQuery] Re: HELP: how to browser cache json request?

2009-07-01 Thread James
If your requests are returning 304 Not Modified, then it means it's using the cached version because the one on the server is not different from the one in the cache. On Jul 1, 1:07 pm, wgordonw1 wrote: > bump. is it possible to cache something using the ajax call and only > download it using la

[jQuery] Re: HELP: how to browser cache json request?

2009-07-01 Thread wgordonw1
bump. is it possible to cache something using the ajax call and only download it using last-modified headers? or is that why nobody ever responded?

[jQuery] Re: Event for when a is changed?

2009-07-01 Thread Hector Virgen
You might want to pull the variable declaration out of the anonymous function so that it can be used later (outside the function): var str = ""; $("#theSelectsID").change(function () { str = $(this).val(); }); // later alert(str); -- Hector On Wed, Jul 1, 2009 at 11:25 AM, James wrote: >

[jQuery] Plugins and context

2009-07-01 Thread Hector Virgen
Is there a way for plugins to know the context of the jQuery object? According to the jQuery Core docs, I can create a jQuery collection by passing in a selector and a context, and I should be able to retrieve the context from the object's context property, but it's not working within plugins. For

[jQuery] Re: ajax post not sending header

2009-07-01 Thread James
Hmm... What happens if you add: type: "POST" in your AJAX options? On Jul 1, 10:36 am, hadaraz wrote: > I have used firebug, and there is no sign of AJAX request. > > On the server side I use python, and yes, I'm checking for > 'HTTP_X_REQUESTED_WITH'. Maybe there is a problem with the jquery

[jQuery] Re: simple JSON parse problem!!!

2009-07-01 Thread Shawn
theozmanbo wrote: uploadPicture{"errors":["This file was already uploaded"]} That is not valid JSON. If you were returning {"errors":["This file was already uploaded"]} You would have more luck. In fact I'm willing to bet you'd be able to do something like alert(data.errors[0]) - becaus

[jQuery] Using live() within context of a node

2009-07-01 Thread Hector Virgen
Hello, I am building a plugin and need to use live() to capture click events on elements with a configurable class name, but only if they are children of specific node (that may or may not have an ID). For example, I want to create several containers (divs) on the page, and if any element with a c

[jQuery] Re: ajax post not sending header

2009-07-01 Thread hadaraz
I have used firebug, and there is no sign of AJAX request. On the server side I use python, and yes, I'm checking for 'HTTP_X_REQUESTED_WITH'. Maybe there is a problem with the jquery 1.3.2 (which is what I use, linked from google ajax libs)? On Jul 1, 9:21 pm, James wrote: > Have you tried us

[jQuery] Form Plugin Question

2009-07-01 Thread icfantv
As jQuery has both a serialize() and serializeArray() method for serializing an HTML form to a String and JSON respectively, why does the Form Plugin at malsup.com include yet another serialize() method in the form of formSerialize()? I understand the fieldSerialize() method, but not the former.

[jQuery] Re: Problem accessing external iframe form values

2009-07-01 Thread skywalk3r
Ok, I supposed it! Thanks anyway guys! On Jul 1, 8:28 pm, Michael Lawson wrote: > It isn't possible.  iframes abide  by the same origin policy just as ajax > requests do. > > cheers > > Michael Lawson > Development Lead, Global Solutions, ibm.com > Phone:  1-276-206-8393 > E-mail:  mjlaw...@us.

[jQuery] Re: Eval issue ?

2009-07-01 Thread James
How about changing the technique a bit like: for (var i=0; i < TAGS.length; i++) { TAGS[i].data('count', i) .click(function(event) { alert( B[$(this).data('count')] ); }); } Basically it stores the value of 'i' with the element using .data(), and you can retrieve

[jQuery] Re: simple JSON parse problem!!!

2009-07-01 Thread Rick Faircloth
So...am I to understand that jsonp provides a method by which an image can be uploaded after submission of a form as part of a callback function? I've done some research on jsonp, but still am not clear about it. Rick On Wed, Jul 1, 2009 at 1:03 PM, Ricardo wrote: > > that is called jsonp. You

[jQuery] jquery prompt replacement

2009-07-01 Thread pantagruel
Hi, I've seen a number of jquery prompt replacements that allow you to have a customizable prompt of some sort but none that allow you to actually use it the way a prompt is normally used - that would say var x = prompt("please enter your value"); alert(x); Is there anything like that? If not -

[jQuery] Re: Problem accessing external iframe form values

2009-07-01 Thread Michael Lawson
It isn't possible. iframes abide by the same origin policy just as ajax requests do. cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer would test gold. If you find they make

[jQuery] Re: Event for when a is changed?

2009-07-01 Thread James
Just simplify it like: $("#theSelectsID").change(function () { var str = $(this).val(); //or -- var str = this.value; }); On Jun 30, 11:51 pm, "developm...@sdinternet.co.uk" wrote: > If you have a single dropdown list with the id of 'theSelectsID' the > below code should store the selected item

[jQuery] Re: ajax post not sending header

2009-07-01 Thread James
Have you tried using Firebug for Firefox to examine the headers of the AJAX request to be sure that it wasn't sent? Check that first. You might be reading the headers incorrectly on the PHP side. Are you using: $_SERVER['HTTP_X_REQUESTED_WITH'] The beginning HTTP_ part is the tricky part. Make su

[jQuery] Re: Problem accessing external iframe form values

2009-07-01 Thread James
I believe that it's not possible, in general, as you said due to security reasons. On Jul 1, 12:17 am, skywalk3r wrote: > Hi, I'm getting sick trying to solve this problem: > > I have a web page A that loads another page B using an iframe (or an > object tag), the B page is an external page (it'

[jQuery] [Validate] Radio buttons

2009-07-01 Thread Purno
Is it possible that, say i have two radio buttons, if radio one is chosen validate gives a message(error) and if radio two is chosen the form passes validation?

[jQuery] ui.jquery.com down?

2009-07-01 Thread Vorge
Is the UI section of the site down? I have a few websites that link to it and they're all taking forever to load, seemingly hanging when "waiting for ui.jquery.com..." This is the first time I've seen this and am wondering if anyone else is aware of the problem. Thanks, Vorge

[jQuery] Join several JS scripts into one big file to lower http request

2009-07-01 Thread AndyPSV
I've got on site a huge amount of js, 'single' script. What I want to do is to pack them into one file. Could somebody assist me in doing this? Tried before but something crashed... Here is package: http://rcdrugs.com/_done/js.zip I've posted this question on several boards: - http://www.experts

[jQuery] Re: simple JSON parse problem!!!

2009-07-01 Thread Ricardo
that is called jsonp. You need to define a function named uploadPicture that will get called when the response arrives. jQuery handles that for you if you use the proper method (assuming the callback name can be set in the request): $.getJSON('uploadpicture.php?callback=?, {some:'data'}, function

[jQuery] Re: GM_xmlhttpRequest sort data

2009-07-01 Thread Charlie
would loading it into a hidden div, pulling what you need from it then empty the div help? Dman wrote: Is there really no way? Anyone, please reply. On Jun 26, 2:20 am, Dman wrote: bump help please On Jun 25, 1:16 am, Dman wrote: Hello, I am trying to get a h

[jQuery] just trying to get more efficient with jQuery coding

2009-07-01 Thread Adam
This is a FAQ page I built with custom jquery function that toggles the answers open/closed on click of a question, and Im just wondering if anyone has a suggestion to make the code leaner and meaner: http://dfrecruiting.com/faqs The code: $(".entry h4").click(function() {

[jQuery] Re: reload an SWF object from jquery

2009-07-01 Thread Liam Byrne
Any chance that there are 2 items with id / name "reportChart" ? L pacodelucia wrote: Hi The code I have written in my post was some how pseuodo code. That is the reason why it contains so much typing errors. Sorry for that Here is the code directly copied from my js file: document

[jQuery] Re: check/uncheck all checkboxes with specific id

2009-07-01 Thread Cesar Sanz
Hi, Charlie solution is very elegant $("input[id^='chkEvent']").attr("checked","checked"); But I agree that you must use a class in your markup, so it it's the easier way regards - Original Message - From: Charlie To: jquery-en@googlegroups.com Sent: Tuesday, June 30, 2009 1:

[jQuery] Re: checkboxTree Plugin

2009-07-01 Thread Cesar Sanz
Good to know that there is a plugin for this..!! - Original Message - From: "Matt W." To: "jQuery (English)" Sent: Wednesday, July 01, 2009 8:30 AM Subject: [jQuery] checkboxTree Plugin Hello Everybody, I have rewritten and posted my jquery checkboxTree plugin that I originally

[jQuery] Re: Problem with double submit of and form

2009-07-01 Thread jogep
i try it know with this code, but the problem with double submit of the form still exists. I read that I can have so many $(document).ready(function () { }); I need. Show Test Test 1 Test 2 $(document).ready(function () { $('#tpcsub

[jQuery] jQuery CrossSilde in IE7

2009-07-01 Thread Johnny
Please forgive my inexperience, I am a designer trying to take over the development! These 2 sites I created using cross-slide and it doesn't seem to work in IE7: http://nirmada.bigrigmedia.com/portfolio/ and http://horizonrvresorts.bigrigmedia.com/ Please help, THANK YOU!

[jQuery] Re: Looks like a bug in IE7 with replaceWith

2009-07-01 Thread Charlie
there are a number of ways of doing this and make it look a lot cleaner your problem could be that replaceWith replaces the whole element. Once you *replace* img#imp_plus001 that ID isn't there anymore so next time function runs it isn't found and no image change. http://docs.jquery.com/Mani

[jQuery] Re: Need jQuery/Ajax/jsonp HELP

2009-07-01 Thread Karl Swedberg
On Jul 1, 2009, at 6:15 AM, skywalk3r wrote: Hi, I'm getting sick trying to solve this problem: I have a web page A that loads another page B using an iframe (or an object tag), the B page is an external page (it's not on my server) and contains a form. I want to be able to auto fill the for

[jQuery] Re: reload an SWF object from jquery

2009-07-01 Thread pacodelucia
Hi The code I have written in my post was some how pseuodo code. That is the reason why it contains so much typing errors. Sorry for that Here is the code directly copied from my js file: document.getElementById('reportChart').reload("charts/ pie_chart.php");//works

[jQuery] Re: reload an SWF object from jquery

2009-07-01 Thread Liam Byrne
Is there an error / typo in the URL being requested ? Should it be "charts/gen_*e*_rate_chart.php" ? L pacodelucia wrote: sorry for the type error. I meant really that $("#reportChart").reload("charts/genrate_chart.php"); does not work with the # selector. On Jul 1, 3:51 pm, Olaf Bosch w

[jQuery] Re: Help with some jquery basics

2009-07-01 Thread Lee Hanson
Thanks for the pointer :)! -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Ricardo Sent: 28 June 2009 20:27 To: jQuery (English) Subject: [jQuery] Re: Help with some jquery basics You're trying to set the 'opid' property of opid[0] wh

[jQuery] Re: GM_xmlhttpRequest sort data

2009-07-01 Thread Dman
Is there really no way? Anyone, please reply. On Jun 26, 2:20 am, Dman wrote: > bump help please > > On Jun 25, 1:16 am, Dman wrote: > > > Hello, > > I am trying to get a html page using GM_xmlhttpRequest, store the html > > page code, in a var, and sort some data from it. > > GM_xmlhttpRequest

[jQuery] Re: reload an SWF object from jquery

2009-07-01 Thread pacodelucia
sorry for the type error. I meant really that $("#reportChart").reload("charts/genrate_chart.php"); does not work with the # selector. On Jul 1, 3:51 pm, Olaf Bosch wrote: > pacodelucia schrieb: > > > Apparently $("reportChart") is not returning really an SWF "object". > > Anyone has an idea

[jQuery] checkboxTree Plugin

2009-07-01 Thread Matt W.
Hello Everybody, I have rewritten and posted my jquery checkboxTree plugin that I originally put out a year ago. Tried to add features and options people were asking for. Information can be found here: http://floatmargin.com/2009/jquery-checkbox-tree-plugin-new-and-improved/ The github reposit

[jQuery] Re: jQuery cycle plugin pager not working in FF and Safari

2009-07-01 Thread Mike Alsup
> I am having an odd error where the pager generates links but they > don't change the slide in FF and Safari. The biggest surprise of all > is that it actually works in IE. > > Here is the page I am referring to:http://76.12.208.222/ Try this: #slideshowPage { position: relative: z-index: 100;

[jQuery] Re: reload an SWF object from jquery

2009-07-01 Thread Olaf Bosch
pacodelucia schrieb: Apparently $("reportChart") is not returning really an SWF "object". Anyone has an idea if this possible with jquery? This is not a correct Selectot for ID, try so: //access via jquery $("#reportChart").reload("charts/genrate_chart.php"); // does not work # for ID, . fo

[jQuery] Re: simple JSON parse problem!!!

2009-07-01 Thread MorningZ
Yes, it is because of that part I'd suggest, despite the silly title, reading this blog post http://blog.archive.jpsykes.com/67/how-to-explain-json-to-your-mum/index.html On Jul 1, 9:16 am, theozmanbo wrote: > Is it because of the uploadPicture part? Why isn't it valid? Sorry for all > these s

[jQuery] Re: need a hand with it, show/hide stuff

2009-07-01 Thread Charlie
online loading gif generator for your image, multiple styles , set your own colors http://www.ajaxload.info/ Liam Potter wrote: on the function that initiates the ajax call, insert the spinning gif image. $("div").append(''); and on the success callback on the ajax function, rem

[jQuery] Re: simple JSON parse problem!!!

2009-07-01 Thread theozmanbo
Is it because of the uploadPicture part? Why isn't it valid? Sorry for all these stupid questions. -- View this message in context: http://www.nabble.com/simple-JSON-parse-problem%21%21%21-tp24283450s27240p24289615.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] jquery menu plugin browser test

2009-07-01 Thread Dave
http://labs.makotokw.com/s/jquery/menu Are planning to use the above menu plugin but need to know how it works in different browsers, most important IE6/7. The plugin author says it works in: Google Chrome 3 (Windows) Firefox 3 (Windows/Mac) Safari 4 (Mac) I have tested it in these, where it wo

[jQuery] Re: adding rule to selector syntax

2009-07-01 Thread Charlie
$('[id^=total_item]').not('.locked') introvert wrote: Hello I have a simple jquery selector: $('[id^=total_item]') I would like to add a rule so that the upper code would match all elements that don't have 'locked' class (so that it wouldnt match those with class='locked'). How should

[jQuery] Re: simple JSON parse problem!!!

2009-07-01 Thread MorningZ
uploadPicture{"errors":["This file was already uploaded"]} isn't valid JSON and even var JSON = eval("("+data+")"); resulting in (uploadPicture{"errors":["This file was already uploaded"]} ) isn't valid JSON... hence eval() and expecting it to act like an object is never going to work On Jul 1

[jQuery] Re: SuperFish for Joomla - SlideUp Animation

2009-07-01 Thread Charlie
using the animation option you can get effects on the opening of sub menus example: jQuery('ul.sf-menu').superfish({animation:{height: "show"},speed : 1000});// produces 1 second slide down effect, use opacity for fades, margins for positions etc to reverse for the slideUp there is no option

[jQuery] Re: Div and Button display as active and open only on certain pages

2009-07-01 Thread Takaya213
The class solution would work fine. As there is only 1 page that the overlay really needs to be open on and the button active so a class function would be sufficient. Charlie Tomlinson wrote: > > what are parameters to determine your "certain pages"? does this > require an involved solution l

[jQuery] Re: Cluetip - From a function

2009-07-01 Thread Karl Swedberg
Hi! So sorry I've been delinquent in following up with that. It is a very strange bug. It doesn't appear to occur unless you've already scrolled down quite a bit, right? Honestly, I'm just as confused as you are about what might be the source of the problem. There isn't anything in the plug

[jQuery] Re: simple JSON parse problem!!!

2009-07-01 Thread theozmanbo
Okay - well here's what I'm really doing. I'm using an ajax upload plugin and in the callback function, which returns a variable "data", I need to parse it into a JSO so I can use it. Right now it's just a string. onComplete: function(file, data) { $('

[jQuery] Re: need a hand with it, show/hide stuff

2009-07-01 Thread Liam Potter
on the function that initiates the ajax call, insert the spinning gif image. $("div").append('alt="Loading..." class="loading" />'); and on the success callback on the ajax function, remove the image $("div img.loading").remove(); How you add and remove the image is up to you, but this is th

[jQuery] adding rule to selector syntax

2009-07-01 Thread introvert
Hello I have a simple jquery selector: $('[id^=total_item]') I would like to add a rule so that the upper code would match all elements that don't have 'locked' class (so that it wouldnt match those with class='locked'). How should I add this rule to the selector? Many thanks in advance!

[jQuery] reload an SWF object from jquery

2009-07-01 Thread pacodelucia
I am using Open PHP chart. It uses a flash object to display charts. I would like to update this swf object via ajax. I have a problem accessing the object using jquery selectors: Here is the HTML code //access via pure javascript document.getElementById('reportChart').reload("charts/ genrate_c

[jQuery] Setting Rowspan Of Dynamic Table

2009-07-01 Thread chuckalicious
I have a table which is dynamically created in html. I have pasted an example below: Team Designation Name ADM Partner Gus Solicitor Mark VB Partner Vincent Solicitor Fiona The idea is that a row will be given an ID, for example "ADM" and then each row below that has a class of

[jQuery] Looks like a bug in IE7 with replaceWith

2009-07-01 Thread Max Fedorov
Hi, I have a following Jquery code, as you can see all it does when user clicks an html link it shows a hidden div (I am using SlideToggle). The problem is in changing plus icon on minus icon after we clicked on a link, for example when div is hidden we should show plus, after we clicked a link

[jQuery] Problem accessing external iframe form values

2009-07-01 Thread skywalk3r
Hi, I'm getting sick trying to solve this problem: I have a web page A that loads another page B using an iframe (or an object tag), the B page is an external page (it's not on my server) and contains a form. I want to be able to auto fill the form with pre-defined values. In jquery i think it's

[jQuery] Re: Event for when a is changed?

2009-07-01 Thread developm...@sdinternet.co.uk
If you have a single dropdown list with the id of 'theSelectsID' the below code should store the selected item into the variable 'str'. Hope that helps $("#theSelectsID").change(function () { var str = ""; str = $("#theSelectsID").val(); });

[jQuery] ajax post not sending header

2009-07-01 Thread hadaraz
Posting data from a form using this function: $(function() { $('#emailform').submit(function() { $.ajax({ url: '/post/url/', dataType: 'json', data: $('#emailform').serialize(), success: function(rdata) { $('#emailformmes

[jQuery] SuperFish for Joomla - SlideUp Animation

2009-07-01 Thread Chris
Dear developers, dear community, in order to complete my design I would like to kindly ask you what I have do, if i want to a set up a SlideUp effect for Superfish Menu, using it on a Joomla! installation? I tried to modify mod_superfishmenu.xml in order to be able, to select a new option from "

[jQuery] Need jQuery/Ajax/jsonp HELP

2009-07-01 Thread skywalk3r
Hi, I'm getting sick trying to solve this problem: I have a web page A that loads another page B using an iframe (or an object tag), the B page is an external page (it's not on my server) and contains a form. I want to be able to auto fill the form with pre-defined values. In jquery i think it's

[jQuery] reload an SWF object from jquery

2009-07-01 Thread pacodelucia
I am using Open PHp chart. It uses a flash object to display charts. I would like to update this swf object via ajax. I have a problem accessing the object using jquery selectors: Here is the HTML code //access via pure javascript document.getElementById('reportChart').reload("charts/ genrate_ch

[jQuery] SuperFish for Joomla - SlideUp Animation

2009-07-01 Thread Chris
Dear developers, dear community, in order to complete my design, I'd like to kindly ask you if there's a possibility to use JQuery's SlideUp animation within a horizontal menu created by SuperFish. I tried to modify the mod_superfishmenu.xml to be able to set parameters within the "animation" -

[jQuery] jCarousel - xHTML-Errors

2009-07-01 Thread msr
Hi over there, i integrated the script jCarousel ( http://sorgalla.com/jcarousel/ ), so i there are 2 errors at sitevalidation. The site ( http://www.pulverlack-matzen.de/de/oberflaechenveredelung.php ) is using XHTML 1.0 Strict. The first one, where the carousel is loaded, can be easy transform:

[jQuery] Re: getting the value of list box in jquery

2009-07-01 Thread Shawn
First, this is a mailing list. Not an IRC channel or Instant Messenger. This means replies can take hours or even days sometimes. Patience is the keyword here. If you need help with an issue that urgently, try the ##Javascript channel on IRC. The message I am replying to is timestamped 1

[jQuery] Re: Border around fisheye images

2009-07-01 Thread Charlie
this was css related but sounds like you got it working in last post Wolfram Rösler wrote: Hi, this is your code stating width is 32, then you have img margin as much as 10, losing 1/3 of space inside no need for margin on $('#Flags').html(HTML).Fisheye( {  maxWidth: 48, item

[jQuery] Re: simple JSON parse problem!!!

2009-07-01 Thread Shawn
As mentioned in another reply, "theObject" is an object. So, building a string with "(" + theObject + ")"; will not give you what you'd expect. If that were to work at all you'd likely end up with a string of "([Object])" - not what you want. If you really must do the eval(), then it shoul

[jQuery] Re: Div and Button display as active and open only on certain pages

2009-07-01 Thread Charlie
what are parameters to determine your "certain pages"? does this require an involved solution like parsing url or would a simple solution like adding class to body like "myOverlay" and use that as selector in code to run overlay functions? Takaya213 wrote: Hi I have a DIV overlay that I

[jQuery] Re: getting the value of list box in jquery

2009-07-01 Thread Charlie
post a link to page you are working on, or make a test case and put it in jsbin com.  Morning Z gave you reasons you would get null, so seeing all the code (html and the rest of script you use for the select) will help resolve this. Are you sure the tags created in server code have value att

[jQuery] Re: find out if an element is a drop down list

2009-07-01 Thread cms4j
I just found something that helps me a lot, it's not just a jQuery property, but a direct property of HTML-elements: .tagName So my above workarounds would work as follows. if (self.tagName == 'IMG') { // --- image --- // do something } if (self.tagName == 'SELECT') { // --- drop down

[jQuery] Div and Button display as active and open only on certain pages

2009-07-01 Thread Takaya213
Hi I have a DIV overlay that I want to show as open only on certain pages but not on others (it is on all pages). The button that is related to the DIV must also display as on when the DIV overlay is open and in the off state when it is closed. This must happen on page load. e.g. DIV open, but

[jQuery] Re: Border around fisheye images

2009-07-01 Thread Wolfram Rösler
Hi, > this is your code stating width is 32, then you have img margin as much > as 10, losing 1/3 of space inside > no need for margin on > $('#Flags').html(HTML).Fisheye( > { >  maxWidth: 48, > items: 'a', >  itemsText: 'span', > container: '.fisheyeContainter', >  itemWidth: 32, >  proximit

[jQuery] Re: Border around fisheye images

2009-07-01 Thread Wolfram Rösler
Hi, > .fisheyeItem img {  width: 90%; } Works great and does just what I've been looking for. Thanks a lot! Best regards Wolfram Rösler

  1   2   >