[jQuery] jQuery Form and jQuery UI Submission Problem

2008-12-02 Thread jcokos
I'm trying to something that should be pretty simple: Open up a jquery-ui modal dialogue with a form in it. When the user submits the form, it shows the server output right there in the open dialogue. User closes it, and goes back to the screen where they just were. I can get it to pop the

[jQuery] First steps in jQuery: trying to figure the syntax to mix standard Javascript with jQuery

2008-12-02 Thread stephane_r
Hello, Sorry if my question is not worded properly, I'm new to jQuery and still do not understand its syntax. I've read a lot of examples and it did not help me much. I've got this really simple JS function: function getActiveText(e) { var text = window.getSelection();

[jQuery] Re: First steps in jQuery: trying to figure the syntax to mix standard Javascript with jQuery

2008-12-02 Thread Ryura
The glue code is converting your jQuery object. var text = $('div.selectable')[0].getSelection(); alert(text); [0] takes the first element you selected and removes the jQuery methods, replacing them with the usual DOM methods. I don't know how supported .getSelection() is so this code may not

[jQuery] Re: how to avoid overhead

2008-12-02 Thread [EMAIL PROTECTED]
I would start by evaluating the requirement for adding 1599 divs. The way you have written it is probably the most efficent cross browser way of appending that much content but it will still crawl. On Dec 2, 10:53 am, Dirceu Barquette [EMAIL PROTECTED] wrote: Hi! The code: for (i = 0; i

[jQuery] How to adapt Jquery Parser

2008-12-02 Thread bucheron
Hi everyone, I would like to do some manipulation on Jquery Parser: http://projects.allmarkedup.com/jquery_url_parser/ but as I have always used it as regular I don't know how to modify this plugin. My purpose is to add a function that will add or set a new parameter: below is the code of the

[jQuery] Re: First steps in jQuery: trying to figure the syntax to mix standard Javascript with jQuery

2008-12-02 Thread stephane_r
Ryura wrote: The glue code is converting your jQuery object. var text = $('div.selectable')[0].getSelection(); alert(text); [0] takes the first element you selected and removes the jQuery methods, replacing them with the usual DOM methods. I don't know how supported .getSelection()

[jQuery] Re: how to avoid overhead

2008-12-02 Thread Dirceu Barquette
Thank you!! please! see the example at isabeladraw.sourceforge.net. I've been forced build blocks against the entire board. But I'm thinking create child-by-child onmouseover position. sorry my english... Dirceu Barquette 2008/12/2 [EMAIL PROTECTED] [EMAIL PROTECTED] I would start by

[jQuery] Re: Using jquery to construct menus like nbc.com

2008-12-02 Thread serpicolugnut
Dead on. I added a padding-bottom: 10px to the #nav ul li element to bridge the gap and that seems to have fixed it. Thanks again! Jeffrey Kretz wrote: Here's what I believe is happening. You have an LI that is a certain height, about 21px. This LI is inside a div that is larger,

[jQuery] Problem with Jquery tabs

2008-12-02 Thread serpicolugnut
I'm having an issue getting Jquery tabs to run correctly. I'm using the technique described at http://media.jqueryfordesigners.com/jquery-tabs-part2.mov . I've setup a test case here: http://dl.getdropbox.com/u/21984/menu_test_case/tab_test_case.html The tabs work as expected when they are

[jQuery] Re: clearcase error when trying to add jquery-1.2.6.min.js to source control

2008-12-02 Thread ksun
a little update on this. I still haven't figured out how to resolve the issue, but for now, someone pointed out to me that clearcase has problems with very long lines (more than 8000 characters). I am trying to use cleartool to specify the file type while adding the file. Will update once I get

[jQuery] Re: Problem with Jquery tabs

2008-12-02 Thread MorningZ
Initialize the content tabs as hidden using class=ui-tabs-hide on the div tags Like: div id=TabContainer ul class=tabs li style=list-style-image: none;a href=#pane-1spanPane1/span/a/li li style=list-style-image: none;a href=#pane-2spanPane2/span/a/li

[jQuery] Re: Problem with Jquery tabs

2008-12-02 Thread Liam Potter
put style=display:none on the content divs. serpicolugnut wrote: I'm having an issue getting Jquery tabs to run correctly. I'm using the technique described at http://media.jqueryfordesigners.com/jquery-tabs-part2.mov . I've setup a test case here:

[jQuery] Re: Problem with Jquery tabs

2008-12-02 Thread Ted
That works, but this line of code - $(tabContainers).hide().filter(this.hash).show(); ...is supposed to hide all the tabs and show the first tab upon execution. The cited example at jqueryfordesigners.com doesn't require you to manually hide the divs with css, the jquery code is supposed to do

[jQuery] Re: Double right-click, anyone?

2008-12-02 Thread TheBlueSky
Yes, you're right; there is no default event handler for double right- click. The code you introduced won't really simulate the double click; it will consider any two right-clicks a double click, which is not the wanted behaviour. Refer to the code above shared by Ricardo (http://

[jQuery] [tooltip] Image preview choppy when switching from right to left side of mouse pointer?

2008-12-02 Thread deronsizemore
I've implemented http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ plugin at this test page: http://www.randomjabber.com/test/logogala/gallery_tooltip.html. I think I've implemented it correctly, but I'm not completely sure of that? It seems to work like it should when you hover over

[jQuery] Re: ask : jquery validation plugins not working

2008-12-02 Thread ksun
I have never used validation plugin before so excuse me if I'm wrong. But just looking at your code I don't see any element with householdBudgetForm id in your code (on which you are calling validate), the form id is BudgetForm On Dec 2, 5:16 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: Could

[jQuery] how to check if a form has changed

2008-12-02 Thread Sridhar
Hi, we are trying to give a feedback to the user if the user has changed some values in the form and tries to close the form with out saving the changes. is there a plug-in that can check this? or do I have to loop-through each control and check if the value has changed by comparing the

[jQuery] Re: Problem with Jquery tabs

2008-12-02 Thread serpicolugnut
Plus, it doesn't work in either IE6/IE7. :,( serpicolugnut wrote: I'm having an issue getting Jquery tabs to run correctly. I'm using the technique described at http://media.jqueryfordesigners.com/jquery-tabs-part2.mov . I've setup a test case here:

[jQuery] Re: Ajax to return more values

2008-12-02 Thread me-and-jQuery
That's a good point, but in my case I will stick with regex. Another idea is to use multiple top html elements (divs for example) and then query for values of div you want. On Dec 1, 6:11 pm, Andy Matthews [EMAIL PROTECTED] wrote: If you're using a 3rd party JSON library, then you'd just pass

[jQuery] Re: treeview pluging issues - .find(.hitarea)

2008-12-02 Thread alex tait
hello there... like that you have added add and delete nodes how would i get a json data object to create the initial tree ? thanks! On Wed, Nov 26, 2008 at 1:15 PM, Dirceu Barquette [EMAIL PROTECTED] wrote: You are welcome!! :D 2008/11/26 alextait [EMAIL PROTECTED] thanks very much!

[jQuery] Selecting only partial text from div

2008-12-02 Thread kominb...@gmail.com
I've a div which has lot of contents inside it... I need to display only text of length less than 100letters..anything more should be displayed only when I point to the word after it For example: divThis is the 100th word this is/div Here when I move my mouse from 'T' in This to 'h' in 100th I

[jQuery] UI/Resizable

2008-12-02 Thread nos
hi I applied the resize option to resize a textarea's height while the width should be dynamic (100%), so if the user resizes the browser window the textarea changes it's size. The default behavior seams to be that the width changes to a fixed value. Anyone an idea how to change that? thanks

[jQuery] Treeview

2008-12-02 Thread Nick Voss
I've been having some problems implementing a simple treeview. In firefox or chrome the animation renders very quickly, but in IE 7 any expansion or contraction is slow and choppy at best. I've found that the culprit seems to be that the page's background is a 1px wide gradient (gif) that is

[jQuery] Re: jQuery Treeview 1.4 by Joern Zaefferer

2008-12-02 Thread onelesscar
My problem may have been that I was using Treeview pre-1.4.1. Treeview 1.4 is used for Sample 0. Still need to test it with 1.4. On Dec 1, 7:48 pm, onelesscar [EMAIL PROTECTED] wrote: I noticed a new example on the demo page, Sample 0 - navigation I'll try this at home. With my change,

[jQuery] Re: Question from a Beginner - Creating DIVs on the fly, class-triggered events not working

2008-12-02 Thread Richard D. Worth
Take a look at this: http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F That contains a short answer to your question: Events are bound only to elements that exist when you issue the jQuery call. When you create a new element, you

[jQuery] Re: First steps in jQuery: trying to figure the syntax to mix standard Javascript with jQuery

2008-12-02 Thread MorningZ
For: what is enclosed in divs of the class selectable http://docs.jquery.com/Attributes/html $('div.selectable').html() or http://docs.jquery.com/Attributes/text $('div.selectable').text() you may need to loop through them () if there are more than one

[jQuery] how could I select the applet node in jquery

2008-12-02 Thread Gill Bates
currently I have a applet node with random names and ids everytime in my velocity page. I wonder if we have some selectors to select this element

[jQuery] Re: finding script tags in remote HTML

2008-12-02 Thread Jake McGraw
I'm using jQuery AJAX to recursively spider a website to build a sitemap.xml file. I'll acknowledge that this is an ass backwards method for building a sitemap, but let's put aside that issue. My issue is that I'd like to be able to parse anchors in each page, but not execute the JavaScript on

[jQuery] Re: finding script tags in remote HTML

2008-12-02 Thread Jake McGraw
Whoops, not trying to top post, but I believe our threads are related, in that we're both processing HTML from an AJAX request. Sorry, - jake On Tue, Dec 2, 2008 at 10:08 AM, Jake McGraw [EMAIL PROTECTED] wrote: I'm using jQuery AJAX to recursively spider a website to build a sitemap.xml

[jQuery] JavaScript multithreading issues, race conditions, critical sections

2008-12-02 Thread László Monda
Hi List, My question is not specific to jQuery and I don't wanna be offtopic, but I post there because I think there are the brightest minds of the planet regarding JavaScript development. We're building a web2.0 application and there are some singleton objects and various AJAX event handlers

[jQuery] Just wondering if everyone saw this headline this morning...

2008-12-02 Thread Rick Faircloth
*Microsoft embraces open source with jQuery* http://ct.techrepublic.com.com/clicks?t=72798576-42149c242d5f5fe2baa82f196da90399-bfbrand=TECHREPUBLICs=5 Microsoft plans to integrate the JQuery library into both the ASP.NET Web Forms and ASP.NET Model View Controller frameworks. Tony Patton

[jQuery] Re: Date validation issue on Safari [validate]

2008-12-02 Thread Jörn Zaefferer
The date method just uses the native Date object to check for a valid date. Depending on your application, you should probably write your own date validation method - take a look at the existing methods for a reference. Documentation for writing custom methods is here:

[jQuery] with out ready event

2008-12-02 Thread Sensible
Hi, Can we write any code out of $(document).ready(); Thanks Waiting 4 reply.

[jQuery] Re: Just wondering if everyone saw this headline this morning...

2008-12-02 Thread MorningZ
And is also two month plus old news TechRepublic isn't exactly speedy in keeping up with programming happenings On Dec 2, 10:16 am, Rick Faircloth [EMAIL PROTECTED] wrote:   *Microsoft embraces open source with jQuery* http://ct.techrepublic.com.com/clicks?t=72798576-42149c242d5f5fe2baa8...

[jQuery] Question from a Beginner - Creating DIVs on the fly, class-triggered events not working

2008-12-02 Thread dave
Hey all, I have just started using JQuery and have come across a hurdle. I am creating DIVs on the fly (using a JQuery). For these DIVs, I have them tagged to a Class. For this Class, I have an Event tied to it. For some reason, the Event doesn't seem to work for the newly created DIVs.

[jQuery] Re: [tooltip] Image preview choppy when switching from right to left side of mouse pointer?

2008-12-02 Thread Jörn Zaefferer
You could set a fixed with for the tooltip. That should improve the positioning. Jörn On Tue, Dec 2, 2008 at 3:08 PM, deronsizemore [EMAIL PROTECTED] wrote: I've implemented http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ plugin at this test page:

[jQuery] Re: how to check if a form has changed

2008-12-02 Thread MorningZ
Just like what the groups here on Google use, you can use the JavaScript event onBeforeUnload to look for changes http://www.google.com/search?q=javascript+onbeforeunload On Dec 2, 9:15 am, Sridhar [EMAIL PROTECTED] wrote: Hi,      we are trying to give a feedback to the user if the user

[jQuery] how to avoid overhead

2008-12-02 Thread Dirceu Barquette
Hi! The code: for (i = 0; i 1600 ;i ++) { htm += 'div/div'; } $(htm).appendTo('#parentDiv'); How can avoid overhead? thanks, Dirceu Barquette

[jQuery] Re: jquery.timepickr.js: first official release

2008-12-02 Thread arjones
Obviously the iPhone doesn't have mouse over events, so for this to work it would need to be able to be clicked in environments where there is no mouse. I think its a really nice plugin though, intuitive and good looking. Well done! On Nov 13, 5:52 am, h3 [EMAIL PROTECTED] wrote: Thanks a lot,

[jQuery] IE7 jquery lightbox issue

2008-12-02 Thread Prasad
I have used Lightbox and it works well in all browsers on my locale machine. But when I upload it on server for first time I can see click Next but from there onwards Next button appears right below to close button. Please let me know if there is any solution. URL:

[jQuery] Re: ask : jquery validation plugins not working

2008-12-02 Thread Jörn Zaefferer
Could you provide a testpage? Jörn On Mon, Dec 1, 2008 at 10:32 PM, Adwin Wijaya [EMAIL PROTECTED] wrote: Hi jquery users, I have forms which has a lot of input inside and all of it I set as required. Actually I generated the form using database, not by hand :) each input has unique id

[jQuery] Re: UI/Resizable

2008-12-02 Thread Richard D. Worth
In order to make the textarea resizable, the plugin wraps it in a div which takes on it's computed outerWidth and outerHeight (in pixels), regardless of what is set as width and height (in your case a percentage). A workaround is to add .parent().width('100%') after the .resizable() call. This

[jQuery] Re: Horizontal scroll of lists with differing widths

2008-12-02 Thread Paul Collins
Hi there John, Thanks for sending me that link. It does look really good. The only issue for me is it doesn't work with Javascript turned off. Accessibility is one of the main issues for the site I am currently working on, so I can't have it not work with Javscript turned off unfortunately. All

[jQuery] Date validation issue on Safari [validate]

2008-12-02 Thread junt...@gmail.com
Hi , First of all, Thanks for an awesome validation plugin :D I've used bassistance.de validation plugin version 1.4 and 1.5 and it's working fine on IE and Firefox. Just recently I've found that date validation isn't working properly on Safari. On Safari, it seems it's validated against American

[jQuery] Re: how to check if a form has changed

2008-12-02 Thread Web Specialist
Try this http://www.4guysfromrolla.com/demos/OnBeforeUnloadDemo3.htm Cheers Marco Antonio On 12/2/08, Sridhar [EMAIL PROTECTED] wrote: Hi, we are trying to give a feedback to the user if the user has changed some values in the form and tries to close the form with out saving the

[jQuery] Re: Can find() return elements in DOM order?

2008-12-02 Thread Hector Virgen
Thanks for the plugin, Ricardo. It works great in FF3 and IE7, but it doesn't work in Chrome. For my current needs, using the selector :input provides the form input controls in the dom order. var first_form_control = $('form#myform').find(':input').eq(0); Thanks for the help and suggestions. :)

[jQuery] Re: Ajax to return more values

2008-12-02 Thread MorningZ
What a waste of time and processing power Embrace JSON, it really does make life super easy And for whatever server side code you use, there are libraries out there to *automatically* convert your objects and results into perfectly valid JSON strings, there's no need to worry about messing

[jQuery] [tooltip]

2008-12-02 Thread donb
Version 1.3, this tooltip plugin: http://docs.jquery.com/Plugins/Tooltip How can I determine with Firebug whether an element HAS gotten bound to the .toolip() successfully? I have a checkbox INPUT element that simply won't display the tooltip, although it's working perfectly for several A

[jQuery] Re: jQuery plug-in to preload javascript?

2008-12-02 Thread c.barr
If all these scripts are on every single page, you should look into combining them all into a single file as well, this way there's only 1 HTTP request instead of 12. Do this first, then compress with JSMin or YUI compressor to reduce file size. On Dec 1, 6:22 pm, Mark Livingstone [EMAIL

[jQuery] Re: Josh Nathanson's magnify not showing stage in IE7

2008-12-02 Thread Andrew
Hey Josh, thanks for helping me out. Your plugin has helped me quite a bit already. It may be JS conflict, it may be CSS (but I think I ruled out z- index)... I sent the link to your gmail address. Thanks! On Dec 1, 5:44 pm, Josh Nathanson [EMAIL PROTECTED] wrote: Andrew -- I just checked the

[jQuery] $.ajax async: false bug?

2008-12-02 Thread Hightech guy
Hi, colleagues I would appreciate your opinion/advice on the following I'm trying to save extra run to the back end by overwriting JS url variable with AJAX function and activate download from the visitor's browser as described by code below. Unfortunately what happens is extra run to the back

[jQuery] Re: how could I select the applet node in jquery

2008-12-02 Thread Saare
If there is only one applet tag in your page you can use $(applet). if there are few applet tags in the page you can define a class to this specific applet and call it like that: $(.myApplet). On 2 דצמבר, 10:47, Gill Bates [EMAIL PROTECTED] wrote: currently I have a applet node with random names

[jQuery] Having trouble with autocomplete - stupid newbie

2008-12-02 Thread Casey Wise
You guys, I'm having problems implementing the autocomplete plugin. My page that I'm working on: I'm trying to bind .result(function(event, data, formatted) { to my element that's firing the autocomplete and I can't even get it to pop an alert. This is from Jorn's site. I think I can figure

[jQuery] list.scrollTop is not a function when ever i using jquery auto complete

2008-12-02 Thread SWAMY
Hi, friends I am new to jquery, i am using jquery auto complete , it was working fine fing i got the below errror i.e list.scrollTop is not a function. what is the reason for this error , if any one know please send mail Thanks and Regards swamy

[jQuery] Error in jQuery documentation?

2008-12-02 Thread jez9999
Hello, I think i've found an error in the jQuery documentation, or i am misunderstanding something. This page: http://docs.jquery.com/CSS/offset ... states that offset() gives you 'the current offset of the first matched element relative to the viewport.' My tests seem to show that it

[jQuery] autocomplete plugin - newbie question

2008-12-02 Thread Casey Wise
You guys, I really dig working with jQuery, very powerful stuff. I've been trying to implement the autocomplete plugin but I don't know how to ask this question, or google what I need to know. We have 6000 staff (records) here on campus and we want to be able to search them by their first last

[jQuery] jQuery.Validate: validating input fields with [] [validate]

2008-12-02 Thread Philsbury
Hi, Does anyone know how you can validate forms that contain [] in their name? e.g. input type=text name=field[2] id=field2 class=box1 value= / I've tried all sorts with no luck! I also want to keep the validation code seperate, so with a $(document).ready Any help would be grand! Cheers

[jQuery] Simple way to preload all images within a specific div?

2008-12-02 Thread staffan.estberg
Hi, I'm trying to do the following using jQuery: When a user clicks on a link in the menu of the page, a sippet of html code is loaded from an external html file (thus removing the navigation between several pages). This sippet contains a number of images (which will later become individual

[jQuery] Getting totals per row

2008-12-02 Thread Jett
I'm relatively a newbie to jQuery. I am trying to create a timesheet application. One of the things I am attempting to do is have the totals column for each task. I have the several textboxes laid out beside the text name (one textbox per day, so 7 textboxes for the individual days + 1 for the

[jQuery] An(other) IE issue...either case statement or select option manipulation issue or I don't know what..

2008-12-02 Thread goody
Howdy, I searched the group for a few hours yesterday and didn't see anything that helped me. Maybe I overlooked it...anyway here's my issue: I have dropdowns of conference sessions which are ran twice each over the course of the conference. We don't want people signing up for the same

[jQuery] star rating 2.5 - select full stars only

2008-12-02 Thread Bilgehan
Hi, i am using star ratin 2.5. Is there a way to restrict votes on full fill stars and use the split stars view only for displaying the results? Thanks

[jQuery] Jörn Zaefferer's documentation generator

2008-12-02 Thread livefree75
Hello, I can't seem to get this to work: http://jquery.bassistance.de/docTool/docTool.html Not even with the Test with Example code. I click Generate, and nothing happens. I tried it online, and I tried the downloadable version. Help? Or is there another one to use? I really really really

[jQuery] Re: list.scrollTop is not a function when ever i using jquery auto complete

2008-12-02 Thread MorningZ
I've had that error before, but it was an old version of the file what version are you using? i've been running 1.0.2 and have no more issues like that On Dec 2, 10:42 am, SWAMY [EMAIL PROTECTED] wrote: Hi, friends I am new to jquery, i am using jquery auto complete , it was working

[jQuery] Re: Image rollover using jQuery

2008-12-02 Thread Ray M
Thank you. This is exactly what I want! On Dec 1, 12:46 pm, howa [EMAIL PROTECTED] wrote: http://code.google.com/p/jquery-swapimage/ Ray

[jQuery] Re: jQuery plug-in to preload javascript?

2008-12-02 Thread ricardobeat
One way to reduce loading time is to use $.getScript to only load a plug-in when you're actually using it. If you keep you're scripts on the head you won't be able to display any loading status, cause the document body isn't there yet. - ricardo On Dec 1, 10:22 pm, Mark Livingstone [EMAIL

[jQuery] Re: jQuery.Validate: validating input fields with [] [validate]

2008-12-02 Thread Jörn Zaefferer
I think you're looking for this: http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29 Jörn On Tue, Dec 2, 2008 at 2:26 PM, Philsbury [EMAIL PROTECTED] wrote: Hi, Does anyone know how you can validate forms that contain [] in their name? e.g.

[jQuery] Re: [tooltip]

2008-12-02 Thread Jörn Zaefferer
The tooltip should work with all elements that trigger a mouseover event and have a title. Though there are known problems with selects, so problems with checkboxes are not unlikely, too. You could try to add a label to the checkbox and put the title on the label. Link it via the for-attribute

[jQuery] Re: Can find() return elements in DOM order?

2008-12-02 Thread ricardobeat
Unfortunately webkit doesn't support neither .sourceIndex nor .compareDocumentPosition. Here's another take, this should work in all browsers: $.fn.inOrder = function(sel){ return this.filter(function(){ return $(this).is(sel); }); } $('body *').inOrder('div,span,p') First you

[jQuery] Re: autocomplete plugin - newbie question

2008-12-02 Thread Jörn Zaefferer
There isn't a XML example, but it should be possible to adapt this json example: http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/json.html Basically replace the dataType and change the parsing code. You can still use jQuery to convert the xml response to JavaScript objects. See for

[jQuery] Re: [tooltip] Image preview choppy when switching from right to left side of mouse pointer?

2008-12-02 Thread Jörn Zaefferer
You example code didn't quite make it through. Could you provide a testpage? Maybe via jsbin.com Jörn On Tue, Dec 2, 2008 at 6:50 PM, deronsizemore [EMAIL PROTECTED] wrote: I'm not sure if I did it right or not, but I added the width too this line: return $( ).attr(src, this.src); Still

[jQuery] Re: Selecting only partial text from div

2008-12-02 Thread brian
Have a look at this plugin: http://plugins.learningjquery.com/expander/ I'm sure you could adjust that to get something like what you want. On Mon, Dec 1, 2008 at 9:55 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: I've a div which has lot of contents inside it... I need to display only text

[jQuery] Re: JavaScript multithreading issues, race conditions, critical sections

2008-12-02 Thread ricardobeat
I've never worked on a really complex project using JS, but I'll contribute with my amateur views anyway: All JS engines are single-threaded, one less thing to worry about :] The exception is of course, AJAX calls which are asynchronous, they are technically not executing at the same time, but

[jQuery] Re: [tooltip] Image preview choppy when switching from right to left side of mouse pointer?

2008-12-02 Thread deronsizemore
I'm not sure if I did it right or not, but I added the width too this line: return $( ).attr(src, this.src); Still not change after adding the width in. I think it's related to how big the image actually is for whatever reason. The other images don't do it, just the ones next to the right

[jQuery] Re: Selecting only partial text from div

2008-12-02 Thread ricardobeat
How are you going to move your mouse over 'w in word' if it's not being displayed yet? O.o On Dec 2, 12:55 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've a div which has lot of contents inside it... I need to display only text of length less than 100letters..anything more should be

[jQuery] Re: with out ready event

2008-12-02 Thread ricardobeat
Yes you can, but you need to wait for the DOM to be ready to manipulate any elements, so what you can do is a bit limited. You can also, for example, put your scripts at the bottom of the body or after the elements you're manipulating, then you don't need to use ready() or onload. But it's not

[jQuery] Re: with out ready event

2008-12-02 Thread Hector Virgen
I usually create my functions/classes outside of $(document).ready(), and then call them from within $(document).ready(). -Hector On Tue, Dec 2, 2008 at 10:02 AM, ricardobeat [EMAIL PROTECTED] wrote: Yes you can, but you need to wait for the DOM to be ready to manipulate any elements, so

[jQuery] Re: [tooltip] Image preview choppy when switching from right to left side of mouse pointer?

2008-12-02 Thread deronsizemore
Sorry about that. Here's the test page that I'm continuing to work on: http://www.randomjabber.com/test/logogala/gallery_tooltip.html You can see the updated code by viewing the head via the source. Thanks, Jörn Zaefferer-2 wrote: You example code didn't quite make it through.

[jQuery] Re: Getting totals per row

2008-12-02 Thread brian
Give all of your day inputs the same class (say, DayInput). Do the same for the total divs (eg, TotalDiv). Then wrap each group of DayInputs, together with their corresponding TotalDiv in a div or tbody (you can have several of those in a table). Now, assign a handler to each $('.DayInput') which

[jQuery] Re: how to avoid overhead

2008-12-02 Thread Michael Geary
You're right to question the requirement to add that many divs. But assuming it's necessary, that code is not the fastest way to do it. This would be faster, especially in IE: var n = 1600; var html = new Array( n + 2 ); html[0] = 'div'; for( var i = 1; i = n; ++i )

[jQuery] Re: listnav plugin mod

2008-12-02 Thread Jack Killpatrick
Hi, Have you made any progress on this? If not, I might be able to look into it some time tonight. Offhand, if you just want a 0-9 and not a nav item for each number, I think the code will need to be modified so that the search that adds the single letter classes to each LI will add another

[jQuery] Re: listnav plugin

2008-12-02 Thread Jack Killpatrick
Alexsandro, can you give me a few examples, so I can be sure I understand what you're looking for? Thanks, Jack Alexsandro_xpt wrote: Hello all, I would like to add somes methods like refresh/add/remove item from list too. Thz. On 1 dez, 05:04, idgcorp [EMAIL PROTECTED] wrote:

[jQuery] Re: listnav plugin

2008-12-02 Thread Jack Killpatrick
What's the workaround you came up with? It might give me some ideas on how best to approach baking something into the plugin. Thanks, Jack idgcorp wrote: Hi Jack, thanks for the reply, yes Im just adding/removing via jq Ive created a workaround that solves this one for me. Also I just

[jQuery] Re: how to avoid overhead

2008-12-02 Thread ricardobeat
You're not going to get good enough performance from handling thousands of elements. I tried that myself last year: http://ff6600.org/desenhador/ff66.htm It used to run ok in FF2, but somethign in FF3 makes it really slow. If you draw with the middle-mouse button performance is better (I didn't

[jQuery] using depends method with Validate() plugin

2008-12-02 Thread luke adamis
Hi, I am using the Validate() plugin for various forms and I run into this issue with the depends method on various places. So far I found only two references to dealing with depends: http://docs.jquery.com/Plugins/Validation/validate $(.selector).validate({ rules: { contact: {

[jQuery] Re: First steps in jQuery: trying to figure the syntax to mix standard Javascript with jQuery

2008-12-02 Thread Michael Geary
Actually the [0] doesn't convert anything, and it doesn't remove or replace any methods. You could think of it that way, but here's a more accurate way to look at it: The jQuery object is an array of DOM elements. (It's not an actual Array object, but it is an array-like object with [0], [1],

[jQuery] Can't retrieve title attr from area; no problem with other attrs

2008-12-02 Thread 703designs
Using: $(area).tooltip({ delay: 0, fade: 250, bodyHandler: function() { var content = $(this).attr(title); console.log(content); return $(p).html(content); } }); console logs empty returns and the tooltip is empty.

[jQuery] Re: finding script tags in remote HTML

2008-12-02 Thread Jeffrey Kretz
geek Before I answer, I've gotta ask (I've been wondering for MONTHS), have you read the Starrigger series? /geek Now that that's out of the way, I can think of a couple of approaches. #1. Parse the links with regex $.get(link,{},function(html){ var r_links =

