Hi there,
I do have some experience with it, building a isometric game engine in
jQuery right now.
Best you ask me your questions directly via email, since I don't often
read the standard
jQuery lists.
Cheers,
Paul
On Aug 26, 8:15 pm, Aaron [EMAIL PROTECTED] wrote:
Hi I am currently working
I am building a website and using the slide effect to transition
objects in and out of the screen. For some reason, in Firefox 3, the
slide effect using {direction: down} creates a weird jitter at the
bottom of the div that is sliding down. The website to see is
www.freewebs.com/edauenhauer.
Hoepfully a quick question. I'm trying to loop through and grab the
heights of multiple divs but I'm having a few problems. The height()
and css('height') functions dont seem to be working.
Each of the boxes are different heights and I want to use JS to get
the heighest box and set all the boxes
I am fairly new to jquery and still trying to get my head around some
proper implementation. I'm hoping someone can explain why this works:
function doToggle(id){
id = '#'+id;
$(id).toggle();
}
but, this does not:
function doToggle(id){
id = '#'+id;
$(id).toggle(
This doesn't work because the element you are trying to show/hide is a
tr element (which has its default display: table-row; )
When jquery does animations it sets the display property to
'block' (this breaks the table)
If you want animations on table elements use only fadeIn and fadeOut
(as
php return value wont show, heres my code
// PHP Source returns:
[{id:74,fullname:No
Image,email:[EMAIL PROTECTED],img:,comment:testing
,dateposted
:08\/22\/2008},
{id:75,fullname:aqlx86,email:[EMAIL
PROTECTED],img:,comment:with
image
,dateposted:08\/22\/2008}]
//JQuery Source
[code]
var
i know its of the annoying topics but...
im using this function to set cursor position:
function setSelectionRangeX(input, selectionStart, selectionEnd) {
// IE
if (input.createTextRange) {
var range = input.createTextRange();
range.collapse(true);
I am submitting to a function instead of url. This function makes an ajax
request. If server cannot save the edited data or some other error. It will
return ErRoR in the string. I check if there is ErRoR text in the return
string I am displaying an message box.
Now i want the edit form to be
Hi,
Would anyone know if and how it is possible to change the width of a
vertical Superfish menu (the main panel)?
Thanks,
Shloime
Hi,
Would anyone know if and how it is possible to change the width of a
vertical Superfish menu (the main panel)?
Thanks,
Shloime
hi,
i found out whats triggering the error.
the problem is the pathname provided for the images.
firefox is dealing with ../../pathtoimg
but i.e. is taking hostname plus path. so the if condition fails at
this point.
i'll show you my approach to solve this issue as soon as i have a
solution
thanks a lot Ariel
Hi,
I have been learning Jquery and been following along from a tutorial I
found online.
I have used the latest jquery file, the tutorial is few months old.
The script below does not work in Safari because I used the following
selector :
$('div.tabs div.containers') instead of $('div.tabs
Hi,
I'm trying to make a quiz (it's only for displaying information for
kids). The requirements are as follows:
A list of questions (say 10-15).
Each question will have a list of checkboxed answer options
Some questions require a combination of two or more checkboxes to be
checked (this is
That didn't work for me. Now I'm trying to implement lightbox 2 with
jQuery accordion library and I still can't them to work together. I
replaced every $ with $j and added var $j = jQuery.noConflict() to
the top of my accordion js files (like someone suggested in a
different forum) but that
Ok, Thanks for the answer.
On Aug 26, 3:08 pm, Mike Alsup [EMAIL PROTECTED] wrote:
The problem is that i don't have access to the metadata plugin.
So the question is still... is this possible with the built in
function $.data?
No, the data function does not extract data from the markup.
Ara wrote:
Quick question (hopefully quick). I'm trying to use superfish to
create a nav bar style menu, this all works as advertised, however
I've set the width of the ul to be 960px, I'd like all the li's to
spread evenly through the entire 960px.
The default behavior is squished to the
Richard D. Worth wrote:
http://groups.google.com/group/jquery-a11y
That group could do with deleting the porno spam :s
Regarding your first question, have you tried putting this in your
autocomplete stylesheet?
overflow-x: hidden;
This should suppress the horizontal scrollbar.
Hi Shloime,
Simply change the ul element's width property within the CSS. Here is
a link to the CSS which, when added to the base Superfish CSS file,
creates a vertical-style menu...
http://users.tpg.com.au/j_birch/plugins/superfish/css/superfish-vertical.css
...the very first rule contains
Actually, sorry Guy, but that is not what Supersubs does.
Joel Birch.
Right from the Docs
http://docs.jquery.com/Core/each
This means that every time the passed-in function is executed (which
is once for every element matched) the 'this' keyword points to the
specific DOM element
so it should be
$('.box').each(function(){
console.log( $(this).height()
I'm working on a script, and I've got it working about halfway. The
page will show a bunch of panels, and clicking a link hides a text div
and shows a form.
Here's the jQuery. Right now, it toggles the searchform and panel_text
divs in the same searchpanel div. I'd like to have it so that when
Thanks for pointing that out. It has been cleaned up.
- Richard
On Tue, Aug 26, 2008 at 10:36 PM, Guy Fraser [EMAIL PROTECTED] wrote:
Richard D. Worth wrote:
http://groups.google.com/group/jquery-a11y
That group could do with deleting the porno spam :s
I'm working on a script, and I've got it working about halfway. The
page will show a bunch of panels, and clicking a link hides a text div
and shows a form.
Here's the jQuery. Right now, it toggles the searchform and panel_text
divs in the same searchpanel div. I'd like to have it so that when
Do you have a link you can provide? Something online?
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of illtron
Sent: Wednesday, August 27, 2008 8:37 AM
To: jQuery (English)
Subject: [jQuery] Hiding other divs when I show one
I'm working on a
Hi everyone,
I've just started using jquery and a few plugins including cluetips:
they are wonderful! :-)
Now, my question. I am using cluetips to display the content of a
short help file on some elements. Many elements are such that their
help file differ only slightly. What I would like to
Remy Sharp's explanation may serve you well; It's all about padding.
http://jqueryfordesigners.com/animation-jump-quick-tip/ Animation
Jump - quick tip
**--** Steve
On Aug 27, 1:31 am, Eric [EMAIL PROTECTED] wrote:
I am building a website and using the slide effect to transition
objects
Hi all,
I was wondering if anyone had any suggestions as to a method to
temporarily disable/prevent certain events from firing once one event
is fired? E.g. when pressing one button, I want to disable all other
button presses until an animation has finished.
One idea is to temporarily add some
Bah I'm such a tool, thanks the reply, its one of those days!
J
On Aug 27, 2:16 pm, MorningZ [EMAIL PROTECTED] wrote:
Right from the Docshttp://docs.jquery.com/Core/each
This means that every time the passed-in function is executed (which
is once for every element matched) the 'this'
In addition to what MorningZ has said, see the vjustify plugin:
http://michael.futreal.com/jquery/vjustify
The nugget there is to use the offsetHeight property, which factors-in
margins, padding, etc.
**--** Steve
On Aug 27, 7:25 am, james_fairhurst [EMAIL PROTECTED]
wrote:
Hoepfully a
http://dadoodesign.com/jqDemo/
IE6 ISSUE**
As you can see when the button is pushed, the modal pushes the div
down? Tried playing with the Z index but that didn't seem to solve the
issue.
Not worried about placement of buttons or other css attributes right
now. Just trying to resolve gap
I think I've found a bug in jquery in IE7 and safari, seems fine in
FF3.
Try running this code in IE7. The alerted index comes out randomly
incremented.
$(function() {
var dataItem = $('li');
$(dataItem).each(function(i,item){
$.ajax({
url:
That line has nothing to do with the error, because putting an alert
right after the selector results in [object Object], which is what
is expected
anyways, good practice is that if you are going to show/hide stuff on
page generation, then do it with CSS, that way there's no need to have
jQuery
i'm trying to fadeIn element after first element fadeOut.
i have this in $(document).ready:
-
$(a.link).click( function() {
current = $(.link.current);
id = $(this).attr('rel');
next = $(#link_+id);
Thanks so much. Does the width need to be in em or can can I use any
other units, like px?
On Aug 27, 7:47 am, Joel Birch [EMAIL PROTECTED] wrote:
Hi Shloime,
Simply change the ul element's width property within the CSS. Here is
a link to the CSS which, when added to the base Superfish CSS
problem is that next element appears while current element is still
fading out, any idea what i'm doing wrong?
Maybe you could add display:none; to the current css class.
Paul
The docs site is excruciatingly slow again for me today. I have come
to rely heavily on jQuery and use the docs site almost daily. On days
like this when it is slow I wish for an up to date mirror. There are
alternatives, but AFAIK they are not the most current.
I am confident the docs site
Hi
I've been setting arbitrary attributes on my html tags, and using
jQuery to make AJAX requests based on their values. These has worked
well so far as writing out arbitrary attributes from the backend is
trivial.
But I'm about to start using per element attributes more intensively,
and now
Here you go. This example functions how I initially described it.
http://oldhomeweek.info/dropbox/jquerytest.html
On Aug 27, 9:54 am, Andy Matthews [EMAIL PROTECTED] wrote:
Do you have a link you can provide? Something online?
-Original Message-
From: jquery-en@googlegroups.com
I used the disabled approach once. Another option is a global
variable, sort of a semaphore/mutex.
All the bound function first check:
if( disabledEvents ) return false;
Another option is using event delegation. If you bind only one
function, you can easily unbind/rebind it, OR bind another
You can use whatever units you prefer. I prefer ems where possible but
can imagine situations where of or percentages would be preferable,
eg. to fit a fixed width sidebar.
Joel Birch.
On 28/08/2008, Shloime [EMAIL PROTECTED] wrote:
Thanks so much. Does the width need to be in em or can can
That should have read where px or percentages...
Okay, so I built a site using jQuery as my preferred JavaScript
library (of course). However, I'm getting the strangest error in
FF2/3 for a preLoadedCSSImages plugin. It works fine in IE 6/7.
FTW?!
Here's the site:
http://www.headacheandpain.com
Now, I will say, this site is hosted on a
Hi there
I am attempting to create a modal which will ask for an email address
when a user attempts to download a document. The basic functionality
is to capture a click, send document src (so redirecting from the
modal can be done), send email address to remote page for processing,
detect for
I have the same problem too ... I use jQuery 1.2.6.
This script doesn't work on IE 6:
script language=javascript type=text/javascript
$(document).ready(function() {
$.ajax({
type: POST,
url: someurl.php,
i acutally was already on that page, but was to dumb to realize that
it does almost everything i'm looking for. together with your answer
to Quadblade's question it does exactly what i want, thank you.
btw, small bug in http://demos.flesler.com/jquery/serialScroll/js/init.js
, it links to
I am running Superfish with Smarty templating engine but there appears
to be a conflict with jquery and smarty
I call Superfish using the basic code below but it will not work
$(document).ready(function(){
$(ul.sf-menu).superfish({
pathClass: 'current'
});
I updated my script slightly to include the fade in/out, but still no
progress on the bigger problem of hiding other forms when clicking
inside of a new searchpanel.
On Aug 27, 11:29 am, illtron [EMAIL PROTECTED] wrote:
Here you go. This example functions how I initially described it.
Thanks. It seems to be working now.
I am getting the same problem as well.
I used formatResult to format the data being placed in my input but my
result callback is still getting the unformatted data as its 3rd
parameter.
Any ideas why?
Thanks,
Franz
On Aug 15, 2:32 am, Professor B [EMAIL PROTECTED] wrote:
Thanks again,
Hello.
Can I do these steps using jQuery:
1) store old events of elements;
2) bind new events to the elements;
3) remove the new events;
4) restore the old events.
I have a drop down menu. I want to hide it when a user clickes
anywhere else.
I am get error missing ; before statement on different lines of jquery
code. I provided all necessary ; (semi colon) but still getting
error. Can anyone help me in resolving this problem as it is really
headache for me
I am fairly new to jQuery so excuse me if this is a somewhat dumb
question. I have a click function applied to all my links with the
class delete. How do I select the parent div of this link? I have
tried the code below with no success. Thank you.
div class = 'grey'
a href = '#' class =
I haven't tried using JSON, but I did try manipulating the response
directly using jquery with
[code]
success: function(response){
var popList = $(response
+' .thisPopList').html();
var showsList = $(response+'
I am fairly new to jQuery so excuse me if this is a somewhat dumb
question. I have a click function applied to all my links with the
class delete. How do I select the parent div of this link? I have
tried the code below with no success. Thank you.
div class = 'grey'
a href = '#' class =
Another update:
I've got it all working. Can you help me optimize the code? I have to
imagine that what I wrote isn't the best jQuery in the world.
You can see it here: http://oldhomeweek.info/dropbox/jquerytest.html
On Aug 27, 9:54 am, Andy Matthews [EMAIL PROTECTED] wrote:
Do you have a
The @see comment ?
That's on purpose, read the description :)
--
Ariel Flesler
http://flesler.blogspot.com
On Aug 27, 1:15 pm, Almir Karic [EMAIL PROTECTED] wrote:
i acutally was already on that page, but was to dumb to realize that
it does almost everything i'm looking for. together with
Hi Mike,
Thanks for your reply... OK, I now am using jQuery Cycle Plugin with
all transitions -
uncompressedhttp://www.malsup.com/jquery/cycle/jquery.cycle.all.js?v2.25
and now can't seem to achieve even the fade!?
Where in the js file do I define, say, scrollDown? I've tried in the
sorry, posted by accident.
For some reason, the above code only returns popList in both holdBands
and popList.
I think using json adds a level of complexity that isn't neccesary, as
the alert shows the IE can find the string, but doesn't display that
string.
I assume that json would convert
I recently made the switch to jQuery and i'm happy I did so far.
However I'm missing my trusty invoke method from prototype.
invoke:
$('div1', 'div2').invoke('hide');
this is how im doing it now...
$.each(['#div1', '#div2'], function(i, s){ $(s).show() });
I tried $('#div1', '#div2').hide();
You need to do this:
$(#div1, #div2).hide();
Both selectors go inside the quotes. Otherwise, you are passing 2 arguments
to jquery, and the second argument sets the context for the selector search.
-- Josh
- Original Message -
From: riegersn [EMAIL PROTECTED]
To: jQuery
With the code being stored on Google (
http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery )
would it not be beneficial to have that information shown next to the
download area so people know that they can link to the version on
google's servers. The only time I can think when
Ah, that makes sense. Thats my fault for not reading the docs
thoroughly. Thanks!
Wow... nothing... Is anyone using JQuery with a regular old-fashioned
frameset and frames?
On Aug 25, 2:56 pm, Bob Gregg [EMAIL PROTECTED] wrote:
My apologies if this has been asked before; but in searching I can't
see that anyone asked quite the same thing in the past. I have a frame-based
I'd like to do slideshow by myself but I've met some problems.
This example is quite simplified:
var pos= 0;
slide = function(){
currImg[pos].fadeOut(slow, function(){
curImg[pos+1].fadeIn(slow, slide() );
}
pos = pos + 1;
);
}
It's wrong example because of recursion.
How can it be made?
Hi folks
I did this before and can't remember how.
If click and double-click are both bound to the same object, how can I
stop the click from firing during double-click ?
Thanks,
Liam
Hi,
General:
I'm trying to access several elements on the page, some hidden, some
not.
When I try to call methods on these objects using each(), the process
dies because of the hidden elements.
Specific:
I'm trying to target several flash audio buttons within a playTone
div to tell them all
I appreciate the help, but that doesn't actually address my problem.
I'm not trying to be rude, but you'll have to look at my actual
website to see the problem (http://www.freewebs.com/edauenhauer). I'm
sorry if that is a lot of trouble, but I don't know how to explain my
problem better than
Hi,
I've try to use remote method and not work. I donwload the complete
Milk example and it don't work too.
This is the parameters
script type=text/javascript
$(document).ready(function(){
var validator = $(#form1).validate({
rules: {
codigo: {
required: true,
I figured out the problem. Well, most of it.
1st I needed to use jQuery.noConflict to get around the $ issue. The
code is
var $jQ = jQuery.noConflict();
var $jQ = jQuery;
$jQ(document).ready(function(){
$jQ(ul.sf-menu).superfish({
HOLY FRUSTRATING!!!
Turns out this was an error being that i had an extra div in the
output! rrrggghh..
well, that was the first problem anyway, i suspect the second problem
is similar.
Thanks for the help,
Pete
On Aug 26, 8:31 pm, pedalpete [EMAIL PROTECTED] wrote:
Hey Gang,
I've got
Hi,
I've try to use remote method and not work.
There are the parameters
script type=text/javascript
$(document).ready(function(){
var validator = $(#formcode).validate({
rules: {
codigo: {
required: true,
minlength: 3,
remote:
Hi André,
There are a couple ways I can think of to do #1. I've whipped up a
couple demos to show you:
http://plugins.learningjquery.com/cluetip/demo/multi-ajax.html
http://plugins.learningjquery.com/cluetip/demo/multi-ajax2.html
Just view source to see how they're done.
The second one is
Thanks for pointing this out so clearly. Its now fixed in the latest
revision: http://dev.jquery.com/changeset/5841
The first parameter is now the untrimmed value, so methods that relied
on the trimmed value are now more correct. The required method now
does the necessary trimming.
Jörn
On Wed,
Can you check if a request is made and what the response is via Firebug?
In any case, a testpage would help a lot.
Jörn
On Wed, Aug 27, 2008 at 9:56 PM, adrianrz [EMAIL PROTECTED] wrote:
Hi,
I've try to use remote method and not work.
There are the parameters
script
On Aug 27, 5:23 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
Hi André,
There are a couple ways I can think of to do #1. I've whipped up a
couple demos to show you:
http://plugins.learningjquery.com/cluetip/demo/multi-ajax.htmlhttp://plugins.learningjquery.com/cluetip/demo/multi-ajax2.html
I'm using Dan's autocomplete plugin in an app and it's working great. I just
have one question. I'm loading in all options (around 5-10) into an array
when the page loads. I'd like to trigger the list selection screen when the
user clicks into the text field. Is this possible?
So if I've got the
Greetings; here is what I am trying to accomplish. On my page, I have
a hidden div; when I mouse over a link elsewhere on the page, I want
to populate that hidden div with other data from the page to build the
tip to display. Once that div is updated, then I want to cluetip to
do its magic and
Hi Jorn,
I now have the following based on your suggestion to populate the
second input field:
$(document).ready(function(){
$(#lotno1).autocomplete(../js/autocomplete.php?SaleNo=102, {
matchContains: true,
mustMatch: true,
Another question, in jquery.js(include version 1.2.3, 1.2.6 etc.) why
add this code:
1. // Prevent memory leaks in IE
2. // And prevent errors on refresh with events like mouseover in
other browsers
3. // Window isn't included so as not to unbind existing unload
events
4.
Hi,
I want to have a simple event that notifies me whenever some input
type=text / gets changed its content.
But I can not use change() because it only fires when the input
changes and the input loses focus.
The event I would like would be an mixture of keydown, keypress,
paste, ... events.
Do
Unfortunately, as you've discovered, the change usually event only
fires when a field loses focus. I suggest, to catch changes as quickly
as possible, you do something like the following:
function doSomethingOnChange() {
// do something
};
$(':text').bind('keyup change paste cut',
You can't stop the click from firing before the double-click. Usually
elements that respond to double-click either don't respond to click at
all, or click puts them in a selected state (think of clicking on a
file in the Explorer/Finder).
Karl Rudd
On Thu, Aug 28, 2008 at 5:36 AM, Liam Byrne
Hi Jörn,
Very very thanks for your advice. The problem was in the name of GET
parameter on the remote script
$request = trim(strtolower($_REQUEST[codigo]));
$_REQUEST[codigo] instead $_REQUEST[value]
This problem was because in the Milk example (server side script) is
bad explained.
Lets says if i open a browser window using File - New - Window.
I am wondering if Jquery creates a handle or reference to the browser
window and stores it in Jquery Object.
This kind of information will be very helpful to detect if browser has
multiple windows opened.
Please let me know if its
May want to look at Ariel Flesler's Translator:
http://flesler.blogspot.com/2008/05/textnode-translator-for-javascript.html
I used it to write a simple incrementor for numerals within a selected
set.
jQuery.fn.incr = function(amount, fn) {
amount = typeof amount == 'undefined' ? 1 :
May want to look at Ariel Flesler's Translator:
http://flesler.blogspot.com/2008/05/textnode-translator-for-javascript.html
I used it to write a simple incrementor for numerals within a selected
set.
jQuery.fn.incr = function(amount, fn) {
amount = typeof amount == 'undefined' ? 1 :
Hmm. I'm surprised that you're seeing this as an error. Are you sure
it isn't just a warning? Where is it being reported?
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 27, 2008, at 12:58 PM, mohsin wrote:
I am get error missing ; before statement
Seth,
Are you just looking for advice on how to do it or are you having a
problem/issue?
On Aug 27, 9:21 am, Seth - TA [EMAIL PROTECTED] wrote:
Hi there
I am attempting to create a modal which will ask for an email address
when a user attempts to download a document. The basic functionality
No one can help you with this, because you haven't shown us the code in
question.
Post a link to a test page that has the error, and then someone can help
you.
Or, at the very least, post the code in a message.
Otherwise, I'd have to say... You probably have some missing semicolons! :-)
-Mike
No one can help you with this, because you haven't shown us the code in
question.
What? Is that a challenge? I bet mohsin's code is missing a brace
somewhere.
:-)
Hi,
Does anyone knows how to style and input of type file with JQuery?
I want to use an image as the button or maybe a simple normal input
styled with CSS.
I also want to style the input where the path is ... I want it to have
a grey background and no border.
Any idea of how to accomplish
Lets says if i open a browser window using File - New - Window.
I am wondering if Jquery creates a handle or reference to the browser
window and stores it in Jquery Object.
This kind of information will be very helpful to detect if browser has
multiple windows opened.
Please let me know if
Don't apologize for asking people to click on your link - that's the best
(only!) way to see the problem.
The jittering below the details box is being caused because the
#compmusfinal box is changing in height. Click the same song over and over
again and watch the bottom of the box. If you open
On Aug 28, 6:58 am, Michael Geary [EMAIL PROTECTED] wrote:
Don't apologize for asking people to click on your link - that's the best
(only!) way to see the problem.
The jittering below the details box is being caused because the
#compmusfinal box is changing in height. Click the same song
with .child I know I can get the number of children of a certain
element, but if i have something like this
input type=button class=buttonfun value=Button One
input type=button class=buttonfun value=Button Two
is there a way to know when i click on either one, that I clicked on
child 1 of 2 or
I've seen it on ExtJS FileUploadField example:
http://extjs.com/deploy/dev/examples/form/file-upload.html
On Thu, Aug 28, 2008 at 8:46 AM, shapper [EMAIL PROTECTED] wrote:
Hi,
Does anyone knows how to style and input of type file with JQuery?
I want to use an image as the button or maybe a
missing ; before statement
HTTP/1.1 200 OK\n
this is the complete error i m getting on line 65
var listing_update = this_domain_mybayut+/includes/sub/
updatelistings.php;
$(.view_detail).livequery(function(event)
{
/*$(this).mousemove(function()
{
return overlib('View Property Detail',WIDTH,150,CENTER);
});
$(this).mouseout(function()
1 - 100 of 103 matches
Mail list logo