the toggle function toggle the display not any action. You need write code
to toggle the action.
$(li).dblclick(function() {
if($(this).didSomeThing == true){
$(this).backToNormal();
$(this).didSomeThing = false;
return;
}
$(this).doSomething();
I think u should look at Live Query Plugin.
http://docs.jquery.com/Plugins/livequery
*Live Query utilizes the power of jQuery selectors by binding events or
firing callbacks for matched elements auto-magically, even after the page
has been loaded and the DOM updated. *
*For example you could
I use microsoft visual studio to debug errors on IE. it will point out the
error at the exact place. I hope it helps you.
On Sat, Oct 4, 2008 at 4:32 AM, Eric Martin [EMAIL PROTECTED] wrote:
Actually, the error is being caused by the issue mentioned:
You can read the xml document like this
$.get(data.xml,null,function(xmlDoc){
// xmlDoc is a xml document object
// you can read data by xmlDoc.document.getElementsByTagName('para') etc..
// and you can use the jquery tool tip plugin to generate tooltip
},'xml')
tooltip plugin url
Whenever one uses jquery on a page with a java applet, either with
object or embed, there are CRIPPLING ERRORS on many operations (that
are executed in the background).
There's already a bugticket for it, but it hasnt been updated in a while:
http://dev.jquery.com/ticket/2349 (lists causes
In order to prevent a clash between a java applet and jquery, i need to
disable the ajaxSend trigger for a certain ajax call. How do i do that?
Hi,
I am using the RC2 version of AutoComplete, But it seems there is no
way to exclue the timestamp parameter from query string. The problem
with timestamp is, it does not reuses the browser cache, though it
maintains a cache which is no good for consequent visit. Can an extera
setting can be
Alright. This is a wierd one, I will try to explain clearly.
I have one div, that has my masthead stuff in it. header image,
contact info, that sort of thing. Then under that (not in), I have a
nav div that I have placed the superfish stuff in.
In other browsers this works swimmingly (pun
Hi All,
In the following code, I expect the document to pop a message box
saying 'para1' upon load. However it doesn't seem to work. I am trying
to select a 'p' element that has a link in it. What do u think is
wrong ?
--
html
head
script type=text/javascript
Hey there!
Consider this code:
$.fn.toggleAnim1 = function(f){
this.animate({'opacity': 'toggle', 'height': 'toggle'}, 'slow',
function() { return f; });
}
$('#success').toggleAnim1(function() {
alert('hizz');
});
Is that one way to provide callback functionality?
I would love
Hi
I have set up the 1.4.8 release of Superfish Nav Bar style. Everything
works fine except that when I click on a subnav link, the links
disappear when page is refreshed. When I hover over main link, they
reappear only to disappear again. With JS off, this is not an issue.
Any help with this?
Hello jQuery,
I'm working on a t-shirt design module with jQuery. Check it out here:
http://84.86.134.134/shirt/
No worries, it's my home development server. Nothing bad happenin'. ;)
This is how to produce the error in Firefox 3 (and I suspect in other
browsers too):
1) Switch to the
Rene,
You can use the 'global' option to disable global triggers:
$.ajax({
url: 'myUrl.php',
global: false // disable ajaxSend, etc
});
On Oct 4, 5:24 am, Rene Veerman [EMAIL PROTECTED] wrote:
In order to prevent a clash between a java applet and jquery, i need to
disable the
I'm working on Christian Bach's tablesorter.
I've made a widget that can select rows, and now I want to make a
widget that can delete rows, and have a callback.
The problem is the callback.
The widgets are called like this
$.tablesorter.addWidget({
// give the widget a id
the toggle function toggle the display not any action.
There are two .toggle() signatures, this is the event one:
http://docs.jquery.com/Events/toggle
$(this).didSomeThing = false;
Each time you use $(this) you are creating a new jQuery object out of
the current element. Because of
I'm not trying to debug anything on the perl side, like I said in my
original post I'm very new to Javascript, so there is something I'm
not getting in javascript that is causing problems.
I'm creating a string in perl that looks like this Foo: Bar:, Foo2:
Bar2 and I'm writing that to a hidden
Are you aware that the information you were looking it is outdated,
e.g refers to jQuery 1.1.2? With the latest version you would use:
$('p:has(a)')
--Klaus
On 4 Okt., 12:29, Puneet Arora [EMAIL PROTECTED] wrote:
Hi All,
In the following code, I expect the document to pop a message box
The code below is not JavaScript code. It's Perl code. You wouldn't have
those backslashes in JavaScript code.
That's the problem I was referring to: You're trying to debug JavaScript
code, but you're not looking at the JavaScript code itself, you're looking
at the Perl code that *generates* the
Looks like you solved it yourself; your second version is much closer to the
mark.
Do you actually write your code unindented like that, though, or did the
indentation just lost in the process of posting it? I would format your code
more like this:
$.fn.toggleAnim1 = function(fn){
Ah, this is better:
$.fn.toggleAnim1 = function(fn){
var $obj = this;
$obj.each(function(){
$obj.animate({'opacity': 'toggle', 'height': 'toggle'}, 'slow', function
() {
$.isFunction(fn) fn();
});
});
};
Obviously, I am kinda a plugin noob... Feel free to give tips! :)
Just ordered jQuery
Hi Mike! Many many thanks for your detailed reply -- I really
appreciate the help. :)
Sorry about the lack of indentation... Thanks for taking the time to
re-format my code. I was not sure if Google Groups would break the
long lines, so I removed the tabs. :(
Thanks for pointing-out the
Hi Dan,
I spent an hour on this and couldn't figure out why the Superfish file
triggers the bug, but I do have good news. It turns out that IE needs
'hasLayout' triggered on the #masthead element. Add height:1%; to the
CSS for that element and the address panel stays where it is supposed
to.
Hello,
I just have a quick question about jQuery best practices...
I have been wondering for a while now, is it bad practice for me to
make references to objects outside of the block of code they are used
in?
For example, in my master JS file I might have this code:
===
//
Nice job :)
On Oct 2, 2:52 pm, Jack Killpatrick [EMAIL PROTECTED] wrote:
Hi All,
Today we released our first jQuery plugin, which provides an easy way to add
alphabet-based navigation to any UL or OL list. Here's a link to our
announcement blog
Hey guys,
sorry to bother you with this one, I read the pages about the
nonconflict script etc,...but I 've spent the whole day trying to
figure out how to solve this.
Basicly I have a script made on a mootools library.
I now want to add jQuery's Fancybox to the page. When I do this my
mootools
As i experience the same problems, i wanted to know if anybody found a
workaround for this?
thx
On 1 Sep., 21:13, maksik [EMAIL PROTECTED] wrote:
Well, I think I found the source of the problem, but don't know
exactly what to do with it.
There is a function in JQ named curCSS, it used to
Yikes, I forgot about:
$().ajaxSend(function(evt, request, settings){
$loader.fadeIn(fadeSpeed);
});
$().ajaxStop(function(evt, request, settings){
$loader.fadeOut(fadeSpeed);
});
Handling the loading image via the jQform options/callbacks was the
majority of my problem... I
filename: messages_it.js
/*
* Traduzione dei messaggi di default per il pugin jQuery validation.
* Language: IT
* Traduzione a cura di Davide Falchetto
* E-mail: [EMAIL PROTECTED]
* Web: www.d4solutions.it
*/
jQuery.extend(jQuery.validator.messages, {
required: Campo obbligatorio.,
OK, I found a solution for Opera:
history.navigationMode ='compatible';
Example:
if(navigator.userAgent.indexOf('Opera')!=-1){
history.navigationMode ='compatible';
window.onload = windowOnload;
}else{
$(document).ready(windowOnload);
}
I'm using the JQuery UI .draggable() function as shown below.
The problem with the below code is that once an image is dragged, it
is no longer a clickable link.
$(.linked_img).draggable({
helper: 'original',
revert: 'invalid',
start: function(){
$(this).click(function(){return
The only reason the \'s are in the JAVASCRIPT code is because perl
users the $ sign to declare a scalar variable reference. I'm
generating this code completely myself, the problem is this function
is built way before the perl code even starts to run, the perl code is
just putting the data it
So is it possible to change the value of metadata parameter? Lets say
we have div data={ id: 5 }.
Or is the only way to change it with attr(id,6)? I have more
parameters for element, so this is not an elegant solution.
Thanks.
Well, I meant with attr(data,{ id : 6})... my mistake.
On Oct 4, 10:24 pm, me-and-jQuery [EMAIL PROTECTED] wrote:
So is it possible to change the value of metadata parameter? Lets say
we have div data={ id: 5 }.
Or is the only way to change it with attr(id,6)? I have more
parameters for
Well here is my final working solution, its the best I can do I
think...
if ( \$(e.target).is('.legacy_view') ){
\$(#loading).toggle();
var query = \$(#legacy_data).val();
var array = query.split(',');
Hey Joe,
I love using Processing so I am glad you started this group and I will
definitely be subscribing.
You have a question? I have been digging around in the Processing.js
for a while now and am quite familiar with the Java Processing
language, so maybe I could help?
Thanks,
Al
On Sep
Hi...
Is there a way within the standard superfish css to extend the basic
horizontal menu fully across the screen from left to right. If so I
guess it would be great to know if we can have the menus themselves
left center or right...
big thanks!
I've had some great suggestions to doing this by
Hi, I'm a jQuery newbie. Basically, I'm trying to load an html file
into a div when a button is clicked. The html file contains
external .js and .css files for the Greybox widget. I can't get
Greybox working, do I have to do something special to load the js and
css before the load method?
I have a slideshow, which repeats on different pages (for example /
index-1.html, /index-2.html etc).
Slideshow is in main template, shared by all other pages.
What I'm trying to do is if page is changed from index-1 to index-2
(e.g. user clicks on some link on page),
slideshow on index-2
I started using processing.js also, I'll definitely join this group!
Thatcher
On Sat, Oct 4, 2008 at 7:16 PM, F1LT3R [EMAIL PROTECTED] wrote:
Hey Joe,
I love using Processing so I am glad you started this group and I will
definitely be subscribing.
You have a question? I have been digging
Hi all,
I have a slideshow, which repeats on different pages (for example /
index-1.html, /index-2.html etc).
Slideshow is in main template, shared by all other pages.
What I'm trying to do is if page is changed from index-1 to index-2
(e.g. user clicks on some link on page),
slideshow on
Sounds interesting... I saw the example images John has in the repository,
but are there any online working apps using it?
Thanks,
Rick
chris thatcher wrote:
Processing.js ( http://github.com/jeresig/processing-js/ ) is written
by John Resig and is a port of the Processing language (
Processing.js ( http://github.com/jeresig/processing-js/ ) is written by
John Resig and is a port of the Processing language (
http://processing.org) developed at MIT that uses the Html Canvas (
http://en.wikipedia.org/wiki/Canvas_(HTML_element) )
It is a very sexy 2D drawing API that allows
For much of my app, I'm doing an Ajax hit to the server to grab XML.
That works great.
But, in some cases, I've got too many pieces of data (unrelated) that
I need to pull so I'm trying to do a simple passthrough from the
server side (I'm using ASP.Net). So, I'll either output from SQL
Server or
I have the extact same question. Have You found a way to make the
whole link clickable yet?
On Sep 2, 2:28 pm, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote:
Hi, I'm using the pngFix plugin to show some png images with
trasparency.
These images are part of a list of menu, and each one is
44 matches
Mail list logo