[jQuery] Re: JQuery XML parsing is not working in IE?

2009-03-09 Thread Samuel
Yes I tried JSON laterly, and it works so greatly. On Fri, Feb 20, 2009 at 5:30 AM, akzhan wrote: > > How to reproduce this problem? > > By the way, Json format is more attractive way for data exchange (Json > included into core or additional modules of all known Web server > platforms)... > >

[jQuery] Re: Loading More Entries According to the Users Screen Size

2009-03-09 Thread Siddharth Kalra
Hi Pete, First of all, thanks for replying. loadEntries() will always return 20 results each time. I can't make it return 20 results one time and 23 results the next time. Basically I want to call it enough times to fill the whole page with entries so that the scroll bar shows up. So for a larger

[jQuery] Re: Loading More Entries According to the Users Screen Size

2009-03-09 Thread pedalpete
I hope I understand you problem correctly, a bit difficult to get the visual. Two things you didn't specify 1) how many results you expect to get per screen size 2) will subsequent requests result number be equal no matter what size? or also depend on the screen size? What i would suggest is to

[jQuery] Re: location.hash -scrolling to the middle of the page

2009-03-09 Thread Ariel Flesler
> > I avoid using scrollTo because I wanna have #about in the url so that > > i can refer to specific part of my page. > > So I didn't use scrollTo plugin but using the mothed posted from here: > >http://www.zachstronaut.com/posts/2009/01/18/jquery-smooth-scroll-bug... You can keep the hash (#abo

[jQuery] Re: location.hash -scrolling to the middle of the page

2009-03-09 Thread Ariel Flesler
> > I avoid using scrollTo because I wanna have #about in the url so that > > i can refer to specific part of my page. > > So I didn't use scrollTo plugin but using the mothed posted from here: > >http://www.zachstronaut.com/posts/2009/01/18/jquery-smooth-scroll-bug... You can keep the hash (#abo

[jQuery] Loading More Entries According to the Users Screen Size

2009-03-09 Thread Siddharth Kalra
I'm a novice user of JQuery and there is something I want to do but I'm not sure whether JQuery can help me with this or not. Here is what I want to do: Basically I have an on scroll feature that loads more entries when a user scrolls down. So I have that working, np there. But the problem is that

[jQuery] Re: superfish problem

2009-03-09 Thread James
long menu item » subitem 1a subitem 1b subitem 1c subitem 1d . On Mar 9, 5:19 am, droidster wrote: > Hi i downloaded and read the instructions for the superfish module but > i have alot

[jQuery] Re: Getting text from a div

2009-03-09 Thread mkmanning
That works too :), although much more dependent upon your markup. On Mar 9, 7:10 pm, RobG wrote: > On Mar 10, 9:14 am, bawestcott wrote: > > > I am using the jquery windows plugin and i would like to be able to > > get the title of each window that is created. An example of the html > > that th

[jQuery] Re: Getting text from a div

2009-03-09 Thread bawestcott
I had no idea that it was as complicated as it is. I downloaded the plugin and it worked great. Thanks. On Mar 9, 6:29 pm, mkmanning wrote: > There's at least one plugin (http://plugins.learningjquery.com/ > textchildren/); you might want to search the plugin repository. If you > aren't going to

[jQuery] Re: Getting text from a div

2009-03-09 Thread RobG
On Mar 10, 9:14 am, bawestcott wrote: > I am using the jquery windows plugin and i would like to be able to > get the title of each window that is created. An example of the html > that the plugin creates for the windows title bar is: > > Click Example5 > - > O > X > > > In this case I would

[jQuery] nsIXMLHttpRequest.open error

