Experiment with it. Try a class name.
blg002 [EMAIL PROTECTED] wrote:
I'm relatively new to jQuery Javascript and was wondering if
someone could help me condense my code a little.
What I have going on is... multiple div's with different info in them
an ordered list of links. Only one
Figured it out ...
$(document).ready(function(){
var hearOther = $(#hear_other);
hearOther.hide();
$(#hear).change(function(){
var hearValue = $(#hear option:selected).val();
if( hearValue == O){
This website is essentially for a contest. I'm working with a couple
of friends on a historical competition. The genius historians that
run the competetion's website division think they're next-gen by
requiring you to put an HTML site on a CD. So, no. :-D
On Mar 24, 3:57 pm, Hamish Campbell
On load my content gets cut off. But not all the time. This problem
is somewhat consistent in Safari on a Mac and intermittent in FF. if
you jump back and forth between the following two pages it will break.
examples:
http://zanaganda.com/JA2/atelier/methodology.htm
If you use the load function without a selector it will parse and fire
any script tags contained within it. But if you use the new
selector option to only pull out part of the remote document, all
script tags are parsed out.
The jQuery code at line 2441 says the following:
// inject the
Hi,
I'm puzzling over something and would be grateful for some help...
I've got four divs on the screen that I have hidden and wish to step through
with each user click. So, the first div is shown... A user then clicks...
The first div is then hidden and the second revealed... A user then
This is a known issue with Firefox and absolute positioned divs. There are
some workarounds discussed here:
https://bugzilla.mozilla.org/show_bug.cgi?id=167801
It's been a problem for years, and supposedly it will be fixed in version 3.
Oh, I see... So this is not jQuery problem. Thanks :)
Try the this keyword
blg002 [EMAIL PROTECTED] wrote:
I'm relatively new to jQuery Javascript and was wondering if
someone could help me condense my code a little.
What I have going on is... multiple div's with different info in them
an ordered list of links. Only one of the divs will
thank you both for your input. Jimslam your example works great, thats
exactly what i need.
I am having exactly the same problem. did you find a solution to this?
On Feb 29, 4:55 am, amar [EMAIL PROTECTED] wrote:
I havejScrollpaneused in my application. I have normal html page
with static content and two images. In the first time when the page
loads, it is displaying half of the
Hello Mika, thankyou very much for your reply
Basically display something when onchange is triggered by select?
That was it, so when the user scrolls through the options in the
select, a DIV is updated (onchange etc)
I sorta did this using the 'callback' parameter, but as you can
imagine,
Thanks Oliver for this great tip.
I will add it as soon as possible.
There is a problem on the dropdown menus in Firefox that i am not able
to fix.
A mouseover open the menu, but the mouseout is not fired if the menu
has been clicked.
Look at this example, colors or fonts menu:
The SVG DOM is different to the HTML DOM (which jquery was written for)
- a lot of things are the same, so you may have some luck using jquery
in SVG (there are some threads dealing with SVG related issues in this
list which should give you an indication of what to look out for).
In the last
Hi,
We're lauching a new site, using jquery and lot of plugins (french site)
http://www.voyagemotion.com/
Thanks to the jquery library, and the plugins authors !
Hello.
I've got problem in using jEditable. I would like to use TinyMCE in
text area showed by jEditable. Is it possible anyway?
Hi and thanks for the feedbacks,
I will try to answer, i'm not very confortable with english, so sorry
for any non-sens.
jTagEditor was an early draft of what i had in mind.
markItUp! is developed from scratch. Below some features:
- No unnecessary ajax load for settings, Settings are now
Hi Alexandre,
Hum... weird bug.
Contact me in private with your test page, so we will find a way to
solve that.
Jay.
On 24 mar, 18:05, Alexandre Plennevaux [EMAIL PROTECTED] wrote:
i think i've found the cullprit: it does not play well with the
jscrollpane plugin. If i remove jscrollpane,
Here is one way to do it based on the markup you've shown:
html
head
style type=text/css
div { display: none; }
#no-1 { display: block; }
/style
script
type=text/javascript
I have just started learning jquery on the job. I am working on
existing application which uses jquery 1.2.1. I wanted to use 1.2.3
for getting better performance. When I do the substitution and load my
page, I get the following errors
jQuery(document).ready is not a function
This is probably truly basic, but I can't figure it out myself.
The problematic code calculates and manipulates objects positioning
(using offsetLeft and offsetTop), that runs on $(document).ready().
It runs as a module which is part of the Drupal CMS, so I don't have
control over some of the
The problem is that your extension doesnt consider the margin and
padding that affects in process of center.
I develop a plugin that make this
http://plugins.jquery.com/project/elementcenter
I hope it helps...
Alexandre Magno
Web Developer
http://blog.alexandremagno.net
On Feb 18, 8:53 pm,
Hi nacnez,
I think the next step for us would be to see a demonstration of your
problem. Can you post a link to a stripped-down public page that we
can look at?
Thanks,
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Mar 25, 2008, at 7:33 AM,
Use stop() http://docs.jquery.com/Effects/stop
--
Ariel Flesler
http://flesler.blogspot.com
On 25 mar, 09:01, NJW [EMAIL PROTECTED] wrote:
I am trying to make a rollover button using 'fade' and 'hide'.
I have 2 images absolutely positioned on a page, one exactly over the
other and the
I have two things to say:
1- Genius.
2- Seems like the byte saving is minimum. At this point, a regular if
would take exactly the same amount of code when minified (plus
the .end()'s) and it makes it harder to read, specially for non-
chaining-addicts (not my case).
In short, I love the idea,
On Mar 25, 2008, at 11:11 AM, [EMAIL PROTECTED] wrote:
I've got problem in using jEditable. I would like to use TinyMCE in
text area showed by jEditable. Is it possible anyway?
Yes. But you need to write custom input type for it. Basically it is
just few lines of code. If you can wait
Well it seems as if you can't override values with null as options. Is this
expected behaviour?
meeboo wrote:
Hi all
I have a plugin which has a couple of variables which can be overriden
like this:
$.fn.doStuff.defaults.classOdd = 'oddClass';
$.fn.doStuff.defaults.classEven =
Sounds like the jquery.js file isn't being found.
Check your path.
On Mar 25, 6:33 am, nacnez [EMAIL PROTECTED] wrote:
I have just started learning jquery on the job. I am working on
existing application which uses jquery 1.2.1. I wanted to use 1.2.3
for getting better performance. When I do
As I am not Drupal user difficult to understand what you can do or cant.
Basically with jQuery animations you can pass a function as last param and
it
will be executed after:
$(p).slideDown(slow,function(){
alert(Animation Done.);
});
If you cant change it, it suggest you to use setTimeout
Thanks Karl and Jörn,
I'm sad there's no solution yet with jQuery toolip but I will try
clueTip.
The mouse tracking was very good with tooltip so I hope to find a good
combination, I'll let you know =)
Thanks again
Flo
On 20 mar, 20:19, Karl Swedberg [EMAIL PROTECTED] wrote:
Not to poach a
It's superrr plugin.
Hi guys,
I´m looking for a solution to apply a Zebra Table Effect considering 3
rows a time instead 1. For example:
It´s my table.
row 1
row 2
row 3
row 4
row 5
row 6
row 7
row 8
row 9
Each 3 rows is related to a subject. So in each 3 rows I want applay a
diffrent colour. To get something
applying size attributes to each image seems to have done the trick.
On Mar 24, 6:26 pm, jesse z [EMAIL PROTECTED] wrote:
On load my content gets cut off. But not all the time. This problem
is somewhat consistent in Safari on a Mac and intermittent in FF. if
you jump back and forth between
http://www.pictureandword.com/test_platform/index.html
This is the Url for what I am doing.
I don't understand how I can use stop() to cause the animation to
cease to alleviate the issue above..
The .js is at:
http://www.pictureandword.com/test_platform/effects.js
I'm sorry to bother you
When you hover a tooltip in a select, it should disappear when you are
selecting a option.
In this case, the tooltip are putting the box of tip completely in
wrong place. And worse: when you are hovering the option the tooltip
keeps behind them, whats its strange user experience.
I try to solve
Try this:
$(function(){
$('div.out').hover(
function(){
$(this).next().stop().fadeIn(250);
},
function(){
$(this).next().stop().fadeOut(3000);
}
);
});
Will be more reliable if you get the divs class fade inside the
containers... still this should
$(function() {
$(.stripeMe tr).each(function(i){
var x= parseInt(i/3)%2;
if (x==1)
$(this).addClass('odd');
else
$(this).addClass('even');
});
});
there must be easier ways, but this works fine
:-)
On 25/03/2008, Leandro Vieira Pinho [EMAIL PROTECTED] wrote:
Hi guys,
Thanks for the suggestions. With some rewriting and changes in the
flow, I was able to get it to work. Although I was able to get it to
work, I wanted to ask one clarifying question to make sure I am
understanding the limits of jQuery methods.
In my original code, I wanted to make three things
Brad:
I created a sample page for you here:
http://design.mellentine.com/wp-content/uploads/2008/03/toggle.html
It uses a hash for the href and classes to assign the events. It may
not be much less code right now, but it will continue to work
regardless of how many toggles and divs you have.
I can't seem to get this right...
http://danthedesignman.com/c2/html/
I am on the mac platform and can't debug IE6/7 ...
can someone take a look at it quickly for me? I was told by a non code
knowledgeable friend that the navigation buttons do nothing in IE
Thanks!
Hi I have been banging my head over a small piece of jQuery I have written to
use for navigation.
basically I am binding a click function to li,
based on what li was clicked it opens its respected animation div, then
loads content
I work on a mac desktop, non intel based, which I am unable to
Keith, if you did want to use this code, please download it today, as I'll
be cleaning off various test pages on this site soon.
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffrey Kretz
Sent: Saturday, March 22, 2008 8:36 PM
To:
Hi,
I have a form
form id=previewForm name=previewForm
with two buttons and a text field. What I would like is when I press
enter on the text field, a JS function is invoked. What is the JQuery
syntax to trigger this?
Thanks, - Dave
Gerry Tucker schrieb:
Don't worry, fixed it. The examples in the code don't exactly
describe usage very well!
Instead of:
$.ajaxQueue({
... i should have been using:
$.ajax({
mode:queue, ...
You're welcome to help out with the documentation. All you need is to
register:
kozEfx schrieb:
This post is about the Validation plugin (http://bassistance.de/jquery-
plugins/jquery-plugin-validation/).
It seems that validation occurs on all fields initially, pre-submit,
but not all show error state if field data is cleared.
Test case:
goto:
AlexGrande.com schrieb:
The validate plugin is rocking my world. It will be all over
emedtv.com (my job) pretty soon for our upcoming registration included
projects. I added a couple of methods that help me out!
For instance for drop downs I did this: [...]
Thanks for posting your
When you hover a tooltip in a select, it should disappear when you are
selecting a option.
In this case, the tooltip are putting the box of tip completely in
wrong place. And worse: when you are hovering the option the tooltip
keeps behind them, whats its strange user experience.
I try to solve
AlexGrande.com schrieb:
uhh accidently hit submit or something. Here is the rest of my
message:
THe CSS:
.date {
position:relative;
}
.date .researchFormError {
left:2px !important;
}
The three error messages for the three date selects overlap and thus
to the user it seems like one
livefree75 schrieb:
Hello,
I have a form that displays data from a database table, and makes some
of the fields text boxes, so the user can edit them.
These text boxes are required fields. But if the user deletes the
text and then tabs out of it, the required error message does not
come up,
just a guess here...
it could be that the height is being calculated before the image is
fully loaded. It might help to set an explicit height/width for the
images. If that doesn't work, you could re-initialize the jscrollpane
stuff on $(window).load()
hope that helps
--Karl
Pablo Ziliani schrieb:
Pablo Ziliani wrote:
Hi guys,
I think this is my first post to the list, even though I have been
subscribed for more than 2 years.
Anyway, my question is simple and is mostly defined in the subject of
this email. I'm writing a wrapper for the ui.slider plugin that
Priest, James (NIH/NIEHS) [C] schrieb:
Trying to add a new validation method to check a yes/no set of radio
buttons:
My method:
$.validator.addMethod(checkyesno, function(value) {
if (value == 'Yes') {
return true;
} else {
return
noahsarkive schrieb:
treeview 1.2.3
jquery 1.4
My +/- icons are inert. Users must click on text to expand/collapse
the tree.
http://www.scooterworks.com
The hitarea styles are missing (menu.css). Compare that to the original
jquery.treeview.css.
Jörn
Ariel schrieb:
OK nevermind. after taking a break for a while and coming back, i
immediately found the exra comma in there. although, in my defense,
neither firebug nor webdeveloper toolbar fond the syntax error either.
I highly recommend a syntax-checking editor. Helps completely avoiding
easyMind schrieb:
I am using the async treeview to list all manageble elements on a
site. This means that if the user edits an item and, for example,
changes its title, this should reflect in the tree. Also moves and
deletes should reflect in the tree.
Because my forms get posted with ajax I
flobou schrieb:
Thanks Karl and Jörn,
I'm sad there's no solution yet with jQuery toolip but I will try
clueTip.
The mouse tracking was very good with tooltip so I hope to find a good
combination, I'll let you know =)
Apparently I just need to try again. I wonder what piece I was
Hello, all.
I've searched though previous threads hoping to find some clue, but am
still having issues with the following page:
http://beta.ksscholl.com/jquery/tablesorter.html
Click on the top or bottom checkbox, then do a sort on the table (with
the fine tablesorter plugin). The checkboxes
You should be able to intercept that button press by using the submit()
method of the form object.
$('#myForm').submit(function(){
// this method should fire whether the button was clicked with the
mouse
// or the enter button was pressed
return false;
});
form id=myForm
Hi Kevin,
Take a look at the source of this page:
http://tablesorter.com/tests/checkbox.html
There is a special ie-checkbox widget, i wrote to deal with the checked
state not being fired correctly in IE6.
Happy tablesorting!
/Christian
2008/3/25, Kevin Scholl [EMAIL PROTECTED]:
Hello, all.
we could even extend this, to a mini plugin
(function($) {
$.fn.jqStripeMe = function(options) {
// Set up default options
var defaults = {
defaultClass : 'odd',
altClass : 'even',
zebraGroup : 2
};
// Extend our default options with those
Hi, Christian. Yes, I have that widget in place (in fact, I believe
you wrote it in response to a question I'd posed some months back).
However, the problem still persists. I'm thinking maybe my select/
deselect all routine is not doing something properly, such that IE
isn't maintaining state
I always attack this sort of problem using something like
Javascript's splice().
The Array.splice() method will let you extract and optionally replace
the first three elements of an array. If you replace them with nothing
then you're effectively shifting three elements at a time.
Just loop
Hi,
i'd like to display e.g. 5 pics and an arrow to the right. When you
click that arrow the five pics slide to the left and other 5 pics come
from the right.
Is there a script to do such a slide show, i'm really new to jQuery so
i need a little help with it. Maybe you could also give me some
Linking an external layout css to my page seems to break jscrollpane
intermittently in Safari only. All other browsers seem to handle the
linkage fine. It happens most often when using the back button but
also when going from page to page. When i leave the style in my header
everything functions
On Mar 25, 3:35 pm, Olivier Percebois-Garve [EMAIL PROTECTED]
wrote:
As I am not Drupal user difficult to understand what you can do or cant.
Basically with jQuery animations you can pass a function as last param and
it
will be executed after:
$(p).slideDown(slow,function(){
Hi,
I've been triggering several events as follows:
$('.foo').trigger('bar.update');
$('.foo').trigger('bar.show');
etc...
If I listen to the bar event on foo:
$('.foo').bind('bar', function(e) {
// e.type = 'bar'
});
The event type property is always bar - how do I work out if
bar.update
On Mar 25, 3:35 pm, Olivier Percebois-Garve [EMAIL PROTECTED]
wrote:
As I am not Drupal user difficult to understand what you can do or cant.
Basically with jQuery animations you can pass a function as last param and
it
will be executed after:
$(p).slideDown(slow,function(){
I recently have had some similar problems when including jQuery into
my wordpress theme. The trouble was being caused by a wordpress plugin
that added some javascript code to the head, and it seemed to make
jQuery stop working, altough I could see it with firebug, as you.
If you have some other
After trying a dozen different things I ended up using .reset() on the
form which worked fine once. Obviously with Ajax it was not resetting
to the last value but the original state of the DOM.
I ended up using a plain old hidden input named current_value and
updating/retrieving as necessary. I
Hi
that is the first time I use the Ajax functionality of JQuery and I
face so many problem. I meant that to update my select field by Ajax I
need to do it by this way:
$(#myId).change(function () {
$.ajax({
url: ajaxCallback.php,
cache: true,
I'm having a problem with Superfish v1.4.1 by Joel Birch. I'm not sure
if it's a bug, or behaving this way by design.
The problem can be seen if you take the example page:
http://users.tpg.com.au/j_birch/plugins/superfish/all-horizontal-example/
and remove the child UL tag from the third menu
2008/3/25, Jörn Zaefferer [EMAIL PROTECTED]:
Mileto schrieb:
Hi,
I am with a simple problem using plugin tooltip. I apply the tooltip
in selectbox. If mouse step in selectbox still closed it works
perfectly, but when I click on the mouse selectbox and step through
options, the
Hi,
Unfortunately, that didn't work for me. Here was my code:
$('#pageForm').submit(function() {
var page = $('#page').val();
if (!isInteger(page)) {
alert(The page number must be an
integer.);
In what way did it not work? It could be that your return false is inside an
if statement. Mayne you're not making it into that if statement?
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2008 2:58
You're allowed to pass in an array object along with each trigger method
call.
So this might work for you:
var call = 1;
$('.foo').trigger('bar.update',[call]]);
var call = 2;
$('.foo').trigger('bar.update',[call]]);
$('.foo').bind('bar', function(e,data) {
if (data[0] == 1) {
Jörn
If I recall correctly, I had to force positioning by mouse (pageX/Y)
rather than by invoking element when using an area element. Not sure
if I had to do something else, too.
flobou,
I have an experimental mouse tracking option in clueTip that works
most of the time. just set
noahsarkive schrieb:
My treeview pics are inert. You can click text associated with them to
expand/collapse the menu, but the +/- icons do not respond.
Does anyone have an idea why this might be so?
See: http://www.scooterworks.com
The hitarea styles are missing (menu.css). Compare that to
You're correct about the name-spacing. The name-space comes after the
event type:
$('.class').bind('click.namespace', function(){//});
$('.class').trigger('click.namespace');
(from: http://docs.jquery.com/Events_%28Guide%29 )
Karl
On Wed, Mar 26, 2008 at 5:34 AM, Guy Fraser [EMAIL PROTECTED]
Hey group,
I've been battling with this all day. any help would be appreciated.
I'm quite new a jQuery so it could be something obvious and simple.
also, feel free to give me any advice related to the rest of my code
if you feel compelled.
what i'm doing is, loading via $.ajax, pages on my
Hi,
I'm fairly new to jQuery so bare with me. I've had a search on the forums,
but if its already been answered i apologise
I'll show the code first...easier to explain
div class=product
div class=display images/bedroom.jpg /divbr /
div class=thumbs images/thumbs/bedroom.jpg
Hi,
In many jQuery plug-ins and JS code using jQuery, I find comments at
the top of the source code like this:
/**
* SomeFunction - Some comments.
* @requires jQuery v1.2 or above
* @example
*
*/
This looks like Javadocs to me, but there are certain fields that
don't seem to be in the
Hi there,
http://www.pictureandword.com/test_platform/index.html
Tried out your code, and the results are a bit odd.
The first button that you rollover has it's image altered, but it does not
fade out again.
Thereafter all of the buttons behave differently in that they all have a
http://jquery.com/
zok [EMAIL PROTECTED] wrote:
Hi,
i'd like to display e.g. 5 pics and an arrow to the right. When you
click that arrow the five pics slide to the left and other 5 pics come
from the right.
Is there a script to do such a slide show, i'm really new to jQuery so
i need
Ah, should have seen that in your original post.
Yeah, you'll just have to duplicate the pages, having a normal page
for standard links, and a 'content only' page for ajax calls.
Not much else you can do without a server to build the html for you on
the fly :-/
On Mar 25, 1:32 pm, zwaldowski
I'm befuddled... my hover effects work only during initial load -when
content is reloaded via click() - the hover stops working.
// First, I populate a tab box with the contents of a hidden div
$('#tab_1').html( $('#tabcontent_1').html() );
// inside tabcontent_1 I am doing hover business on
I have this code:
$('a#addPlayer').click(function() {
$('pimg class=remove src=img/ui/forbidden.jpg
alt=Remove \/
label for=playerName-'+pi+'Player Name: \/labelinput
type=text class=required name=playerName-'+pi+' \/ label
for=playerNumber-'+pi+'Player Number: \/labelinput
you can add another option ot your ajax call -- success: function(msg)
{ } -- the msg is the code returned from your server. you also need
to take away onchange=load_select() from select tag.
On Mar 25, 11:27 am, jojolapin [EMAIL PROTECTED] wrote:
Hi
that is the first time I use the Ajax
This is probably a silly question, but I'm new to jQuery. Anyway, I
have a thickbox iframe with a form in it. I'm also submitting the form
using the Form Plugin. Everything works great, it spits out the
response text just fine, and I'm pretty much floored at how clean
things are.
What I'm trying
Yeah, I thought I'd have to use the data feature, it just seems a shame
not to have a property on event that provides that info.
I did some digging in the jQuery source and found that i's trivial to
expose the namespaced event type by inserting the following in to the
handle() method before
It appears as though the variables page, rp, sortname and
sortorder are POSTed to the xml script.
A nice plugin indeed!
Cheers
Dan
On 24 Mar, 00:13, Web Specialist [EMAIL PROTECTED] wrote:
Flexigrid(http://webplicity.net/flexigrid/) is a very nice grid plugin with
several awesome features. I
Using the coda-slider.1.1.1 plugin works in Firefox but there is a bug
in IE. It seems that the floats are not working within the 'scrolling'
div so that the items don't wrap.
See example: http://www.lib.byu.edu/hbll/dev/news_beta.php
Can someone tell me how to make it work in IE?
At first hello to everybody! I'm new to jquery and this group.
I'm just starting to dig into the framework, and I need some kind of
more concise guidelines on my very first project I'm trying to create
with jquery.
What I want is to clone this flash functionality here:
As I told you, divs with class fade need to be visible, so add
a .show() after the .next().
You need to put the divs.fade inside each div.out, so hover will work
as expected.. and then you need to change the .next() part.
Cheers
--
Ariel Flesler
http://flesler.blogspot.com
On 25 mar, 16:58,
Do you assign the events then load the tab contents? If so then read this:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F
If you load the tab contents then assign the events, I have no idea
what the problem could be. You'd need to
Hi jPeople,
Switched from innerFade to use the Cycle plugin's pause and resume
functionality. Works great thank-you!
I am looking for a way to check if the image contained by the next
slide is loaded before displaying it. The lovely fade effect falls
flat when the next image is only half
The problem is that when you run:
$('img.remove').click(function() {
console.log('test');
return false;
});
The image you are attempting to bind to doesn't exist.
To get around this you will need to bind the remove function after
adding the player.
There's a few ways to do this -
95 matches
Mail list logo