RobG wrote:
On Jan 12, 5:51 am, Valerijvaleri...@gmail.com 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
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
div class=images
img src=1.jpg
img src=2.jpg
etc
/div
I create an array of images as follows
$( .images img
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?
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
Hi everyone.
Immediately apologize: to be a lot of code…
I have a form to add users:
form action=http://localhost/ci_doctrine/signup/submit;
method=post id=myForm
plabel for=usernameUsername: em/em/label
input type=text name=username value= id=username / /p
plabel for=passwordPassword:
On Jan 12, 1:24 pm, Nathan Klatt n8kl...@gmail.com 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
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.
How does the user select which image he wants to view?
The link doesn't seem to work...
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,
Hi,
Was there mean't to be a reply here? =)
Cheers
Andy
On Jan 12, 12:24 pm, Andreas Möller localhe...@l8m.de wrote:
@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
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 :/
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) jonat...@tnt.be
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
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, well the page type is:
meta http-equiv=content-type content=text/html;
charset=ISO-8859-1 /
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,
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 =
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
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
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
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,
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
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
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
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:
input type=text name=foo /
multiple:
input type=text name=foo[] /
input type=text name=foo[] /
Also, fyi (and most likely unrelated), when copying DOM
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
sl...@sloanthrasher.com 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
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
jQuery(this).attr(id,newId);
On Jan 12, 10:15 am, Sloan Thrasher sl...@sloanthrasher.com 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
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
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 head statement:
script type=text/javascript src=js/jquery-1.3.2.js/script
script
Could this be jquery related?
Do you have any example code to build an answer upon?
On Jan 12, 2:49 am, Eric Cope eric.c...@gmail.com 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
Your selector is for an ID: $('#autoSumForm')
But your form has no ID: form name=autoSumForm
action=posttime.php method=post
Try adding an ID to the form:
form name=autoSumForm id=name=autoSumForm action=posttime.php
method=post
--Karl
Karl Swedberg
www.englishrules.com
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
Thanks. That worked.
On Jan 12, 10:12 am, Karl Swedberg k...@englishrules.com wrote:
Your selector is for an ID: $('#autoSumForm')
But your form has no ID: form name=autoSumForm
action=posttime.php method=post
Try adding an ID to the form:
form name=autoSumForm id=name=autoSumForm
On Tue, Jan 12, 2010 at 3:53 AM, chricke c.beckm...@vectan.de wrote:
as i understand the getScript function should be asyncronous, but when
i use it the website won't finish loading (in firefox).
snip
function getCounter(){
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
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 (
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
Great!! That has to solve my quest!
On Jan 12, 3:31 pm, Karl Swedberg k...@englishrules.com 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
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 k...@englishrules.com wrote:
You're trying to access the easing and lavalamp plugins at the wrong
location, so they're returning 404 page not found errors.
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...
Thanks for your quick response, but this doesn't seem to work.
I've pasted all the code in bellow, thanks for your help
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
html xmlns=http://www.w3.org/1999/xhtml;
head
meta
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
Alright, I've changed the as 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) jonat...@tnt.be
wrote:
RobG wrote:
On Jan
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 using
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
Hello all,
I have this form and a submit button.
I then try the following inside my document ready:
$(#btnSubmit).click(function() {
$.blockUI({
theme: true,
title: 'My title',
message: 'pMy message.../p',
timeout:
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
On Jan 12, 10:27 am, Matthias matthias.lueb...@gmail.com 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
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:
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) {
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) {
$('#new').live('click', function() {
addRecord($(this).closest(form).attr(id));
});
function addRecord(form_id) {
.. stuff ...
});
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.
script type=text/javascript src=js/myjavascript.js/script
You can place all of your own function in this js page and then call them as
you want from the
the jquery:
script type=text/javascript
$(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
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
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 scott.sau...@gmail.com wrote:
On Jan 12, 10:27 am, Matthias matthias.lueb...@gmail.com wrote:
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:
input id=Place name=Place type=hidden value=3 /
I want to run the JS code only if
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
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
d...@widepixels.com wrote:
I have a form i am
Like so?
if (GBrowserIsCompatible()) {
var gmapsUrl = /Google/Map;
if ($(#Place).val())
gmapsUrl += /+$(#Place).val();
$.getJSON(gmapsUrl, Initialise);
}
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
On Jan 12, 2:50 pm, Matthias matthias.lueb...@gmail.com 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
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 :-)
btw, i forgot to add return false; to the end of both button
events there, that would be needed
On Jan 12, 2:49 pm, Dave Maharaj :: WidePixels.com
d...@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
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
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 n8kl...@gmail.com wrote:
Like so?
if (GBrowserIsCompatible()) {
var
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.
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
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
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:
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 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 ?
If so, which plugin is it using? I cannot find anything in docs.
On Tue, Jan 12, 2010 at 3:42 PM, shapper mdmo...@gmail.com 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
On Jan 12, 1:59 pm, Dave Maharaj :: WidePixels.com
d...@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
I cant seem to understand the logic behind these functions. append prepend
appendTo, prependTo
I have:
div id=sortable
*** add new li from response here ***
licontent/li
licontent/li
licontent/li
/div
so i get my response from the server and trying to get it to appear at the
top of all the
On Tue, Jan 12, 2010 at 4:36 PM, Dave Maharaj :: WidePixels.com
d...@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
Hello,
I'm using jquery with the form and validation plugins. I have this:
script type=text/javascript
$(document).ready(function() {
$(#autoSumForm).validate({
rules: {
p1001: {number: true},
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.
On Tue, Jan 12, 2010 at 20:54, justintr jtre...@gmail.com 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]
-
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)
{
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
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
Hello,
Would it be possible to add the choice of method in options ?
eg:
$(#username).autocomplete(url, {max: 50, type: 'POST'});
Devether
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
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
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
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
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
Say i want the alert message hello appear every 90 seconds, how can
i do it ?
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
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
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
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?
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 eric.c...@gmail.com wrote:
Hello all,
I am using the slideUp
98 matches
Mail list logo