Machin Pouet wrote:
Hello all,
I'd like to know if you have a way to disable the long-running script
dialog boxes, as one can see many in this article :
http://www.nczonline.net/blog/2009/01/05/what-determines-that-a-script-is-long-running/
I can hardly "split my processing into smaller chunk
On the site I am almost finished developing at
http://www.murphytx-online.com/murphy/eating-out-american.php I am
using the "Smart Banner" jQuery script from
http://www.webresourcesdepot.com/smart-floating-banners/
This script keeps the content of the two sidebars always visible as
the visitor sc
PNG graphics with alpha channels are not an exotic luxury. For a
broad spectrum of site design approaches - basically anything
involving interesting backgrounds or varying page components over
which dynamic content may be rendered - not having PNG support means
scrapping the design or going to an
On Sep 22, 1:30 am, Mike McNally wrote:
> Advice to "never" use browser detection is good advice, but in my
> experience it's simply impossible to follow. The bad behaviors of old
> IE browsers - behaviors that are, in effect, bugs, and therefore not
> "features" that obey any particular logic
2009/9/21 Giovanni Battista Lenoci :
>
> Cecil Westerhof ha scritto:
>>
>> 2009/9/21 Cecil Westerhof :
>>
>>>
>>> - a way to automatically notify people that they should enable JavaScript
>>>
>>
>> The way that I did this was that start the body with:
>>
>> For best results JavaScript must be e
2009/9/21 Liam Potter :
> You'd be better off just removing the div entirely.
>
> $(document).ready(function()
> $("#needJavaScript").remove();
> );
That was what I did first. I wanted to be to smart I am afraid. But
the noscript suggestion of Giovanni is even better.
--
Cecil Westerhof
2009/9/21 Cecil Westerhof :
> - Increase/Decrease text (has a little problem in Firefox)
False alarm. Is a problem of that particulair Firefox. Other Firefox
does not have the problem. Is a bit strange.
The problem was even bigger with MIE8, but maybe that is also only
that instance. Need to test
Thanks, it works. Is there a reason why the object notation I used
doesn't work?
I have a "How did you hear about us?" with a series of checkboxes that is
working great, however there is an option for "Other", where they can fill
out their answer.
I want to modify the script so if the checkbox for Other is selected, they
are required to fill in the input box.
I have this wo
Ok thanks MorningZ. I've taken a different approach. I'm just binding
the onClick logic to the button within the .ready() block.
Thanks again for all the help!
Cheers
Matthew
On Sep 22, 10:39 am, MorningZ wrote:
> Mike's suggestion indeed is the rest of it... i was just trying to
> get you pa
Mike's suggestion indeed is the rest of it... i was just trying to
get you past the fact that until $(document).ready fires, you can't do
anything with code inside there yet
On Sep 21, 8:28 pm, Matthew wrote:
> @MonringZ: I just tried the brilliant testing website! I just wanted
> to double che
@MonringZ: I just tried the brilliant testing website! I just wanted
to double check; so because Action1() is wrapped inside the ready()
function it esentially is processed as the page loads and then
basically disappears/become unavailable. I took your example further
and added a button with an on
Hi guys
Thanks for the great feedback. MorningZ was right on the money with my
scenario. I'm incorporating a js file of a photo gallery which was
built by some else and all the code is wrapped in the $(document).ready
() function.
So it looks like you all seem to agree that all the methods insid
hi!
please write here you code.
Thanks.
--
From: "Matthew"
Sent: Monday, September 21, 2009 8:11 PM
To: "jQuery (English)"
Subject: [jQuery] Accessing functions inside $(document).ready()
Hi all
I've got a js file where all the functions are
Well "Action1" is a local function to that jQuery "ready" function, so
it's *never* going to be available as a global function.
A couple of options:
1) Turn your wannabe-global functions into jQuery plugins
2) Explicitly add your functions to the window object
window['Action1'] = function
Do you have like this:
External js file "code.js":
$(document).ready(function() {
function Action1() {
// do stuff
}
});
Html file "index.htm":
... some html here ...
Action1()
... some html here ...
if so, then
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: jquery-en@go
Hi all
I've got a js file where all the functions are wrapped inside $
(document).ready(). I want to call one of the function from within the
HTML but it says that the function "is not defined". Any ideas?
Cheers
Matthew
First off, there is a dedicated jQuery UI mailing list (http://
groups.google.com/group/jquery-ui?hl=en&lnk=), the guys who do the
code all post/help in there
Second, you may want to show the wiring up of the sort functionality,
something may be incorrect with it
On Sep 21, 3:05 pm, Logan Bailey
You'll find people will debate either way, and to be honest, you
aren't going to find a definitive answer
Do what works for you
On Sep 21, 4:59 pm, Theodoro wrote:
> one doubts that where ever I put my js code inside the block or
> out ... Does anybody know any good tutorial explanatory l
I am having the following issue, when I try using an image to post I
cannot get the validation to run. When I click the button the form
submits and nothing is checked. I've been searching all over the web
and cant find any help. One way of coding doesnt work and the other
does. I have included
I'm using the sort UI nested, so you have
Stuff 1
Stuff 2
Stuff 3
Stuff a
Stuff b
Stuff c
In ff, it allows me the ability to sort list1 vs list2 as well as the
contents from list 1 within itself and with in list 2. Only IE, when
i try to drag and drop the cont
I'm working on implementing a menu and need to have information when
the menu size is larger than the width of the window. The problem is
that pas a certain point, jQuery("body").width() keeps registering
497, despite being much smaller than that. Has anyone had this issue
Hi there,
I am building a simple show/hide list with the help of jquery. It
works great on IE and Firefox but in Chrome and Safari the closing
menuitems shift the whole menu to the left for a second and then back
to its origin. I have about 20 menüitems that each hold about 5
submenü items. The g
one doubts that where ever I put my js code inside the block or
out ... Does anybody know any good tutorial explanatory label it?
got it.
FYI the issue is related to a inner-table
On Sep 20, 5:27 pm, macsig wrote:
> Hello guys,
> I have hard time to use tablesorter 2.0 with a javascript div update.
> I have tried it in several ways (using default Rails rjs file or all
> jquery call) but the result is the same: I get pars
Guessing by his usage of a and a ".load()" call, his intent most
definitely is not to call a separate browser window
Back to the original code, what kind of object is ".Id_Field" ? seems
like it's a hyperlink since you are "return false"-ing at the end, but
if that's the case then ".va()" isn't
how about some different object notation?
$.getJSON(
"http://domain.com/data";,
function (data) {
var state = {
select: $("#id_state"),
div: $("div_id_state"),
children: $("#id_region,#id_destination")
}
Thanks,
it stops the animation but now there is an other issue.
Is there a way to keep the same speed for the scrolling? I mean if I
set the duration up and down and I go down just, let us say, for 1/3
of the div when I scroll back up the animation is 3 times slower since
the duration is hardcoded
I'd use a filter function. Something like this maybe:
$('#MyTable tr').filter(function() {
return /^(Row(?!Header)|Line(?!Empty))/.test(this.id);
})
It's a kind of crazy regular expression, with negative lookaheads, but
it works (as of JavaScript 1.5).
--Karl
Karl Swedberg
ww
If by "popup page" you mean "separate browser window", then it's
somewhat easier. You can have your server-side code return a complete
HTML page instead of just a fragment, and then use "window.open()" to
load that URL.
On Mon, Sep 21, 2009 at 1:29 PM, evanbu...@gmail.com
wrote:
>
> My function
My function loads content from an external page
(field.details.preview.aspx) and loads it into a div named container.
I would like to load this external content into a popup page instead.
I'm not sure how to tackle this. Thanks
$(document).ready(function()
{ $(".Id_Field").click(funct
How did you manage to get it in dialog. Im using Jquery UI 1.7.2
dialog for me the auto suggest layer displays behind the modal dialog
overlay. Please let me know how to acheive it?
On Sep 8, 1:11 pm, Kevin wrote:
> Hello,
>
> When I usejquery.autocomplete.js on a field that lives inside
> ajqu
Another example, since I've just had to deal with it: try and use
"fadeIn()" and "fadeOut()" sometime when there's a transparent PNG
somewhere in the affected content. There's no
"fadedPngImagesLookTerrible()" predicate I can use. How do I decide
what to do? Should I just back off from what I th
> I am playing with malsup's corners and I am getting strange nudges on
> both top corners in Opera, IE6 and Konquerer when applied to nested
> elements (to achieve a cornered border). I am using exactly the same
> code as on the demo page: "$(this).corner("round 8px").parent().css
> ('padding', '
> I can hardly "split my processing into smaller chunks"
I'm sure that's not true. If your script is running so long that it
causes the warning dialog to display then you must refactor it.
Dear all,
I am playing with malsup's corners and I am getting strange nudges on
both top corners in Opera, IE6 and Konquerer when applied to nested
elements (to achieve a cornered border). I am using exactly the same
code as on the demo page: "$(this).corner("round 8px").parent().css
('padding',
So I discovered how to use the gt() function today :]
It helped, as did this script (http://stackoverflow.com/questions/
1021306/using-jquery-to-limit-the-number-of-list-elements)
Thanks,
On Sep 21, 10:15 am, ldexterldesign wrote:
> Easy guys,
>
> I've cobbled this script together to help me i
Cheers man. And the browser detection..?
Thanks,
On Sep 21, 5:14 pm, Liam Potter wrote:
> use noscript and conditional comments.
>
> ldexterldesign wrote:
> > // This site works best with JavaScript enabled and not using Internet
> > Explorer. Take your pick of the others instead: Firefox, Goog
use noscript and conditional comments.
ldexterldesign wrote:
// This site works best with JavaScript enabled and not using Internet
Explorer. Take your pick of the others instead: Firefox, Google
Chrome, Safari, Opera...
Anyone? :P
Thanks,
// This site works best with JavaScript enabled and not using Internet
Explorer. Take your pick of the others instead: Firefox, Google
Chrome, Safari, Opera...
Anyone? :P
Thanks,
Hello all,
I'd like to know if you have a way to disable the long-running script dialog
boxes, as one can see many in this article :
http://www.nczonline.net/blog/2009/01/05/what-determines-that-a-script-is-long-running/
I can hardly "split my processing into smaller chunks", and cannot ask
clien
Hi, Scott
I have just accessed the link you provided in your mail. It is fairly
interesting.
In fact, there is an collection about form validation in below site.
http://www.donotyet.com/2009/09/20/the-ultimate-collection-of-ajax-form-validation-plugins-controls/
may it give you some hints?
2009/
I suppose I could do that. thanks...
On Sep 21, 3:31 pm, Liam Potter wrote:
> why not restyle the strong tag?
>
> Asa Carter wrote:
> > How do I use the highlight function in the auto complete plugin?
>
> > I wish to replace with
>
> > Thanks
>
> > Asa
I am jquery beginer,
I write my project using STRUTS 2 and Jquery
I'd like to know how can I add a ToolTip to some existing controller
such as Date Picker, stright forward.
if it looks like the below(jsp page):
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sj" uri="/struts-jq
Hi, Toaster
some examples in the below link may help you.
http://www.donotyet.com/2009/09/06/ajax-search-save-time-save-money/
On Sep 21, 1:00 am, Toaster wrote:
> Hello
>
> I was thinking of having my search result filters affect data
> automatically without reloading the page. What would be
Hi, Asa
If the link below may help you, it is my pleasure.
http://www.donotyet.com/2009/08/30/3-examples-of-facebook-like-autosuggestion/
2009/9/21 Asa Carter
>
> How do I use the highlight function in the auto complete plugin?
>
> I wish to replace with
>
> Thanks
>
> Asa
>
Hi,
We are using autocomplete plugin with Jquery
1.3 and Jquery UI 1.7.2. When the plugin is used with Jquery UI Modal
dialog we are getting auto suggest layer behind the modal layer. We
feel itz due to z-index of dialog. Please let us know if there any way
fix this issue.
Hi folks
I'm just starting out with jQuery. I want to make a simple 'ul'
dropdown menu to improve my understanding. The basic flow is this:
'ul.menu li ul' has display:none >> on hover of li, get & store height
of 'this' hidden ul >> set height of 'this' ul to 0 >> set display to
block >> animat
Advice to "never" use browser detection is good advice, but in my
experience it's simply impossible to follow. The bad behaviors of old
IE browsers - behaviors that are, in effect, bugs, and therefore not
"features" that obey any particular logic - are numerous and
pervasive. Facile advice like "
Thank you for offering insight into this issue. Unfortunately, after
searching for this snippet of code 'document.onselectstart = function
() {return false;}'
I was not able to find anything. It does look like the .js file
culprit is named: jquery.ui.all.js
In it there is this: (I have tried dele
How about switching to POST instead of GET ? That would take care of
any issue
On Sep 21, 6:39 am, Rafal Zarajczyk wrote:
> Hi
> Internet Explorer (in particular IE6) has some limit on maximum URL
> length. This is very hard to debugging if you don't know what to
> search for. Maybe jQuery coul
2009/9/21 RobG :
>
> On Sep 18, 1:32 am, ldexterldesign wrote:
>
>> A
>> friend of mine just recommend:http://www.quirksmode.org/js/detect.html
>
> Don't use it. Don't even consider detecting specific browsers for
> javascript quirks. For HTML or CSS hacks, go to relevant forums. Often
> the best
I believe I found an accessibility issue with superfish. I have the
"sf-
menu" ul as the child of another list item. After tabbing through the
entire sf-menu, it disappears. How might I fix this?
This is happening in both IE and firefox.
It is nested as follows.
ul -> li -> ul sf-menu
Just read that topic. Very nice effect, and nice && helpful code
improvements! You guys are great.
On Sep 21, 2:18 am, Karl Swedberg wrote:
> Sure.
>
> // find all "a" elements within $navigation (which is a variable for $
> ('#navigation')
> $navigation.find('a')
> // bind two events to those l
Hello macsig!
I haven't really had time to look into your problem, but after a quick
look through the documentation i found this
http://docs.jquery.com/Effects/stop#clearQueuegotoEnd
Perhaps that could work for you? I imagine something along the lines
of :
$('#down_button').mouseover(function()
let's say you have "World" in data, you have to do this:
$("div").find("p").html($("div").find("p").html() + data);
so your html would look like:
HelloWorld
On Mon, Sep 21, 2009 at 11:49 AM, Frederik wrote:
>
> Anyone has any idea ?
>
> I have tried this way.
> $("Hello").find("p").appendTo(
why not restyle the strong tag?
Asa Carter wrote:
How do I use the highlight function in the auto complete plugin?
I wish to replace with
Thanks
Asa
Anyone has any idea ?
I have tried this way.
$("Hello").find("p").appendTo("#content"); //
works... it append Hello
I have tried it with all the content of data parameter
$(data).appendTo("#content"); //works - add all the DOM received in
Data
The problem is when I try to extract a part of da
Cecil Westerhof ha scritto:
2009/9/21 Cecil Westerhof :
- a way to automatically notify people that they should enable JavaScript
The way that I did this was that start the body with:
For best results JavaScript must be enabled!!!
There's the noscript tag for this, with you
Thank you MorningZ,
I seem to have managed to solve the problem, but I'd like to know
whether in Attribute Filters I could use more tha once the same
operator.
For exemple: to have two or more times the operator ^= to select
certain elements that iniciate with different IDs.
Perhaps that is poss
on 9/21/09 4:27 AM, dudal at jes...@dudal.com wrote:
>
> Hi again
>
> I have put up a minified version of the script:
> http://www.dudal.com/jquery/jquery.jcarousellite.pauseOnHover.min.js
>
> The minifyer choked on a css "float" attribute in the original script.
> Seems that the minified vers
I don't see talk in the docs
http://docs.jquery.com/Selectors/attributeStartsWith#attributevalue
about using multiple of those in a single selector you may want to
seek a different approach i'd try to help but your selector
doesn't make much sense
On Sep 21, 8:46 am, Erich Nascimento
As stated in your documentation, it's possible to iniciate the
selector with more than one filter of "^=" kind. But when I try to use
that feature it doesn's seem to work. Should it work that way? May I
actually use two or more filters of that kind (^=) in the same
expression?
var procsGrid = $("
>
> Often the best solution is to simply avoid troublesome features.
I think this article explains the concept well
http://www.alistapart.com/articles/testdriven
as simple as possible but not simpler
30,000 registered at TNL.net
that would be an awful lot to check; which is why checking is the
How do I use the highlight function in the auto complete plugin?
I wish to replace with
Thanks
Asa
You'd be better off just removing the div entirely.
$(document).ready(function()
$("#needJavaScript").remove();
);
Cecil Westerhof wrote:
2009/9/21 Cecil Westerhof :
- a way to automatically notify people that they should enable JavaScript
The way that I did this was that
2009/9/21 Cecil Westerhof :
> - a way to automatically notify people that they should enable JavaScript
The way that I did this was that start the body with:
For best results JavaScript must be enabled!!!
And in the $(document).ready(function() I had:
$("#needJavaScript").text($('title
Hi again
I have put up a minified version of the script:
http://www.dudal.com/jquery/jquery.jcarousellite.pauseOnHover.min.js
The minifyer choked on a css "float" attribute in the original script.
Seems that the minified version is working fine after quoting "float".
Best
Jesper
On 19 Sep.,
Hi
Internet Explorer (in particular IE6) has some limit on maximum URL
length. This is very hard to debugging if you don't know what to
search for. Maybe jQuery could throw some self-explaining exception
when URL is too long?
Regards,
Are there any issues with IE preserving these values? Part of the
reason for my question is that I read somewhere (annoyingly, I can't
remember where, otherwise I would go back and double-check it) that IE
doesn't handle retaining these things well.
So would something like this be the way to go
At http://www.decebal.nl/testing.html I have some functionalities I
made with jQuery. Nothing world shocking, but maybe usefull for
others.
- a way to automatically notify people that they should enable JavaScript
- Table of content (with 'Go back to top')
- Increase/Decrease text (has a little pr
hi...
I don't know whether jqgrid provides this or not?
but what my actual requirement is "I want to display format of date
like 'MM/DD/' behind my birthdate's textbox, so user will enter
proper date while he insert/update particular record from jqgrid.."
In short how to display format text
Easy guys,
I've cobbled this script together to help me implement 'read more...'
links on this site I'm developing: http://www.blowcreative.co.uk/blog/
It does the job, but I lose all the mark-up in the process :[ It
doesn't cater for a bunch of tags like , , etc. slice()
ain't being too kind t
hello everyone.
i have a problem. i wanna add left and right buttons but i couldn't i
have tried long time so really i need.
i am looking for like this for example:
Prev
or
i wanna put like this buttons. please help me.
I too am trying to get this to work. I'm using live() instead of bind
(). Unfortunately, the problem is the content that is supposed to
load via ajax never makes it to the modal. Any suggestions?
On Sep 2, 4:57 am, Liam Potter wrote:
> Use live instead of bind
>
> $("#jqmodalbind").live("clic
Hi,
I tried to make an AJAX call using jQuery, the data has special
characters, e.g "{'data':'test'}". It seems failed to pass this
data in the first place. It will work if i just pass
"{'data':'test'}". encodeURIComponent and JSON.stringify failed here
due to the special character "< > /".
Coul
77 matches
Mail list logo