[jQuery] Re: Can't retrieve title attr from area; no problem with other attrs

2008-12-02 Thread MorningZ
I'm pretty sure the ToolTip plugin *removes* the title tag from the matched items try something like this to confirm area state=AL shape=poly coords=omitted for brevity name=Alabama/area $(area).tooltip({ delay: 0, fade: 250, bodyHandler: function() { var

[jQuery] Re: finding script tags in remote HTML

2008-12-02 Thread Jake McGraw
On Tue, Dec 2, 2008 at 2:23 PM, Jeffrey Kretz [EMAIL PROTECTED] wrote: geek Before I answer, I've gotta ask (I've been wondering for MONTHS), have you read the Starrigger series? /geek Previously, Googling jake mcgraw would bring up hits for the Starrigger series... as you can see:

[jQuery] Re: using depends method with Validate() plugin

2008-12-02 Thread luke adamis
OK this works: current_password: { minlength: 6, required: { depends: #new_password:filled }

[jQuery] Re: using depends method with Validate() plugin

2008-12-02 Thread Jörn Zaefferer
Either depends: #countrycode[value=1] or depends: function() { return $(#countrycode).val() == '1'; } Jörn On Tue, Dec 2, 2008 at 8:42 PM, luke adamis [EMAIL PROTECTED] wrote: OK this works: current_password: { minlength: 6,

[jQuery] jQuery-specific selected (highlighted) text?

2008-12-02 Thread stephane_r
Hello, I'm still a beginner with jQuery (and not really fluent in JavaScript), but I begin to understand how it works. I am trying to move the following code to jQuery: var text = window.getSelection(); alert(text); It shows me the currently highlighted part of an xhtml page. Now I want to

[jQuery] Re: using depends method with Validate() plugin

2008-12-02 Thread luke adamis
Thanks! I found the page as well: http://docs.jquery.com/Plugins/Validation/Methods/required#dependency- expression I wonder how I could miss this page. Luke On Dec 2, 2008, at 2:05 PM, Jörn Zaefferer wrote: Either depends: #countrycode[value=1] or depends: function() { return

[jQuery] [autocomplete] and asp.net / dotnetnuke

2008-12-02 Thread Nice Nemo
I want to have autocomplete work with DotNetNuke(asp.net). Did anybody did this already and if so how? The solution I am investigating now ( 2 December 2008) involves using page methods as described on http://encosia.com/2008/06/05/3-mistakes-to-avoid-when-using-jquery-with-aspnet-ajax/ with

[jQuery] Change number of images shown

2008-12-02 Thread RockDad
This seems like a simple thing to do put I cannot figure out how to do it. I'm implementing the jcarousel scripts but cannot figure out how to chnage the number of display pictures. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are

[jQuery] Re: clearcase error when trying to add jquery-1.2.6.min.js to source control

2008-12-02 Thread Mark Jones
Hi ksun, I seem to recall reading somewhere that you need to set the file type for jquery as compressed in clearcase (this gets around the long line issue). Hope that helps... Mark On Dec 2, 6:45 am, ksun [EMAIL PROTECTED] wrote: Today  I tried adding jquery-1.2.6.min.js to source

[jQuery] Fixed div, content scrolls under it

2008-12-02 Thread Andy Matthews
I'm looking at the possibility of having navigation at the top of the page, pinned to the top. I'd like for the content to scroll UNDER the container. I've seen it before, but forgot to bookmark it to see how it was done. Does anyone have a plugin for this, or know how it's accomplished and can

[jQuery] Re: Has jQuery development halted?

2008-12-02 Thread [EMAIL PROTECTED]
Hi Ariel, On Dec 1, 2:39 pm, Ariel Flesler [EMAIL PROTECTED] wrote: I'd simply check the trac to see if developmenthalted, instead of asking it publicly in such a challenging way. It might be obvious to you to 'simply check the trac', but i'm sure a lot of people have never been there. At

[jQuery] Re: Fixed div, content scrolls under it

2008-12-02 Thread aquaone
do you mean something other than: div id='nav'.../div div id='content' style='overflow-y:scroll'.../div Sounds like a CSS question, not a jQuery one... stephen On Tue, Dec 2, 2008 at 14:38, Andy Matthews [EMAIL PROTECTED]wrote: I'm looking at the possibility of having navigation at the top

[jQuery] Re: Can't retrieve title attr from area; no problem with other attrs

2008-12-02 Thread 703designs
That seems to be the case. Must be so that there are no duplicate tooltips. Thanks, Thomas On Dec 2, 2:27 pm, MorningZ [EMAIL PROTECTED] wrote: I'm pretty sure the ToolTip plugin *removes* the title tag from the matched items try something like this to confirm area state=AL shape=poly

  1   2   >