[jQuery] Select option value not working

2008-12-09 Thread JQueryProgrammer
$(input[name='myselect'] option:selected).val(); is not working. It gives undefined. Can anyone please help.

[jQuery] Re: Select option value not working

2008-12-09 Thread Karl Rudd
The SELECT's value is what you want: $(input[name='myselect']).val() The only time you need to check is individual OPTIONs are selected is if you have a multi-select list box. Karl Rudd On Tue, Dec 9, 2008 at 8:09 PM, JQueryProgrammer [EMAIL PROTECTED] wrote: $(input[name='myselect']

[jQuery] How do I create an auto scaling background?

2008-12-09 Thread BigFisch
Take a look at http://ringvemedia.com/shanghai Do you see how if you resize the browser window, the background image automatically scales? How would I do this with jquery?

[jQuery] First add new row, ther re-stripe

2008-12-09 Thread johannesf
Hi I have a table, that I re-render after a click, like this. $(document).ready(function() { $('input[name=category]').click(renderTable); }); Then I remove all existing rows, get new ones, and add the to the table, works fine! // remove old rows

[jQuery] Re: driving me mad - ajax

2008-12-09 Thread ToonMariner
Thanks for the replies everyone. STILL haveing problems though... put my code here... http://pastebin.com/m25b8f3bd the highlighted line returns the correct number of results in FF etc. IE always returns 0. and here is a sample of my xml... http://pastebin.com/m454b2894 Validated it

[jQuery] Re: Select option value not working

2008-12-09 Thread James Hughes
$('input[value=GO]').click(function(){}); From: jquery-en@googlegroups.com on behalf of JQueryProgrammer Sent: Tue 09/12/2008 10:32 To: jQuery (English) Subject: [jQuery] Re: Select option value not working Great. Thanks. lso is it possible to select an

[jQuery] Re: Select option value not working