2009-03-09 Thread Tom Shafer
I get the error [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://tjshafer.com/projects/boyd/js/jquery-1.3.2.min.js :: anonymous :: line 19" data: no] [Break o

[jQuery] Re: location.hash -scrolling to the middle of the page

2009-03-09 Thread James
Just use what's in the article, and modify the value that goes into this line: var targetOffset = $(this.hash).offset().top; with something like: var offset = 0 - Math.round( $(window).height() / 2 ); var targetOffset = $(this.hash).offset().top - offset; > I avoid using scrollTo because I wan

[jQuery] [Quite OT] charsets, chr values, & errant characters

2009-03-09 Thread Bruce MacKay
My apologies in advance for posting this question here - but I feel I've exhausted other avenues available/known to me and I don't know where else to seek help. Even direction to more appropriate forums to post such a query would be very helpful. I'm having difficulty identifying a strange

[jQuery] Re: Jquery.param encoding wrong

2009-03-09 Thread Dave Methvin
jQuery.param encodes the string in UTF-8 because it uses encodeURIComponent internally. If you know your parameters only contain accented characters and not ones like "&", perhaps you could build the URL yourself and let the browser do its default encoding? http://dev.jquery.com/ticket/3611 htt

[jQuery] Re: Getting text from a div

2009-03-09 Thread mkmanning
There's at least one plugin (http://plugins.learningjquery.com/ textchildren/); you might want to search the plugin repository. If you aren't going to take advantage of it's other features, and don't want to incur an additional http request just for this, you can do it with jQuery: $.trim($('div.

[jQuery] Re: blur(). not working good enough

2009-03-09 Thread mkmanning
Typo: last line should be: edit.val(spn.text()).show()[0].focus(); otherwise you'll grab text outside the span. On Mar 9, 5:07 pm, mkmanning wrote: > A couple of notes. Rather than create and then re-create the input and > span with every double-click and constantly reattach the blur event, >

[jQuery] Getting text from a div

2009-03-09 Thread bawestcott
I am using the jquery windows plugin and i would like to be able to get the title of each window that is created. An example of the html that the plugin creates for the windows title bar is: Click Example5 - O X In this case I would like to get the value "Click Example 5" from this particular w

[jQuery] Re: blur(). not working good enough

2009-03-09 Thread mkmanning
A couple of notes. Rather than create and then re-create the input and span with every double-click and constantly reattach the blur event, you can just create the input once, and then show/hide the span/input. Here's a suggested refactoring: //turn all titles into textfields $('ul li').dblclick

[jQuery] Re: Bug w/ AjaxSubmit?

2009-03-09 Thread Mike Alsup
> I'm using Validate and AjaxSubmit on a form of mine. > It's on a "long" webpage, where you need to scroll to reach the form. > > For this reason in the action i've added index.php#contact > If people w/ JS disabled submit the form, they will be taken back to > the form. > > Only, IE & AjaxSubmit

[jQuery] Re: blur(). not working good enough

2009-03-09 Thread Hector Virgen
Try focusing the text field right after it is created by calling focus() directly on the element. That's the only way to make sure blur is fired when the user clicks somewhere else. -Hector On Mon, Mar 9, 2009 at 4:18 PM, bart wrote: > > Hi all, > > I've set something up which runs at > http:/

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-09 Thread Ritesh Nadhani
Aha. Thanks. I googled more: http://www.mail-archive.com/jquery-en@googlegroups.com/msg04570.html On Mon, Mar 9, 2009 at 4:27 PM, Karl Rudd wrote: > > Not sure what's happening. I think "data" is actually a string, so you > might have to convert it to XML nodes before you can search it. I > cou

[jQuery] Re: jMap Gray Box - Google logo, no joy

2009-03-09 Thread James S
A final clue: - The css 'reset' *{position:relative;overflow:hidden;padding:0;} seems to be causing the trouble. The page gets a little messed up without it, but the map images do show (with map in it's odd, spring- to-center state) Go go fine minds of the internet ... James

[jQuery] Re: A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread Karl Swedberg
On Mar 9, 2009, at 4:05 PM, Thomas Allen wrote: Oh, I thought that was a recommended practice to reduce bugs when changing the number of items in an object. Thanks! It is a recommended practice in PHP, but not in JavaScript. --Karl On Mar 9, 9:58 am, pete higgins wrote: .c

[jQuery] Re: jMap Gray Box - Google logo, no joy

2009-03-09 Thread James S
A little extra to go on: - When I comment out the main css file link, the map renders its images but markers don't show and the viewport springs back to the centre whenever the map is panned. There's nowt funky going on in the css, and I can't identify any particular styles which cause the proble

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-09 Thread Karl Rudd
Not sure what's happening. I think "data" is actually a string, so you might have to convert it to XML nodes before you can search it. I could be wrong though. Karl Rudd On Tue, Mar 10, 2009 at 10:23 AM, Ritesh Nadhani wrote: > > Thanks. > > I had look into that first link earlier but I had hop

[jQuery] Shadowbox and JQuery

2009-03-09 Thread Jon
Can anyone tell me why this isn't working: http://acanthus.sunshine-design.co.uk/projects.htm It's telling me that there's no skin loaded but the shadowboc css is included here: http://acanthus.sunshine-design.co.uk/Css/shadowbox.css Do i need to tell it where the skin is somehow? Or is this a b

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-09 Thread Ritesh Nadhani
Thanks. I had look into that first link earlier but I had hoped that there would be a simpler solution. Anyway, I tried using that code and even though I am getting XML like: http://paste.pocoo.org/show/107174/ from my XMLRPC server, the jquery selector is never satified and ret.result is always

[jQuery] blur(). not working good enough

2009-03-09 Thread bart
Hi all, I've set something up which runs at http://www.vliegendepijl.nl/pages/test/ As you can see it's an unordered list with some list items in it. If you doubleclick the list item the text in it is being replaced by a textfield with the same value in it. This works like it should, no problems

[jQuery] TypeError: Result of expression '(o.fx.step[this.prop]||o.fx.step._default)' [0] is not a function.

2009-03-09 Thread James Cready
I really don't know what's causing this error because I don't get it in any other browser except Safari 4 with WebKit r41521 (latest as of 3/9/09): http://nightly.webkit.org/ http://users.tpg.com.au/j_birch/plugins/superfish/#examples You can see the error here when you hover over the blue menu a

[jQuery] superfish scroll 1px in IE7

2009-03-09 Thread rekna
When I click on a superfish menu item, in IE7 the page sometimes scrolls 1px down... It happens also on the demo page of superfish. Eg. basic style demo, click on 3rd menu item in IE (make sure the browser initially is scrolled all the way to the top), then the page is scrolled 1px

[jQuery] Re: A loading image in the centre of the screen

2009-03-09 Thread Brad
There is a way for the BlockUI to also show an image. By passing in an empty message (and possibly tweaking the CSS) I believe you can get it to do what you want. On Mar 9, 4:18 pm, phicarre wrote: > Ok but it is for a message, not for a loading image > > On 9 mar, 19:26, James wrote: > > > Che

[jQuery] Re: location.hash -scrolling to the middle of the page

2009-03-09 Thread James
Try using the ScrollTo plugin: http://flesler.blogspot.com/2007/10/jqueryscrollto.html Use the anchor/div element as the element to scroll to, and calculate the offset (based on height of a user's viewport) so the it'll scroll to somewhere just above that, leaving the element in the center. On M

[jQuery] jMap Gray Box - Google logo, no joy

2009-03-09 Thread James S
Hello, While there are many posts on gr[ae]y boxes showing up, I've ruled out a few of the obvious culprits and still can't get the map images to show: - I'm using a valid API key (can send geocode requests successfully) - The dimensions of the element to be made a map are defined before the ca

[jQuery] Re: jquery.validate chokes on square brackets in name attribute.

2009-03-09 Thread James
How does your validation options look like? Make sure to put quotes on the name of the field: { rules: { 'customer[payment_method][number]': { required: true } } } On Mar 9, 9:23 am, GulDam wrote: > Hello, > I have a static html file with jquery and

[jQuery] Re: A loading image in the centre of the screen

2009-03-09 Thread phicarre
Ok but it is for a message, not for a loading image On 9 mar, 19:26, James wrote: > Check out the BlockUI plugin:http://malsup.com/jquery/block/ > > On Mar 9, 8:21 am,phicarre wrote: > > > I would like with jQuery to show a loading image in the centre of the > > screen that waits for everything

[jQuery] [validate]

2009-03-09 Thread Trixster
I have found a possible bug and a possible solution. When I validate my form select box, its label goes red (gets the error class added) as does the element itself. When I update my selected value, the label disappears altogether. Work around: errorElement: "em", If I set errorElement to someth

[jQuery] Re: Validate form labels disappear

2009-03-09 Thread Trixster
I have found a possible bug and a possible solution. When I validate my form select box, its label goes red (gets the error class added) as does the element itself. When I update my selected value, the label disappears altogether. Work around: errorElement: "em", If I set errorElement to someth

[jQuery] Re: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)

2009-03-09 Thread Klaus Hartl
Looks like you tried to make a cross-domain ajax request. --Klaus On 9 Mrz., 21:14, Tom Shafer wrote: > what does this error mean > > [Exception... "Component returned failure code: 0x80070057 > (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: > "0x80070057 (NS_ERROR_ILLEGAL_VALUE

[jQuery] location.hash -scrolling to the middle of the page

2009-03-09 Thread mangajin
Hi, Normally when we have this url :www.mypage.html#about t, the browser will jump to the area that anchor or div element has #about. By default the browser will show that anchor or div at the top most of the page. Are there any ways in jQuery that show that specific anchor in the middle of botto

[jQuery] Re: [Listnav] Extra characters

2009-03-09 Thread Jack Killpatrick
Hi, The letters array does double-duty: it's used to create the nav strip and it's also used to add a class to each LI in your list, based on the first text character inside your list item. An exception is the '_', which is added to LI's that start with a number. So, for example, after listn

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-09 Thread Tin
One more point. While this may not be immediately obvious from what you see in the examples and in the code, the key use of the grid is in MVC applications where the grid is wired to respond to events in the Model. In our application we have spreadsheet component of a Gantt chart, and the Model i

[jQuery] Bug w/ AjaxSubmit?

2009-03-09 Thread knal
Hi there, I'm using Validate and AjaxSubmit on a form of mine. It's on a "long" webpage, where you need to scroll to reach the form. For this reason in the action i've added index.php#contact If people w/ JS disabled submit the form, they will be taken back to the form. Only, IE & AjaxSubmit se

[jQuery] Re: UI - datepicker - feedback regarding button bar configuration

2009-03-09 Thread Richard D. Worth
Please post to the jQuery UI list: http://groups.google.com/group/jquery-ui Thanks. - Richard On Mon, Mar 9, 2009 at 4:04 PM, webRat wrote: > > So, I was assembling the datepicker to use in an app. Easy enough to > do. I enabled the "button bar" configuration ( > http://www.jqueryui.com/demos

[jQuery] Re: Jquery.param encoding wrong

2009-03-09 Thread mkmanning
%C3%A9 is the correct percent encoding for URIs using UTF-8 code units. I suspect you're using escape()/unescape() instead of encodeURIComponent (or encodeURI() )/decodeURIComponent (or decodeURI ()). escape() fails to handle non-ASCII characters correctly, so you should avoid the use of escape()

[jQuery] jquery and sortable table

2009-03-09 Thread Bucker
Hi, I notice when I load a page and perform the following call var str = ""; $.ajax( { url: 'core/getIngredients.php', type: 'POST', data: str, success: function(xml) { $(xml).find("table").each(function() {

[jQuery] Re: Change direction of 'animate' function

2009-03-09 Thread Ed Lerner
Apologies. I assumed the function would continue its down/right movement and push the window. It handled itself and moved down/left as needed. Sorry about the deadthread On Mar 9, 4:04 pm, Ed Lerner wrote: > I need to use the animate function (slide, show, etc won't do) on a > project. Typically

[jQuery] Change direction of 'animate' function

2009-03-09 Thread Ed Lerner
I need to use the animate function (slide, show, etc won't do) on a project. Typically, 'animate' expands down and to the right. How can I alter this? For example, I am putting thumbnails of images on both sides of a site. When hovered, a larger version animates into view. Because of the down/righ

[jQuery] gallery with galleria js-lib looks weird on page loads with IE7

2009-03-09 Thread aldana
Hi, I am using nice galleria lib, but it looks ugly on IE page loads (either when visiting the site first time or jumping back to gallery page). It looks very weird, because IE loads the images first places them as list items and after that applies the galleria-magic. Firefox does this (as usua

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-09 Thread Tin
Ricardo, Not using tables is actually key to making the virtual rendering aspect of the grid work. Each row is an absolutely positioned DIV containing DIV cells set to "float:left". Rows can then be easily added and removed without triggering cascading DOM changes. In fact, this is done all the

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-09 Thread Karl Rudd
jQuery "consumes" JSON fairly well but you'd need a plugin/other functionality (like from json.org or that RPC plugin) to "produce" JSON. Karl Rudd On Tue, Mar 10, 2009 at 4:00 AM, Ritesh Nadhani wrote: > > Aha. > > And I though I was doing something wrong. That clears up lot of things. > > PS:

[jQuery] Re: unintrusive jQuery on Rails

2009-03-09 Thread Scrum
Solved. Actually i tried again today and works. Perhaps yesterday I misspelled something. Have a good 1! On Mar 8, 8:15 pm, macsig wrote: > Hello folks, > I'm trying to integrate jQuery within a Rails application (instead > scriptaculous+prototype) and I would like to make it unintrusive and

[jQuery] IE7 memory leak solution

2009-03-09 Thread mif86
Hi. Update on the IE7 memory leak problem Original problem: I'm having problems with all ajax updates, $("#element").load() etc., as well as just setting html content with html(). Doing this over and over will gradually eat up IE 7's memory. Test case to reproduce: http://mif86.com/memtest3.htm

[jQuery] Superfish - Horizontal Internet Explorer Width Problem

2009-03-09 Thread Skedoozy
I have a horizontal navbar that if the persons screen is under 1024 wide it sticks out of the table. In Firefox it works fine so it's only an IE problem but one I need fixed. link http://dev2.azaz.com/scott/ahno/index_testnav.html If you just shrink the browser down until you see the nav break

[jQuery] Re: unintrusive jQuery on Rails

2009-03-09 Thread Scrum
Any idea at all? THANKS. I appreciate any help On Mar 8, 8:15 pm, macsig wrote: > Hello folks, > I'm trying to integrate jQuery within a Rails application (instead > scriptaculous+prototype) and I would like to make it unintrusive and I > have already an issue with that. > > I'm using fancy

[jQuery] [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)

2009-03-09 Thread Tom Shafer
what does this error mean [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://tjshafer.com/projects/boyd/js/jquery-1.3.2.min.js :: anonymous :: line 19" data: no

[jQuery] Re: A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread Thomas Allen
Oh, I thought that was a recommended practice to reduce bugs when changing the number of items in an object. Thanks! Thomas On Mar 9, 9:58 am, pete higgins wrote: > >            .css({ > >                'display': 'block', > >                'text-align': 'right', > >            }) > > stray c

[jQuery] UI - datepicker - feedback regarding button bar configuration

2009-03-09 Thread webRat
So, I was assembling the datepicker to use in an app. Easy enough to do. I enabled the "button bar" configuration ( http://www.jqueryui.com/demos/datepicker/#buttonbar ). I came across something odd with the "Today" button. I personally think the "Today" button is mislabeled. Today changes the c

[jQuery] jquery.validate chokes on square brackets in name attribute.

2009-03-09 Thread GulDam
Hello, I have a static html file with jquery and jquery.validate plugin that works perfectly until an engineer starts to plug in his code. The code is being served up for credit card processing, and we have name, and expiration fields working and validating correctly. But the Credit Card field va

[jQuery] [validate]

2009-03-09 Thread GulDam
Hello, I have a static html file with jquery and jquery.validate plugin that works perfectly until an engineer starts to plug in his code. The code is being served up for credit card processing, and we have name, and expiration fields working and validating correctly. But the Credit Card field va

[jQuery] Troubles with animate in IE (possible bug)

2009-03-09 Thread emmj...@gmail.com
Alright so I'm trying to build a custom accordion type functionality, now it works fine in Firefox, Chrome and Safari but IE is throwing me an error. An example of the functionality can bee seen at: http://www.rememberwhencruisers.com/ My javascript can be found at : http://www.rememberwhencrui

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-09 Thread ricardobeat
Looks great. I like how the editing works. One thing: why are you using DIVs instead of a table? That's precisely the only case where tables should be used, to display tabular data. It's semantically correct and can offer performance improvements, as table elements have native properties like the

[jQuery] Re: Help with selectors and :not()

2009-03-09 Thread ricardobeat
:not(tr[id^="review"]) that says: trs which do NOT contain an id that does NOT equal "review". in other words, TRs which DO contain the word "review" in it's id. You want "not contains" instead: $('#replies tr[id^=r]:not ([id*=review])'); cheers, - ricardo On Mar 9, 1:55 am, Yansky wrote: > H

[jQuery] Re: JQuery Sliding Panels

2009-03-09 Thread mkmanning
Those sliding effects are pretty simple to replicate with just some basic jQuery and JavaScript. Plugins are nice for encapsulating functionality that you use often, but many times it's just as easy to write something yourself; it often takes fewer lines of code as well, since you're not having to

[jQuery] Re: Altering external links

2009-03-09 Thread Ed Lerner
Exactly what I was looking for. Thanks. On Mar 9, 10:16 am, ToTalTim wrote: > http://www.front-end.nu/?p=6 > > On 9 mrt, 15:48, Ed Lerner wrote: > > > How would I modify the following to only target anchors with an href > > beginning with "http"? > > > $('a').each(function(index) { > >   $(this

[jQuery] Re: Auto update PHP session variables using Ajax/JQuery

2009-03-09 Thread themba
Thanks for the reply, Now I have another situation. I have decided to use JSON with JQuery to send data to a php script, this works well, however, I would like to add a please wait/loading message while this is still executing please see my code below: $().ready(function() { $("#limitBox").cha

[jQuery] Re: A loading image in the centre of the screen

2009-03-09 Thread James
Check out the BlockUI plugin: http://malsup.com/jquery/block/ On Mar 9, 8:21 am, phicarre wrote: > I would like with jQuery to show a loading image in the centre of the > screen that waits for everything to load. And whatever the browser ! > Any solutions ? plugins ?

[jQuery] A loading image in the centre of the screen

2009-03-09 Thread phicarre
I would like with jQuery to show a loading image in the centre of the screen that waits for everything to load. And whatever the browser ! Any solutions ? plugins ?

[jQuery] simple $.post code not working in safari

2009-03-09 Thread jonathan.hu...@gmail.com
I'm a javascript and jquery newbie. That said, the following code works in firefox/opera/camino but not safari 4 (beta) and I'd like to know why. Is the code correct? Maybe a better and more browser friendly way exists? The form (id = myform) submits to an external site (different domain) but upo

[jQuery] JCarousel - set offset via class rather than number?

2009-03-09 Thread swortis
Can JCaroursel be set up so the list is offset via a class name? (Example: six list items in the carousel, but the list item with class="active" is shown as the first visible item in the list) Thanks

[jQuery] Re: $.get Reponse issue

2009-03-09 Thread xbshx
Instead of returning something, you have to echo it out. jQuery and PHP can't directly exchange data like that so it just takes anything that is echoed out as the returned value. So do, DO SOMETHING echo $random_string; Knucklehead00 wrote: > > Hello all. > > I am relatively new to JQuery

[jQuery] Having trouble with animate in IE. (possible bug)

2009-03-09 Thread xbshx
Alright so I'm trying to build a custom accordion type functionality and IE is throwing me an error. Now it works fine in Firefox, Chrome and Safari, IE is the only one that gives me an error. An example of the functionality can bee seen at: http://www.rememberwhencruisers.com/ My javascript ca

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-09 Thread Ritesh Nadhani
Aha. And I though I was doing something wrong. That clears up lot of things. PS: Does jQuery has better support for json? I can modify my XML-RPC to JSON-RPC. On Sun, Mar 8, 2009 at 9:44 PM, Karl Rudd wrote: > > jQuery doesn't include XML serialisation in it's core. A quick search > of the plu

[jQuery] bassistance.de Jörn's Enhancement

2009-03-09 Thread Tyron
Hello everybody, I made some updates on the script, mainly to include the resources below: - default formatResult unformats the result, keeping it text-only; - option bool selectButton: chooses whether the arrow for options is displayed or not; - option integer width: now resizes the input and di

[jQuery] Re: How to remove li inside UL

2009-03-09 Thread mkmanning
A jQuery object is array-like; you can access elements with brackets, like $(li)[0]. However, that will return the element. If you want to use a jQuery method with that element, you need to wrap it with $(). Joseph's second example will work (his first will fail for the same reason). There are sev

[jQuery] Re: jQuery plugin of bassistance -> Howto enhance functionality?

2009-03-09 Thread MorningZ
The ".result" event will trigger when an option is selected so $("#suggestion").autocomplete( ... your existing code }).result(a, data, c) { // Variable "data" has the option the user selected // Make your call here }); On Mar 9, 11:21 am, visionmaster wrote: > Hello together, >

[jQuery] JQuery Sliding Panels

2009-03-09 Thread Jon
I'm looking for something that replicates the functionality of the below: http://labs.adobe.com/technologies/spry/samples/slidingpanels/SlidingPanelsSample.html I'm sure i've seen something somewhere that did this in JQuery but i can't find anything similar! I've search the plugin repository an

[jQuery] QUnit: exception handling ("raises" assertion)

2009-03-09 Thread FND
Hello, While getting to know QUnit, I noticed that there is currently no way to test for the occurrence of exceptions. Looking at the QUnit source, it appears this might be an easy thing to add: http://gist.github.com/76340 That way one could write tests like so: var expression, expected

[jQuery] superfish problem

2009-03-09 Thread droidster
Hi i downloaded and read the instructions for the superfish module but i have alot of problems getting the menu to work in nav bar menu style. I tried to paste the superfish-navbar.css to the main superfish.css but i dun understand this part "add the class sf-navbar to the parent ul along with th

[jQuery] Jquery.param encoding wrong

2009-03-09 Thread thibaultdelor
Hello, I think that the param function doesn't work well, it doesn't encode to the url format. For example : jQuery.param({test:"béton"}) return : test=b%C3%A9ton while it has to return : test=b%E9ton This problem is present in the form plugin, the ajax.submit function use "par

[jQuery] [autocomplete] jQuery plugin of bassistance -> Howto enhance functionality?

2009-03-09 Thread visionmaster
Hello together, I'm using the Autocomplete jQuery plugin from bassistance, see http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ It actually works fine. When I click on an element from the autosuggest-list, it's value is correctly transfered to the associated input field. Now I w

[jQuery] [autocomplete] jQuery plugin of bassistance -> Howto enhance functionality?

2009-03-09 Thread visionmaster
Hello together, I'm using the Autocomplete jQuery plugin from bassistance, see http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ It actually works fine. When I click on an element from the autosuggest-list, it's value is correctly transfered to the associated input field. Now I w

[jQuery] Updates to script

2009-03-09 Thread Tyron
Hello everybody, I made some updates on the script, mainly to include the resources below: - default formatResult unformats the result, keeping it text-only; - option bool selectButton: chooses whether the arrow for options is displayed or not; - option integer width: now resizes the input and d

[jQuery] Re: Altering external links

2009-03-09 Thread ToTalTim
http://www.front-end.nu/?p=6 On 9 mrt, 15:48, Ed Lerner wrote: > How would I modify the following to only target anchors with an href > beginning with "http"? > > $('a').each(function(index) { >   $(this).attr({ >     'target': 'blank' >   }); > > > > });- Tekst uit oorspronkelijk bericht niet w

[jQuery] jQuery 1.3.2 breaks tablesorter zebra, here's a fix

2009-03-09 Thread MorningZ
So the new jQuery code for the filter ":visible" breaks the tablesorter's built in Zebra functionality... kind of a hacky fix, but at least it works with a minor change at the end if the tablesorter.js file is the addWidget code for zebra, change $("tr:visible", table.tBodies[0]).each(function(i

[jQuery] Re: Altering external links

2009-03-09 Thread Martijn Houtman
On Mar 9, 3:48 pm, Ed Lerner wrote: > How would I modify the following to only target anchors with an href > beginning with "http"? $("a[href^='http']").attr("target", "_blank"); or something.

[jQuery] Altering external links

2009-03-09 Thread Ed Lerner
How would I modify the following to only target anchors with an href beginning with "http"? $('a').each(function(index) { $(this).attr({ 'target': 'blank' }); });

[jQuery] Re: years in jQuery Datepicker

2009-03-09 Thread phipps73
If you select the 1999 year and then click on the Year dropdown again you will see the previous 10 years is now added. You then click on 1989 and so on until you get back to the year you want. You can probably also specify the range to display as mentioned by MorningZ. On Mar 9, 2:39 am, Morning

[jQuery] Re: A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread pete higgins
>            .css({ >                'display': 'block', >                'text-align': 'right', >            }) stray comma, after 'right' http://jslint.com Regards, Peter

[jQuery] A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread Thomas Allen
What am I doing wrong here? I get an "expected identifier" sort of error with the following code: (function($) { $('.calendarInfo').hide(); $('#calendar-frontpage').prepend( $('') .html('Show Calendar List') .attr('href', 'javascript:;'); .css(

[jQuery] Re: OnMouseDown = create draggable, OnMouseUp = create droppable

2009-03-09 Thread Javier Martinez
http://dev.jqueryui.com/ticket/3876 Not fixed yet, but the code I prupose for the draggable part is still working. The droppable can be created on mousedown at the same time that draggable. Hope it works.

[jQuery] Re: Help with selectors and :not()

2009-03-09 Thread MorningZ
This works $("#replies tr[id^='r']").filter(":not([id*='review'])") On Mar 9, 12:55 am, Yansky wrote: > Hi, I'm trying to get all table rows on a page that have an id that starts > with the letter "r", but not any table rows that have id's which contain the > word "review". > > I've tried to

[jQuery] Re: jQuery Help Please

2009-03-09 Thread tfat
Thanks guys for your help - I will post back if I have any issues. tfat. On Mar 7, 1:13 am, Timz66 wrote: > Tfat, > > I am new too, The best tutorial I found to get started > washttp://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-v... > > Tim66 > > On Mar 6, 8:57 am,tfat wrote:

[jQuery] IE6 image load event

2009-03-09 Thread Wichert Akkerman
I am trying to detect image load completion in IE6 so I can apply a PNG transparency filter at the right time (doing it earlier can result in images with the wrong size). Unfortunately when using IE6 the load event for images is fired before the image has loaded, as witnessed by the fact that this

[jQuery] Jquery.flash plugin causes flickering

2009-03-09 Thread ToTalTim
Hello, Im using Jquery Flash plugin for embedding Flash movies into my website.(http://jquery.lukelutman.com/plugins/flash) When doing this the HTML-version shows up before it gets overwritten by the flash-version, how to get rid of this slight flickering? Way i use it: $('#headertext').ea

[jQuery] Galleria and imagefit plugins together

2009-03-09 Thread Adriana
I can't find where to add the imagefit code to galleria plugin. I would really appreciate some help here. === begin imagefit instructions In your JavaScript Where '#content' is a jQuery selector for the container (or containers) inside which you want images to resize: $(functio

[jQuery] media plugin & Autoplay for mp3 files

2009-03-09 Thread abteilung
I use jquery media plugin to play MP3 files on one of my websites. Everything works fine except for the autoplay featre. Does anybody know how I get the songs to play automatically? Or does anybody have the open flash file of mediaplayer.swf that comes with the plugin? http://malsup.com/jquery/m

[jQuery] Does jQuery ajax event listener listens to ajax request sent by other frameworks?

2009-03-09 Thread Joshua Partogi
Hi all, Let's say I sent an ajax request with mootools, does jquery global ajax event listener listens to it too? Or does it only listens to ajax request that is sent by jQuery? Because I have a page that has ajax request by other framework and it seems that jQuery is listening to it too. But per

[jQuery] media plugin & Autoplay for mp3 files

2009-03-09 Thread abteilung
I'm using the media plugin to have audio files on my website. All works perfectly except for the autoplay feature. Does anybody know how to get them mp3 files to play automatically? Thanks!

[jQuery] Re: How to remove li inside UL

2009-03-09 Thread Martijn Houtman
On Mar 9, 11:53 am, niraj wrote: > var li = $('.items'); > li[0].remove(); $(".items:first").remove();

[jQuery] Re: OnMouseDown = create draggable, OnMouseUp = create droppable

2009-03-09 Thread delphilynx
BTW, here is the HTML source (build from PHP and MySQL). http://depositfiles.com/files/8qhklz539

  1   2   >