[jQuery] Re: how to select innermost text in an LI?

2008-06-21 Thread Jack Killpatrick
Thanks Liam and Ollie. Liam, a variation of your solution worked for me, and also covered all of the fancier cases I mentioned (including extracting the text from multiple HTML elements inside an LI). Nice. I was hoping there was a simple solution. Ollie, thanks for your feedback, too. I didn

[jQuery] Re: head part missing in Safari

2008-06-21 Thread Karl Rudd
It's not an issue with jQuery or the browser. A whole page (HTML element and all) into another page, it'd be invalid HTML so the browser could do anything with it. It's like writing: ... ... ... ... ... So as you can see that would make no sense. The solution is to insert a "

[jQuery] head part missing in Safari

2008-06-21 Thread Nyro
I figured out a tweak problem with jQuery, whole html page injection and Safari. I tested only in safari on Windows, maybe that will works differently in Mac. To figure out the problem, I make a small testing page http://nyromodal.nyrodev.com/jQueryBug.php As you can see, when loading the page

[jQuery] Function variables getting lost? (super simple I'm sure)

2008-06-21 Thread Hinch
I'm working on upgrading a calender to AJAX so it is much snappier, however i'm having trouble getting it to recognise my links. I have created this function: function loadContent(id) { $("#imacalendar").load('inc/eventcalendar.php?event_date='+id); } Which is called into use like so:

[jQuery] jcarousel, ajax and thickbox

2008-06-21 Thread marmo79
Please, could someone helps me? I've one problem about to use the plugin Jcarousel with Thickbox:if I try to load dinamically the items with Ajax the class="thickbox" doesn't works: function jcarousel_getItemHTML(item) { return ''; }; So I've tried to add the line "!tb_init('a.thickbox, area

[jQuery] XML Ajax parsing in IE7

2008-06-21 Thread feris.thia
Hi All, I'm new to jQuery and using jQuery 1.2.6 right now. I have problem in AJAX parsing XML which has different behavior in IE7 and Firefox. I have 1 html which contain jQuery script and 1 php which is generating XML, they are located in http://www.komputasiawan.com/jquery/index.html and ht

[jQuery] Re: jQuery Cycle problem with scrollDown

2008-06-21 Thread wgrills
Mike, Thank you for the quick response. I throught I should take a look in the jquery easing file, seen as the transitions work - and the names of the easing transitions changed in version 1.2 of the easing plugin. Problem solved. Thanks - Wayne On Jun 21, 2:54 pm, Mike Alsup <[EMAIL PROT

[jQuery] Re: jQuery issues in Firefox 3

2008-06-21 Thread Sebastián V. Würtz
an use instead of document.ready to trigger the code once the CSS has loaded? If this is a bug, has it been reported already and is there a known work around - my googling hasn't thrown up anything on this topic. Thanks, David. -- Kayak Travel: http://www.travellingkayak.com __ NOD

[jQuery] embed windows media stream

2008-06-21 Thread Sebastián V. Würtz
how to embed a code to show a windows media audio stream using jquery.media ? i just want open the mini player in my page mms://67.205.103.55/radioriel/cfm.asx

[jQuery] Re: About using jquery-1.2.6.js in IE

2008-06-21 Thread Mike Alsup
> I'm using jquery-1.2.6 for my webpage, and realized that in IE, > nothing on the page would be displayed. > I deleted most stuff and realized even the following code won't work: > > >     >         >     >     > blablabla > You can't use self-closing script tags. Use open and close tags

[jQuery] autocomplete plugin not displaying menu

2008-06-21 Thread Eeby
Hi. I'm trying to get the autocomplete plugin working, this one: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ I'm finding that in Mac FF no menu appears at all when I start typing (even though I know there are matches). In Safari a menu appears off to the left of the input fi

[jQuery] Table Column "Freeze" and "Reorder"

2008-06-21 Thread bmclaughlin
Hello, I am fairly new to jQuery and have searched this discussion group but have not seen the answer any where. Is there currently a way to use jQuery to do the following: 1. Re-order table columns. Here is a YUI example of what I am referring to. http://developer.yahoo.com/yui/examples/datata

[jQuery] Re: Replacing elements when validate successful

2008-06-21 Thread LVR
That's awesome! It's working as expected now. Thanks for the reply, you made my day!! I changed ".style.display = 'inline'; " to ".css({display:"inline"});" which also helped. I also noticed that the resulting page, which relied on the php variable $_POST[formname] being present didn't functio

[jQuery] About using jquery-1.2.6.js in IE

2008-06-21 Thread Yongning Zhu
Dear jQuery group, I'm using jquery-1.2.6 for my webpage, and realized that in IE, nothing on the page would be displayed. I deleted most stuff and realized even the following code won't work: blablabla There will be just a blank page, and if i remove jquery it will di

[jQuery] clueTip request: content option

2008-06-21 Thread Mark
Hi, clueTip currently has a bunch of options but none that allow me to put my own div (without loading it through ajax) as tooltip. Or to put my own text as tooltip.. it needs to fetch everything with ajax. So now i hope that there can be a content option. It would look like: $('#whateverid').cl

[jQuery] request for code review

2008-06-21 Thread Stefan Petrea
Hi, I've written a search toolbar tha has the features described here http://perlhobby.googlecode.com/svn/trunk/firefox_toolbar_version_0.5/README.TXT It also uses a server-side script to pull out data from a database and send them back to the extension for it to display them. Unfortunately I hav

[jQuery] ASP JSON 2.0.2 relased

2008-06-21 Thread threedot
JSON engine of VBScript based ASP server technology, served on it's deficiency of processing speciality. Also there have been like these projects put they had some deficiencies. For instance * find result late * difficult application * don't support full UNICODE * don't compatible with primitive

[jQuery] Re: how to select innermost text in an LI?

2008-06-21 Thread Ollie
Could you do something like this? $(this).children().length < 1 ? text = $(this).text() : text = $ (this).children(':last-child').text(); Cheers, Oliver On Jun 21, 5:06 pm, Jack Killpatrick <[EMAIL PROTECTED]> wrote: > Hi All, > > Wondering if anyone can help me out with this... > > I have a l

[jQuery] Re: Binding Event to Dynamically Created Element (works in FF but not in IE)

2008-06-21 Thread Rene Veerman
I'm missing the appendChild() method in loadElements() On Sat, Jun 21, 2008 at 10:22 AM, MysteryNerd <[EMAIL PROTECTED]> wrote: > > I'm in the process of converting standard javascript code to jQuery, > it has already save tons of lines of code and make it more > manageable. I'm a bit stumped t

[jQuery] Re: jQuery test suite and jsUnit compatibility

2008-06-21 Thread fuzziman
thanks for the post. i love the idea of having tests in the same module using the same setup and teardown, great idea. Noticed a glitch though. You'll need to call jqUnit.module(this.moduleName) just before jqUnit.test(). Otherwise, you end up with whatever module name was last called, and not t

[jQuery] Re: Replacing elements when validate successful

2008-06-21 Thread Rene Veerman
Try including the submithandler in the first call to validate(), like so: $("#register").validate({ highlight: function(element, errorClass) { $(element).addClass(errorClass > > ); >$(element.form).find("label[for=" + element.id + > "]").addClass(errorClass); >}, >un

[jQuery] Re: "Loading" splash widget blocking UI until everything is loaded

2008-06-21 Thread Shaun Kester
I saw a plugin recently that allows you to set a number of functions and have them called in order. Make it so that the first function in the list calls $.blockui and the last function calls $.unblockui. On May 15, 4:04 am, Quinode <[EMAIL PROTECTED]> wrote: > I have a page with a lot of jquery

[jQuery] Re: how to select innermost text in an LI?

2008-06-21 Thread Liam Byrne
If it's just the text you want, I can't see why the following wouldn't work: $('#myList li').each(function(){ text = $(this).text(); // do something using the text }); Jack Killpatrick wrote: Hi All, Wondering if anyone can help me out with this... I have a list like this and want to sel

[jQuery] how to select innermost text in an LI?

2008-06-21 Thread Jack Killpatrick
Hi All, Wondering if anyone can help me out with this... I have a list like this and want to select the "innermost" text from each LI: Item One Item Two Item Three Item Four Item Five I want to be able to perform an operation using each result (the results being "Item One", "Item Two", "It

[jQuery] Re: Replacing elements when validate successful

2008-06-21 Thread Jörn Zaefferer
You got two calls to validate, try this instead. $(document).ready(function(){ $("#register").validate({ highlight: function(element, errorClass) { $(element).addClass(errorClass); $(element.form).find("label[for=" + element.id + "]").addClass(errorClass); }, unhighli

[jQuery] Re: "Loading" splash widget blocking UI until everything is loaded

2008-06-21 Thread Nicola Rizzo
You can try this plugin: http://plugins.jquery.com/project/splashQ hth, Nicola On Thu, May 15, 2008 at 1:04 PM, Quinode <[EMAIL PROTECTED]> wrote: > > I have a page with a lot of jquery plugins, and a Google Map > When loading the page, it's heavy for the browser so it can take 4-5 > seconds

[jQuery] Re: jQuery Cycle problem with scrollDown

2008-06-21 Thread Mike Alsup
> I have searched this group to see if anyone is getting the same issue > as I have been but after about an hour of searching I did not find > anything. > > I am trying to put a simple slideshow on my homepage of my new website > but the effect that I want just does not seem to work for some reaso

[jQuery] jQuery Cycle problem with scrollDown

2008-06-21 Thread wgrills
Hi Guys, I have searched this group to see if anyone is getting the same issue as I have been but after about an hour of searching I did not find anything. I am trying to put a simple slideshow on my homepage of my new website but the effect that I want just does not seem to work for some reason

[jQuery] Binding Event to Dynamically Created Element (works in FF but not in IE)

2008-06-21 Thread MysteryNerd
I'm in the process of converting standard javascript code to jQuery, it has already save tons of lines of code and make it more manageable. I'm a bit stumped to why this works in FF and not in IE using jQuery bind. -- Snippets -- var BigBox = { init : function () { ... this.loadElement

[jQuery] Replacing elements when validate successful

2008-06-21 Thread LVR
I'm using the 'Validate' plugin for simple form validation - using 'highlight' and 'unhighlight'. That part is working (though sometimes the label elements disappear totally - but that's another issue). What I'm trying to accomplish is this: When the form is valid, I want to replace the submit b

[jQuery] Re: Proper Memory Cleanup?

2008-06-21 Thread Orkan
it depends of the object (proto) type ;) simple object could be cleaned this way: myObj = null; As far as I know, it is used to avoid memory leaks in certain versions of IE 6, other browsers will do it automatically On Jun 20, 5:31 pm, Scott <[EMAIL PROTECTED]> wrote: > Can someone point me to

[jQuery] Re: Resizing.

2008-06-21 Thread Isaak Malik
The best way of adjusting your page width is by pure CSS, you can use the min-width and max-width properties for this and width for IE <= 6. As for images, just create thumbnails that link to the original size. On Sat, Jun 21, 2008 at 6:41 AM, Aaron <[EMAIL PROTECTED]> wrote: > > Hi how can I res

[jQuery] Re: superfish v1.3.1 question

2008-06-21 Thread I-CRE8
Carleigh, that is a excellent example of what can be achieved with Superfish, thanks for sharing Davd Buchholz

[jQuery] Re: Debugging $.getScript scripts

2008-06-21 Thread Orkan
Well, very often remote scripts are (at least) minified. it's a pain to debug such scripts. For debugging I use uncompressed local copy, so I wont help you in that matter, sorry. IMO, most programmers do it that way On Jun 21, 10:21 am, Hamish Campbell <[EMAIL PROTECTED]> wrote: > Nevermind - re

[jQuery] Anyone else having Firefox 3, Firebug and JQuery issues?

2008-06-21 Thread Mike
I am trying to do simple selections as in $('td') with the latest jQuery library loaded through a bookmarklet in the latest version of firebug 1.2.0b3. No matter what page elements I try and select I keep getting null instead of an array of the desired elements. It worked prior to upgrading to Fi

[jQuery] jQuery Cycle problem with scrollDown

2008-06-21 Thread wgrills
Hi Guys, I have searched this group to see if anyone is getting the same issue as I have been but after about an hour of searching I did not find anything. I am trying to put a simple slideshow on my homepage of my new website but the effect that I want just does not seem to work for some reason

[jQuery] jQuery issues in Firefox 3

2008-06-21 Thread David Webster
Hi all, I'm having a few issues using jQuery in Firefox 3 and was wondering if anyone else has had similar problems. The problem, as far as I can tell, stems from what appears to be an early execution of the document.ready function - in this case before an external stylesheet has been loaded - ma

[jQuery] Re: Debugging $.getScript scripts

2008-06-21 Thread Hamish Campbell
Nevermind - reread your post and Charles won't help debugging the remote script execture - just in checking that your response is what you expect. On Jun 21, 8:12 pm, Hamish Campbell <[EMAIL PROTECTED]> wrote: > Charles is a proxy debugging tool that (i think) every Ajax developer > would find us

[jQuery] Re: Debugging $.getScript scripts

2008-06-21 Thread Hamish Campbell
Charles is a proxy debugging tool that (i think) every Ajax developer would find useful debugging this sort of thing: http://getcharles.com Lets you look under the hood without modifying your code. On Jun 21, 8:59 am, ajpiano <[EMAIL PROTECTED]> wrote: > So literally no one has ever wanted to d

[jQuery] Re: jQuery.sheet thoughts, maybe UI compliant?

2008-06-21 Thread R. Rajesh Jeba Anbiah
On Jun 16, 9:29 pm, K-BL <[EMAIL PROTECTED]> wrote: > Demo found > here:http://jqueryplugins.weebly.com/uploads/3/1/3/8/313814/jquery.sheet.html Nice and high hard work. But, before proceeding anything further, I think, it's better to improve the theme/appearance (most of the times, it's t