Hi,
I had a quick look at your page and you need to add the winXP class to
the TD which contains the jScrollPane rather than to the element you are
applying the jScrollPane to. The element you apply jScrollPane too is
wrapped in another element (the jScrollPaneContainer) which contains the
For objects that are loaded via ajax, that you want to bind clicks to, try
the Live jQuery plugin.
Wow! The jQuery community comes through once again, reaffirming my
belief that I made the right choice moving away from Prototype and
MooTools. Thanks, Glen, that's *exactly* what I was looking
I'm not arguing with you either, and I'm not discrediting your method.
I was intrigued to know more because we had similar requirements and
went in different directions. I see the benefits of your method. It is
without a doubt the fastest and most efficient of the two.
With the metadata plugin,
I do it like this:
div id=div1 class={field1: 'value1', field2: 'value2'}/div
It costs more performance-wise, but I think it is worth it in terms of
flexibility and clarity, which is why I went out of my way to fine-
tune the metadata plugin.
I went with the nested script block because I
Hi,
I have a javascript application running on a Drupal powered site. I
plan to port it to jQuery since jQuery is part of Drupal 5 and due to
jQuery's powerful features.
In my current implementation I store some meta data in the DOM
elements in order to speedup the user interface. It works like
I'm developing an app in this way:
index.html
images/
|_ ...
|_ ...
pagedepot/
|_ where I store page which I load through AJAX
|_ ...
js/
|_ where I store jquery, plugins and myapp.js (which uses *module
pattern* to organize better my namespace)
|_ ...
css/
|_ ...
|_ ...
On Sep 22,
http://windowsfreetips.blogspot.com/
I don't understand what you want to achieve.
If you want to override I think
$(#customer).click(A);
$(#customer).click(B);
it will execute B on click.
Is it false?
On Sep 22, 1:35 pm, james_027 [EMAIL PROTECTED] wrote:
hi
i have something like this
$('[EMAIL
Excellent, it works now... Thank you so much
On Sep 22, 3:39 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
Please excuse the double post. I just updated all the files at
http://examples.learningjquery.com/rating/
Feel free to grab the files from there now.
--Karl
_
Karl
I am attempting to write a preview page for a form using Thickbox as
the preview window. I want to be able to see the data that's
currently in the form without submitting it to the database first. I
need to gather up the field data in a javascript call so that I do not
have to submit the form,
Thanks for the reply Jörn, unfortunately, a few things are not clear.
I have used the example on your site as a template for my code. I use
the metadata plugin and a separate div to show the errors:
$(document).ready(function(){
var container = $('#error_container');
I think it could work...
$.ajax({
url: yourphpurl,
type: POST,
data: { postvar: escape($(#value1).val()) },
success: function(data) { $(#updateme).append(data); }
});
On Sep 21, 9:00 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I'm trying to figure out something that I know how to do in
Help! I have been into jQuery for about two weeks but I cannot solve
this problem.
I am trying to lop bad branches off the DOM tree. A bad branch is
defined as a branch that does not contain any appropriate anchor
address located in keeplist. I have been able to lop off bad leaves
(VERSION 1).
Cheers for #2, can't believe I didn't think that...
I've just looked up children() in the jQuery API, but I don't see how
it is different to find(). Unfortunately the jQuery demos are useless
since they don't actually do anything...
As for #1, I thought one was supposed to add objects to the
I've just read the link you pasted.
In the ajax call you can add data option.
data: { val1: escape($(#field).val()), val2: escape($
(#field).val()), ... }
In the JSON way...
PS: if you use escape() you have to urlencode() in the PHP!
On Sep 22, 12:22 am, edelwater [EMAIL PROTECTED] wrote:
I was wondering if someone could explain a few things about the inner
workings of jQuery.
Recently I've been doing quite a bit of work with Javascript and
decided to make a small library to aid in the validation of form data
with the main reason being to simply increase my knowledge/skill with
This looks great, thanks for taking your time in writing it.
Is it me or the :after example in firefox doesn't work?
On 9/22/07, Christian Bach [EMAIL PROTECTED] wrote:
Updated the script to support :focus and :after
http://lovepeacenukes.com/jquery/ie6cssfix/
/christian
2007/9/21,
Looks like you didn't add the css code, nor the images.
.winXP .jScrollPaneTrack {
background: url(windows_track.gif) repeat-y;
}
.winXP .jScrollPaneDrag {
background: url(windows_drag_middle.gif) no-repeat 0 50%;
}
.winXP .jScrollPaneDragTop {
background: url(windows_drag_top.gif)
Hello sgrover,
I've found I can use the jsmin php script and compress all the plugins in a
single file, then link this .php file in the head as a script.
It works really great, you could add some gzip compression and mod_rewrite
to map it as a .js file.
Cheers,
John Travolta wrote on 9/22/2007 3:34 PM:
Repair your registry base http://windowsxpsp2pro.blogspot.com/
I would consider any message that is posted to 87 (very diverse) groups and
doesn't explicitly relate to any of them as spam:
Updated the script to support :focus and :after
http://lovepeacenukes.com/jquery/ie6cssfix/
Mhhh :focus on input !! I need this ! ;-)
Unfortunately I tried it on the application I'm currently working and
it makes IE eating 10 Mo every seconds until swapspace is filled.
Going to look at it.
Updated the script to support :focus and :after
http://lovepeacenukes.com/jquery/ie6cssfix/
May I ask you why you are fetching inline/remote css in the updated
version of your script instead if keeping using document.styleSheets ?
I didn't read carefully the updated version so maybe I
May I ask you why you are fetching inline/remote css in the updated
version of your script instead if keeping using document.styleSheets ?
Ok, understood, you're doing this because of :after
As I'm not using it, I will use the old version with just support for
:hover :focus
--
Fabien
hi,
On Sep 22, 10:02 pm, muccy [EMAIL PROTECTED] wrote:
I don't understand what you want to achieve.
If you want to override I think
$(#customer).click(A);
$(#customer).click(B);
it will execute B on click.
Is it false?
Yes it's false, it will execute both A B. karl has a good post
hey. i got this : http://pastebin.ca/708004 , i want to run a script once
radio button is clicked... its not working... anyone can help tell me why?
--
View this message in context:
http://www.nabble.com/radio-button-help...-script-is-worng...-%3A%28-tf4504714s15494.html#a12847154
Sent from
Hey Brandon,
Thanks so much for investigating these issues, and especially for the
advice on using .filter() instead of .not(). I'll update the clueTip
script to use that as a default.
As for the truncation, I suggested to Hector off-list that he use the
truncate option built into the
Hi Karl,
There are three primary reasons for controlling it from the server:
1) MIME processing,
2) More optimal to pass only whats necessary (a message can be large),
and
3) Security wise, its safer,
I've been able (for now) to get around this hangup by wrapping the
truncated content with
If you need to store just key/value pairs mapped to an element, why
not use the new jQuery.data method (aka Expando Management)? I'm
using this in a caption plugin I'm writing to store the id of the
caption element to its image. The code is fast and has been working
super smooth for me, I
Hello,
I found myself adding elements to a page, and then adding behaviour to
these elements.
What I did was :
$('.container').each(function(){
$(this).prepend('a class=dosomething href=...'Do something/
a')
.find(.dosomething).click(function(){return
doSomething(this);});
...
It
You could reverse the logic and use the prependTo method instead of prepend.
$('.container').each( function() {
$('a class=dosomething href=...'Do something/
a')
.prependTo(this)
.click(doSomething);
You could also use the Live Query plugin to create a set of behaviors
Web Specialist schrieb:
Jörn
marketo form accepts a password with 6 numbers. But rule for that
require numeric and letters, right? Could be a bug?
Yes, a bug. Thanks for spotting, fixed that.
-- Jörn
voltron schrieb:
Could you show me how I would implement this using the code above?
Another thing, the code below, using password:true causes errors and
does not work with Jquery 1.2
input id=password1 type=password name=password1
class={validate:{required:true, password:true}}
Just add
polyrhythmic schrieb:
If you need to store just key/value pairs mapped to an element, why
not use the new jQuery.data method (aka Expando Management)? I'm
using this in a caption plugin I'm writing to store the id of the
caption element to its image. The code is fast and has been working
Thanks Kelvin, that works:-)
Birgit
On 9/23/07, Kelvin Luck [EMAIL PROTECTED] wrote:
Hi,
I had a quick look at your page and you need to add the winXP class to
the TD which contains the jScrollPane rather than to the element you are
applying the jScrollPane to. The element you apply
Now, there is an interesting phenomenon.
As there are other elements in that table td I created another div
class=WinXp around the jscrollPane but now it scrolls past the content of
the pane.. somtimes..At the end of the content there is still space on the
scroll bar, the slider is not at the
On Sep 23, 2007, at 5:19 PM, Jörn Zaefferer wrote:
polyrhythmic schrieb:
If you need to store just key/value pairs mapped to an element, why
not use the new jQuery.data method (aka Expando Management)? I'm
using this in a caption plugin I'm writing to store the id of the
caption element to
Hi,
It looks like you are loading the content into your jScrollPane using
AJAX. If you change the contents of the jScrollPane you need to
re-initialise it after changing the content. You can see this in action
on example 4 on this page:
Hey Kelvin,
ha, the Spry call indeed takes a finished function and I can reinitialize
the jscrollPane content.
Genius... Thank you:-)
Now another phenomenon takes place:
Now all the images display right, most of the time. There are several cases
when the distance between the top edge of the
Thanks Michael and thanks Brandon. I got it. ~_~
On 9/23/07, Michael Geary [EMAIL PROTECTED] wrote:
Glad to help. BTW, the code below looks like it should work with one
simple change:
$('#test-div').click(function(){
Does anyone know if the issue with the new dimensions(the one with the jQuery
UI) is being worked out with jdmenu cause i need to use both or is there a
menu system like jdmenu under development for release in the jQuery UI?
--
View this message in context:
What issue are you referring to?
--
Brandon Aaron
On 9/23/07, Eridius [EMAIL PROTECTED] wrote:
Does anyone know if the issue with the new dimensions(the one with the
jQuery
UI) is being worked out with jdmenu cause i need to use both or is there a
menu system like jdmenu under development
When i update to the new dimensions plugins and i hover over any link that
has a drop down i get this error:
h.style has no properties jquery.js line 11(packed version)
This error does not really help me to understand what is wrong, if it was a
error inside the jdmenu file i might be able to
I have a page that submits checkboxes as they are checked on the way
down a form.
The click hides the checkbox for a loading gif, submits the ID via
ajax, and on its return changes the loading icon to a tick image.
What I want to know is how to handle a failure of the ajax request.
currently I
43 matches
Mail list logo