I am using the jQuery Accordion plugin (http://bassistance.de/jquery-
plugins/jquery-plugin-accordion/) which is great. I have one
problem. Inside of some of my accordion divs I have links to pdf
files, external pages, etc. When you click on any of these links, it
just closes the accordion,
I could be wrong, but i believe that because pdf requires you to run a
reader, you can't import the pdf directly within your content.
However, I think an iframe might work for you.
You can retrieve a pdf file via ajax, I'm sure. It's just a matter of
getting it displayed once you get it.
The
I'm trying to run the following code:
var nav = [ #home, #contact, #gallery, #about ];
$(document).ready(function(){
for(var i = 0; i nav.length; i++){
$(nav[i]).mouseover(function(){
$(nav[i]).animate({
marginTop: -5px
});
});
Hello my people,
I am in some problems with a self populated combobox
I want to make something from this:
category
-- PlayStation - 1
-- XBOX - 2
(From here they are automatically populated so I will by this as an
example)
Platform
-- PSP - 1
-- PS3 - 2
-- XBOX 360 -3
Games
-- Jogo1 PSP - 1
I've made some progress with this, but my code is looking really
strange.
To rehash, I am trying to get the datepicker to update a span, not an
input.
But i was getting an error.
Now I can update the span, but I can't split the date variable before
I update (it gives blank time and gmt details
Since upgrading to 1.2.5 (the same applies to 1.2.6), an attempt to $
('... td').removeAttr('rowSpan') triggers an error in IE6/7.
Previously (up to 1.2.4b) it effectively set rowSpan to 1. It still
works that way in FF.
I'm not sure is it a bug or a feature, but of course it has broken my
I don't understand why the Ajaxian article and the API docs prefer the
google.load() route. Since the paths are published in the Google CDN, I would
personally prefer those but I may be missing something important. By using the
google.load, it seems like you could get the smart versioning or
http://docs.jquery.com/Core/jQuery.noConflict#extreme
On May 26, 8:56 pm, garazy [EMAIL PROTECTED] wrote:
Hi,
I'd like to use jquery to create widgets that are deployed to other
websites. However to do that I'd need to wrap jquery in a container so
I know that it wouldn't conflict with any
I figured it out. I needed to specify a header (header:
'a.accordTitle',)
On May 27, 10:04 am, hubbs [EMAIL PROTECTED] wrote:
I am using the jQuery Accordion plugin (http://bassistance.de/jquery-
plugins/jquery-plugin-accordion/) which is great. I have one
problem. Inside of some of my
Have you checked out the validation plugin? it's really great, and
provides a message as to what you are expecting the user to do, etc.
For what you currently have, why do the '.fadeIn/.fadeOut',etc.
Why not just do .addClass?
and then when the right input is accepted, .removeClass?
hagalaz, you are right,
using $.get() instead of $.ajax() fixes the problem,
but that does mean that this is a genuine bug?
Can somebody look into it?
example:
this works for path = file.owl:
$.get(path, function(xml){callback(that.parse(xml, options));});
this does not work for path =
Hi there,
I am troubled by the behavior of the :contains filter
I have an a tag
a class=undo href=/tag/poesie/5undo/a
I can select it with
$(a.undo) and play with the chain not problem e.g. $
(a.undo).remove() works fine
if I use
$(':contains(a href=/tag/sagesse/4 class=undoundo/a)')
or
Many thanks, Karl. Your solution works fine.
Paul
On 27 May, 01:53, Karl Swedberg [EMAIL PROTECTED] wrote:
Hi Paul,
You could try this:
$(document).click(function(event) {
if (!$(event.target).is(':text')) {
$(':text').eq(2).focus();
}
});
I'm pretty sure that should do
I been playing around with the hover and fadeIn and fadeOut functions
in jquery and I can't get them working on my website(NOTE:website is
not online yet still working on the website). I learned javascript and
I do have programming background.
I don't know what I am exactly doing wrong.
Here is
$(document).ready(function(){
$('#home, #contact, #gallery, #about').hover(
function(){
$(this).stop().animate({marginTop: -5px});
},
function(){
$(this).stop().animate({marginTop: 0px});
}
});
});
You can use a class selector
Your selectors need quotes around them:
$(li:hidden:first).fadeIn(slow);
etc.
-- Josh
- Original Message -
From: Aaron [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, May 27, 2008 11:31 AM
Subject: [jQuery] Re: Help learning...
I been playing
I have a survey marked up with a definition list like so:
dl
dtQuestion 1/dt
ddAnswer 1input type=radio //dd
dd class=commentsAnswer 2input type=radio //dd
dd class=feedback
textarea/textarea
/dd
dtQuestion 2/dt
ddAnswer
Hi, Scott
After I added incrementing parameter, it works fine in IE, but it still does
not work under Opera 9.27 and Apple Safari 3.1.1.
Thanks again.
Arden
=
var ipVal=0;
function refreshProgress()
{
var uploadTicket = $(#uploadTicket).val();
ipVal
Yep got them sorry I must of when posting deleted the selectors.
On May 27, 3:24 pm, Josh Nathanson [EMAIL PROTECTED] wrote:
Your selectors need quotes around them:
$(li:hidden:first).fadeIn(slow);
etc.
-- Josh
- Original Message -
From: Aaron [EMAIL PROTECTED]
To: jQuery
I have a hidden inputtype:
input type=hidden name=test1 id=test1 value= /
How can I change the value of it by using JQuery?
This is what I am doing.
$('#test1').value = hello world;
What am I doing wrong?
Hi,
The following is HTML output.
I will try to add an incrementing parameter.
Thanks for your help.
Arden
==
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
You can do this:
$('#test1').val( 'hello world' );
OR
$('#test1')[0].value = 'hello world'; // adding the array index returns the
node instead of the jQuery object
-- Josh
- Original Message -
From: Natrium [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Sent:
I have a default image loaded into an img tag with an id of specialImage.
I also have a select box which displays a list of vehicles. The value of
each option is a filename (75682.jpg, 75123.jpg, etc.).
When the user selects a vehicle, I want to change the src of the img tag but
I'm running into
this is how it works:
$('#test1').val(hello world);
On 27 mei, 21:33, Natrium [EMAIL PROTECTED] wrote:
I have a hidden inputtype:
input type=hidden name=test1 id=test1 value= /
How can I change the value of it by using JQuery?
This is what I am doing.
$('#test1').value = hello world;
In my html, I have the following span to show upload percentage:
span id=progressBarText0%/span
I tried to update the percentage using the following javascript:
$(#progressBarText).innerHTML = 76%;
But it does not work. :(
Thanks.
Arden
Here is the exact code exactly copied and pasted from my file to here:
$(document).ready(function() {
$(#image).hover(
function () {
$(li:hidden:first).fadeIn(slow));
},
function () {
$(li).fadeOut(slow).remove();
}
);
On May 27, 3:24 pm, Josh
Hi,
I tried the following, which works fine.
$(#progressBarText).attr(innerHTML, data.uploadProgress.percent + %);
Thanks.
Arden
On Tue, May 27, 2008 at 4:45 PM, arden liu [EMAIL PROTECTED] wrote:
In my html, I have the following span to show upload percentage:
span id=progressBarText0%/span
Andy,
You can use the onerror event of an image to determine if an image loaded or
not. Also, you could load the image using JS's Image object-that way you
could display a loading image. Here's some example code:
http://www.rgagnon.com/jsdetails/js-0083.html
-Dan
_
From:
You can do this several ways:
$('#progressBarText')[0].innerHTML = '76%';
$('#progressBarText').attr('innerHTML', '76%');
And finally the preferred method:
$('#progressBarText').html('76%');
The docs for the html method: http://docs.jquery.com/Attributes/html#val
--
Brandon Aaron
On Tue, May
have this code that works! But looks like butt. As well as that this
is a recipe for hell every-time I need to update it.
I had clone working on the generated html code from the Rails server
code. But in my simple tests the clone was cloning the class or id and
it then more just make clones of
Hi Andy,
In regards to whether the file exists...I know you're using ColdFusion, is it
possible to use the CF function FileExists in your CF code to determine if the
jpg exists, and then maybe disable that option, or not show it at all? That
way it would degrade gracefully.
-- Josh
-
Dan!
That works BEAUTIFULLY! Thanks for the tip...I'll be adding that one to my
toolbox. I never knew that was possible.
_
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dan G. Switzer, II
Sent: Tuesday, May 27, 2008 3:57 PM
To: jquery-en@googlegroups.com
Hello Mike,
Thanks for your interest.
A link is here...
http://ramosus.massey.ac.nz/jQuery.htm
Cheers/Bruce
At 12:24 a.m. 28/05/2008, you wrote:
In its simplest form my problem is this. Suppose I have two
slideshows, A and B. Slideshow A runs properly. However, when I
replace
Josh...if I was checking server side I wouldn't even have posted. However,
this is all client side so I need something for that end. Dan's suggestion
works flawlessly.
Thanks though.
_
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
Sent: Tuesday,
Good call on the co-ordinates ... atfer you mentioned it I noticed
that the editor was stripping them out. S I had to 'disable rich
text' and that did the trick.
One last question I have is do you know why I am getting all of the
empty space at the bottom of the image? ...
I have a page with an archive of all newsletters:
http://ischagast.nl/janhekmanschool/nieuwsbrief/archief/
What I want is that when clicking a month the results of that month
appear under the months just like this site:
http://loweblog.com/archives/
I thought building that with jquery would be
http://docs.jquery.com/Ajax/jQuery.ajaxSetup
Karl Rudd
On Wed, May 28, 2008 at 12:31 AM, Arun Kumar
[EMAIL PROTECTED] wrote:
Not this case, I want to know how to use it synchronously.
On May 27, 4:47 pm, Karl Rudd [EMAIL PROTECTED] wrote:
Ok that's nothing to do with sync vs async. As I
Woops sorry, hit Send too soon.
http://docs.jquery.com/Ajax/jQuery.ajaxSetup
And the options are defined here, in the Options tab:
http://docs.jquery.com/Ajax/jQuery.ajax#options
The $.ajaxSetup() call applies to all AJAX based calls after that,
until they're changed.
Karl Rudd
On Wed, May
Hi there,
I suspect that the problem has to do with putting an HTML string
inside the contains parens, when it is supposed to take only text.
Does it work if you just do $('a:contains(undo)') ?
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On May 27,
Actually, the only selector here that you shouldn't have quotes around
is document. Can you try it without the quotes? Also, it looks like
you might be missing a line at the end, although it might be a copy/
paste error. Try this:
$(document).ready(function() {
$(#image).hover(
Hi Joel,
Great plugin. Thanks for sharing and supporting it!
I'm having a problem with the menu isn't dropping down in IE6 -- you
can see the problem in http://best-learn-spanish.com/s/index2.php
However, everything is working fine in Firefox.
I tried adding the bgiframe code but perhaps I
OK, I'm sure that someone would have mentioned that the latest
releases don't work, so that can't be it. It's obvious that I'm
missing something.
I've been using jQuery 1.2.3 for months now, and today I wanted to use
the ui.slider plugin which requires offsetWidth() which is not in
1.2.3. So I
For some reason, when my page first loads the carousel, the prev arrow
is unusable until the user has clicked on the next arrow. After
clicking the next arrow, they user is able to click the prev arrow to
their hearts content. I noticed on the 'circular' example on sorgalla
that this is not an
Hm...sorry I guess I don't follow. The bug/patch I was talking about
was that if you set 'onsubmit=false' on the validate plugin the
'submitHandler' isn't called and so breaks ajax functionality...I am
not sure how the latest jquery release fixes this since the validate
code hasn't accomodated
I'm trying to figure out what the layout for the datepicker looks like
in plain html so I can figure out why the month doesn't display when
the datepicker is inside of a superfish menu.
Rather than display the month and the year arrows in a single row, the
year and month arrows are displayed in
What if you use jquery-1.2.6.js (not packed).
--John
On Wed, May 28, 2008 at 12:26 AM, kape [EMAIL PROTECTED] wrote:
OK, I'm sure that someone would have mentioned that the latest
releases don't work, so that can't be it. It's obvious that I'm
missing something.
I've been using jQuery
Hello,
I currently only had time for a quick scan of your code. Things seem
to be quite in order except that the nav class needs to be set on
the ul not the parent div. This will definitely cause the menu not to
function so try changing that and see how you go.
Also, you only need to apply the
Have you tried using .next() ? Something along these lines (untested):
$('dd.comments input[type=radio]').toggle(
function(){ $(this).next('dd.feedback').show(); },
function(){ $(this).next('dd.feedback').hide(); }
});
- jason
On May 27, 3:57 pm, macgregor [EMAIL PROTECTED] wrote:
I
One other thing...there is an extra parenthesis:
$(li:hidden:first).fadeIn(slow)) -- remove that sucker!
-- Josh
- Original Message -
From: Karl Swedberg [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Tuesday, May 27, 2008 3:31 PM
Subject: [jQuery] Re: Help learning...
$(document).ready(function(){
var parags = $(#contests ul li p);
$(#contests ul li span a).each(function(i){
var parag_count = i;
$(this).toggle(
function(){
parags.eq(parag_count).css(background, yellow);
return false;
},
I also should tell you I am using internet explorer 7 when doing these
tests ect.
thanks for the replies so far. To me it looks like it supposed to work
now, I notice what you guys pointed out were mistakes I made like that
extra ). Anything else you can think of that may be preventing my
code
Ok I done what you guys asked me to try and tried it and it didn't do
anything. My list is still displayed on the html doc like a normal
list and when my mouse goes over the image I get nothing. So first
off my list is not hidden to start off and when my mouse goes over the
image I get nothing
It looks like pressing ENTER in your CMS is inserting br / tags after each
set of coordinates. You may have to remove all the spaces at the end of
each area tag or edit the HTML.
area shape=circle coords=347,46,12 href=#vermont alt=Vermontbr /
area shape=circle coords=371,31,12
Hello Mike,
Thanks for your interest.
A link is here...http://ramosus.massey.ac.nz/jQuery.htm
Cheers/Bruce
Since the first slideshow was never explicitly stopped you actually
have two running slideshows, one of which is cycling elements that are
no longer part of the DOM. But that first
Not entirely clear what is required to be cloned - the code you have
shouldn't really be cloned 'as is' because it has ids in it, which
would require a fair amount of manipulation to make it valid.
If you simply want to format it into a more readable/maintainable form
then, as an example...
var
Aaron -- run don't walk to get Firefox and the Firebug extension. You
should always use this combo to do your initial testing, then once it works
ok, check out how IE6 and 7 are performing. That probably would have saved
you three weeks and six days of those four weeks. It shows the exact
Post a link to the broken page, along with a description of how to duplicate
the problem if there's anything more to it than just loading the page.
Thanks Mike, that did solve the problem.
Cheers/Bruce
At 11:25 a.m. 28/05/2008, you wrote:
Hello Mike,
Thanks for your interest.
A link is here...http://ramosus.massey.ac.nz/jQuery.htm
Cheers/Bruce
Since the first slideshow was never explicitly stopped you actually
have two running
Hi Joel,
Thanks for your quick reply. That's makes sense. Now my code is ul
class=nav and it's working fine in both IE6 and FF.
I added the bgiframe just in case the menu was blocked by the
background image. Also, on this page, I was having problems with the
menu blocking the podcast player :
sweet the :first did the trick. constantly reformatting the code drove
me bonkers
On May 27, 7:42 pm, Wizzud [EMAIL PROTECTED] wrote:
Not entirely clear what is required to be cloned - the code you have
shouldn't really be cloned 'as is' because it has ids in it, which
would require a fair
Thanks Adam, it seems to through the br in there too.
On May 27, 5:54 pm, Adam Weis [EMAIL PROTECTED] wrote:
It looks like pressing ENTER in your CMS is inserting br / tags after each
set of coordinates. You may have to remove all the spaces at the end of
each area tag or edit the HTML.
Excellent Ariel! Thank you. Just one issue I think you had one
extra } in there, but this worked perfect for me! Thank you very
much!
Vallard
On May 27, 12:23 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
$(document).ready(function(){
$('#home, #contact, #gallery, #about').hover(
Yes, sorry. Glad it helped.
--
Ariel Flesler
http://flesler.blogspot.com
On 27 mayo, 20:42, Vallard [EMAIL PROTECTED] wrote:
Excellent Ariel! Thank you. Just one issue I think you had one
extra } in there, but this worked perfect for me! Thank you very
much!
Vallard
On May 27, 12:23
http://ajaxian.com/archives/announcing-ajax-libraries-api-speed-up-your-ajax-apps-with-googles-infrastructure
http://code.google.com/apis/ajaxlibs/
I just got to announce the Google AJAX Libraries API which exists to
make Ajax applications that use popular frameworks such as Prototype,
Kape:
Just read your post again. You are using prototype. I believe that it
conflicts with 1.2.5 and 1.2.6.
Victor
On May 27, 5:26 pm, kape [EMAIL PROTECTED] wrote:
OK, I'm sure that someone would have mentioned that the latest
releases don't work, so that can't be it. It's obvious that I'm
Anyone?
On May 26, 8:32 pm, Chris P [EMAIL PROTECTED] wrote:
Hello all,
For some reason this is not working in IE but fine in Safari/FF.
jQuery('ul.nav a').addClass('scrollover').attr('type','scrollover');
You can see it on my site (www.siolon.com). It's suppose to add it in
the
Anyone on this?
On May 26, 8:32 pm, Chris P [EMAIL PROTECTED] wrote:
Hello all,
For some reason this is not working in IE but fine in Safari/FF.
jQuery('ul.nav a').addClass('scrollover').attr('type','scrollover');
You can see it on my site (www.siolon.com). It's suppose to add it in
the
Hi, I don't know if it's the right place to post this, but I can't
find developer's email anywhere. In case that you don't know the
plugin http://www.trendskitchens.co.nz/jquery/contextmenu/ is the
homepage. Basically it let's you override right click on the browser
for the html elements you
Wondering what it would take to add a cluetip or other formatted
tooltip on pause. Tried adding class to the markup, per Cluetip
instructions, and it disabled Cluetip on the page altogether.
I have Cycle set up as a slide show and have a carousel below, to
which I have added Cluetips. I would
IE is probably having issues with trying to set an attribute of
type, which is generally only used for input elements.
Karl Rudd
On Wed, May 28, 2008 at 2:14 PM, Chris P [EMAIL PROTECTED] wrote:
Anyone on this?
On May 26, 8:32 pm, Chris P [EMAIL PROTECTED] wrote:
Hello all,
For some
70 matches
Mail list logo