2008-12-09 Thread James Hughes
or more specificly, i think, $(':button[value=GO]').click(... From: jquery-en@googlegroups.com on behalf of JQueryProgrammer Sent: Tue 09/12/2008 10:32 To: jQuery (English) Subject: [jQuery] Re: Select option value not working Great. Thanks. lso is it

[jQuery] Superfish pre-selected

2008-12-09 Thread NOX
Then I reload the menu page how I set a menu option to default selected(and into nav-bar sub menu item too)?

[jQuery] Superfish

2008-12-09 Thread NOX
Then I reload the menu page how I set a menu option to default selected(and into nav-bar sub menu item too)?

[jQuery] Ajax request in loop

2008-12-09 Thread vorp
Hi, I try get some results from ajax using while loop, but it doesn't work in IE7 and Safari. Here's example code: function get_results(foo){ return $.ajax({ type: GET, url: some_url.php/+foo, dataType: json

[jQuery] XML find element with special attribute

2008-12-09 Thread Crazy-Achmet
Hey, this is the code that works perfectly to show all XML Elements: $.ajax({ type: GET, url: events.xml, dataType: xml, success: function(xml)

[jQuery] need help

2008-12-09 Thread Hassan Ali
i've been surfing over net to find a slide show similar to http://www.frontpageslideshow.net/ i checked the jquery site, almost entire one, couldn't find similar. can someone provide any link which is totally based on css and javascript? i've very short time and want this solution.

[jQuery] Re: driving me mad - ajax

2008-12-09 Thread Rik Lomas
Hi ToonMariner, This article might help you: http://www.think2loud.com/2008/09/reading-xml-with-jquery/ Rik 2008/12/9 ToonMariner [EMAIL PROTECTED]: Thanks for the replies everyone. STILL haveing problems though... put my code here... http://pastebin.com/m25b8f3bd the

[jQuery] Image.css(display) not working

2008-12-09 Thread JQueryProgrammer
image id=myimage myimgid=myimageid src=baloon.jpg / I want to check the style display for this image. I am doing as: $(image[myimgid='myimageid']).css(display); but its coming undefined. I cannot check it with id as my id is getting runtime generated. Please help.

[jQuery] Re: Newbie: Please Help- Ajax Trouble

2008-12-09 Thread Rik Lomas
Hey, There's more details about it here: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F http://www.learningjquery.com/2008/05/working-with-events-part-2 Rik 2008/12/9 Harshal [EMAIL PROTECTED]: Hi, I have used the '.load' function to

[jQuery] Re: need help

2008-12-09 Thread MorningZ
Advice: meaningful subject lines = better/quicker help On Dec 9, 6:38 am, Hassan Ali [EMAIL PROTECTED] wrote: i've been surfing over net to find a slide show similar tohttp://www.frontpageslideshow.net/ i checked the jquery site, almost entire one, couldn't find similar. can someone

[jQuery] Re: First add new row, ther re-stripe

2008-12-09 Thread MorningZ
// add the new rows $('tbody.tbody_class').html(newTable).find(tr:odd).css(background- color, #eee); or whatever other code you use to restripe and to note: there's no need to do the remove() if you are using html(newTable) as that second line will effectively wipe out all existing HTML before

[jQuery] Re: Zooming and clicking

2008-12-09 Thread Paul
Ok, but how would I be able to zoom this background-image and all the overlay a elements? Can this be done with JQuery? On Dec 8, 3:57 pm, ricardobeat [EMAIL PROTECTED] wrote: area elements have no display properties, so you can't do any styling. An alternative is to use transparent a

[jQuery] Re: [TUTORIAL] Create an amazing music player using mouse gestures hotkeys in jQuery

2008-12-09 Thread AdrianMG
Thanks for reply Isaak ;) On Dec 5, 5:24 pm, Isaak Malik [EMAIL PROTECTED] wrote: you'll notice* On Fri, Dec 5, 2008 at 5:24 PM, Isaak Malik [EMAIL PROTECTED] wrote: If you read the entire tutorial you'll noticed that he mentions it's just an interface and he has plans to integrate it

[jQuery] Re: Zooming and clicking

2008-12-09 Thread Paul
Ok, but how would I be able to zoom this background-image and all the overlay a elements? Can this be done with JQuery? On Dec 8, 3:57 pm, ricardobeat [EMAIL PROTECTED] wrote: area elements have no display properties, so you can't do any styling. An alternative is to use transparent a

[jQuery] Re: Treeview

2008-12-09 Thread neokio
not sure this will help or not, but generally speaking one can improve browser performance on repeating backgrounds by making the repeating image at least 16 or 32px wide. the image will compress nearly as well, and the browser will only have to render the cloning operation a dozen times rather

[jQuery] Beginner question about toogeling a status

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

[jQuery] Equal Columns After DOM

2008-12-09 Thread chaking
I'm trying to use jquery to keep my columns equal in height. The problem is that when I expand something in my menu in one of those columns, the height doesn't re-adjust. I'm thinking it's because it's only called when document.ready... I don't know the event very well, but is there a way I

[jQuery] Re: Image.css(display) not working

2008-12-09 Thread donb
I don't think you're not really understanding the selector syntax. The 'id' is unique (or is supposed to be) and starts with a '#', and the css syntax uses a name and value pair to set the attribute. So: $(#myimage).css('display, inline); // or block or try this alternative:

[jQuery] Re: Image.css(display) not working

2008-12-09 Thread donb
I don't think you're really understanding the selector syntax. The 'id' is unique (or is supposed to be) and starts with a '#' in a selector, and the css syntax uses a name and value pair to set the attribute. So: $(#myimage).css('display, inline); // or block or try this alternative:

[jQuery] Re: Select option value not working

2008-12-09 Thread JQueryProgrammer
Great. Thanks. lso is it possible to select an element based on the value it has. I have an button like input type=button value=GO / I want to attach an event to this button. How can I..? On Dec 9, 3:16 pm, Karl Rudd [EMAIL PROTECTED] wrote: Heh yeah that too. :) Sorry I missed that detail.

[jQuery] Re: Nested value for callback

2008-12-09 Thread Richard D. Worth
It worked fine for me in Firefox. In order to make it work in IE self = this; should be var self = this; Module = function() { should be var Module = function() { $dialog = $(#my_dialog); should be var $dialog = $(#my_dialog); - Richard On Tue, Dec 9, 2008 at 12:37 AM, Göran

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

2008-12-09 Thread netvibe
Nice script.. I used the swfupload before, but i switched immediately :) I've got 1 question: Can u set a FOLDER to store the files? U can set the backend file, who upload your files.. But I want to specify a folder, before upload starts, where the files can be stored. I need to send that

[jQuery] Re: jQuery with prototype - RTFM but still problem

2008-12-09 Thread Beres Botond
The source of the problem is that they both use $ as a shortcut. But there are several ways to make the work together, I used prototype +jquery+scriptaculous together in several projects One of the most surefire ways to do this, but probably not the most elegant is the following: 1. Include

[jQuery] Re: JQuery events + ajax question

2008-12-09 Thread Beres Botond
Cleaning that up is not Jquery's job as far as I know but the JScript garbage collector (which basically depends on the browser). The garbage collector is pretty smart so it shouldn't be any leak... serious leaks used to happen only on Circular References especially in IE6 for example, but even

[jQuery] Re: jQuery with prototype - RTFM but still problem

2008-12-09 Thread Beres Botond
Actually your prototype include path gives 404 error. http://www.cjd-rz.de/wp-content/plugins/wp-cal/js/prototype.js The following are also inexsitent/wrong paths: http://www.cjd-rz.de/wp-content/plugins/wp-cal/js/scriptaculous.js http://www.cjd-rz.de/wp-content/plugins/wp-cal/js/cal.js

[jQuery] Re: fadeIn something from JSON

2008-12-09 Thread botondus
Well if you want to fade in something it has to be hidden first. If the example with hide() doesn't work, just hide it straight from html. $.getJSON(urlForDescription, function(data) { $div = $(div class='info' style='display:none;' + data + /div);

[jQuery] Re: Selector filters using less-than/greater-than operators?

2008-12-09 Thread mgl
Cool, thanks. On Dec 9, 8:13 pm, ricardobeat [EMAIL PROTECTED] wrote: The simplest alternative is to write a filter function: $(element).filter(function(){    return $(this).attr('attribute') = x; }); - ricardo On Dec 8, 11:56 pm,mgl[EMAIL PROTECTED] wrote: Hello everyone, I'm

[jQuery] Re: Select option value not working

2008-12-09 Thread JQueryProgrammer
Ok. I got the answer. its like $(input[value='GO']) BUt now my problem is that while rendering the button is rendered as: input type=button value=GO onclick=myFunc(); / no I want to attach my event and cancel the default event, ie. I do not want to call the myFunc. But instead my own function

[jQuery] Re: How do I create an auto scaling background?

2008-12-09 Thread Richard D. Worth
This is done just using css. Take a look at http://ringvemedia.com/g/a.css line 13: #bg img{min-height:50%;min-width:50%;margin:0 auto} - Richard On Tue, Dec 9, 2008 at 4:27 AM, BigFisch [EMAIL PROTECTED] wrote: Take a look at http://ringvemedia.com/shanghai Do you see how if you resize

[jQuery] Re: how to image cache using jQuery?

2008-12-09 Thread darwin liem
Naaah, I've check this one... it still load all the image in view port... what I want to achieve is that some sort of var imgtemp = new Image(); which will cache image however this only works for img tags not background... I cant find API nor plugins for this solution. does anyone have any

[jQuery] Newbie: Please Help- Ajax Trouble

2008-12-09 Thread Harshal
Hi, I have used the '.load' function to load a HTML page into a division through AJAX. But i noticed that if I insert any other jquery scripts/plugins in the page that is loaded through AJAX, then they are not executed. As an example i loaded a page using Ajax into a div, from a link in that

[jQuery] Re: how to image cache using jQuery?

2008-12-09 Thread Karl Swedberg
the Lazy Load plugin might help: http://www.appelsiini.net/projects/lazyload --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 9, 2008, at 12:12 AM, darwin liem wrote: Hi, Sorry for my unclear question... What I'm try to resolve here to load the page

[jQuery] DOMWindow resizable.

2008-12-09 Thread m.ugues
Hallo all. I use DOMWindow (http://swip.codylindley.com/DOMWindowDemo.html) to display some content loaded via ajax call. I have a problem with DOMWindow similare to this http://codylindley.com/thickboxforum/comments.php?DiscussionID=1301page=1#Item_1 Any idea? The content is not an image, is

[jQuery] Re: need help

2008-12-09 Thread Karl Swedberg
Try jQuery Cycle Plugin. It is incredibly flexible. Even if you don't see an exact match from one of its many, many examples, I'm sure it can be used to create a slideshow like the one you linked to. http://malsup.com/jquery/cycle/ --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: Select option value not working

2008-12-09 Thread Karl Rudd
Heh yeah that too. :) Sorry I missed that detail. Karl Rudd On Tue, Dec 9, 2008 at 9:08 PM, Rik Lomas [EMAIL PROTECTED] wrote: It could be to do with the select isn't an input tag, it's a select tag, try $(select[name='myselect'] option:selected).val(); instead Rik 2008/12/9 Karl Rudd

[jQuery] Jquery Tabs 2 CSS styles?

2008-12-09 Thread toopix
Hi, I am using JQuery tabs and I have a problem as I want to sets of tabs on the same page, I need to specify 2 different css styles for the tabs specifically the container width. I read a reply by your to a similar issue in google groups but didnt understand it as im quite new to css and JQuery.

[jQuery] Re: Select option value not working

2008-12-09 Thread Rik Lomas
It could be to do with the select isn't an input tag, it's a select tag, try $(select[name='myselect'] option:selected).val(); instead Rik 2008/12/9 Karl Rudd [EMAIL PROTECTED]: The SELECT's value is what you want: $(input[name='myselect']).val() The only time you need to check is

[jQuery] Re: driving me mad - ajax

2008-12-09 Thread Beres Botond
This is not a solution, as I haven't encountered this issue yet, just possible pointers to find the source of the problem. http://pastebin.com/m7a986ddf On Dec 9, 1:48 pm, Rik Lomas [EMAIL PROTECTED] wrote: Hi ToonMariner, This article might help

[jQuery] Re: Making a UL simulate an option box?

2008-12-09 Thread Andy Matthews
Dave... First of all, thank you for checking out my code. Second, you just answered a question that I've had since I started using jQuery, namely why does the animation queue up endlessly, or keep going after my mouse moves out. I assume that all you have to do is to add in the .stop() method

[jQuery] Re: Object Oriented Form Handling

2008-12-09 Thread Will
Thanks everyone. I found a solution for my situation. On Dec 6, 9:16 am, Dan Switzer [EMAIL PROTECTED] wrote: Will, Does anyone know of a way to use class like objects in event handling using jQuery? For Example, input type='button' value='Button' onclick='Record.show()' / where

[jQuery] Re: Functions and variables

2008-12-09 Thread Will
Thanks. I ready an article somewhere and it mentioned not combining old coding forms with new in reference to jQuery. It didn't make much sense to me and this confirms it. I'll continue to code with functions and such and just supplement with jQuery where beneficial. Thanks On Dec 4, 6:36 

[jQuery] Re: Jquery Tabs 2 CSS styles?

2008-12-09 Thread Klaus Hartl
Well, it can't work because nowhere in your HTML is a class named tabs-container2. The plugin itself (older versions) adds the class tabs-container to the tab panels - that's why you're not seeing it in the initial HTML and why that width is applied to both tab sets. You can see that class though

[jQuery] Re: Selector filters using less-than/greater-than operators?

2008-12-09 Thread Klaus Hartl
You don't have to wrap all and everything in a jQuery object and so can make the parser a tiny little faster. For certain attributes though you may have to use the attr method as it normalizes browser inconsistencies. $('element').filter(function() { return this.attribute = x; }); --Klaus

[jQuery] Re: Nested value for callback

2008-12-09 Thread Göran Törnquist
Thanks Richard. I obviously made some errors in the process of breaking out the offending piece of code. However, the error remains for me. I'm using Firefox 3 on Mac OS X 10.4. I put up a sample page here: http://www.cortland.se/callback-frenzy/ /Göran Richard D. Worth wrote: It worked

[jQuery] Re: Ajax request in loop

2008-12-09 Thread Michael Geary
Hi vorp, your English is fine, don't worry about that. :-) I'm trying to understand the purpose of your code, though. Why do you want to fire off 50 Ajax requests all at once like that? Also, these Ajax requests are *asynchronous*. That is, $.ajax() returns immediately without waiting for the

[jQuery] show/hide opacity gets stuck sometimes

2008-12-09 Thread Tijmen Smit
I'm working on a page where once you hover over a small photo, a bigger photo should appear underneath it with a small text. The box holding the photo does appear, and once you slowly move towards another photo it works fine. But once you quickly move from the top left to the top right, it get a

[jQuery] Re: Autocomplete with JSON contacting the server frequently

2008-12-09 Thread R. Rajesh Jeba Anbiah
On Dec 8, 9:30 pm, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: I have noted that the JSON version/usagehttp://jquery.bassistance.de/autocomplete/demo/json.htmlis contacting the server frequently. The standard version is not unnecessarily contacting the server. It's contacting the

[jQuery] Re: How to achieve 2 moo gallery effects?

2008-12-09 Thread Paul Mills
Have a look at these two plugins: Galleria - http://devkick.com/lab/galleria/ Cycle - http://malsup.com/jquery/cycle/ Paul On Dec 9, 5:57 am, expat101 [EMAIL PROTECTED] wrote: I am looking for gallery and slideshow effects like these, can i achieve them with jquery and how please

[jQuery] Odd behavior with 'this'?

2008-12-09 Thread Leanan
Here's some behavior I've run into that is not quite what I expected. So the question is, should I expect something different or is this a bug / gotcha? I'm working on a plugin for manipulating tables (the ones that are published do not suit my needs). So I have the following inside my plugin:

[jQuery] Re: show/hide opacity gets stuck sometimes

2008-12-09 Thread Leanan
I've never worked with the .stop function before, so I searched for it in google (jquery .stop) to read up on it to see if that might shed some light... One of the very first links I found was this: http://www.pengoworks.com/workshop/jquery/stop_bug.htm Glancing over it, I think this is what

[jQuery] Unobtrusively passing data

2008-12-09 Thread Leo
I'm building a rails app and I've been trying to keep my html as unobtrusive as possible and my application.js as general as possible. Up until now I've been able to build re-usable page components by creating specific layout structure with the occasional custom attribute. Now I'm trying to

[jQuery] Re: how to image cache using jQuery?

2008-12-09 Thread brian
On Tue, Dec 9, 2008 at 9:03 AM, darwin liem [EMAIL PROTECTED] wrote: Naaah, I've check this one... it still load all the image in view port... what I want to achieve is that some sort of var imgtemp = new Image(); which will cache image however this only works for img tags not background... I

[jQuery] Re: DOMWindow resizable.

2008-12-09 Thread brian
see here: http://sonspring.com/journal/jquery-iframe-sizing On Tue, Dec 9, 2008 at 9:10 AM, m.ugues [EMAIL PROTECTED] wrote: Hallo all. I use DOMWindow (http://swip.codylindley.com/DOMWindowDemo.html) to display some content loaded via ajax call. I have a problem with DOMWindow similare

[jQuery] Re: Functions and variables

2008-12-09 Thread brian
On Tue, Dec 9, 2008 at 10:12 AM, Will [EMAIL PROTECTED] wrote: Thanks. I ready an article somewhere and it mentioned not combining old coding forms with new in reference to jQuery. It didn't make much sense to me and this confirms it. I'll continue to code with functions and such and just

[jQuery] Re: Odd behavior with 'this'?

2008-12-09 Thread Richard D. Worth
Change .children('thead th:last') to .find('thead th:last') - Richard On Tue, Dec 9, 2008 at 11:34 AM, Leanan [EMAIL PROTECTED] wrote: Here's some behavior I've run into that is not quite what I expected. So the question is, should I expect something different or is this a bug / gotcha?

[jQuery] Re: Autocomplete with JSON contacting the server frequently

2008-12-09 Thread brian
On Tue, Dec 9, 2008 at 11:11 AM, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: On Dec 8, 9:30 pm, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: I have noted that the JSON version/usagehttp://jquery.bassistance.de/autocomplete/demo/json.htmlis contacting the server frequently. The

[jQuery] jQuery.get filtered JavaScript Tag

2008-12-09 Thread howa
When using jQuery.get to fetch remote contents, the content inside the script tag will be removed and therefore not executed. Is it possible to incluce the script tag and run it automcatically when using jQuery.get ? Thanks.

[jQuery] show JSP using dialog plugin

2008-12-09 Thread Bhavin
Hi, I want to show JSP as a dialog using dialog plugin. I dont prefer to keep div elements in the page and show the dialog because user can see all hidden divs using View Source. Can I pass URL in dialog() and show the JSP as a modal window using JQuery? Thanks, Bhavin

[jQuery] Re: show/hide opacity gets stuck sometimes

2008-12-09 Thread Tijmen Smit
Thanks a lot :) The clearQueue option for the stop() did the trick, for some reason I completely missed it on docs.jquery.com On Dec 9, 6:04 pm, Leanan [EMAIL PROTECTED] wrote: I've never worked with the .stop function before, so I searched for it in google (jquery .stop) to read up on it to

[jQuery] Re: Ajax request in loop

2008-12-09 Thread vorp
Well ok, I try to explain what I want to do. At first I forgot to tell, that I have setup all ajax requests in synchronous mode ( $.ajaxSetup({async: false}) ) so after call my get_results() function browser should wait for response. Inside while loop is not only function call, but additionally

[jQuery] Re: show/hide opacity gets stuck sometimes

2008-12-09 Thread Leanan
You're welcome. Glad it proved useful. On Dec 9, 1:22 pm, Tijmen Smit [EMAIL PROTECTED] wrote: Thanks a lot :) The clearQueue option for the stop() did the trick, for some reason I completely missed it on docs.jquery.com On Dec 9, 6:04 pm, Leanan [EMAIL PROTECTED] wrote: I've never

[jQuery] Re: show/hide opacity gets stuck sometimes

2008-12-09 Thread Karl Swedberg
On Dec 9, 2008, at 1:22 PM, Tijmen Smit wrote: The clearQueue option for the stop() did the trick, for some reason I completely missed it on docs.jquery.com Not your fault. The note about the .stop() options looked almost like a footnote. Quite easy to miss. I've just updated the page to

[jQuery] Re: show JSP using dialog plugin

2008-12-09 Thread Eric Martin
Using SimpleModal, you can do something like: $.get(page.jsp, function(data) { $.modal(data); }); On Dec 9, 9:50 am, Bhavin [EMAIL PROTECTED] wrote: Hi, I want to show JSP as a dialog using dialog plugin. I dont prefer to keep div elements in the page and show the dialog because user can

[jQuery] TableSorter vs Zebra Stripes

2008-12-09 Thread David Blomstrom
I want to create a table that features sortable columns and alternate row colors. I found scripts that do one or the other, but when I implement both, the row color function is impaired. First, I downloaded the JQuery TableSorter plugin; hence the links to jquery-1.2.6.min.js and

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread MorningZ
Yuck If you want to use Tablesorter, why not use the way it's supposed to be used? one simple setting of the widgets in the .tablesorter call would wire up all alternate rows with the class odd (and it's done!) On Dec 9, 3:01 pm, David Blomstrom [EMAIL PROTECTED] wrote: I want to create a

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread Olivier Percebois-Garve
The zebra code you have seems to be based on another library (Prototype ?), so it wont run using without it. Anyway, there's a zebra plugin included by default in the tablesorter. just do: $(table).tablesorter({ widgets: ['zebra','repeatHeaders'] }); Olivier On Tue, Dec 9, 2008 at 9:01

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread Olivier Percebois-Garve
sry. wrong paste: $(table).tablesorter({ widgets: ['zebra'] }); On Tue, Dec 9, 2008 at 9:18 PM, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: The zebra code you have seems to be based on another library (Prototype ?), so it wont run using without it. Anyway, there's a zebra plugin

[jQuery] jquery-based typing test?

2008-12-09 Thread Jack Killpatrick
Hi All, I'm about to put together a js-based typing test and am wondering if anyone might know of a plugin or code drop that might give me a head start? Basic process: 1. user sees an image of a block of text 2. clicks a button to start a timer 3. types into a textarea 4. textarea becomes

[jQuery] Re: fadeIn something from JSON

2008-12-09 Thread Jan Limpens
@karl: works great! thank you!! @botondus: that's exactly what I had before that, but then, out of some reason, the first hover would not show the item at all, only the second. On Tue, Dec 9, 2008 at 11:19 AM, botondus [EMAIL PROTECTED] wrote: Well if you want to fade in something it has

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread David Blomstrom
Thanks. I changed my code accordingly... script src=/1A/JS/jquery-1.2.6.min.js type=text/javascript/script script src=/1A/JS/tablesorter/jquery.tablesorter.js type=text/javascript/script script language=JavaScript type=text/JavaScript $(document).ready(function() {

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread Olivier Percebois-Garve
ok. do that instead: script src=/1A/JS/jquery-1.2.6.min.js type=text/javascript/script script src=/1A/JS/tablesorter/jquery.tablesorter.js type=text/javascript/script script language=JavaScript type=text/JavaScript $(document).ready(function() { $(#myTable).tablesorter( widgets: ['zebra'] );

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread David Blomstrom
Sorry, I missed the messag that references class odd. Yet when I insert the following style... tr.odd td { background: #ff0; } ...there are still no colored rows.

[jQuery] creating unique IDs

2008-12-09 Thread brian
or: DOMWindow -- open with selector I'm writing a plugin that creates a div with a form and attaches it to the document, hidden. There may be several of these on the page so I dispensed with IDs, choosing to use class selectors to get at them to display, etc.. So far, this has been fine.

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread David Blomstrom
Sorry, when I pasted that script in, there were still no row colors, plus the sorting function sstopped working. On Tue, Dec 9, 2008 at 12:46 PM, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: ok. do that instead: script src=/1A/JS/jquery-1.2.6.min.js type=text/javascript/script script

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread Olivier Percebois-Garve
My bad. I forgot the {} so there is a js error now . corrected code : script src=/1A/JS/jquery-1.2.6.min.js type=text/javascript/script script src=/1A/JS/tablesorter/jquery.tablesorter.js type=text/javascript/script script language=JavaScript type=text/JavaScript $(document).ready(function()

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread MorningZ
...there are still no colored rows You *really* should download firebug (http://www.getfirebug.com) so you can see what your code (and/or the code you use) is actually doing the zebra widget adds the class to the tr tag, not the td tag, hence your css of tr.odd td { background: #ff0;

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread David Blomstrom
Awesome - it works! Thanks so much for all the tips.

[jQuery] Re: creating unique IDs

2008-12-09 Thread MorningZ
Why not just define a global variable, like script type=text/javascriptvar divID = 0;/script and use that when assigning the ID, while incrementing the value for the next.. So a super quick example http://paste.pocoo.org/show/94617/ On Dec 9, 3:51 pm, brian [EMAIL PROTECTED] wrote:

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread MorningZ
ps... looking at your CSS again, it is indeed not valid, but not because of what i first thought, heh background isn't a valid property, it's background-color On Dec 9, 4:14 pm, David Blomstrom [EMAIL PROTECTED] wrote: Awesome - it works! Thanks so much for all the tips.

[jQuery] Timed Modal (or whatever)

2008-12-09 Thread Jenolan
I just know that this is going to be one of those dumbo questions but I have been trolling for a plugin to do what I need without luck. Basically I want a modal style display that I can open after the page has been loaded for a certain amount of time, display the modal and then

[jQuery] Updating the DOM after .load

2008-12-09 Thread slandry
I'm trying to load new contnet using the .load function in JQuery which works fine but the new content isn't being update with some javascript which should re-render the HTML into an image (sparklines) $(document).ready(function(){ $('.new_pie').click(function() {

[jQuery] DOM not updating after .load

2008-12-09 Thread slandry
I'm trying to load new contnet using the .load function in JQuery which works fine but the new content isn't being update with some javascript which should re-render the HTML into an image (sparklines) $(document).ready(function(){ $('.new_pie').click(function() {

[jQuery] Problem with jQuery: AJAX interface / ajaxForm plugin file upload combo.

2008-12-09 Thread Sc0rp!c0m
Dear Jquery devs, I got a slight but complex problem. and I think I need someone experienced with ajaxForm for it. I use the nifty AJAX interface ( http://www.visionmasterdesigns.com/tutorial-ajax-interface-menu-using-jqueryphp/ ), and i'd like to make my CMS (webshop) in this interface. For

[jQuery] Columnize Plugin + ToggleSlide = problems in IE

2008-12-09 Thread ewhite
I'm working on a page that uses the Columnize plugin to organize a set of divs into two columns. The behavior that I want (and which works in FF Safari) is this: when the page loads, all .speakers divs are hidden except for one (specified by script). Clicking on an H3 toggles the visibility

[jQuery] Updating the DOM after .load

2008-12-09 Thread slandry
I'm trying to load new contnet using the .load function in JQuery which works fine but the new content isn't being update with some javascript which should re-render the HTML into an image (sparklines) $(document).ready(function(){ $('.new_pie').click(function() {

[jQuery] Re: jQuery Form Plugin - success callback function isn't called

2008-12-09 Thread [EMAIL PROTECTED]
Actually if you put a debugger; statement there and debug with firebug you will see that it actually gets called. But for some reason the alert does not work. But other js code will work so you can show your messages somewhere else on the page if you want or need to. On 7 nov, 15:34, Mike Alsup

[jQuery] Re: jQuery Form Plugin - success callback function isn't called

2008-12-09 Thread [EMAIL PROTECTED]
I have the same problem here and the call sure is successful, because the rest of the commands get executed. The weird thing is that only the alert that does not get executed. I have even inspected the response with firebug and repeated the tests using selenium with and without the alert so I´m

[jQuery] Make script global (for every ajax page)

2008-12-09 Thread mysterbx
Hello, I have a problem, i have this script: $(document).ready(function() { var requestURL = index.php; $(a).click(function() { var params = $(this).attr(data); $(#content).slideUp(slow); $.ajax({ type: post, url: requestURL, data: new=ypage=+params, beforeSend: function() {

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

2008-12-09 Thread Robin Speekenbrink
I have a (stupid) problem: i have the follwing short script: $(window).load(function() { $(#div1).load('/xmlHttp.php?action=getLoad'); $(#div2).load(/xmlHttp.php?action=+ $(input [name='selectType']).val()); }); What this does: it calls the central xmlHttp url to fetch data.

[jQuery] [validate] Having an issue with validator clearing file input fields onfocus in IE

2008-12-09 Thread Wayne Austin
Hi, i'm having an issue when using the validate plugin. When the plugin is applied to the form, if I select a file in my file input field then focus on another field in the form it removes the value. This only seems to happen in IE and only to file input fields. Any ideas as to why this would be

[jQuery] jQuery Star Rating plugin v2.5 displaying values over star images

2008-12-09 Thread robgt
I've studied the code of the demo pages and I can't see any difference between that and my own (my own implementation is built using the zip download, unmodified!) The stars get created fine, but each one has it's value displayed above it - where the same code on the example page does not do

[jQuery] Cycle plugin: some images not loading

2008-12-09 Thread TNTitan
I am having a problem with some of my images not loading when using Mike Alsup's Cycle plugin. When my page loads and the images begin to cycle, some of them just show as a small white rectangle (presumable the border used for the images) while other images look fine. It's acting as though the

[jQuery] Re: jQuery Form Plugin - success callback function isn't called

2008-12-09 Thread Mike Alsup
Actually if you put a debugger;  statement there and debug with firebug you will see that it actually gets called. But for some reason the alert does not work. But other js code will work so you can show your messages somewhere else on the page if you want or need to. Post a link so we can

[jQuery] Re: Overlapping BlockUIs

2008-12-09 Thread Mike Alsup
Is it possible to display one blockUI over another Maybe, but you'd probably need to hack at the plugin. It was designed to display a single page block at a time.

  1   2   >