Hi guys i have tried to create my first plugin but its giving me some
odd behaviour.
what im trying to achieve is to put default text in an empty input
field and hide it when the field has focus and then show it again if
nothing was entered into the field on blur. This i have done pretty
easy but
Hi there,
I have a function which controls my interface. If people click on a
link with the class 'less' i would like a dive to slide up.
My code roughly looks like this:
$(a.less).livequery( 'click', function() {
var cur_project_id = ( $(this).closest( div.project ).attr
( id ) );
Hi,
Got a bit of a weird issue in IE 8 with this code:
jQuery.getJSON(/v.f, { do: wiki_ajax, id: jQuery
(this).val(), field: 1 }, function(j){
The whole function is:
jQuery.noConflict();
jQuery(function(){
jQuery(select#article_is_in_1).change(function(){
Ah never mind - found it:
do: wiki_ajax,
For some reason it doesn't like do: , so I renamed to wiki_do, and its
fine now
Wonder why that is?
TIA
Andy
On Jan 6, 11:46 am, youradds andy.ne...@gmail.com wrote:
Hi,
Got a bit of a weird issue in IE 8 with this code:
That works Johan, thanks very much.
Doesn't validate, but I guess that's not the end of the world...
Thanks again.
Paul
2010/1/6 Johan Borestad johan.bores...@gmail.com
Hi Paul!
This is a case where you really don't even should use Javascript,
unless you're trying to do some fancy
Hi all,
I am trying to get this mega dropdown menu:
see textielmuseum.nl/
So far i have:
bldd.nl/prototypes/megamenu/test2.html
But i can´t get the hoverIntent to work?
here´s my try W.I.P
bldd.nl/prototypes/megamenu/test4.html
Any tips, ideas how i to get my mega dropdown to work on hover and
why not just
$(a.less).live('click', function() {
$(this).closest(.project).find(.morebody).slideUp
(normal);
return false;
});
??
it's been coded in jQuery before, like
http://www.blarnee.com/projects/coverflow/
i recall that one of the people on the jQuery UI team was messing
around with that effect as well
On Jan 5, 10:22 pm, Matt Quackenbush quackfu...@gmail.com wrote:
Hello,
I found an iTunes style slider/rotator
On Jan 5, 9:43 am, Bruce brucejin...@gmail.com wrote:
Is there a jQuery way of doing this Prototype bind?
I don't know about built-in means, but here is one that Google
provides:
http://groups.google.com/group/jquery-en/msg/0980e113f097720a
-- Scott
Because i'm using the slide effect on multiple places so i would like
to create a function for it.
I just seem to be unable to get the object passed into the function
the way it 'should'...
Thanks for your reply though!
On Jan 6, 2:54 pm, Šime Vidas sime.vi...@gmail.com wrote:
why not just
Hi,
I am having problem with this function.
$(document).ready(function(){
$('table.small td img.delete').click(function(){
$.get('ajax/update-callback.php', {doaction: 'remove', callbackid: $
(this).attr('id')},
function(data){
Wonder why that is?
https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference/Reserved_Words
it's just that browsers other than IE handle it (much) more
gracefully :-)
Also just a quick tip on your code in general... if you know the ID of
something, then use *just* the ID for the
Hi
I use autocomplete newest version on
http://www.kle-online.dk/stage
Things work great in FF and IE8 but in IE7 half of the page disappears
when the autocomplete list shows. Try to type benz in the search
field and problem should be easy to see.
Cheers,
Rune
I wouldn't really call that a mega dropdown. All it is is 2 divs,
the second one hidden and sliding into view when you mouseover the
first. The menu items themselves appear to be completely irrelevant as
far as the dropdown effect is concerned.
On Jan 6, 8:37 am, 123gotoandplay
ok so I figured out that you can put in image in your page using .load
(imageloader.php) but is there a way to load an image using regular
ajax call .
alittle more explanation of what I'm trying to do
in my php I use imagejpeg function which outputs the image using gd
great!
and in my html i
I want all my ajax calls to run through the same ajax function
What same ajax function?
On Jan 6, 10:29 am, Mean Mike mcgra...@gmail.com wrote:
ok so I figured out that you can put in image in your page using .load
(imageloader.php) but is there a way to load an image using regular
ajax
The jQuery documentation states that it uses a combination of both CSS
and XPath selectors.
Does that mean that I should be able to select attributes using the
syntax:
[attName=Val1 or attName=val2]
since XPath criteria allow OR's like this?
If not, exactly what parts of XPath are supported?
Is it possible to use the jquery form validation plugin (http://
bassistance.de/jquery-plugins/jquery-plugin-validation/) to validate a
form that was inserted into the page via javascript? What I'm trying
to do is display a person's address, which is contained in a span tag,
and give them the
I am interested in the event change, and am looking at
http://docs.jquery.com/Events/change.
$(select).change(function () {
var str = ;
$(select option:selected).each(function () {
str += $(this).text() + ;
});
$(div).text(str);
Hi,
I have a website which has jQuery JavaScript Library v1.3.2 installed.
Should i update this to the latest, or would this cause problems to
the site.
Thanks
Dave.
Howdy,
I have jquery.cycle.min.2.72.js up and running, but am having trouble
integrating it with another javascript image manipulation package:
softedge.js (http://cssglobe.com/post/1344/soft-edge-technique-soft-
edges-and-opacity-gradients-for).
Basically, I would like images to fade in and out
basically all ajax calls go through
$.ajax({.});
I made a function that gets passed all the parameters that I want in
the ajax call
oddly enough i can't get load to work right either i just get Array
returned
On Jan 6, 10:33 am, MorningZ morni...@gmail.com wrote:
I want all my ajax
So you are trying to use jQuery's .load() functionality with an
actual image (i assume that your php sets the content type to image/
jpeg, image/gif, etc and writes out the actual binary image data) ?
that's not going to work, as the .load() loads the result of the
Ajax call into the innerHtml of
What you have there should be working. Perhaps the json response is
not properly formatting. Try adding an error callback, or using the
global ajaxError hook, and see if that's the problem.
Mike
On Jan 5, 8:20 pm, Scott Brady dsbr...@gmail.com wrote:
I'm having an issue using the jquery form
Can you change a position of a div, based on screen size/resize with
jquery? Something like
if (browser= sitecontainerwidth)
{
left:50%;
margin-left: 20px;
}
else
{
left: 0%;
margin-left: 600px;
}
I have a centered layout (div{margin: top auto;}) with a BG image.
There's another div (with a
So you are trying to use jQuery's .load() functionality with an
actual image (i assume that your php sets the content type to
image/
jpeg, image/gif, etc and writes out the actual binary image
data) ?
YES ! that is correct.
that's not going to work, as the .load() loads the result
In the async extension the the jquery treeview plugin, I would like to
request that an event trigger be sent each time a new branch of the
tree is loaded. It could be as simple as adding $(container).trigger
('treeviewLoaded'); to the async extension.
Additionally, I would like to request that
$(a.less).livequery( 'click', function() {
$(this).closest(.project).closeProject();
return false;
});
$.fn.extend({
closeProject: function() {
return this.each() {
$(this).find(.morebody).slideUp('normal');
}
On Jan 6, 2010, at 10:13 AM, Richard Collette wrote:
The jQuery documentation states that it uses a combination of both CSS
and XPath selectors.
Does that mean that I should be able to select attributes using the
syntax:
[attName=Val1 or attName=val2]
since XPath criteria allow OR's like
tx, for answering
Any example how to do this??
I am stuck with the hover and the dropdown div
Highly appreciated
On Jan 6, 4:24 pm, Chris chriss...@gmail.com wrote:
I wouldn't really call that a mega dropdown. All it is is 2 divs,
the second one hidden and sliding into view when you
On Jan 6, 4:42 am, Lone Wolf khura...@gmail.com wrote:
$(document).ready(function(){
$('table.small td img.delete').click(function(){
$.get('ajax/update-callback.php', {doaction: 'remove', callbackid: $
(this).attr('id')},
function(data){
is this a good solution:
bldd.nl/prototypes/megamenu/test9.html
On Jan 6, 5:41 pm, 123gotoandplay wesweatyous...@gmail.com wrote:
tx, for answering
Any example how to do this??
I am stuck with the hover and the dropdown div
Highly appreciated
On Jan 6, 4:24 pm, Chris chriss...@gmail.com
On Jan 6, 10:17 am, exlibris exlib...@visi.com wrote:
Does anybody know how to either better integrate the softedge.js
library,
I don't think it will work when the cycle plug-in is used directly on
the images, as the softedge technique replaces an image with a stack
of images in the same
There's no way for us to determine whether updating the jQuery library will
affect your site. Too many variables.
- Review the Release notes for the version to see if there are any known
issues.
- Review any plugins that you have to determine if they will work.
- Update the library and test your
I'm using the superfish module for joomla 1.5 all options except Nav-
bar seem to work fine i have a fix menu area width 705px the 1st and
3rd levels are fine however the second level does not fill the entire
705px and instead folds into a 3rd line any ideas on how to get it to
fill out the width?
Hello all! I have what I think is a complicated gallery to build.
Being new to JS I was told that jQuery is the place to start. I'm
hoping this is possible... Well, I realize that most things are
possible with enough time and effort. But, what I really need to know
is if I can build something like
is it possible to link superfish menu with virtuemart?
regards
Thanks! I'll try that.
I have an idea what it might be, but that code is at home. I think I
might not be getting rid of the prefix ColdFusion adds to json
responses -- I'll have to see if there's a preprocessing directive
like jquery's built in ajax calls have.
Scott
On Wed, Jan 6, 2010 at
This guy has a mega-drop-down how to with CSS and jQuery
http://www.sohtanaka.com/web-design/mega-drop-downs-w-css-jquery/
Corey
camwebdesign.com
On Wed, Jan 6, 2010 at 11:54 AM, 123gotoandplay wesweatyous...@gmail.comwrote:
is this a good solution:
bldd.nl/prototypes/megamenu/test9.html
hi, any idea when the next version of jQuery is to be released?
Z, thanks for the reply. I found that project yesterday after I had
posted. I also found a couple of others. The problem is that they either
a) only work in Firefox (like the one you found) or b) are not full-featured
like the MooTools one. The closest I have found - which seems to be the
only
A post from just 2 days ago :-)
http://groups.google.com/group/jquery-en/browse_thread/thread/a9fcfc8e8deb0106?hl=en#
On Jan 6, 12:47 pm, johnantoni indieh...@gmail.com wrote:
hi, any idea when the next version of jQuery is to be released?
Great!! I got it working!
Thanks you very much!!!
BTW It also works without the return this.each() { part!
On 6 jan, 17:32, Šime Vidas sime.vi...@gmail.com wrote:
$(a.less).livequery( 'click', function() {
$(this).closest(.project).closeProject();
return false;
});
Hello guys, I'm doing a pagination for my site, and I'm having some problems
with my selectors...
In my site I have a #box div and inside this div I call by ajax my
guestbook, which contains a pagination, it's already working, but I'm having
TWO problems:
#1 - My #loading div seems that's not
I'm grabbing an XML file with jQuery like this:
$(document).ready(function(){
$.ajax({
type: GET,
url: http://ipinfodb.com/ip_query.php?ip=74.125.45.100;,
dataType: xml,
success: function(xml) {
//$(xml).find().each(function(){
var
On Jan 6, 2:17 pm, knal knalp...@gmail.com wrote:
BTW It also works without the return this.each() { part!
Yes, but that allows you to continue chaining, i.e.
$(this).closest(.project).closeProject().css({color: blue});
or whatever. This is the usual technique with jQuery plug-ins.
Thanks for the insight Johan! When I implemented that though, it just
added the hover cross fade to the other div as well. I am looking for
a way to make the 2nd div JUST trigger the first. I was looking at the
page you linked to and I am messing around with something like the
following...
MooTools:http://www.jsfiddle.net/4vnya/
jQuery: http://www.jsfiddle.net/eFbwJ/36/
(Compare the code, the effects. You decide.)
Why mootools is more smooth than jquery?
MooTools:http://www.jsfiddle.net/4vnya/
jQuery: http://www.jsfiddle.net/eFbwJ/36/
(Compare the code, the effects. You decide.)
Why mootools is more smooth than jquery?
They both seem to run equally smooth to me. I saw occasional jumpiness
on both demos.
Seriously, you've been on this specific topic since early November and
just doing a Google search shows that you've asked a ton of people the
same question. If you feel that jQuery's effects could be smoother, I
On Jan 6, 3:44 pm, Acaz Souza acazso...@gmail.com wrote:
MooTools:http://www.jsfiddle.net/4vnya/
jQuery:http://www.jsfiddle.net/eFbwJ/36/
(Compare the code, the effects. You decide.)
Why mootools is more smooth than jquery?
It's not, at least not in my FF3.5.6 on Win XP.
Haven't you been
It is, at least in my FF 3.5.7 on Win 7, but I haven't the slightest clue as
to why. Thanks for sharing those demos.
On Wed, Jan 6, 2010 at 1:29 PM, Scott Sauyet scott.sau...@gmail.com wrote:
On Jan 6, 3:44 pm, Acaz Souza acazso...@gmail.com wrote:
MooTools:http://www.jsfiddle.net/4vnya/
They seem about the same to me as well, FF3.5.6 on Win7
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Scott Sauyet
Sent: Wednesday, January 06, 2010 1:29 PM
To: jQuery (English)
Subject: [jQuery] Re: Why mootools animations is more
The two versions have a number of subtle but remarkable differences
that makes it difficult to do a side-by-side comparison. One's
faster, one rotates the photographs, one bounces them around a bit
upon reaching their destination. For what it's worth, running XP Pro
SP 3 / FF 3, I prefer the
Hi all,
in this plug-in I need a function like onUnblock but on completed
fadein..
can Add this function?
tks
Hi all,
I am brand new to this. I have downloaded the sample files. I added
the navbar css to the example.html file. Everything works. My
problem is that the submenu is visible when I first load the page
before I have hovered over anything. Before I get into this any
further, is there a way
Hello,
I hope it's OK to post this here. If not, please let me know as I
don't want to disrespect the group in a any way.
If so, here is an exciting contract for about 6 weeks that can be done
remotely. My client in NYC needs a full time Ajax jQuery resource.
They are trying to get ready to
Hi
I'm trying to read the lt;titlegt; value from a page head. All
browsers I've tried are happy with $('title').text() apart from ie8
which returns nothing. Am I doing something wrong, or is it IE8 that's
wrong? Is there a workaround?
Thanks
Graham
I think document.title works on all browsers.
Hi all,
in this plug-in I need a function like onUnblock but on completed
fadein..
can Add this function?
ok.
http://www.malsup.com/jquery/block/#download
So, why can't you just create a new img node with a src attribute? It
will automatically download the image in the background, much like with
AJAX. Is the problem that you want to ensure that the image is fully
downloaded before you try to display it? Have you tried
$(imgTag).ready(...)?
The last .change() fires the event.
On Wed, Jan 6, 2010 at 6:43 AM, NotionCommotion villasc...@gmail.comwrote:
I am interested in the event change, and am looking at
http://docs.jquery.com/Events/change.
$(select).change(function () {
var str = ;
$(select
I think you just forgot the last brackets on your hover method:
$(div.tvbutton).hover(function () {
$(div.tv).trigger('hover');
}) --- Forgotten
This could be optimized a little better by using id's, or at last
saving a a reference to the div.tv, so that you don't have to make
search for
Thanks John,
The last .change() fires the event.
Looking through the other documentation, it appears that the other
event methods do not need a similar trailing method to fire the event,
only change. I've even did a test where I didn't include the last
change(), and it appeared to work.
Could
Here, use this:
http://vidasp.net/jquery-example7.html
The HTML code is super-simple - only ULs and two wrapper DIVs
Also, the menu streches to the full (available) width automatically
(like a table)
Hehe :)
Look, event methods work like this you pass in a function, and
that function will be executed then the event occurs...
$(select).change(function() {
// code that gets executed when change event the occurs on any
SELECT element
});
But, if you leave out the argument, then the
$target.css('...')
Or, better:
$target.addClass('SomeClassName');
On Tue, Jan 5, 2010 at 10:35 AM, metalmini metalm...@gmail.com wrote:
Hi guys and galls,
Im not really a jquery programmer but i build lots of sites and i love
the jquery plugins that i can easily copy and paste. So anyway im
Or, at minimum, an example or two of the errors encountered.
On Wed, Jan 6, 2010 at 7:13 AM, MOZ pbe...@gmail.com wrote:
link to demo?
On Jan 6, 3:49 am, Sugi sugi...@gmail.com wrote:
I am using Jquery plugins like flowplayer,fancy plugin for image and
video stuffs...It creates lot of erros
Set up the handler when the form is created:
$(#the_form_id).validate();
You might also want to have a look at the Jeditable plugin:
http://www.appelsiini.net/projects/jeditable
On Wed, Jan 6, 2010 at 10:25 AM, John Albright trumpetman...@gmail.com wrote:
Is it possible to use the jquery
Bind a handler for the resize event like so:
$(window).bind('resize', function() { ...});
Have a look at this thread:
http://groups.google.com/group/jquery-en/browse_thread/thread/4a00d513c63f5c00?pli=1
On Wed, Jan 6, 2010 at 11:08 AM, kevinkace kevinacame...@gmail.com wrote:
Can you change a
The, html() method works in all browsers...
text() = returns the concatenated innerHTML properties of all matched
elements
html() = returns the innerHTML property of the first matched element
Generally you don't use text() to retreive the contents of an
element...
BUT, if you want to write to
I have been reading and playing around with jQuery and can do
somethings, but making a plugin is hurting my brain. Here is what I
have.
(function($) {
$.fn.myPlugin = function() {
this.each(function() {
alert(this.id)
I was wondering why jquery was smoother than mootools
this refers to different objects depending on where we are in the
code...
(function($) {
$.fn.myPlugin = function() {
// here this refers to the jQuery object on which the myPlugin
method was called upon
this.each(function() {
// here this refers to the matched
If you want to manipulate with the DIV inside the $.get function, you
can declare a local variable and put the reference to DIV in it...
(function($) {
$.fn.myPlugin = function() {
this.each(function() {
alert(this.id);
var
For some reason, it works on firefox (3.5.6) and doesn't work in ie
6.0 and 8.0
On Jan 7, 6:39 am, Frank Peterson fictionalper...@gmail.com wrote:
I'm grabbing an XML file with jQuery like this:
$(document).ready(function(){
$.ajax({
type: GET,
url:
I am toying with this plugin (http://www.mayzes.org/
googlemaps.jquery.html#examples) and have found what I think is a
namespace conflict (I am by no means expert and I could be wrong...)
Here is how to see it.
I am using Google api loader thus:
script
Hello guys,
I'm developing a web site for a friend and I'm worried about a
problem.
The Url is: http://www.futuragames.com.br/radioboy
As you will see, it works perfectly on Firefox and Google Chrome, but
I get a mysterious when running on IE 8.
The error message is: Invalid argument on line 53
Thank you, you have help out so much
On Jan 6, 2010, at 6:14 PM, Šime Vidas wrote:
If you want to manipulate with the DIV inside the $.get function, you
can declare a local variable and put the reference to DIV in it...
(function($) {
$.fn.myPlugin = function() {
I'm using Windows 7 Firefox 3.5, mootools is great, is more smoth, is
more sweet than jquery animations, i don't know why.
I'm tested in Chrome and the animations was great for both, but in
firefox not.
And Opera, mootools is more sweet than jquery.
Scott Sauyet: I'm trying to get information.
Rey Bango:
Ok, i understand you, i not want to resolve that, IS JUST FOR
LEARNING, we need to observe and study that in group.
Now, answer me a question: Do you know exactly diference features in
animation frameworks in both?
Is hard to me study code by code, its hard mathematics. You is the
Hello everyone,
Someone wants me to use FULL DIRECTORY PATHS for every page and script for a
website I just completed. I argued that it would slow down the website for
users... I prefer relative paths such as /src/ and /img/.
Am I wrong to say this?
Is there really a difference in
just making sure
you are not able to parse the xml at all right?
i believe for IE you have to make sure you server returns the correct
content type like text/xml to client inorder for you to parse
hope this help
On Thu, Jan 7, 2010 at 9:30 AM, Jules jwira...@gmail.com wrote:
For some reason,
On Jan 5, 2010, at 7:47 PM, Chikkis Corner wrote:
Please unsubscribe me from this group.
Hi,
The following instructions are paraphrased from:
http://groups.google.com/support/bin/answer.py?hl=enanswer=46608
You can unsubscribe from a group through the web interface or via
email. To
Ahah, too much stale eggnog.
var option = {
error: function(request, status, error) {
alert(error);
},
success: function(data, status) {
var xml = $(data);
Hi Richard,
I'm not sure if this fits your bill, but maybe the reason people type
really fast is because they already know what they're searching for? I
mean I might sound a little simple minded but yes, I don't use the
autocomplete suggestions anymore when I know what I'm going to type.
(If you
The same pages could be run correctly on both IE and Firefox untill
yesterday. Now on IE they can still run normally, but on Firefox I got a $
is not defined error. I didn't change the reference to the jquery library
in these pages and neither move the jquery library. I'm really confused.
Could
Ah, (this), I'm a newbie to that in jQuery.
Thanks.
Charlie Griefer wrote:
input type=button id=addButton1 class=myButton /
input type=button id=addButton2 class=myButton /
script type=text/javascript
$(document).ready(function() {
$('.myButton').click(function() {
FireBug (http://www.getfirebug.com) would be a huge help for you to
find out why
On Jan 6, 11:31 pm, elvis_wu w.s.q...@gmail.com wrote:
The same pages could be run correctly on both IE and Firefox untill
yesterday. Now on IE they can still run normally, but on Firefox I got a $
is not defined
Hello everyone,
I have a problem submitting a form tag with submit buttons. many of
the scripts used in that page require the name of these submit buttons
to work correctly. I already read about the serialize function and
submit buttons so tried the form plugin as suggested on the jQuery
page but
Please give us a demo page or code which can help us debug the problem.
Thanks Regards,
Dhruva Sagar.
On Thu, Jan 7, 2010 at 12:36 PM, Alex alex.kasu...@googlemail.com wrote:
Hello everyone,
I have a problem submitting a form tag with submit buttons. many of
the scripts used in that
All of your forms must have an event handler associated with their onSubmit
event. These event handlers need to do their AJAX stuff, and then stop the
browser from doing the default action by returning false. Since you are
creating these forms AFTER the page has already loaded, you need to
92 matches
Mail list logo