Update: My Firefox memory must have been overloaded - I restarted Firefox
and the times are down to 100ms, as expected. Could jquery be adding things
to the DOM slowing down parsing?
Eric
On Wed, Jan 13, 2010 at 12:29 AM, Eric Cope wrote:
> Hello all,
> I am using the slideUp animation to hide a
Hello all. I'm using jquery tabs, and I have 6 tabs. On a big
resolution, everithing is OK, but on 800x600, the last tab, go to
second line. How can I set tabs, to remain in one line, not depending
by resolution, or of the number of tabs?
You can of course use my (minor) modification under an MIT license.
Since Superfish 1.4.8 is offered under both MIT and GPL, you are free
to create your own fork. This plugin still gets tons of use, I think
it would be good for the community to have a more current release. You
should start a googl
Hello all,
I am using the slideUp animation to hide a div. Above the div, are 25
other divs that may or may not be visible. The speed of the slideUp
animation depends on how many of those divs are visible. if 25 divs
are visible, the animation takes 1200ms. If 20 divs are visible, the
animation ta
Hi,
We've made the change to the plugin and are hoping to deploy it tonight.
After it's deployed I'll post an ANNOUNCE here. Thanks for bringing this
to my attention. We also added LaserCard support and updated some other
card prefixes.
- Jack
dnfdrmn wrote:
Hi all,
We're working with Pay
Say i want the alert message "hello" appear every 90 seconds, how can
i do it ?
When the button is clicked, set a variable to the current time and
return false from the handler to cancel the submit. When your ajax
completes, do a settimeout for the difference between the variable you
set and the min length of time you want to show the blockui. When the
settimeout fires it can
I am not a programmer but a designer and after a lot of trial and
error using examples I got this code working. I have been studying
JQUERY for a week and want to use it in place of my original AJAX, but
I am confused as to the best methods to use to get the same capability
and most efficient respo
I have Superfish installed on a website and have a 3-tier dropdown. li/
li/li. The 3rd tier is not positioned correctly, it's behind the
second tier. (http://208.84.152.20/~loveland1)
Lookiung for the CSS line to tweak to move that out.
Pat
Hi I'm trying with no luck to "fade on click" the image cycle, can
anyone offer any assistance to a novice.
Fading is ok but I'm not sure where to add the onClick.
Thanks
Simon
In my plugin, I'd like to provide a constructor (or sorts) that
returns an extended jQuery object with some additional functionality.
I've reduced this problem down to a very simple test case.
I don't get an error until I attempt to run a method of the new,
extended object. The error is "foo.rena
Hello,
Would it be possible to add the choice of method in options ?
eg:
$("#username").autocomplete(url, {max: 50, type: 'POST'});
Devether
Hi everyone,
I'm running a script that processes text messages people send in, and
then it displays them on a screen. It will loop the text messages
when there are too many to show on one screen.
To accomplish this I add DIVs with a new ID for each new message. The
new messages push the old ones
I need to add a mouseover effect to the navigation for a site that I'm
building. I need the backgroundColor to fade from none, to black, and
then on mouseout, I need it to fade back to none. This would be easy
if I were using two colors, but since I'm using 'none' as one of the
color's, I don't k
But I think I started off wrong using the click functions the form should be
bind submit no?
I am here now but nothing
addTest('#add_test'); //this is the form ID and on the html page
Below is in the external js sheet
function addTest(selector)
{
On Tue, Jan 12, 2010 at 20:54, justintr wrote:
> Are there any products that currently distribute jQuery?
Just to name the first ones that popped up in my mind:
- Aptana Inc. Aptana Studio, through plugin [1]
- ActiveState Komodo (both IDE and Edit flavors), through plugin [2]
- MacroMates TextMa
Wow, thanks for your work on this.
Sorry but it's a little confusing as to what is happening in the
preview, I have uploaded the pages I've done before just so you can
visualize what I'm going for.
1.
http://www.democraticunionfordesign.com/test/index_refresh.html
2.
http://www.democraticunionford
Hello,
I'm using jquery with the form and validation plugins. I have this:
$(document).ready(function() {
$("#autoSumForm").validate({
rules: {
p1001: {number: true},
p1002: {number: t
On Tue, Jan 12, 2010 at 4:36 PM, Dave Maharaj :: WidePixels.com
wrote:
> I cant seem to understand the logic behind these functions. append prepend
> appendTo, prependTo
Methinks you're very close! This what you're getting at?
http://jsbin.com/elaja/edit
Nathan
I cant seem to understand the logic behind these functions. append prepend
appendTo, prependTo
I have:
*** add new li from response here ***
content
content
content
so i get my response from the server and trying to get it to appear at the
top of all the other li's and slide down with the
On Jan 12, 1:59 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> I have this function:
> [ ... ]
> So it works fine but I have this in 5 pages on the site and was wondering
> how can I turn this into a standard function and call it like:
>
> addRecord(form_id);
There are several ways to do this. Th
On Tue, Jan 12, 2010 at 3:42 PM, shapper wrote:
> And is there a way to check if GBrowserCompatible is valid?
>From http://www.idealog.us/2007/02/check_if_a_java.html:
if (typeof(yourFunctionName) == 'function') yourFunctionName();
Nathan
If so, which plugin is it using? I cannot find anything in docs.
I have written an Arabic book About jQuery which title is :
Learn jQuery in 120 minutes
http://www.abokamal.net/jQuery120minute.gif
can you support me ?
I had the same issue. The "mustMatch" flag causes the second request
to validate the text that was set. Make sure that the selected input
value can successfully be submitted to your ajax request and come back
with a hit. If a match is not found the the text's input field will
be cleared.
On Jan
I use superfish menu with joomla.
On my computer (IE8) it works great. But users of my homepage tell me,
the superfish menu is UNERNETH the main content. I also read the FAQ
on the developpers homepage.
This problem was also explained there:
http://webdemar.com/webdesign/superfish-jquery-menu-ie-z-
Hello all,
I wonder if anyone can shed some light on my problem.
I am updating a site that uses the simplemodal plug in (http://
www.ericmmartin.com/projects/simplemodal/) to create a lightbox-esque
effect when opening included php files.
Now then, the plug-in uses a function that is called when
Can I dynamically set errorContainer in jQuery validation, which means
showing different error container base on the button clicked.
I have posted question on stackoverflow
http://stackoverflow.com/questions/2052200/how-to-set-errorcontainer-in-jquery-validation-dynamically
I know that MS Visual Studio 2010 will ship with jQuery. Are there any
products that currently distribute jQuery? For instance, Adobe
Dreamweaver ships with Adobe's framework, Spry. My inquiry regards an
Application Server or an IDE.
And is there a way to check if GBrowserCompatible is valid?
When I am not using google maps I don't load the Google maps script.
However this code is always present.
Thank You,
Miguel
On Jan 12, 8:13 pm, Nathan Klatt wrote:
> Like so?
>
> if (GBrowserIsCompatible()) {
> var gmapsUrl = "/Goog
Looks good .
Thanks will try to add that to my site and see how it goes.
Dave
-Original Message-
From: Scott Sauyet [mailto:scott.sau...@gmail.com]
Sent: January-12-10 6:06 PM
To: jQuery (English)
Subject: [jQuery] Re: Disable Submit
On Jan 12, 2:49 pm, "Dave Maharaj :: WidePixels.com
On Jan 12, 2:49 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> I have a form i am submitting via Ajax. So after submit while its waiting
> for response i have my little spinner so user knows something is happening.
> But how can i disable the submit while its "thinking" waiting for a response
> so
btw, i forgot to add "return false;" to the end of both
events there, that would be needed
Dave
here's a quick 2 minute example of this topic and the other topic
http://jsbin.com/efona/edit (code)
http://jsbin.com/efona (run)
very little jQuery to wire that up :-)
On Jan 12, 2:50 pm, Matthias wrote:
> oh I thought stop() would actually hold the execution of the test...
It does. However the parameters passed in to the equals call are
evaluated immediately, as they are in most programming languages.
(Haskell is an exception, and other languages might allow
Ok thanks.sounds good to me.
Will check it out.
Dave
-Original Message-
From: MorningZ [mailto:morni...@gmail.com]
Sent: January-12-10 4:42 PM
To: jQuery (English)
Subject: [jQuery] Re: Disable Submit
Personally i suggest using BlockUI to overlay the whole form... that way
1) not
Like so?
if (GBrowserIsCompatible()) {
var gmapsUrl = "/Google/Map";
if ($("#Place").val())
gmapsUrl += "/"+$("#Place").val();
$.getJSON(gmapsUrl, Initialise);
}
Personally i suggest using BlockUI to overlay the whole form... that
way
1) not possible for your user to resubmit
2) gives dead obvious indication something is going on
3) simple as can be to use
On Jan 12, 2:49 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> I have a form i am submitting via Ajax
Hi, I used your code but still it's the same problem: If the box
appears the up and down keys will do nothing.
It would be nice, if you take a quick look at
http://igf-project.igf.uos.de/~bhempen/index_tomaten.html where you
can see the problem.
regards
m.sirin
On 11 Jan., 01:27, Šime Vidas wrot
Hello,
I have the following on my script:
$(document).ready(function() {
if (GBrowserIsCompatible()) {
$.getJSON("/Google/Map", Initialise);
} // Initialize Google Map
}
And in my HTML I have:
I want to run the JS code only if GBrowserIsCompatible() is defined.
If it is and if Pla
Hey Scott
oh I thought stop() would actually hold the execution of the test...
Well thanks a lot for the superb and detailed answer. You helped me a
lot.
Matthias
On Jan 12, 6:17 pm, Scott Sauyet wrote:
> On Jan 12, 10:27 am, Matthias wrote:
>
> > I have an object with a member function that
I have a form i am submitting via Ajax. So after submit while its waiting
for response i have my little spinner so user knows something is happening.
But how can i disable the submit while its "thinking" waiting for a response
so the user is not sitting there clicking submit over and over.
Using
the jquery:
$(function() {
$('.sectionTitle').click(function() {
$('.sectionBody').hide("slow");
$(this).next("div").show("slow");
});
});
the clickable parts:
it is unclear what you want the visitors to click on to
hide/show your sections, so i
If I understand you write you need to make you own js page and the link that to
each page. The you only have the
function in one place.
You can place all of your own function in this js page and then call them as
you want from the individual page. Or
you can have the script called automatical
$('#new').live('click', function() {
addRecord($(this).closest("form").attr("id"));
});
function addRecord(form_id) {
.. stuff ...
});
Sorry, I have to come back for this question. I have really wired
problem.
I implemented the getColor similar to the jQuery color plugin as
follows,
function getColor(elem, cssName){
var color = null;
if (elem != null) {
var parent = elem.parentNode;
while (parent != null) {
I have this function:
$('#new').live('click', addRecord);
function addRecord() {
var data = $('#add').serialize();
$.ajax({
type: "post",
url: "/manage/add",
data: data,
dataType: 'json',
success: function(response){
if (response.status === true
Hallo all.
I need to contact a server side component sending some parameters and
open on the user browser the dialog box for opening or saving the
file.
The file that the server side component creates is a PDF.
So i create clien side this function that contacts the requested url:
executePostActio
i do know that i have this (recursiv) call to the function again on
success... but thats how it should work.
getScript seems to be just a kind of ajax call and, because of that,
should be asyncronous. so in my understanding of this function there
should not be this kind of behaviour - when you use
On Jan 12, 10:27 am, Matthias wrote:
> I have an object with a member function that changes something on the
> objects state. This works perfectly fine in the easy case. But when I
> use an $.ajax call within the function it doesn't work.
>
> Here is the example code and failing QUnit tests:http:/
I am using this plugin in here:
http://www.overset.com/2008/07/31/jval--jquery-form-field-validation-plugin/
The form works for all the fancy validaiton, but i cannot submit.
after it passes validation, it stays on the same screen, it doesnt
submit to my form post function?
any ideas?
thanks
Hello all,
I have this and a submit button.
I then try the following inside my document ready:
$("#btnSubmit").click(function() {
$.blockUI({
theme: true,
title: 'My title',
message: 'My message...',
timeout: 8000
Yeah, sorry for that, I've compressed the code, then changed the HTML
when It suddenly stopped working, thats why JS is like this.
d is event, $(document).click(function(event){
var a="_menu";
What this does is that it checks if any of the popups are open, if one
of them is open, b will be sett to
What makes it hard to follow your code,
what is "d"?$(document).click(function(d){
why is is about clicking on the document?
what is "a"?if($("#acc"+a).is(":visible")){
also, have you considered moving away from :visible? it's got it's
quirks and niches going across browsers... maybe
Alright, I've changed the s that are not links to divs, page is
fully valid now, but same thing happens! Just that nows its totally
impossible to open ANY of popup while it works in all other browsers!
On Jan 12, 9:19 am, "Jonathan Vanherpe (T & T NV)"
wrote:
> RobG wrote:
>
> > On Jan 12, 5:51 a
Just to follow up on this, looks like the RC1 version of 1.4 is
close... really close :-)
Damn IE6 !!
From: http://twitter.com/jeresig
# Grrr, phantom bug popped up in IE 6 just as I was about to push
1.4rc1 live.
# Need sleep in order to fight, 1.4rc1 tomorrow.
# - about 11 hours ago from web
Thanks for your quick response, but this doesn't seem to work.
I've pasted all the code in bellow, thanks for your help
http://www.w3.org/1999/xhtml";>
stripy divs
@import"css/stripy_simple.css";
$(document).ready(function() {
$('div.me').hide();
$('div.who').toggle(function()
> If w3schools' statistics are at all accurate, there are about the same
> number of people using IE 6 as either IE 7 or 8
Stats like that are nice, but I'd be curious to see what kinds of
browser stats there are for other people running a (relatively) busy
site? "real" people, like on this list..
wow,
thank you. I must have looked at that a hundred times and not seen it.
thank you so much.
glen
On Jan 12, 10:37 am, Karl Swedberg wrote:
> You're trying to access the easing and lavalamp plugins at the wrong
> location, so they're returning "404 page not found" errors.
>
> http://www.gl
Great!! That has to solve my quest!
On Jan 12, 3:31 pm, Karl Swedberg wrote:
> On Jan 12, 2010, at 7:32 AM, knal wrote:
>
> > @Brian
> > I have my images in an array (retrieved from the source, thanks for
> > the tip)
> > When i read the SRC from the current image, i want to know it's
> > locatio
You're trying to access the easing and lavalamp plugins at the wrong
location, so they're returning "404 page not found" errors.
http://www.glenhealy.com/jquery.easing.min.js
http://www.glenhealy.com/jquery.lavalamp.min.js
Make sure those paths are correct and try again.
--Karl
Before we start, note this:
http://www.w3schools.com/tags/att_standard_id.asp which says that an ID must
begin with a letter. So you are going to need to modify your HTML so that
your ID values are letter then number. Chances are, this is your whole
problem.
var list = /* JSON array */
for ( va
Hey everyone
I am fairly new to JavaScript and JQuery, so please forgive any
obvious errors.
I have an object with a member function that changes something on the
objects state. This works perfectly fine in the easy case. But when I
use an $.ajax call within the function it doesn't work.
Here is
On Tue, Jan 12, 2010 at 3:53 AM, chricke wrote:
> as i understand the getScript function should be asyncronous, but when
> i use it the website won't finish loading (in firefox).
>
> function getCounter(){
> jQuery.getScript('http://example.com/counter?id='+get_url_pa
Thanks. That worked.
On Jan 12, 10:12 am, Karl Swedberg wrote:
> Your selector is for an ID: $('#autoSumForm')
>
> But your form has no ID: action="posttime.php" method="post">
>
> Try adding an ID to the form:
> method="post">
>
> --Karl
>
>
> Karl Swedbergwww.englishrules.comwww.
was hoping someone can help me out. Than you andrei for the link. I
have been messing around with it all morning and I think it should be
working, but its not lol. maybe someone can find something that I
oversaw.
here is my site:
www.glenhealy.com
in firebug I am getting the error that the func
Your selector is for an ID: $('#autoSumForm')
But your form has no ID: action="posttime.php" method="post">
Try adding an ID to the form:
method="post">
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 12, 2010, at 9:49 AM, Seth wrote:
Hello,
I'm tr
"Could this be jquery related? "
Do you have any example code to build an answer upon?
On Jan 12, 2:49 am, Eric Cope wrote:
> Hello all,
> I am using jquery to copy a DIV containing some form elements. The
> copy is appended to the DIV in another DIV to allow an unlimited
> number of form eleme
Hello,
I'm trying to use this method to process a form and return an alert
without navigating to a new page for the form processing.
http://jquery.malsup.com/form/#getting-started
I have this in my statement:
$(document).ready(function() {
$('#autoSumForm').ajaxForm(
without the corresponding html, it is hard to tell if this answer is
completely correct. however, think about trying this approach, where
these few lines replace ALL of your code:
$(function() {
$('div').click(function() {
$('div').hide("slow"); // first, for simpli
jQuery(this).attr("id","newId");
On Jan 12, 10:15 am, "Sloan Thrasher" wrote:
> Hi,
>
> I've got a table where I'm adding rows using clone and appendTo. After
> cloning, I need to change the ID of elements in the cloned HTML.
>
> How can I do that?
>
> Sloan
On Jan 12, 2010, at 7:32 AM, knal wrote:
@Brian
I have my images in an array (retrieved from the source, thanks for
the tip)
When i read the SRC from the current image, i want to know it's
location in the array.
This way i could either subtract 1 or add 1 to the current indexkey so
i know what
See this thread:
http://groups.google.com/group/jquery-en/browse_thread/thread/ce535e6bc3c8ef34
On Tue, Jan 12, 2010 at 10:15 AM, Sloan Thrasher
wrote:
> Hi,
>
> I've got a table where I'm adding rows using clone and appendTo. After
> cloning, I need to change the ID of elements in the cloned HT
If you have multiple inputs with the same name be sure to add square
brackets to the name so that the browser sends an array of values.
single:
multiple:
Also, fyi (and most likely unrelated), when copying DOM elements, make
sure that you don't end up with multiple elements with the same ID (
Here's a post from John's blog in which he touches the topic of a
general strategy for browser support:
http://ejohn.org/blog/the-browsers-of-2009/
He also briefly writes about it in his (latest?) book:
http://www.manning.com/resig/
Finally, John's (and thus jQuery's) testing strategy is to tes
Hi,
I've got a table where I'm adding rows using clone and appendTo. After cloning,
I need to change the ID of elements in the cloned HTML.
How can I do that?
Sloan
Hey Everyone,
Basically I used these two jQuery plugins to achieve this, but I'm
having troubles...
http://www.queness.com/post/106/jquery-tabbed-interfacetabbed-structure-menu-tutorial
http://css-tricks.com/snippets/jquery/simple-jquery-accordion/
I took it out the simple jquery accordion cod
Hello,
I'm new to javascript and jquery library, I have script running which
functions fine only problem I have with it is that I want to close
other divs when another is selected, I guess like an accordion style
but using the toggle, slide fade-in functions. The problem I have is
that once each bu
Hello all,
I am using jquery to copy a DIV containing some form elements. The
copy is appended to the DIV in another DIV to allow an unlimited
number of form elements to be sent. The problem is that none of the
copy DIVs are being sent by the browser (Firefox). There is some
chatter via google, but
I'm not a developer, but a Product Manager looking to put an audio
player at the top of a web page inside an overlay, such that if I
navigate between pages, the overlay and subsequently the audio player
stay constant at the very top of the page.
I'm not sure if I have the language correct when I s
hi all,
as i understand the getScript function should be asyncronous, but when
i use it the website won't finish loading (in firefox).
my code:
jQuery(document).ready(function(){
function get_url_param( name )
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\
Unfortunately, the wonderful blockUI plugin doesn't grey out the full
background on short pages. I tried the
$.blockUI.defaults.allowBodyStretch = true; but that doesn't help
(FireFox 3.5.7 on Ubuntu 9.10).
Digging a bit deeper with Firebug, I noticed that the grey overlay
carries a property of po
Mmm, well the page type is:
Not sure what the DB is (its a mySQL DB) ... and I'm sure thats ok,
cos if I convert the charachters via a few lines of perl code, then it
works fine...
I think I'm just gonna have to admit defeat, and just use the perl
code I worked out the other day - not the ideal
I'm not sure what else there is, I never change character sets and set
everything to UTF-8 just to avoid the mess you're having.
The only advice I can give you is to make sure everything's set to the
same character set (your html, your js, your database, your php source
files, ...)
Then try
Mmm, changing to that works - but the error is still there with the
unlat charachters :(
On Jan 12, 12:40 pm, "Jonathan Vanherpe (T & T NV)"
wrote:
> maybe it's because of the application/json part. I guess that should be
> application/x-www-form-urlencoded or something. Just play with the
> opti
maybe it's because of the application/json part. I guess that should be
application/x-www-form-urlencoded or something. Just play with the
options you find here:
http://docs.jquery.com/Ajax/jQuery.ajaxSetup
Jonathan
youradds wrote:
Mmm, maybe that didn't work :/
jQuery.ajax
@Sime
The user is going to click 'Previous' & 'Next' links...
@Brian
I have my images in an array (retrieved from the source, thanks for
the tip)
When i read the SRC from the current image, i want to know it's
location in the array.
This way i could either subtract 1 or add 1 to the current indexk
Hi,
Was there mean't to be a reply here? =)
Cheers
Andy
On Jan 12, 12:24 pm, Andreas Möller wrote:
>
Mmm, maybe that didn't work :/
jQuery.ajaxSetup({ scriptCharset: "ISO-8859-1" , contentType:
"application/json; charset=ISO-8859-1"});
jQuery.post("/cgi-bin/unterricht/review.cgi", {
Review_Rating: the_rating,
ID: theID,
The link doesn't seem to work...
How does the user select which image he wants to view?
I'm not sure that I follow that but one thing that might help is to
store JSON objects in the array instead of just the src:
$( ".images img" ).each( function(i) {
imgArray.push(
src: $(this).attr( "src" ),
key: i
);
});
Then, when retrieving the new src you can also get the key/index
On Jan 12, 1:24 pm, Nathan Klatt wrote:
> > IE 6 use is 3 times that of Safari (all versions) depending on whose
> > statistics you believe. Why not drop support for Safari while you're
> > at it? And Opera and Chrome?
>
> Because you don't have to do anything to support Safari or Chrome or
> Op
Hi everyone.
Immediately apologize: to be a lot of code…
I have a form to add users:
http://localhost/ci_doctrine/signup/submit";
method="post" id="myForm">
Username:
Password:
Confirm Password:
E-mail:
Nothing special…
Respectively included:
And my
You need a hash symbol for your button selector, and change the toggle
to click:
$("#dt-link1").click(function() {
$('#jqdt').find('ol li:eq(0)').css("color","Blue");
return false;
});
on 11/01/2010 22:45 JQueryNewbie said::
I cant get my color change on my listitem. any help would be
app
Thanks for sharing your opinions, RobG and Nathan.
Though, opinions aside, the question still remains; what is jQuery's
strategy for keeping/deprecating support for browsers such as IE6?
Hi there,
I'm trying to build a custom slideshow (which doesn't loop) but i seem
to be unable to iterate through the array of images correctly.
Content looks like
etc
I create an array of images as follows
$( ".images img" ).each( function() {
imgArray.push( $(this).att
RobG wrote:
On Jan 12, 5:51 am, Valerij wrote:
Hey guys, I have this popup menu that works.. great! In Chrome,
Safari, Firefox AND it USED to work in IE8, until I added just 1 div.
[...]
This works in all the browsers great even after I added this div, but
in IE8 it suddenly stopped.
My A
99 matches
Mail list logo