They seem about the same to me as well, FF3.5.6 on Win7
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Scott Sauyet
Sent: Wednesday, January 06, 2010 1:29 PM
To: jQuery (English)
Subject: [jQuery] Re: Why mootools animations is more
Have you tested the 1.4 nightly with your code? Any issues with it?
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf
Of Bruce
Sent: Monday, January 04, 2010 1:28 PM
To: jQuery (English)
Subject: [jQuery] Re: Does anybody know when jquery
The jsPDF project, while interesting, has a long way to go. Their demo page
at
http://jspdf.googlecode.com/svn/trunk/examples/basic.htm
Worked fine in Safari for iPhone and Safari for Windows, but broke in Chrome
and Firefox 3. And no IE support at this time.
Seems a bit tricky to use a
need to send keep in mind all the data the user has insert.
I know is a strange user requirement to save every page as PDF...
I wonder if is techincally possible.
Thanks a lot.
Massimo
On 9 Nov, 18:15, Jeffrey Kretz jeffkr...@hotmail.com wrote:
The jsPDF project, while interesting, has a long
I concur. Recent stats have put IE 5.5 usage at less than 0.1 % of web traffic.
That is a tremendous minority to worry about.
From: Michel Belleville [mailto:michel.bellevi...@gmail.com]
Sent: Thursday, November 05, 2009 11:27 PM
To: jquery-en@googlegroups.com
Subject: Re: [jQuery]
I agree, although I would add one thing to that.
If you're going to PREVENT the form from submitting, bind to the form's
submit event.
If you're trying to SUBMIT the form, and which button you clicked is
important (for example, firing a .NET server-side event), then bind to the
click event
A common solution is to use the minified version and then gzip that file to
the client.
There are many gzip solutions, depending on the server you have. JSP, PHP,
ASP, etc.
The idea is that it compresses the minified file (sort of light a lightweight
ZIP or RAR) and it is downloaded in
I suppose the solution depends largely on what you're trying to accomplish,
as well as the event handlers.
If you have an object on the page that performs search-type functions, and
you need to bind events to it, you could use a class-based solution:
div class=searchgrid
... Content
/div
Put together a hashtable of colors based on the customer name.
Something like this (untested):
var hash = {};
$('#tableid tr').each(function(i){
var tr = $(this);
var customer = $.trim(tr.children('td:eq(1)').html());
var color = hash[customer];
if (!color)
{
This would be one way of doing that with jQuery:
$.ajax({
url:https://ondemand.abc.com/xyz/sessionServlet;,
success:function(results){$(#time).val(results);}
});
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Nits
Sent: Friday,
of the link on the
page...how can I do it...
On Oct 9, 3:35 pm, Jeffrey Kretz jeffkr...@hotmail.com wrote:
This would be one way of doing that with jQuery:
$.ajax({
url:https://ondemand.abc.com/xyz/sessionServlet;,
success:function(results){$(#time).val(results
It isn't necessary to define the functions inside the document.ready.
Just code which is being executed.
Example:
function Do_Something()
{
///
}
function Do_Something_Else()
{
///
}
$(document).ready(function(){
Do_Something();
});
JK
-Original Message-
From:
Are you trying to have the browser render a PDF document WITHOUT the client
having the PDF reader installed?
It seems to me you would need to rely on some sort of server-side technology
that would convert the PDF document into straight HTML or perhaps a SWF.
JK
-Original Message-
From:
My guess is its related to a problem I ran into with the Sizzle child
selectors in 1.3.x
I opened a ticket about a month ago
http://dev.jquery.com/ticket/4917
But it hasn't been reviewed yet.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com]
If both events are bound to the same object, you can use the .data method:
var obj = $('#element')
.data('info',val)
.bind('click',do_something)
.bind('blur',something_else);
function do_something(e)
{
var el = $(this);
var info = el.data('info');
...
Firstly, your original UA is probably IE7/Vista. This is a proper msie6
browser detection script:
$.browser.msie6 = $.browser.msie /MSIE
6\.0/i.test(window.navigator.userAgent) !/MSIE
7\.0/i.test(window.navigator.userAgent);
Secondly, the whole idea behind feature detection is to remove the
Correct.
Try visiting your asmx page in a browser.
http: //localhost/BoATransformation/Survey.asmx?op=GetSurvey
You will be shown the exact format needed to make your request.
JK
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Joseph Le
Untested, but you may need to use the non-greedy form of .* to make this
work:
/.*?(\d+).*/
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Ricardo
Sent: Monday, May 11, 2009 1:09 PM
To: jQuery (English)
Subject: [jQuery] Re:
You can also create a closure:
$(document).ready(function(){
$('#menulinks a').hover(function(){
var fn = function(el){
return function(){
$(el).stop().animate({
top : '40px',
paddingTop : '40px'
});
el = null;
+1.
I found Multiple IE to be inaccurate for certain types of CSS and
Javascript. I've used VPC for my compatibility testing for some time now
and swear by it.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Dhana
Sent: Monday,
If I could second this from a usability perspective.
I've used a flash-based interface that had a rotating knob. Moving that
with a mouse was counter-intuitive.
Dragging a straight slider (horizontal or vertical) just felt a lot better.
JK
-Original Message-
From:
One question, if you're referring to your elements by id, can't you just do:
$('#elmId');
Directly? Rather than by a parent/child relationship?
If the problem is that you have multiple elements on the same page with the
same id (which is NOT recommended HTML), then I suggest using a class
I solved this for my own project in this way:
1. Server-side code renders the first page of the grid, also passing a
value of total results.
2. If the total results are few enough (season to taste), fire an ajax call
that immediately loads the entire result set into memory.
3. As the user
You could put all 4 boxes inside a containing div, and apply the hover event
to that parent div.
When you move from one child div to another, it will not fire the mouseleave
event.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of
There shouldn't be an issue, so long as existingCase.records.Spin_Off__c
has a correct value.
Do your option elements have explicitly defined values? Like this:
option value=YesYes/option
option value=NoNo/option
option value=nbsp;/option
If not, try changing your markup and see if that
Well, if you are able to post a test case online, I'd be happy to step
through the code and see if I can see what's up.
If you do want to do this, an unminified copy of jquery would be preferable.
JK
-Original Message-
From: jquery-en@googlegroups.com
AFAIK, no SEO bots will ever execute javascript or read hidden
(display:none, visibility:hidden, etc.) HTML for SEO purposes.
This is as a result of some developers front loading hidden content that
was not really part of the website to fool the search engine to giving it
higher rankings.
Mike's suggestion involves creating a javascript closure.
There are a number of good articles on closues.
http://www.google.com/search?hl=enq=javascript+closuresrlz=1W1GGLL_en
But essentially, when you create a function that has a reference to a value
outside of its scope, that function is
It is unfortunately the default behavior for IE. There are different ways
you can handle this, depending on what you're trying to accomplish.
You can do a lot of stuff with regex, such as stripping out the domain,
making the path relative to the current page, etc.
What is it that you want to
Is there any reason why you aren't just hiding the tab with a display:none?
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ashish
Sent: Saturday, December 06, 2008 3:47 PM
To: jQuery (English)
Subject: [jQuery] IE 7 Issue with Tab with left:
tabs and YUI data table column sizes
go all weird with display: none
any solutions?
On Dec 6, 4:03 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
Is there any reason why you aren't just hiding the tab with a
display:none?
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL
by dragging the bottom right corner of
browser) the content in tables resize very nicely in browser window.
could not get the same without tables.
On Dec 6, 5:29 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
You could post a test case page and I could take a look at it, but if
there
is any way so do
I'm going to toss this out there, though you may not want the effort.
You could sort of roll your own animation that uses the attribute, rather
than the CSS.
It would involve a setTimeout, and use the $(el).attr('cols',val);
Again, that's a lot of plumbing to tackle, but any attribute that can
That is half correct.
Obj.method1().method2().method3()
method1 return the modified original object, not a brand-new object.
You could do this:
var obj = $('#elementid');
obj.method1();
obj.method2();
obj.method3();
And it would be the same (with the same performance) of:
I would recommend your elements having two classes. One which stays the
same, and the second one which changes.
e.g.
div class=jcalendar calendar0/div
div class=jcalendar calendar1/div
div class=jcalendar calendar2/div
div class=jcalendar calendar3/div
Then you could grab it with
You can do it this way:
var div = $('div/div')
.appendTo(document.body)
.attr('property',value)
.css({prop:val})
.bind('click',fn);
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Yansky
Sent: Wednesday, December 03, 2008 9:21 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Is there a createElement equivalent in jQuery?
Thanks, I didn't know that you could bind an event handler like that. :)
BTW, does the var div now reference the new element, or does it represent
the event handler?
Jeffrey Kretz wrote:
You
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 =
Ariel, I'm sure this isn't said enough, but I wanted to thank you for the
work you've done on the system.
I've been working overtime (like 90 hour a week) for the last 2 months on a
major project with a killer deadline, and I would be completely screwed
without the work you (and the rest of the
-
Ted
Jeffrey Kretz wrote:
I made a few changes and reposted it here:
http://test1.scorpiondesign.com/LocalTest7.htm
Changes:
menu1 through menu5 were moved underneath their respective LIs. When the
menus were NOT children of the LIs, the mouseenter mouseleave kept firing.
#nav
A CSS-compliant browser will render the title attribute -- it's probably not
the best way to store data.
You can use the jQuery.data method instead:
http://docs.jquery.com/Core/data#name
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of René
in the HTML
necessary to make this work.
On Nov 29, 11:21 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
Okay, so I stepped through the code. I'm going to hazard a guess that you
didn't want the previous element but the parent element.
$('#LHNav ul').prev() returns an H1 and an array of A elements
If I might make a suggestion.
Right-click context menus are inherently not cross-platform compatible, as
Opera will not cancel the default right click popup.
Any any Mac users without a right mouse button are screwed.
I personally suggest using CTRL-Click. This works on a Mac testing for the
Not sure what's happening on the javascript end, but CSS-wise, the FF list
has an attribute of overflow:auto and the same list has an attribute of
overflow:hidden.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Code Daemon
Sent: Sunday,
One way you could do this is have give the links in question a specific ID,
class or attribute.
For example:
div id=myLinks
a href=# id=link1link 1/a
a href=# id=link2link 2/a
a href=# id=link3link 3/a
/div
$('#myLinks a').click(doSomething);
function doSomething(e){
switch
cancel the context menu on
Opera and other browsers. And apparently on Macs the event for a Ctrl
+click carries the 'right-click' identifier (e.button = 2).
cheers,
- ricardo
On Nov 30, 4:07 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
If I might make a suggestion.
Right-click context menus
I've used something very similar to that in IE6 without any problems.
Could you post a demo page?
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flycast
Sent: Saturday, November 29, 2008 3:57 PM
To: jQuery (English)
Subject: [jQuery]
Can you post a sample url? The code below looks fine, don't see why it
would fail.
It would be easy to step through it with an IE script debugger to see what's
up.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of David Andrews
Sent:
Well, it was a bit of a pain to step through, as it was minimized jquery --
the full uncompressed version is much better for debugging.
But as I stepped through, the success method did actually fire.
The problem was that $(xml).find('file') did not return any results.
I've never used jQuery to
debugger :)
Thanks again
Dave
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffrey Kretz
Sent: 30 November 2008 03:40
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: .ajax and ie7?
Well, it was a bit of a pain to step through
] On
Behalf Of Uwe C. Schroeder
Sent: Saturday, November 29, 2008 8:04 PM
To: jquery-en@googlegroups.com
Cc: Jeffrey Kretz
Subject: [jQuery] Re: .ajax and ie7?
On Saturday 29 November 2008, Jeffrey Kretz wrote:
This may be overkill for your needs, but it is free:
http://www.microsoft.com/express/vwd
] On
Behalf Of flycast
Sent: Saturday, November 29, 2008 8:29 PM
To: jQuery (English)
Subject: [jQuery] Re: Problem with prev() in IE
Yes...
http://www.trinityacademy.org/testNavigation/
On Nov 29, 6:22 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
I've used something very similar to that in IE6 without
Same here.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Geary
Sent: Friday, November 28, 2008 2:20 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: quote standards
I've posted messages here quite a few times recommending
Not exactly.
The $(document).ready function fires when the DOM has been fully built, so
not all the images will be loaded at that time.
You could bind to the images load method as well.
function fixDimensions()
{
var img = $(this);
img.attr('width',img.width());
but not exactly what I need, therefore
I have to start tweaking them and 'often' it would take less time
doing it from scratch...
often... ;-)
On Nov 24, 12:09 am, Anyulled [EMAIL PROTECTED] wrote:
why don´t you use Jquery Cycle plugin?
On Nov 22, 10:17 pm, Jeffrey Kretz [EMAIL
for the suggestion. It didn't work though. I'm at a
loss. Is this a jQuery bug, or am I doing something wrong?
On Nov 25, 3:53 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
You could try this:
jQuery('div.clause').each(function(){
var width = 0;
var words = jQuery(this).children
If you have a sample url of your code, that would be helpful.
But at a guess, the flyout div is probably not a child of the main menu
element, so the mouseenter and mouseleave won't work properly. If this is
the case, it will require a minor change to the hover plumbing.
The z-index with flash
. The mouseenter/mouseleave
events helped, but I'm seeing some strangeness on the first menu item, and
then some flickering on the others.
http://dl.getdropbox.com/u/21984/menu_test.html
Jeffrey Kretz wrote:
If you have a sample url of your code, that would be helpful.
But at a guess, the flyout
that
whatever data I am showing on the page is updated one and latest?
Please advice.
Thanks,
Bhavin
On Nov 22, 3:29 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
I'm not 100% I understood your question, but I'll give it a shot.
I have a dynamically rendered TreeView that is showing a page hierarchy
You could try this:
jQuery('div.clause').each(function(){
var width = 0;
var words = jQuery(this).children('div.word');
for (var i=0;iwords.length;i++)
{
var word = words.eq(i);
var thiswidth = word.width();
var padding =
and 'often' it would take less time
doing it from scratch...
often... ;-)
On Nov 24, 12:09 am, Anyulled [EMAIL PROTECTED] wrote:
why don´t you use Jquery Cycle plugin?
On Nov 22, 10:17 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
I'm not an expert in the animation sytem -- you should open a ticket
Opacity would fade in the image as a whole, rather than adjusting its
brightness/contrast (which is more what gamma would adjust).
I don't know how fancy you want to get, but you could absolutely position a
div in front of the image, set for white (or black) and adjust its opacity
from 0 to some
The best way would be to use the $.ajax call directly (both the post and the
get function call $.ajax internally).
$.ajax({
type:'GET',
url:'somepath.php',
dataType:'json',
success:do_something,
error:do_something_else
});
function do_something(results) {
///
}
function
I pretty sure it won't, because click() will fire trigger(), which will use
data() to lookup the bound event of the selected element, and not find
anything.
Haven't tested this though.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
I'm not 100% I understood your question, but I'll give it a shot.
I have a dynamically rendered TreeView that is showing a page hierarchy,
parent and child.
There is an option to add/remove pages, as well as drag them around.
Because I need the id of the page and its parent, I render it in the
I watched the animation with the IE developer toolbar, and noticed a couple
of oddities.
Firstly, the CSS for the divs are set to both position:absolute and
float:left. This is not the source of the problem (I overwrite to
float:none and tried it), but float:left is unnecessary if with absolute
.
I uploaded jQuery unpacked... if you still want to have a look... ;-)
BTW, there could be something wrong with animate('left','+=50%'); but
that would mean a bug... :-|
Thanks,
Andrea
On Nov 22, 11:51 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
I watched the animation with the IE developer
://code.google.com/p/nwevents/
It's an event manager and it can fire/propagate 'fake' events.
- ricardo
On Nov 22, 7:32 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
I pretty sure it won't, because click() will fire trigger(), which will
use
data() to lookup the bound event of the selected element, and not find
I've used a pattern like this:
var table = $('table.class')
.bind('click',selectCell);
function selectCell(e)
{
var cell = e.target;
do_something();
}
var cell = table.find('td.eq(8)');
selectCell.apply(table[0],[{target:cell[0]}]);
JK
-Original Message-
From:
Personally I find debugging jQuery a snap -- even on my current project
which is in excess of 25,000 lines of js code.
I will say that I stay away from the ASP.NET ajax system completely, all of
my hooks between jQuery and .NET are my own and I have had no problems.
The original AJAX.NET
Off the top of my head (untested, sorry)
var things = $('things');
var index = 0;
things.eq(0).doStuff();
var fn = function() {
index++;
things.eq(index).doStuff();
setTimeout(fn,1000);
};
setTimeout(fn,1000);
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL
The problem you have is due to the terrible IE implementation of opacity.
IE actually uses DirectX 2D filters to render opacity, along with a whole
bevy of completely proprietary filters and transitions. See this page for
reference:
http://msdn.microsoft.com/en-us/library/ms532847(VS.85).aspx
I might be misunderstanding your question, but javascript plug-ins seldom
describe the associated server-side code, as it really depends on your
platform.
PHP, ColdFusion, PERL/CGI, Java, .NET, all will have very different
implementations of server-side solutions, along with their Database
I wish I had some specific developer's blogs/resources to give you, but I
can't think of any off the top of my head.
However, for the last couple of years, all my software development has been
C#/SQL backend with jQuery frontend, and it's been a perfect marriage as far
as I'm concerned.
If you
Here are a couple of articles on it:
http://brennan.offwhite.net/blog/2008/02/01/intellisense-for-jquery-in-visua
l-studio-2008/
http://blogs.ipona.com/james/archive/2008/02/15/JQuery-IntelliSense-in-Visua
l-Studio-2008.aspx
I think it’s a great idea --it's a zillion times friendlier than an alert
validator in ensuring properly formatted data.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Liam
Potter
Sent: Tuesday, November 11, 2008 7:16 AM
To:
Look terrific in FF, but it's seriously broken in IE7.
I get a script error on line 8007 whenever I click on the page, which seems
to prevent anything from working.
// hide all levels
hide: function() {
self = this; Right here.
setTimeout(function() {
Try
$('[class^=rate]');
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of debussy007
Sent: Tuesday, November 11, 2008 3:15 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] get the class that starts with ...
Hi,
How is it possible to get
Is there a problem with using the eval function?
I'm curious why you would need an alternative that would add overhead.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Monday, November 10, 2008 9:05 AM
To: jQuery (English)
I just answered my own question. Are you trying to parse JSON provided from
another source? I.e. not one of your own server pages?
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Monday, November 10, 2008 9:05 AM
To:
Well I never been to England
But I kinda like the Beatles
Well I headed for Las Vegas
Only made it out to Needles
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of weepy
Sent: Saturday, November 08, 2008 8:45 AM
To: jQuery (English)
Subject:
(English)
Subject: [jQuery] Re: Scrolling inside a div with mousemove
Ah ok,
So does that mean I need to calctulate how far up or down it can
scroll?
On Nov 7, 7:34 am, Jeffrey Kretz [EMAIL PROTECTED] wrote:
Ah,
This part of the code:
// Use the e.clientX and e.clientY vs this.tempPosition
It's actually workable to use Flash as a basis for the sound. It's easier
with ActionScript 3.0, but it can still be done in earlier versions. You
have to bind a flash method to an external interface (look up
ExternalInterface in the docs).
Then you can find the object by ID, and call the
Mostly like your last question just got overlooked, as it came in at 4:30am.
;-)
There are two types of progress bar indicators you can use.
The first is a fake one, with an animated picture that doesn't really mean
anything. However, when you post the page most browsers will pause gif
getting an error that says setTop is not defined
Any idea why this is?
On Nov 6, 1:15 am, Jeffrey Kretz [EMAIL PROTECTED] wrote:
Well, you could do something like this (completely untested, sorry).
The hover events bind and unbind the mousemove to prevent resource drain.
$('#thisdiv').hover
Richard is exactly correct IMO.
The separation of HTML and Javascript allows you do write more general
javascript in attached scripts that can be applied to any page.
$('img.ihover').hover( /* Do stuff */ );
Any pages with image class=ihover will get the hover function.
Nothing will happen on
Cool,
Glad you got it sorted out.
JK
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kenneth Downs
Sent: Wednesday, November 05, 2008 5:06 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Trying to grasp basics of scrolling a TBODY
Jeffrey Kretz wrote
:20 am, Jeffrey Kretz [EMAIL PROTECTED] wrote:
OUCH.
With over 25,000 lines of javascript code (full featured CMS) that's a
nightmare to track down.
Am I out of luck? Are there no other alternative tools like sIEve that
are
still in development?
Hi,
there is another tool by microsoft, you
Heh. I like that -- the Code Jihad.
I agree 100% about failing silently being a BAD THING(tm).
However, our disagreement involves what constitutes a fail.
The only thing we've been trying to say is, an empty result set is only a
fail under certain circumstances.
To define an empty result set
Your second documentos array (the empty one), has a comma after it, which
is not followed by another property.
When I tried to eval your original json, I got an error.
After removing that comma, it eval'ed correctly.
Hope this helps.
JK
-Original Message-
From:
Well, you could do something like this (completely untested, sorry).
The hover events bind and unbind the mousemove to prevent resource drain.
$('#thisdiv').hover(startScroll,stopScroll);
function startScroll(e)
{
var div = $(this).bind('mousemove',scrollThis);
var o = div.offset();
That's pretty interesting -- I never thought of that.
So I imagine an $.ajax({url:'somefile.dat',type:'HEAD',error:do_something})
would be enough to check for a 404.
Nifty.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl
Rudd
Sent:
Try something like this:
div.toolbox{
position:absolute;
top:0px;
right:0px;
width:220px;
height:99%;
border-left:solid 1px #00;
overflow:hidden
overflow-x:hidden;
overflow-y:hidden;
}
Monitor the resize event.
window.lastWidth =
My guess is it's an absolutely positioned element, which won't respond well
to auto margins.
If this is the case, one option would be to measure the width of the window
at the time of drop-down, calculate and set the css left appropriately.
If it is a static/relatively positioned element, and
flagging it as a potential issue.
On Nov 4, 10:25 am, Jeffrey Kretz [EMAIL PROTECTED] wrote:
This is a bit confusing. Is IE7 running that block of code, even though
its
earmarked for Opera?
Like is the browser detection is failing?
Or is IE7 failing when that code is there even though it never
I figured I'd bring this up again - I'm really hoping someone here has some
advice for me on this.
Buehler?
JK
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffrey Kretz
Sent: Friday, October 31, 2008 4:56 PM
To: jquery-en@googlegroups.com
Subject: [jQuery
own leaks by running suspect functions 1,000s of times.
--matt
On Nov 3, 3:38 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
I figured I'd bring this up again - I'm really hoping someone here has
some
advice for me on this.
Buehler?
JK
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED
This is a bit confusing. Is IE7 running that block of code, even though its
earmarked for Opera?
Like is the browser detection is failing?
Or is IE7 failing when that code is there even though it never runs it?
Meaning, the bug went away when you commented out code that is never
reached?
JK
Ken,
Do you have a test case page online somewhere I could take a look at?
I've successfully implemented a scrollTo-type function using offsets and
rows, and if I can see the page you're working with I might be able to
suggest something.
JK
From: jquery-en@googlegroups.com
*bump*
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffrey Kretz
Sent: Friday, October 31, 2008 4:56 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Advice on sIEve/Drip
While debugging my application (which makes heavy use of jQuery), after
several hours IE
1 - 100 of 249 matches
Mail list logo