If you bind idTabs using click (by default) then you can use the
following to trigger it via hoverIntent:
$(a[href*=#]).hoverIntent(function(){ $(this).click(); }, function()
{});
~Sean
On Oct 29, 5:08 am, Ettiene [EMAIL PROTECTED] wrote:
Hi there,
I've implemented idTabs on a website and
1. Is jQuery 1.2.3 a requirement?
An excellent question, as I only tested with 1.2.3... but it's highly
probably that it works with older versions too. I'll try to test it out
later.
2. What do each of the individual files do? For example, there is a
notice to download jQuery.idTabs.min.js
It's been a long time since I released idTabs 1.0 and I'm happy to say that
a lot more people than I was expecting are using it.
As time has passed, so has my programming style. I have completely recoded
the structure and added a few options people requested.
idTabs can now be bound dynamically,
var mb3 = $(this);
On that line, the this is referring to the scope of the function which is
not inside of an $.each(..) or $.fn.foo(..)
~Sean
Jason,
Based on your response I would recommend allowing the user to enter either
format using the watermark plugin to suggest the format of the input, then
if they enter it lazily (ex: Month 9) when they tab out of the input box,
correct their format. The reduces any server side validation and
Excellent app.
Visual programming is a lot of fun and great for creating quick mashups and
data analysis.
Is there a way to separate the visual code and the results it produces?
~Sean
You could try $('tr:has(td):even')
[hasElement] support was removed in ~v1.2(perhaps earlier) in favor of
:has(element)
~Sean
Awesome work Michael.
I love the title font, excellent choice. Glad to see it's library
independent.
~Sean
On Jan 25, 2008 3:45 AM, mjijackson [EMAIL PROTECTED] wrote:
Hello all,
I'm putting the finishing touches on a media viewer application that I
coded up recently (think Thickbox). It
Great release, love the changes. Thank you
~Sean
1. Is jQuery going to be here for the long term?
Yes, with a large and active community jQuery is in it for the long
run. Help is always easy to find.
2. Why not use prototype, what are the benefits of jQuery over it?
jQuery simplifies and reduces code size, and offers a plugin system
that
, December 06, 2007 12:53 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: [NEWS] Getting jQuery Adopted in Corporations
Wow, the digg this story thing worked. :)
http://digg.com/programming/Getting_jQuery_into_Big_Corporations
Glen
On Dec 6, 2007 10:12 AM, Sean Catchpole
Do you have a demo page or some sample code?
~Sean
On Nov 25, 2007 8:17 AM, ogurec [EMAIL PROTECTED] wrote:
Hi,
when i try to initialize idTabs on successful ajax request it fails in
IE6, but works in FF2, Opera 9 and Safari for Windows. Anyone else had
such problem? Is there a solution?
Is there a good reason why placing scripts at the bottom of a page is
a bad idea?
By placing them in the head all javascript files must be downloaded
before the rest of the page can render. This seems odd since most of
the time the javascript needs to wait for the page to be loaded
anyway. Other
Hi Robert,
I doubt the load time of jQuery is very significant. Downloading files
take much much longer than it does to execute. Regardless, I
personally would not use frames since then the url will never change.
~Sean
I believe animation between classes is in the works as part of the UI
or similar package.
~Sean
yay \o/
~Sean
I think you got the jist of it. Syntax looks just fine. The filter
isn't necessary, but I doubt it will be depreciated in future
releases.
function getRecord(id,URL){
jQuery(#ResultsTable tr .selected).removeClass(selected);
jQuery(#+id).addClass(selected);
Very Cool.
~Sean
jQuery has native a slide effect, but I am looking for something similar one
could call shift.
The content actually moves, not just the border.
jQuery Slide: A-AB-ABC
Shift Slide: C-BC-ABC
Is there a plugin other than interface that does this?
~Sean
That's great! Excellent plugin. I've been using it to present idTabs:
http://www.sunsean.com/idTabs/
~Sean
On 9/26/07, Andrea Ercolino [EMAIL PROTECTED] wrote:
Chili is now much faster than before. Try it!
http://noteslog.com/post/chili-19-released-today/
--
View this message in
Looking good Tane. The only changes I'd make are CSS related, but since it's
still beta I'll cut ya some slack. =P Keep up the good work.
~Sean
Hiya,
You bet, try this:
HTML
a href=#myclassTab/a
img class=myclass/
div class=myclass/
JAVASCRIPT
$(#textcontent).idTabs(function(id,list,set){
$(a,set).removeClass(selected)
.filter([EMAIL PROTECTED]'+id+'],set).addClass(selected);
for(i in list)
$(list[i]).hide();
Anyone can test with the latest version of jquery by grabbing a nightly
build.
http://code.jquery.com/nightlies/jquery-nightly.js
The issue is rather that plugin authors don't have the time to update their
plugins right when the new version comes out.
I believe there are already some plugins
No, this is not built into jQuery. There is however a plugin that can do
this for you.
http://jquery.com/plugins/project/XSLT
~Sean
On 9/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Is there an option to apply XSL stylesheets to XML recieved via
jQuery.ajax()? I have some templated xml
Excellent, I'll look into this.
~Sean
On 9/12/07, Felix Geisendörfer [EMAIL PROTECTED] wrote:
Here is an interesting blog post that I came across:
http://blog.stevenlevithan.com/archives/faster-than-innerhtml
The synopsis basically is that one can gain dramatic speed improvements on
Hi Rob,
.ready() won't work in Rhino since there is no page to wait if it's ready.
Everything else should work just fine.
~Sean
On 9/12/07, Rob Desbois [EMAIL PROTECTED] wrote:
Ok I've enlightened myself a little: I tried it with jQuery 1.2 and
discovered that the line number changed - it's
You could try this trick:
var stripme =iHTML/i string;
var stripped = $(p/p).html(stripme).text();
~Sean
On 9/11/07, AnandG [EMAIL PROTECTED] wrote:
I retrieve a lot of strings from a JSON file. These strings can contain
HTML
tags.
I would like to show the strings (for example a
yay \o/ Congrats!
~Sean
I will take this opportunity to remind everyone that there is also a firefox
plugin.
http://www.sunsean.com/jquerydetect/
~Sean
I'll try to pull out the time later to write a more thorough response, but
for now this is how you would code than line your pasted:
$(label).not(:contains('nbsp;'))
~Sean
On 9/4/07, Andy Matthews [EMAIL PROTECTED] wrote:
Anyone have any input on this? Surely someone has written a tute on
/drool
~Sean
On 9/4/07, Rey Bango [EMAIL PROTECTED] wrote:
Yep, I'm feeling pretty special right about now with my new
JQUERY MUG COASTER SET!! wut!!!
http://www.reybango.com/images/jquery/jquerymug8x6.jpg
http://www.reybango.com/images/jquery/jquerycoaster8x6.jpg
Let the envy
This could be very useful on large pages. Great work
~Sean
This can be done using mapreduce or other functions, but they are only
supported in Firefox atm.
Writing a double for loop is easy to code and wider supported.
~Sean
On 8/28/07, Potluri [EMAIL PROTECTED] wrote:
Is there a jquery way to compare two arrays without looping.
like I have an
On 8/28/07, Nico [EMAIL PROTECTED] wrote:
$(this).children(span).children(a).html(it works);
I would have chosen the following
$(span a,this).html(it works);
~Sean
This plugin may be of assistance:
http://jquery.com/plugins/project/XSLT
~Sean
On 8/27/07, Rey Bango [EMAIL PROTECTED] wrote:
I know you guys have been busting your tails...
Thanks Rey, it's been a lot of fun.
On 8/27/07, Smith, Allex [EMAIL PROTECTED] wrote:
This may be a dumb question... But is there any release info about
jQuery UI out yet? Screen shots or otherwise?
An interesting post, thank you.
I have created a revised version that uses only one image:
http://dev.jquery.com/view/branches/sean-dev/pro/pro.html
~Sean
On 8/27/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote:
if anyone is interested, Stu Nicholls, one of the most creative css
hackers,
.
--John
On 8/27/07, Sean Catchpole [EMAIL PROTECTED] wrote:
An interesting post, thank you.
I have created a revised version that uses only one image:
http://dev.jquery.com/view/branches/sean-dev/pro/pro.html
~Sean
On 8/27/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote
). Much improved:
http://dev.jquery.com/~john/ticket/animatetest/
--John
On 7/9/07, Sean Catchpole [EMAIL PROTECTED] wrote:
On 7/9/07, Glen Lipka [EMAIL PROTECTED] wrote:
A big question in my mind is: On a slow machine with ONE
animation: Is
doing it this way smoother than
Excellent work Brandon, I can't wait to give it a try.
~Sean
Pretty cool Yehuda, I'll have to give it a shot so I can give ya some
feedback.
~Sean
On 8/17/07, John Resig [EMAIL PROTECTED] wrote:
$(...).onclick().toggle().end();
I really like this idea John.
~Sean
I wrote a fun dom creation plugin, but in the end it's not much better than
the built in dom creation:
http://jqueryjs.googlecode.com/svn/branches/sean-dev/jquery.dom.js
~Sean
Hi,
Are aware that there are tabs plugins?
To answer your question:
$(function(){
$(#tabs li a).click(function(){
$(#tabs li).removeClass(select);
$(this).parent().addClass(select);
});
});
~Sean
Looks great Blair, excellent plugin. Thanks
~Sean
Looks great Christian. I've been using tablesorter for a while, very useful
for adding quick sort functionality.
~Sean
Congrats Brandon!
~Sean
Loading different pages with .ready's is just fine. If the page has already
loaded then all .ready functions will be executed immediately. Also, there
is probably not a scoping issue. You might want to make sure that the html
you are trying to change (a tags) have all been loaded at the point your
You bring up an interesting point Willi.
You stated that $() runs 2 times, which is correct, except that the first
time there is significantly more work being done. The first time it has to
search through the DOM collecting all the DOM elements and matching them
against the selector. This is a lot
There was recently one just made called Moonbox although I cannot find a
link at the moment. Keep your eyes open for it.
~Sean
On 8/12/07, iblastoff [EMAIL PROTECTED] wrote:
Hi,
I've searched to no avail thus far. Does anyone know if theres been a
port of slimbox (or something similar to
Mootools tries be a bit more C-like, where jQuery uses javascript OO like
peanut butter and jelly.
//jQuery version
var ajax_request = function(options) {
op = { }; //default options
$.extend(op,options); //overwrites defaults
//more code here like $.ajax()
}
~Sean
Great Plugin!
~Sean
On 8/10/07, Sam Collett [EMAIL PROTECTED] wrote:
http://www.texotela.co.uk/accordiontest.php
You could try this:
$(#menu).Accordion({header:'li.haschildren[strong]'});
~Sean
Congrats Jörn!
~Sean
Hi, This might be a fancier solution:
var s = title.string1-color.string2-size.string3;
h={};
$.each(s.split('-'),function(x){
var t = x.split('.');
h[ t[0] ] = t[1];
});
~Sean
On 8/10/07, cfdvlpr [EMAIL PROTECTED] wrote:
That's just the kind of help I needed. Here's what I have now
Quick:
x is each item of the array.
Short:
$.each is similar to Array.map
$.each calls the function for each item in the array. If the function
returns false then it stops.
This is different from a map function in that a map function will replace
the value in the array with what is returned by
Hi Sam,
With your html I was able to get this to work:
$('#menu').Accordion({ header: 'li strong' });
~Sean
On 8/9/07, Mike Alsup [EMAIL PROTECTED] wrote:
http://www.malsup.com/jquery/cycle/
Nice plugin Mike, when did you release this?
That's really cool Stephan, thanks for sharing. HTML needs a
refresher. Classitisis is everywhere and it would be nice to have a
few more useful tags to play with. Then again I use XML so I just make
tags up anyway =P.
~Sean
This would be a wonderful application for a download builder.
The core should remain exactly that, a core.
~Sean
On 8/3/07, Matt Penner [EMAIL PROTECTED] wrote:
If I wanted the 2nd row 3rd cell the following works:
$(tr:eq(1), td:eq(2))
This will return the entire 2nd row and 3rd column.
On 8/3/07, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
I would use $(td:eq(2), $(tr:eq(1)))
This works, but is a clunky
Hi Lucemia,
The problem your having is that window in plugins is not referring to the
same thing as javascript in a page.
I used this page to guide me:
http://developer.mozilla.org/en/docs/Code_snippets:On_page_load
In that example they use doc to refer to the document. So $(body,doc)
would
Mtich,
I like to toggle checkbox states by emulating a click. This allows for any
bound events to also trigger.
$(:checkbox).click()
~Sean
Hi Matt,
You've touched on a interesting topic and everyone has their own way of
doing it.
Personally I split my code into two sections, backend and frontend, or
rather data and presentation.
With this in mind I consider javascript to be on the frontend and therefor a
designers tool.
On 8/2/07,
On 8/1/07, jayturley [EMAIL PROTECTED] wrote:
currentItem = ' form action=ajax_test.asp?mode=delete
style=display:inline;input type=image src=images/icons/
cancel.gif id=' + j.items[0].item_id + ' //form';
$('#content p').append(currentItem);
$('form action=ajax_test.asp?mode=delete')
vi
Dmitrii, the code Erik Beeson pasted works, here's another option:
$.extend({expr:{::{mod: i%m[3]==0}}}); //adds mod selector
$(tr:mod(3))
~Sean
The following code will set index.html#num=2#foo=bar to num=2; foo=bar;
(function(){
var l=window.location.hash.split('#').slice(1)
for(var i=0; il.length; i++) {
var s = l[i].split('=');
if(!s[1]) eval(window.+s[0]);
else if(/^\d*\.?\d*$/.test(s[1])) eval(window.+l[i]);
else
On 7/30/07, John Resig [EMAIL PROTECTED] wrote:
As of jQuery 1.1.3 you can now do:
$(tr:nth-child(3n))
I knew it! I couldn't remember which selector did it, but I thought I
had seen it before. Thanks John.
~Sean
Great article. Those are some wonderful plugins (including Round 1).
~Sean
Looks great Jay! Keep up the hard work.
~Sean
On 7/26/07, Mitchell Waite [EMAIL PROTECTED] wrote:
This going will make me sound really dumb but what is the difference
between
using single quote versus double quotes in jQuery, e.g.
Mitchell, the concept of single vs double quotes is more of a javascript
question.
The simple answer is that
Rob,
If I understood you correctly, then idTabs does exactly what your asking for.
http://www.sunsean.com/idTabs/
If I misunderstood, can you clarify?
~Sean
On 7/24/07, voltron [EMAIL PROTECTED] wrote:
Whoa! Just what I was looking for, can one dynamically assign content
to the tabs using Ajax? Great plugin
Sure you bet. Passing a click function can allow for many
possibilities to idTabs, including things entirely different from
tabs. I suppose
A Great Story Michael, thank you.
~Sean
Kim,
Just as general rules for speeding things up. Saving results rather than
searching multiple times will always speed things up. As I said though, it's
hard to give specific suggestions without seeing more code.
~Sean
On 7/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
function serialize(s)
{
serial = $.SortSerialize(s);
alert(serial.hash);
var hash = serial.hash;
var temp = hash.replace(new RegExp( sort1\[\]=, gi ),'');
};
Perhaps this will work:
function serialize(s) {
I have better suggestion for children than the one presented in that
article.
DOMdom way: { 'div': [ 'span', 'span' ] }
my suggestion: div (span,span)
The ( and ) are for grouping. This allows for multiple children, making text
easy:
$(body).domAppend(p (#this, b #is, #fun));
~Sean
The problem is with this line:
sound=window.open(url,'soundbumbam','height=50,width=150');
Try declaring sound at the top of the script
var sound;
~Sean
Great work guys. Looks awesome.
~Sean
I really like this idea. It could be very powerful.
~Sean
$('#myid table').find('th:first-child, td:first-child').remove();
~Sean
jQuery returns an array of DOM elements, so try this:
$('#postedText')[0].scrollTop =
~Sean
Kim, tablesort should be able to handle a table that big. Do you have a live
example?
~Sean
On 7/10/07, cfdvlpr [EMAIL PROTECTED] wrote:
That works very well. Could you also grey out the unchecked
checkboxes after 3 are checked?
$.fn.limit = function(n) {
var self = this;
this.click(function(){
(self.filter(:checked).length==n)?
On 7/10/07, Sebastián V. Würtz [EMAIL PROTECTED] wrote:
Wich is the best way to know if a element for example a div is defined?
We get this question a lot. jQuery returns the DOM in an array like fashion.
This is standard:
if($(div).length) ...
or sometimes:
var div = $(div)[0];
if(div) ...
On 7/10/07, Andy Matthews [EMAIL PROTECTED] wrote:
Why add the class disabled Sean?
In case someone wanted to change the CSS when it is disabled.
On 7/10/07, Jonathan Sharp [EMAIL PROTECTED] wrote:
You're missing your return statement in this revised version (for the
noob's: which is needed
Cool news, thanks for the info Rey.
~Sean
I'll whip up a plugin when I get a chance.
It will act and feel just like the current $.animate but use classes instead
of DOM styling.
~Sean
I like newsticker: http://www.texotela.co.uk/code/jquery/newsticker/
~Sean
On 7/9/07, weepy [EMAIL PROTECTED] wrote:
When the chess pieces appear initially, they all slide onto the board.
It's a bit jerky really - esp since its trying to move 32 x 60x60 pngs
with alpha channel.
There are lots of browser limitations with working with PNGs.
But more importantly, this
On 7/9/07, Glen Lipka [EMAIL PROTECTED] wrote:
A big question in my mind is: On a slow machine with ONE animation: Is
doing it this way smoother than not? Does CSS manipulation of a single
animation make it smoother? What is the gating factor for a slow computer?
CPU or Ram or Video card?
I believe that learning jquery returns an array like object is more
useful than creating a .exists() function.
~Sean
$.ajaxSettings.async
~Sean
On 7/9/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:
I can't find the initial branch of this thread. Could someone repeat
what exists() is supposed to do?
$.fn.exists = function() { return !!this.length; }
~Sean
On 7/9/07, cfdvlpr [EMAIL PROTECTED] wrote:
I have about 10 checkbox input elements with the same name and I'd
like to not let the user select more than 3 of them. How can I do
this with Jquery?
You can try this:
$.fn.limit = function(n) {
var self = this;
this.click(function(){ return
$('#span1').bind('click', function() { return $(this).next(span); });
or
$('#span1').bind('click', function() { return $(~ span,this); });
~Sean
On 7/9/07, Stephan Beal [EMAIL PROTECTED] wrote:
Do you happen to know if that's documented anywhere? i can find no
mention of it on the jquery site, and using the on-site search engine
returns (as usual) No page title matches.
I doubt it's documented, I just dug it our of the source (which is
A very interested greasemonkey script, thank you.
Some downsides are picking the right color theme for the right background
color.
And also, if this was a full firefox extension then you could integrate it
into the right click menu nicely.
Cheers
~Sean
On 7/8/07, Andrea Ercolino [EMAIL
On 7/6/07, Gordon [EMAIL PROTECTED] wrote:
Regarding the CSS cascade problem, would making any custom rules
jQuery creates !important help?
I initially looked into this and tried to implement it with no success.
However after rewriting the script bout 5 times, I got it!
I have updated the
1 - 100 of 225 matches
Mail list logo