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
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
i like MorningZ's answer haha~~~
i think by convention, people put it in the head. but there's
performance problem with IE, i do not know if other browsers have
similar issue, that is IE can d/l one JS file at a time. The
consequence is that is you have many JS file, or a big one, it would
take
Hi...
I'm trying to write object-oriented style javascript as follows:
-
function HtmlFormUtil(formId){
this.formId=formId;
this.dirtyInputs=new Array();
}
HtmlFormUtil.prototype.trackForChanges=function(){
$(:input,#+this.formId).change(function(){
I'm having issues with using slideUp/slideDown on lists; when list
items reappear, their bullets are missing, both in Safari and Firefox.
See example at:
http://www.mnot.net/test/slide-list.html
Is this a known issue?
Thanks,
--
Mark Nottingham http://www.mnot.net/
hi guys
i had used jQuery autocomplete in a textarea
i want the suggest results show in where i'm typing, not outside the
textarea.
i checked jQuery autocomplete source code, finding in line 722 is the
core code.
show: function() {
var offset = $(input).offset();
element.css({
Hi,
How do I pass a variable as a key in a key/value pair in Ajax?
For example, this does NOT work:
function DoAjaxCall(columnname, value) {
$.post(_callerquery, {
columnname: value
}, function(data, textStatus) {
alert(data+ ' '+ textStatus);
},
Hi!
I'm having some troubles with the jCarousel by Jan Sorgalla. I'm
loading the carousel dynamically and the images display. But I'm
unable to make them scroll. There are no errors according to Firefox.
The code I'm using is a replica of the one used for the vertical
scroller with minor
hello i need your help
..i have this code
..servlet
protected void doPost(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, IOException {
// TODO Auto-generated method stub
ArrayList serviceUnit = new ArrayList();
hi guys
i had used jQuery autocomplete in a textarea
i want the suggest results show in where i'm typing, not outside the
textarea.
i checked jQuery autocomplete source code, finding in line 722 is the
core code.
show: function() {
var offset = $(input).offset();
element.css({
$.browser
On Sep 21, 5:38 pm, ldexterldesign m...@ldexterldesign.co.uk wrote:
Cheers man. And the browser detection..?
Thanks,
On Sep 21, 5:14 pm, Liam Potter radioactiv...@gmail.com wrote:
use noscript and conditional comments.
ldexterldesign wrote:
// This site works best with
I just ran this:
script type=text/javascript
!--
$('body').css('width','100px');
$('body').append('br /'+$('body').width());
--
/script
and it yielded the correct result in firefox 3.5.3
On Sep 21, 8:03 pm, indigo0086 indigo0...@gmail.com wrote:
I'm working on implementing a
I am sure I am overlooking something simple, but can't seem to find
the needle in the haystack.
I am parsing an XML file and extract 2 parameters
These are put in a sortable table as I did for some many other tables
now.
Sorting on names works like expected.(first column)
sorting on numbers
How do I pass a variable as a key in a key/value pair in Ajax?
For example, this does NOT work:
function DoAjaxCall(columnname, value) {
$.post(_callerquery, {
columnname: value
}, function(data, textStatus) {
alert(data+ ' '+ textStatus);
On Sep 22, 8:17 pm, Alex Wibowo alexwib...@gmail.com wrote:
Hi...
I'm trying to write object-oriented style javascript as follows:
-
function HtmlFormUtil(formId){
this.formId=formId;
this.dirtyInputs=new Array();}
On Sep 22, 9:04 pm, RobG robg...@gmail.com wrote:
[...]
e.g. something like
function addOne() {
numChanged++;
}
var numChanged = 0;
var inputs = document.getElementsByTagName('input');
var i = inputs.length;
while (i--) {
inputs[i].onchange = numChanged;
Ooops:
Hi,
Bit of a newb to jquery.
I have got a jquery slider effect nestled in some tabs. Each tab has
one slider in it.
When the page initially loads it loads the effect in the first tab
only. On clicking the second tab the function isn't called and remains
displayed without the effect.
The
Hey
I just released a plugin that allows multidimensional animation for
jQuery. This is useful for Bezier Curvers among other things.
Article is here
http://blog.parkerfox.co.uk/2009/09/22/bezier-curves-and-arcs-in-jquery/
Demo is here
http://weepy.github.com/jquery.path/
Code is actually
Hi,
I'm using Jquery client side validation to validate my controls on the
form. I want to throw validations only for controls visible on the
page, right now, it is throwing validation errors for non-visible
controls on the page. How do i fix this problem? Thanks.
Vardhini.
I have a login form
Only in Js it works fine, but I have more checks that I am doing in my
PHP file...
How di I raiz error according to ajax responce code?
var v = jQuery(#login_frm).validate({
submitHandler: function(form) {
Hi Mike:
Finally I changed the calls to asynchronous.
It looks good now.
Thanks for your help.
On 16 sep, 10:16, nomen gaston...@gmail.com wrote:
Hi Mike:
Thank you for your answer.
I have understand what do you mean between lock the browser and
block th UI.
To test it I
Does nobody have an idea what is causing this?
On Sep 21, 9:39 pm, Merlin ngro...@fastmail.fm wrote:
Hi there,
I am building a simple show/hide list with the help of jquery. It
works great on IE and Firefox but inChromeand Safari the closing
menuitems shift the whole menu to the left for
It looks like Tablesorter is treating it as an alpha instead of a
digit field. Try telling it the field is numeric in the th tag of
that column: th class={sorter: 'digit'}.
Hope this helps,
Nicholai
the validation error message isn't removed/hidden after i fix an
invalid input. If I make the input invalid again another error
message is appended below the first error message.
error messages are added/removed appropriately on all other pages.
this problem is only occurring on one page.
I want to take advantage of jQuery's cross-browser Event object, but
via an onclick event handler. For example:
a href=# onclick=showTextNearThisLink(convertToJQueryEvent(event),
'foobarbaz');show details/a
Is something like this possible?
I may be thinking about the problem wrong. I
Hi, I have two tables in my page.
One, static, works perfectly with tablesorter and its pager plugin.
The other is filled through Ajax calls. I'm using the trigger
(update) method, as described in the tablesorter docs, but the pager
just does not work.
Does anyone know what it can possibly be?
Tracked it down to the rules area, there was an unclosed }.
On Sep 21, 4:47 pm, Dakuwan daku...@gmail.com wrote:
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
or this
a href=# rel=foobarbazshow details/a
$(a).click(function(){
var rel = $(this).attr('rel');
}
now you have passed foobarbaz to jquery.
WalterGR wrote:
I want to take advantage of jQuery's cross-browser Event object, but
via an onclick event handler. For example:
a href=#
ah, sweet... thank you!
Bart
On Sep 22, 12:57 pm, Mike Alsup mal...@gmail.com wrote:
How do I pass a variable as a key in a key/value pair in Ajax?
For example, this does NOT work:
function DoAjaxCall(columnname, value) {
$.post(_callerquery, {
columnname: value
Hello:
I wrote a simple script based on jquery to load images onscroll
event. It is very easy.
http://code.google.com/p/jquery-images-ondemand/
enjoy
Wow, that looks great!
Bart
On Sep 22, 2:05 pm, weepy jonah...@gmail.com wrote:
Hey
I just released a plugin that allows multidimensional animation for
jQuery. This is useful for Bezier Curvers among other things.
Article is here
that's rather nice :)
On Sep 22, 1:05 pm, weepy jonah...@gmail.com wrote:
Hey
I just released a plugin that allows multidimensional animation for
jQuery. This is useful for Bezier Curvers among other things.
Article is here
Vardhini,
Please post your code.
Krishna
~~~
On Tue, Sep 22, 2009 at 9:18 PM, Vardhini vardhini...@gmail.com wrote:
Hi,
I'm using Jquery client side validation to validate my controls on the
form. I want to throw validations only for
Thanks for your reply Rodrigo.
On Sep 21, 10:57 am, Rodrigo Sebastián Alfonso
rodrigo.s.alfo...@gmail.com wrote:
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:
divpHelloWorld/p/div
On Mon, Sep 21,
Maybe because 'rel=external' doesn't have any meaning or functionality ?
The proper syntax with functionality would be a target=_blank
href=http://www.google.com;google/a but that's just HTML; it has
nothing to do with jQuery
Liam
Lord Gustavo Miguel Angel wrote:
Hi,
Why this code not
$(document).ready(function(){
$(a rel='external').attr(target,_blank);
});
Except that target=_blank is deprecated in xhtml 1.1, so to make sure
you're markup validates, you need to use javascript to make links open
in a new window/tab.
One way to do it is like this.
$(a[rel='external']).click(function(){
this.target = _blank;
});
Liam Byrne
$(document).ready(function(){
$(a [rel='external]').attr(target,_blank);
});
Sorry
HI,
I broke the problem down into the fact that somehow jQuery is not able
to handle show/hide of Lists inside a talbe correctly with Safari/
Chrome.
Using fadeIn and fadeOut works though, but I really would like to use
show/hide as the effect is much nicer.
Here is an example code that
Hi all,
I had encounter a situation in which 'live' seems to be not working in
ie but nworking fine in ff.
$('a.start').mousedown(function(){
{some code}
});
this code is written in js file.
in another js file ,
$('a.start').live('mousedown', function(){
{some code}
});
is
Now why would target=_blank be deprecated without a suitable HTML
substitute, requiring coders to have to resort to js for the functionality?
Odd...
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Liam Potter
Sent: Tuesday,
Hi guys, been playing around with something for a bit this afternoon
but i can't find a programatically 'nice' way of achieving the effect
i'm after.
I have a bunch of elements assigned a class that don't necessarily
have anything in common beyond the class. I want to fadeto them in
randomly but
I have no idea, I think it was a stupid choice, I believe the reason
behind it was that people should be able to choose how to open a link,
and forcing a new window removes this choice, and confuses the user,
because the back button stops working.
I prefer external sites to open in a new
I'd count how many elements have the class, and also add an id to each
one, incrementing with each count.
Then I would write a function, passing it a randomly generated number
(within range of the element count) which would fade in the given id,
with a known animation time.
I would then
the handling of lists may be slightly buggy - i had a similar sounding
problem in IE with the fade/slide functions breaking margin-top.
worked fine in everything else but it seemed to be caused in IE by
moving the mouse off the element that triggered the animation before
it completed.
thank you for the reply.
I finally solved it by using slideToggle followd by hide.
regards, merlin
On Sep 22, 4:56 pm, ryan.j ryan.joyce...@googlemail.com wrote:
the handling of lists may be slightly buggy - i had a similar sounding
problem in IE with the fade/slide functions breaking
cheers for that liam,
i'd thought about assigning incremental ids on the fly since i'm
already using the element's id to select them in the slab'o'crap being
eval'd, but afaik xhtml elements can only have one attrib type ID
can't they? since it's just a fluffy graphical thing i don't really
want
Sorry to say it did not solve my issue
please have a look @ http://www.prodigiumguild.com/xml/guildomatic.php
for the result of the script. (and tick my fingers where i have been
screwing up)
/Fons
On Sep 22, 3:30 pm, narayanis nicholai.bur...@gmail.com wrote:
It looks like Tablesorter is
ahh, didn't know you had id's already assigned, you could use the data
method to store it in the dom rather then in the id?
ryan.j wrote:
cheers for that liam,
i'd thought about assigning incremental ids on the fly since i'm
already using the element's id to select them in the slab'o'crap
Can anyone suggest to me a good jquery pop up window script.
Thanks.
Erik
Depends what you need one for.
Erik R. Peterson wrote:
Can anyone suggest to me a good jquery pop up window script.
Thanks.
Erik
hei list!
I was wondering if the i18n table is still state of the art for about 30 000
entrys (cities) in a model (=180 000 entrys in i18n).
Or is there a better solution like using a table prefix for different
languages (de_cities, en_cities,)?
thankYouVeryMuch
chris!
hi there i here is a work arround i made up for the live event with an AJAX
call
basically i made an ajax call and injecting HTML into a div - a live() click
event was not executing only on IE7 for some odd reason
so i included my click event within the success : function of that AJAX
call at it
Check out this example:
http://www.coldfusionjedi.com/index.cfm/2009/2/16/jQuery-Form-Validation-with-Selects
On Sep 22, 9:35 am, ripcurlksm kevin.mccorm...@cox.net wrote:
I have a How did you hear about us? with a series of checkboxes that
is working great, however there is an option for
Hi All
I've just started using jQuery and already love it!
I'm working now on project, that will give some services to wide
community after registration.
I'm going to use:
- jQuery with Ajax and UI plugins on the client side
- Perl (or PHP) + MySQL on server side
- (may be) some good CMS in
I don't. That's the reason :)
What you should do is indicate when a link leads to a external site,
via an icon or formatting, like Wikipedia articles.
In XHTML 1.0 Transitional target is still valid.
-- ricardo
On Sep 22, 11:47 am, Liam Potter radioactiv...@gmail.com wrote:
I have no idea, I
Hi Mike:
Finally I changed the calls to asynchronous.
It looks good now.
The web thanks you.
oohh that is just plain wonderful. thank you very much :)
On Sep 22, 9:56 am, Loony2nz loony...@gmail.com wrote:
Check out this example:
http://www.coldfusionjedi.com/index.cfm/2009/2/16/jQuery-Form-Validat...
On Sep 22, 9:35 am, ripcurlksm kevin.mccorm...@cox.net wrote:
I have a How did
Im trying to implement this and Im not sure if there is a syntax
difference in returning a value of a checkbox vs a dropdown menu. Is
(return $(#referrer).val() == 'Other') the proper way to test the
value of a checkbox? It certainly works for dropdown menus..
Here is my new code, mimicking the
Sent from my iPhone
On Sep 22, 2009, at 9:00 AM, Christopher cpiet...@gmail.com wrote:
hei list!
I was wondering if the i18n table is still state of the art for
about 30 000 entrys (cities) in a model (=180 000 entrys in i18n).
Or is there a better solution like using a table prefix
'popup windows' in the true sense of the word - a new browser window
being opened - are simple enough to do with javascript with
window.open (http://www.w3schools.com/HTMLDOM/met_win_open.asp) but if
you want a dialog-type element displayed on screen i'd suggest the
popular thickbox
Typed on my keyboard
On Sep 22, 7:48 pm, Angel angel.marq...@gmail.com wrote:
Sent from my iPhone
On Sep 22, 2009, at 9:00 AM, Christopher cpiet...@gmail.com wrote:
hei list!
I was wondering if the i18n table is still state of the art for
about 30 000 entrys (cities) in a model
So, no one looking at this topic? or no one know nothing about?
as far as internationalising you stuff goes, maybe take a peek at g11n
if you're into that sort of thing.
On Sep 22, 5:00 pm, Christopher cpiet...@gmail.com wrote:
hei list!
I was wondering if the i18n table is still state of the art for about 30 000
entrys (cities) in a model (=180 000
Erik sorry if any of that seems a bit rudimentary, it's not entirely
clear what you actually want. stick some more details up and i'm sure
we'll be able to provide you with a more detailed breakdown.
( last time i underestimated the level of technical detail a poster
wanted on here, some weirdo
I'm getting close to finding a way to give a boolean result if the
other checkbox is selected (id chkStatus5)... still not working
though
referrerother: {
required: function(element){
Wow I finally got it... updated code here:
referrerother: {
required: function(element){
if
($('#chkStatus5').is(':checked')){
return true;
You can simplify this part:
if ($('#chkStatus5').is(':checked')){
return true;
} else {
return false;
}
to:
return $('#chkStatus5').is(':checked');
As you can see, that's almost the same as your previous attempt; the only
thing missing was the return.
-Mike
On
I searched all IE7 FAQs and tips but I could not find the solution.
Basically the Datepicker doesn't work at all in IE7. It does not
appear and most disturbing, IE7 doesn't show any Javascript error.
Works just fine in FF3.
My code is:
script type=text/javascript
$(function() {
You'll need to include the metadata plugin if you want to do like
that. See the bottom of the tablesorter download page.
looks like this issue is caused by the name of the input. the name is
orders[5].elements[2].Value which an attribute selector won't find
(ie. $(input[for=orders[5].elements[2].Value])), but if the name is
elements[2].Value it works fine.
the 'for' attribute selector is used on line 630 of
On Sep 22, 6:38 am, Liam Potter radioactiv...@gmail.com wrote:
or this
a href=# rel=foobarbazshow details/a
$(a).click(function(){
var rel = $(this).attr('rel');
}
now you have passed foobarbaz to jquery.
This works only if I don't already need to use rel.
I feel like there
What about using the metadata plugin and storing data in the class
attribute? A little hackish (in HTML5 can use the data attribute, which is
more proper...):
http://plugins.jquery.com/project/metadata
In addition to rel, you could also use the title attribute on the anchor,
no?
Scott
On Tue,
thanks!
On Sep 22, 1:09 pm, Michael Geary m...@mg.to wrote:
You can simplify this part:
if ($('#chkStatus5').is(':checked')){
return true;
} else {
return false;
}
to:
return $('#chkStatus5').is(':checked');
As you can see, that's almost the same as
fyi - using jquery.validate.js version 1.5.2
On Sep 22, 3:39 pm, chief7 chi...@gmail.com wrote:
looks like this issue is caused by the name of the input. the name is
orders[5].elements[2].Value which an attribute selector won't find
(ie. $(input[for=orders[5].elements[2].Value])), but if the
Please update to 1.5.5 - also, please provide a testpage, otherwise I
can't help.
Jörn
On Tue, Sep 22, 2009 at 11:08 PM, chief7 chi...@gmail.com wrote:
fyi - using jquery.validate.js version 1.5.2
On Sep 22, 3:39 pm, chief7 chi...@gmail.com wrote:
looks like this issue is caused by the
This doesn't make any sense. If you're already using jQuery why keep
your handler in the HTML? I'll try to help anyway.
a ... onclick=showTextNearThisLink(e, 'foobarbaz');.../a
function showTextNearThisLink(e, sheez){
e = jQuery.event.fix(window.event || e);
// e is your new jQueryized
The following sample will demonstrate what I mean.
ul
liSample Item 1/li
li
ul class=sf-menu
lia href=#Menu Item 1/a
/li
lia href=#Menu Item 2/a
/li
/ul
/li
/ul
On Sep 21, 11:16 am, Jeremy jmadd...@gmail.com wrote:
I
Is it possible to rotate text so that is displays vertically using
jQuery?
Thanks!
On Sep 22, 4:35 pm, Ricardo ricardob...@gmail.com wrote:
This doesn't make any sense. If you're already using jQuery why keep
your handler in the HTML?
Because I need to pass additional information to the event handler in
a clean way. (i.e. rather than hacks using various attributes on the
On Sep 22, 2009, at 7:39 PM, a1anm wrote:
Is it possible to rotate text so that is displays vertically using
jQuery?
Thanks!
You might find this article useful:
http://snook.ca/archives/html_and_css/css-text-rotation
--Karl
Karl Swedberg
www.englishrules.com
thanks. this is the method I'm using but it doesn't work in opera.
going to try and fix that using jquery...
On Sep 22, 7:45 pm, Karl Swedberg k...@englishrules.com wrote:
On Sep 22, 2009, at 7:39 PM, a1anm wrote:
Is it possible to rotate text so that is displays vertically using
Hi everyone,
spent the whole day trying to locate the problem here, so I would
really appreciate any ideas you might have on this one:
We have several modules in some sort pool (actually called pool)
and want to drag them into a selection box (auswahl) where we change
the CSS class from
Wondering if anyone know why the 2 plugins (validate and form) would
be causing a problem?
Required fields will not validate when using the form plugin for an
ajaxForm, and the form does not validate when clicking submit, will
even submit empty.
Here is my js code(taken mostly form the examples
Hi all,
I am using the bassistance autcomplete plugin version 1.1 along with
the bundled ajaxQueue.js file.
When text is inputted into the autocomplete, it seems to be keeping
the ajax calls open and loading even though they never resolve -- as
shown by a loading indicator which is stuck and in
Hi Phaedra,
Probably, most people don't pay much attention to memory leakage when they
are creating applications, or they don't test on IE.
A quick scan of the jQuery bug tracker shows a few bug reports that relate
to the leakage in IE. It doesn't look like they've been resolved.
You might
FYI, when I need to attach metadata to a non-empty element, I do it
with an invisible child element. This results in some extra HTML, but
I think that's as elegant as it can get until HTML5 becomes
mainstream.
style type=text/css
.metadata { display: none; }
/style
a href=#show detailsspan
Hi,
I would like to output the followin content if the browser isn't
opera:
ul id=navigation
li class=homelink onclick=homeSlide()home/li
li class=aboutlink onclick=aboutSlide()about/li
li
While it's recommended to look for features/support more than actual
browser type, jQuery.browser is still in the library
http://docs.jquery.com/Utilities/jQuery.browser
On Sep 22, 9:25 pm, a1anm alanmoor...@gmail.com wrote:
Hi,
I would like to output the followin content if the browser
it's a css property so I'm not sure if checking to see if it is
supported if possible. The link you posted did the trick though.
thanks.
On Sep 22, 9:37 pm, MorningZ morni...@gmail.com wrote:
While it's recommended to look for features/support more than actual
browser type, jQuery.browser is
Hi
I have 2 forms with identical validation rules so I am trying to use
the same jquery.validate() to cut down on duplicate code and make the
code smaller and easier to read.
So they only way I can figure out how to do is this by adding
everything with the jquery.addRules method. But I am
Hi,
i can't put code on success of AJAX call because that method is used
at various places.
So suggest me how should i make it work without modifying that
method.
On Sep 22, 9:18 pm, waseem sabjee waseemsab...@gmail.com wrote:
hi there i here is a work arround i made up for the live event
I would have to see your script in order for me to suggest something to you.
On Wed, Sep 23, 2009 at 7:11 AM, g...@iec abhi.pur...@gmail.com wrote:
Hi,
i can't put code on success of AJAX call because that method is used
at various places.
So suggest me how should i make it work without
93 matches
Mail list logo