Thank you tlphipps! It was under my nose all the time...
emi
On Thu, May 8, 2008 at 4:13 PM, tlphipps [EMAIL PROTECTED] wrote:
You need to use the handle option as detailed here:
http://docs.jquery.com/UI/Draggables/draggable#options
(the sortable docs refer you to this description for that
Brandon, i believe this is a clever little plugin. I i understand correctly,
here is a real life example i experienced just 2 days ago where i had such
markup:
li class=hello
img width=316 src=photos/sombra/Image_001.jpg/
img width=629
There's a bit of an oddity here (actually I think it's a bug, but
still...).
Starting with what you need to do - specifically, to be able to add
items to dupe.list):
var dupe = $.extend(true, {list:[]}, $.fn.test.orig);
Then dupe.list.push(...) will not change $.fn.test.orig.
Why?
Setting the
If there is as little control over the markup as is implied then a
more generic solution might be applicable (untested!)?
function updateQuote(el){
//$('form') could be cached, and may not need to store parentForm...
var parentForm = $('form').filter(function(){
var i =
Hi :)
what is the fastest way to edit a select item?
I need to show some option's and hide some others, depending on the
value of another select.
let's say if the user selects a country for his holiday, in the
'#hotel_paese' select, the '#hotel_destinazione' select will show only
the hotels of
Ahh nice, thanks Mike for the pointer on that, this is for sure nice!
So I assume Cycle will work more in hand with this tabbed system?
Thanks for the great script and the pointer!
On May 9, 2:03 am, Mike Alsup [EMAIL PROTECTED] wrote:
Hitting a big wall here. I have the Cycle plugin working
I've created a ticket #2830 containing the patch.
http://dev.jquery.com/ticket/2830
Many, many thanks. I drew stumps on and used the excellent Form
plugin. After some tinkering around I got it to work. One warning
though - having a submit button called submit caused all manner of
problems - I kept getting an error 'form.submit() is not a function'.
After poking around to make
I will do that. I was aware of the plugin, but through sheer pig-
headedness was trying to tackle it myself. Pride comes before a
fall ...
Thanks very much indeed. I will have a look through code - and perhaps
stop being so pig-headed and admit defeat.
Thanks
Ben
Thanks Jason,
This is what i am looking for. I have not implement it yet. Will do it
ASAP.
Thanks again
On May 8, 2:08 pm, Jason Huck [EMAIL PROTECTED] wrote:
Yes, here's one I wrote recently:
http://devblog.jasonhuck.com/2008/04/25/jquery-combo-select-redux/
HTH,
Jason
On May 8,
I have been experimenting with the autocomplete plugin. It is great.
Loading data from a database once and then using it works just fine.
In my setup the html file calls a database query and returns a comma
seperated string. The string is then split up and any typing in the
street input textbox
Hello all. Im using jeditable and the validation plugin. Ive read a
previous thread at:
http://www.mail-archive.com/jquery-en@googlegroups.com/msg22070.html
However, there were no examples here which lead to a lot of confusion.
I will just reiterate the question asked on the thread mentioned
Hey there, I just checked out nyromodal, and it looks pretty cool.
I just wanted to know if it was possible to use it with livequery, so
that i can use it after an ajax request.
ie i do a search and the results of that search are put into the
#content container.
then I would like to be able to
Ahh.. this is a much better implementation!
Thank you so much!
Mark
On May 5, 2:22 am, Wizzud [EMAIL PROTECTED] wrote:
Depends what you want the list to finally contain (as opposed to being
visible, that is).
Here's an alternative...
$(document).ready(function() {
var arr = ['C+
A follow up to my last post. I was interpreting the fomatting options
(I found the list of options!) wrongly. I had to do the processing of
the list items in the server-side script in a better way and then it
all works. No formatting options needed for returning the right
results.
Thanks, and sorry for asking such an elementary question. I had
assumed that nothing fundamental like that would be likely to change,
and that I therefore had done something else wrong.
This tool looks really slick, btw.
On May 9, 2:31 am, Christian Bach [EMAIL PROTECTED]
wrote:
Check out the
I remember seeing a newer plugin for this recently and cannot find it
now for the like of me.
Can someone help jog my memory?
Hi,
iam loading with the jQuery Tab UI in touch with the ajax function,
remote dynamic content.
After jQuery has load the content, i would like to use jQuery over
again in my template.
But , i cant use jQuery again in ajax loaded content ... !
Is there a way to solve this problem?
vince
Ahh nice, thanks Mike for the pointer on that, this is for sure nice!
So I assume Cycle will work more in hand with this tabbed system?
Yes and no. The fade transition works reliably, but transitions that
manipulate the z-index (which is most of them) don't work well with
tabs. I need to
Hello friends,
i've made another image gallery engine with jQuery. It is a new
version of slideViewer, and can be tested here:
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/svwt/index.html
I think i'll call it slideViewerPro.
Features:
- generates a sliding gallery for images on top
Hey folks,
I'm trying to work on some cross-site stuff, and I'm using JSON between
the domains to transfer the data.
In my below code, the code fires the .getJSON, and I can see the JSON in
my firebug scripts tag, but the callback is not getting fired:
LoadContent = $.klass({
initialize:
Hello friends,
i've made another image gallery engine with jQuery. It is a new
version of slideViewer, and can be tested here:
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/svwt/index.html
I think i'll call it slideViewerPro.
Very nice!
Thanks Mike,
it still miss a preloader, but it's 98% done.
GC
On May 9, 2:56 pm, Mike Alsup [EMAIL PROTECTED] wrote:
Hello friends,
i've made another image gallery engine with jQuery. It is a new
version of slideViewer, and can be tested here:
Never mind, worked it out in the end.
On 9 May, 13:45, Tane Piper [EMAIL PROTECTED] wrote:
Hey folks,
I'm trying to work on some cross-site stuff, and I'm using JSON between
the domains to transfer the data.
In my below code, the code fires the .getJSON, and I can see the JSON in
my
I tried to add a post previously but it didnt show up for some reason.
Is it possible to use nyromodal with livequery. I was taking a look at
nyromodal and it looks great, but need to use it after another ajax
call.
Does anyone know how I would do this?
thanks
Paul
Can i pass 'this' to a custom function from an event handler
eg.
$('p').('click',function() {
myCustomEvent(this);
});
myCustomEvent(ref) {
//ref Object or JQuery object ?
$.get(path_to_cgi,{name = ref.text()},function(data)
{ alert(Data : + data});
}
you can do it, but this is a usual dom object, not a jquery
instance... simple pass the object to through Jquery like ref =
JQuery(ref);
On 9 Mai, 15:32, mac.gill [EMAIL PROTECTED] wrote:
Can i pass 'this' to a custom function from an event handler
eg.
$('p').('click',function() {
Hi Gary!
i can't seem to get the same results you're describing, on a mac anyway.
No, the error was on both systems.
but you should preload those roll over images for the icons.
or better yet, use the css 'sprite' method.
basically you have both the off and on state in one image.
then move
Joel,
Sooo close. That worked like a charm...however, once you actually
hover over the menu, the dropdowns are back to their old tricks and
the active dropdowns appear. Is there any way you can think of around
this? I assume this is all because of the pathClass.
Is it possible to achieve the
Close but in your example newWidths is an array of numbers. In your case
you'll want a way to extract the largest width from the array and then use
that value to animate the li width. Maybe something like this.
var width = $('li.hello img').widths().sort().revers()[0];
$('li.hello').animate({
I misspelled reverse in my code example... It should be:
var width = $('li.hello img').widths().sort().reverse()[0];
$('li.hello').animate({ width: width }, 'slow');
--
Brandon Aaron
On May 9, 9:47 am, Brandon Aaron [EMAIL PROTECTED] wrote:
Close but in your example newWidths is an array of
On May 9, 2008, at 12:36 PM, Krz wrote:
1) When using jeditable plugin, how to add validate to the activated
input field or textarea field for preventing some malicious people
empty the data.
Ive tried frantically to get this working together. My jeditable works
fine. But im trying to
Hi Brandon!
in your blog post you ask for suggested features.
Frankly i'm stunned by how in one line you addition all the widths values
(although i didn't expect less from you). Personally, I had to loop through
the returned array in order to achieve that.
Wouldn't it be a nice feature to add
A little more specific:
You're using jQuery.noConflict() which allows you to use the variable
jQuery
jQuery(document).ready( function() {
jQuery(#sliding_cart).css({ display: none});
});
then later in your doc, you're using $
Hi, thanks for the reply. I've uploaded what I had to my test site.
http://admin.stma.k12.mn.us/_assets/template/new.tpl.html
I thought the code would get the child ul, entire sub-menu, and
slide up/down. Also looked at Accordion but thought it was more than I
needed. Since, I already have the
Could you possibly just give your form an id attribute? Then onchange you
could just return $(#myformid).attr(action) and not have to mess with
any traversing.
-- Josh
- Original Message -
From: briandichiara [EMAIL PROTECTED]
To: jQuery (English) jquery-en@googlegroups.com
Hi,
I am trying to post an XML string back to an ASP.net page. The XML
string is created in the client code and I am trying to use the
jQuery.ajax() method...
$.ajax({
type : POST,
url : AjaxHandlerPage.aspx,
data : {
method : Save,
data
I've got some code with post ajaxForm calls in it that work fine in
IE and FF 2, but not firefox 3. Using firebug I can see that the
calls are apparently being made as they should, but for some reason
never get to the server. Is this a jQuery issue or a firefox issue?
i'm using the latest
Exactly, it was my intention to make a pointer to the element only :o)
If I trace both elements in firebug, it highlights same element.
That's what confused/tricked me.
Anyway I read into it, and apparently $(this) and this is two
different instances of the same element.
$(this) pointing to the
love it.
I'd prefer something clever with code on it than just the logo.
just the way i eval...
On May 9, 5:16 am, Josh Nathanson [EMAIL PROTECTED] wrote:
It would be cool if said something like:
$(code).less();
...in Courier typeface...and then had the jQuery logo on it.
-- Josh
Im trying to integrate some features of this dock effect:
http://icon.cat/software/iconDock/0.8b/dock.html (*great work Isaac!)
specifically the enlarge (shrink of neighboring elements) and image
src replace, with a standard carousel, but cant seem to execute both -
I would like to have the
Oh ... you want to make sure the width of the li adds up to the width of all
the images? The earlier snippet just made sure the li was as wide as the
widest image. You could do something like this to add up all the widths.
var width = 0;
$.each( $('li.hello img').widths(), function(i,w){ width +=
Something like:
$('people:female').find('girlfriend') = []
--
Brandon Aaron
On Fri, May 9, 2008 at 10:33 AM, CVertex [EMAIL PROTECTED] wrote:
love it.
I'd prefer something clever with code on it than just the logo.
just the way i eval...
On May 9, 5:16 am, Josh Nathanson [EMAIL
not sure but you could try something like this, to get more
specific...
$('#Main_Nav li:has(ul)').mouseover(function(e) {
e.stopPropagation();
$(this).children('ul').slideDown('normal');
}).mouseout(function(e) {
e.stopPropagation();
On 9 Mag, 17:17, NeilM [EMAIL PROTECTED] wrote:
success : function(data) {
// Process data here
}
what is this function supposed to do?
it seems that it doesn't get the correct data (like the data var is
empty or something).
are you sure that your serverside
Hi,
I'm using JQuery in Asp.NET 2.0, and I want to catch one event when a
label change, what event should I catch?
Best Regards,
Pedro Camacho
Hello Everyone,
I've done some searching and am unable to find information on using an
OR operator in the JQuery Validator plugin.
I have two fields (for sake of argument) and before the form is valid
at least one field must be filled in. They are nameFirst and nameLast.
There may be a simple
Hi,
I'm trying the autocomplete plugin from:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
I have a problem with the onSelectItem option that I suppose it will
be triggered when I select a value, right?
So i would like to do something when the value is selected, but It
doesn't work
Yes, the xml structure at this stage (testing) is very simple, but the
page throws and error before it gets to look at the data. The server
returns a json string of the format {status: success} or {status:
error} which would then be processed by the 'success' script.
What seems odd is that
On Fri, May 9, 2008 at 10:21 AM, Fred P [EMAIL PROTECTED] wrote:
A little more specific:
You're using jQuery.noConflict() which allows you to use the variable
jQuery
Pardon me for being a little pedantic: jQuery.noConflict does not allow you
to use the variable jQuery. The jQuery variable
I'm working on an input field where I need to disable the browser from
automatically doing this.select() on an input text field. In a nutshell,
I've got an input box I basically am treating like a masked input.
The reason is I'm manually pre-selecting a text range. If I invoke my
function to
This sounds like you're adding in content that you should be adding in
(via ajax) or you're not removing your old dialogs when you should.
Can you post a sample page that shows what you're doing?
On May 8, 11:37 am, snobo [EMAIL PROTECTED] wrote:
I stumbled upon a tricky situation. In my app,
What seems odd is that jQuery throws an error before initiating the
ajax call if I set the property 'processData: false' in the
initialisation.
I think you've misunderstood the use of the processData option. That
option lets the ajax function know whether it should convert the data
arg to an
On the front:
$(WWW).append(jQuery)
And on the back:
$(prototype, mootools, dojo, yui, etc.).remove();
*grin*
It's onItemSelect, not onSelectItem (the docs are wrong.)
-Dan
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of michelem
Sent: Friday, May 09, 2008 12:11 PM
To: jQuery (English)
Subject: [jQuery] autocomplete onSelectItem
Hi,
I'm trying the
Playing with the script some more, i discovered a bug:
when created, the first gallery sets wrongly the content above the
image (the red box). COntents are pulled from the alt= images'
attribute.
today it's friday, i'll think about it on monday.
but i must admit myself, i am pretty satisfied
Isn't it more like?
alert( $('people:female').find('girlfriend').length == 0 ? 'l33t' : 'normal'
)
-js
On Fri, May 9, 2008 at 11:11 AM, Brandon Aaron [EMAIL PROTECTED]
wrote:
Something like:
$('people:female').find('girlfriend') = []
--
Brandon Aaron
On Fri, May 9, 2008 at 10:33 AM,
jQuery:
$(this) rocks
On Fri, May 9, 2008 at 8:34 PM, Jonathan Sharp [EMAIL PROTECTED] wrote:
Isn't it more like?
alert( $('people:female').find('girlfriend').length == 0 ? 'l33t' : 'normal'
)
-js
On Fri, May 9, 2008 at 11:11 AM, Brandon Aaron [EMAIL PROTECTED]
wrote:
Something
Thanks for the ticket!
Jörn
On Fri, May 9, 2008 at 9:33 AM, Jyrki Pulliainen
[EMAIL PROTECTED] wrote:
I've created a ticket #2830 containing the patch.
http://dev.jquery.com/ticket/2830
Thanks for the tip hj. Is that a cross-browser solution? I tested it
in FF and got the absolute URL, but in IE it returns the relative
URL.
I used
var formAction = $(elm.form).attr(action);
and that will return the same in both browsers, however I'd still like
to know how reliable that is.
Good initiative Bob,
I would like to see if someone has been able to have the carousel
display with the vertical mode on multiple lines and multiple columns
an example of layout could be something like this
-
| __
$(complicatedCode).hide();
An alternative...
var destOpts = $('#hotel_destinazione option');
$('#hotel_paese').change(function(){
var sel_val = $(this).val() || '';
destOpts.each(function(){
var me = $(this);
me[sel_val=='' || me.is('.'+sel_val) ? 'show' : 'hide']
();
On Fri, May 9, 2008 at 3:33 PM, Adam V [EMAIL PROTECTED] wrote:
Hey all,
I've gone through some of the more obvious resources on creating
jQuery Plugins (Mike Alsop's Plugin pattern, the documentation on
docs.jquery.com, etc.) and I think I have a handle on things. There
are a few things
$(code).simplify();
Thanks Mike,
That helps a lot. I have modified the code back to a more 'default'
setting and have found that all I needed to do was encode the xml
string (using the escape() method) and then, of course decode the
string on the server. If I don't encode/escape the xml, I get an ajax
call error.
Getting closer! I changed from using the mouseover() and mouseout() to
hover(). That now seems to be working properly. The only issue at this
point is that it doesn't slide down on the first hover. When the page
loads and the mouse is over the li it just shows the list as the CSS
does. Then when
Andrea, when I changed to hover() the stopPropagation() effected
negatively. Once I removed that it started working ok. Also, what is
variable e when passing it to the function? Thanks
On May 9, 11:25 am, andrea varnier [EMAIL PROTECTED] wrote:
not sure but you could try something like this, to
$(life).get()[0];
On May 9, 2:37 pm, Fontzter [EMAIL PROTECTED] wrote:
$(complicatedCode).hide();
FF Beta 4 Release notes says that
Support for Cross-Site XmlHttpRequest has been removed until the
specification becomes more stable and the security model is improved
(bug 424923)
http://www.mozilla.com/en-US/firefox/3.0b5/releasenotes/
it could be something releated that...
On 9 Mayıs,
$('#enough').ofThisThread().alReady();
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Hi everybody,
I'm new on jQuery and I wanted to know which is the correct way to
right a function. For example I have a menu-list, and I want to clear
the selected state of all elements, and set it to the selected
element. So I wrote thi function:
function toggleActive(e){
Hi Paul,
the tabs plugin does not set innerhtml to anything with all tabs being
unselected. You probably do not see the content because the tab panels
are all hidden via CSS.
--Klaus
On May 8, 4:32 pm, HelloGoodbye [EMAIL PROTECTED] wrote:
Hello dear JQ community,
I'm having some
div id=top class=flora
ul
lia href=http://www.domain.com/top/pop;Popular/a/li
lia href=http://www.domain.com/top/rated;Rated/a/li
/ul
/div
when I load up the site, however, there's nothing in the tabs,
You cannot load external pages into
Hi Dan,
I don't know off-hand, but the first place I'd look would be Josh
Bush's Masked Input plugin. He has done a ton of work to make it an
excellent plugin, so I'm guessing you could get some ideas by looking
at his code:
http://digitalbush.com/projects/masked-input-plugin
Hope that
Hi there,
A quick fix is to modify your extension to:
jQuery.fn.toggleActive = function(){
$('#iconBox ul.bar li').children(a).removeClass(active);
$(this).addClass(active);
};
You would then call by:
$('#page2').click(function() {
($(this).children(a).toggleActive();
How about this?
$('#hotel_paese').change(function(){
$('#hotel_destinazione option').hide()
.filter(this.value? (.+this.value) : *).show();
});
I think I got that right...if not you can probably tell what I meant.
Hi Drew,
Here is another quick patch I've worked out for you. Remove that other
line I gave you (the one that manually applies hideSuperfishUl on
document ready. Then alter the following line of Superfish.js:
CHANGE THIS:
o.$path = $('li.'+o.pathClass,this).each(function(){
TO THIS:
o.$path =
Karl,
I don't know off-hand, but the first place I'd look would be Josh
Bush's Masked Input plugin. He has done a ton of work to make it an
excellent plugin, so I'm guessing you could get some ideas by looking
at his code:
http://digitalbush.com/projects/masked-input-plugin
Hope that helps.
I
79 matches
Mail list logo