Well stated, Shawn. I wholeheartedly concur.
This is utilizing the metadata plugin for jQuery. It handles that sort
of stuff.
Sent from my iPhone
On Jan 20, 2010, at 3:34, fran23 wrote:
I don't know how to handle
class="{title:'test'}
it's out of the mb.extruder plugin
logo
...
$("a").attr("href");
urn 1 and 2 instead
of 0 and 1.
Any ideas?
Cheers,
Matt Parlane
I concur regarding mailing list vs. forum. Both have their positives and
negatives, but these days I definitely prefer a mailing list over forums.
Perhaps the jQuery team could not find another mailing list that would
import all of the existing posts on Google Groups? (My understanding is
that th
Hello,
I received an email inviting me to join the new jQuery forums. It contained
a username and password for me to use. However, when I try to login, I am
told that my email address has not been confirmed and therefore cannot do
so. A link to a help page is given whereby I can allegedly have
That is true, but if you remove the link's href, the application will not
degrade for users without JavaScript enabled.
On Thu, Jan 14, 2010 at 8:46 AM, bill wrote:
> this really an interesting jq/html semantic issue: if the tag is
> not handling the actual redirection to another page, maybe w
e the function.
Thanks,
Matt
On Wed, Jan 13, 2010 at 7:12 PM, RobG wrote:
>
>
> On Jan 14, 11:00 am, Matt Maxwell wrote:
> [...]
> > var that = this; // scope
>
> The value of the this keyword has nothing whatever to do with scope.
>
>
> --
> Rob
>
e the apply function:
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Function/apply
<https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Function/apply>If
you need any other help with that or don't understand my example, let me
know.
Thanks,
Matt
Maybe try using something like:
$.myplugin.fill.call( this, "red" );
On Wed, Jan 13, 2010 at 6:47 PM, Tim Molendijk wrote:
> Hey all,
>
> I've been developing jQuery plugins for quite some time now, and I
> like to think I got pretty good at it. One issue keeps nagging me
> though, and that is h
}
);
Or you could also use the function to return a boolean value:
$(this).parent("ul").exists(); // true if ul is present
$(this).parent("ul").absent(); // true if no ul is present
Thanks,
Matt
On Wed, Jan 13, 2010 at 6:52 PM, pedalpete wrote:
> Everything that I'
lick(
function () {
window.open( $(this).find("a").attr("href") ); // open the PDF
return false; // prevent the link from redirecting
}
);
Hopefully this makes sense to you.
Thanks,
Matt
On Wed, Jan 13, 2010 at 5:38 PM, pedalpete wrote:
>
> Hi Bill,
>
> I'm st
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
Hello,
I found an iTunes style slider/rotator that has been done in
MooTools, demoed here:
http://www.outcut.de/MooFlow/example-ajax.html. I was wondering if either
a) such a thing already existed in a jQuery plugin, or b) if there was a
jQuery master who could port it in quick fashion? If b), p
Why? Simple. Because the variable does not exist. :D
On Mon, Nov 9, 2009 at 7:09 PM, Lord Gustavo Miguel Angel wrote:
> hi.
> i´m try with this example:
> http://www.malsup.com/jquery/form/#json
>
> but Alert(data.message) return "undefinited"
> why?
>
> tk-.
>
I'm going to say that there is about a 99.99% chance that the paths to
your CSS and jQuery files are incorrect.
Just a little fun for Halloween 2009.
I carved my pumpkin this year as the jQuery logo. I hope some in this
group can appreciate it! :)
http://mattkruse.com/2009/10/31/jquery-pumpkin/
Matt Kruse
On Wed, 2009-10-28 at 08:16 -0700, MICA wrote:
> The website in question is - www.micalighting.com.au
[...]
> Can anyone help??
Not with the superfish, but you might want to reconsider that animated
gif at the top.
Cheers,
--
Matt Zagrabelny - mzagr...@d.umn.edu - (218) 726 8844
Univ
Figured this out myself using AJAX - I grab the dynamic second menu
through ajax instead of toggling hidden options, which worked fine.
On Oct 27, 4:45 pm, Matt wrote:
> Oops, missed the link:http://imgur.com/p25xN.jpg
>
> On Oct 27, 4:45 pm, Matt wrote:
>
> > Hi there,
&g
Oops, missed the link: http://imgur.com/p25xN.jpg
On Oct 27, 4:45 pm, Matt wrote:
> Hi there,
>
> I have a table that looks like this:
>
> The user can click the 'Add another category' link and another row is
> inserted.
>
> My issue is here: those two sel
a better way to organise this - can anyone
advise me on how to do it? Above all, I can't seem to target the newly-
cloned select boxes without grabbing them all.
Thanks,
Matt
Never mind - Ricardo's genius post here solved it for me:
http://groups.google.com/group/jquery-en/browse_thread/thread/f5469902b151daa2/b1908e69d723bfa6?lnk=gst&q=clone+IDs#b1908e69d723bfa6
On Oct 27, 10:43 am, Matt wrote:
> Hi everyone.
>
> I'm writing a dynamic form t
ind some way to give the cloned row's s
unique IDs, but I'm getting nowhere. I tried setting a hidden form
field that counted the current ID, then incremented it for the new
rows, but I can't seem to get this to work.
Can anyone point me in the right direction for incrementing the IDs of
the fields that are cloned? My HTML looks like this for each row:
Matt
Hi,
I'm trying to implement superfish onto a wordpress site I'm working
on, but just can't get it to work.
I believe I've done everything right, and searched the web for
solutions but nothing as yet has helped.
You can view the site at www.sdm-intl.com, it's the main blue menu on
the site that
Hi everyone,
I'm implementing a drag and drop newsletter, where my users can drag
content to different areas of a template.
Depending on where they drop the content, I need to add different HTML
attributes to some of the code (essentially need to make the images
float:left if they're dropped int
context
>
> such that if defined it will only select what's a descendant of that
> element.
> You can also use find():http://docs.jquery.com/Traversing/find#expr
>
> By the way, what is ui.item? An object? (Class/ID) String?
>
> On Oct 13, 12:49 am, Matt wrote:
>
&g
rovide a simplified example case that you think is overly
slow, perhaps someone can identify other issues contributing to the
performance problem.
Matt Kruse
' h3').addClass('editable');
},
but this just gave a syntax error.
Is there a way to do this?
Thanks,
Matt
Add a ) to the end. You have to close the opening hover() function call.
Used to debug this
> $('#msgsInbox input.messageCheckbox').attr('checked', $
> ('#msgCheckAllInbox').is(':checked'));
function checkAllMsgsIn(cb) {
$('#msgsInbox input.messageCheckbox').attr('checked', cb.checked);
}
Much simpler.
Matt Kruse
On Thu, 2009-10-01 at 22:25 -0400, Karl Swedberg wrote:
> have you tried overflow-y: auto; ?
This works... (to some degree)
table tbody {
height: 799px;
overflow-y: auto;
overflow-x: hidden;
}
Cheers,
--
Matt Zagrabelny - mzagr...@d.umn.edu - (218) 726 8844
University of Minnes
It seems like IE7 will not actually make ajax requests unless I use
$.ajax({cache:false}).
I really like the $.load method though because of how it combines
selecting the dom node to update, downloading the page, and then
plugging it in. Is there some easy way of forcing IE to make ajax
calls?
>From the documentation: http://docs.jquery.com/Effects/fadeTo
speed String, Number
A string representing one of the three predefined speeds ("slow",
"normal", or "fast") or the number of milliseconds to run the
animation (e.g. 1000).
What else are you looking for? You use one of the three Str
I would first try putting your function call to reloadWindow() in the
complete callback for the $.post function. So your post code would
look like:
$.post( "includes/update.php", { action: "y" }, reloadWindow);
and take out the call to reloadWindow() after updateSession()
You may have other bac
On Sep 16, 7:55 pm, Macsig wrote:
> Yes, I do but I don't see how that can help me out.
>
> Thanks
>
> On Sep 16, 4:01 am, Liam Byrne wrote:
>
> > do you actually have the headers in a , with the content in ?
>
> > Most people forget about those.
>
> > L
>
> > macsig wrote:
> > > Hello guys,
>
Use class instead of id.
$('.open-frame')
@ Mike - Thanks for making me take a closer look at the original code. I
get it now. My bad.
/me crawls back into his cave to hibernate some more
That code should not work on _any_ browser. In the onclick attribute
you are grqbbing a reference to the containing div ($
('#followButton2')), which clearly has no method named followUser. Try
something like this instead:
My bad. I must admit that I did not read through the entire post, and also
did not realize that the livequery plugin offered additional functionality.
I was under the impression that it had been fully included into the core
with live(). However, I have been corrected a couple of times after makin
If you're using jQuery 1.3.x (and you should be), there's no need for the
livequery plugin.
http://docs.jquery.com/Events/live
I made a page that would load 2 html pages, had a footer to show both,
2 links to show indivually, the divs to load them in, and the sticky
footer css. My js seems valid, but the page is just completely blank.
URL: http://testingspot.hostcell.net/sandbox/tests/jquery/ajax/ajax.html
see that code in the subj.? i'm using FF 3.5, and no matter what i
do, .css won't work!! any help?
How do I go about changing the subnavigation background/position? I
would like to add a vertical gradient to the subnavigation and am
having a hard time.
Any help would be appreciated.
www.restorefoundation.schematixdesign.com
It seems like when I load a page into a div like this, the $
(document).ready code in the loaded page doesn't fire:
$("#mydiv").load("/a");
But when I do this, the $(document).ready on /a does fire.
Is this correct?
I have a page /a that has a line
var aaa = 99;
And I load that page /a into a div on another page. In the other
page, I want access to that variable aaa. I tried this:
$("#adiv").load("/a", function () { console.log(aaa); })
I get an error that aaa is undefined.
What am I doing wrong?
e more robust by doing:
if (openerFunc && typeof openerFunc.call=='function')
Matt Kruse
Perhaps I am misunderstanding something in your requirements, but with the
validation plugin (link below), it is as simple as adding class="required"
to the input tag.
http://docs.jquery.com/Plugins/Validation
HTH
I have a list of radio buttons, all with the same name, and each has a
different value.
I want a validator that tests if one is picked. How do I do this?
On Sep 2, 1:16 pm, msoliver wrote:
> if ($.isFunction(openerFunc))
Why not just:
if (openerFunc && openerFunc.call)
?
Matt Kruse
On Sep 2, 6:20 am, IschaGast wrote:
> I am having rounded corners in a site but I don't want them in IE
> because it does strange things with the corners.
Many non-IE browsers already have native CSS support for rounded
corners. If you want to exclude IE anyway, why not just use pure
I know this has been solved but thought I might add my own solution to
a similar problem causing the same error message in IE, in case it's
helpful to anyone.
It was the DTD declaration - make sure it's first thing in the file
and make sure it's correct! Some how, something had been inserted
abov
I'm using a modal dialogs and I love them, but I haven't found a
really elegant way to handle actions in the dialog window that require
changes to the parent page.
Here's an example. I have a monthly calendar page that lists employee
names on the days they are supposed to work. Clicking on an e
I have a form with two radio button lists. Each list has the same set
of choices. I want to make sure that something is checked in both
lists and that the value in the first list is not the value in the
second list.
I know I could write my own submit handler to do this, but I'd like to
work wit
I believe I have found a bug in IE8; it's possible that it's something
jQuery is doing, but I really doubt it. I'm only cross-posting this
here in the hopes that someone can suggest a workaround, because I
have tried everything I can think of.
A code sample is available here:
http://social.msdn.
x27;t change.
Then why does the example work in IE8 using jQuery 1.2.1?
You can certainly set a tr to display:none in IE.
Matt Kruse
I'm using google jsapi to load jquery. The example shows to do this:
http://www.google.com/jsapi";>
google.load("jquery", "1.3.2");
google.setOnLoadCallback(function() {
// Place init code here instead of $(document).ready()
});
The problem I'm having is this... I'm also includ
Thanks for the tip. Like every time you're trying something new, it's
two steps forward and three steps back. I'll try you suggestion.
I have a menu that I've already set up with ALA's CSS Sprites2 (http://
www.alistapart.com/articles/sprites2/) now I have to add a drop down
menu into the mix. What would be the best way to achieve this, or
rather what would I need to change in the Superfish scripts to get
this to work?
This is w
This problem now seems to be even more widespread. I installed just a
basic, pure, CSS dropdown menu and even it does not work with
Supersleight, UnitPNGfix or even jQuery's pngfix. GRR
On Jul 24, 3:44 pm, Matt wrote:
> I've tried a few different PNGFixes thinking that maybe the
pdown feature. This is all CSS (plus jQuery) at the
moment. It works in all other browsers.
Has anyone ever run across this problem?
Thanks!
Matt
;t need
to purchase anything because it is also free software.
--
Matt Zagrabelny - mzagr...@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2
He is
Hovering on the navigation that has no children - what's new, or Learn
with us. Instead of showing a blank subnavigation, it is still showing
the current drop down. Is there any way to make it blank?
Example of my issue:
http://update.creativejunction.org.uk/talk-with-us/
This superfish navigati
Hovering on the navigation that has no children - what's new, or Learn
with us. Instead of showing a blank subnav, it is still showing the
current drop-down. Is there any way to make the children blank?
Example of my issue:
http://update.creativejunction.org.uk/talk-with-us/
This superfish navig
codes for:
backspace
arrow keys
delete
etc.
Cheers,
>
> On Jul 17, 11:18 am, Matt Zagrabelny wrote:
> > On Thu, 2009-07-16 at 16:12 -0700, Caio Landau wrote:
> > > Well, that a simple question, I hope. I have an input ( > > type="text" />) on my page, and
> A simplified example just to illustrate:
>
>
>
>
This works for me...
$(function() {
$('#numbersonly').keypress(
function(event) {
return ((event.which >= 48) && (event.which <= 57));
}
);
});
Cheers,
--
Matt Zagrabelny
ch is best.
On Jul 16, 12:06 pm, "Matt B." wrote:
> Edit: I realized that "cookieOptions" is actually a version 1.4.1
> feature, only available from the SVN. The feature has not yet been
> added to the minified version, so you need to grab the uncompressed
> versi
s
So it's not undocumented, it's just that 1.4.1 hasn't officially been
released yet.
On Jul 16, 8:45 am, "Matt B." wrote:
> I just thought I'd post a solution I came up with that may be helpful
> to anyone using thetreeviewplugin fornavigation.
>
> Th
I just thought I'd post a solution I came up with that may be helpful
to anyone using the treeview plugin for navigation.
The problem I ran into was that the cookie persistence was working,
but since I was using the tree for navigation to different directories
of my site, sometimes the cookie wou
In firefox 3.5, http://www.chrisevert.org/ throws an error that I
haven't seen previously:
[Exception... "Component returned failure code: 0x805e000a
[nsIXMLHttpRequest.open]" nsresult: "0x805e000a ()" location:
"JS frame ::
http://www.chrisevert.org/a/scripts/jquery-1.3.2.js?recache=1247683374
g on more work (even though it is paid) ?
--
Matt Zagrabelny - mzagr...@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2
He is not a fool who gives u
I'm using this validation plugin
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
and it is great.
However, it rejects dates like 07-14-2009 as invalid. Is there some
way to add a list of valid formats?
If not, should I write my own method to match that particlar format?
d grab all the paragraphs (that is your "p"),
then add into the array the element of id "text" that lies within the
body element with id of "seniors".
The third element in that array is not necessarily a paragraph element.
Perhaps you could scab together a little DOM f
r) module and RT handles the processing
of the (server-side.) I would rather not modify the RT codebase to
handle the checkbox - I thought it could be done via JS.
My main questions still stands, how does both the 'if' and 'else' blocks
get executed on the same pass through the
ndler on the server side processes both if the checkbox is
checked. I only want one to be processed.
Regardless, both blocks are being executed... (crazy)
Thanks,
> On Jul 10, 1:38 pm, Matt Zagrabelny wrote:
> > Greetings,
> >
> > I am experiencing some crazy stuff, at least cr
this one?
If I add 'return;' statements at the end of the blocks, things work as
expected, however I wouldn't expect that I should have to do that.
Thanks for the help,
--
Matt Zagrabelny - mzagr...@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology S
:47 pm, Ralph Whitbeck wrote:
> >
> >
> >
> > > It's not a problem with Prototype and it being mixed cause you get the
> > > same
> > > problem if you just isolate it to just a page with jQuery.
> >
> > > The problem seems to be an invalid
settings are such that errors will be shown.
Matt Kruse
On Jul 9, 3:27 pm, Paulodemoc wrote:
> The generated code is
> http://servidor/astral/web/js/</a>
> jquery.js" type="application/x-javascript" >
> I tryied to add the
> alert('jQuery not load
r script url may be relative, and IE may be interpretting it
differently for some reason.
In any case, jQuery is not being loaded.
Try this:
<script language="javascript" src="<?php echo base_url();?>js/
jquery.js" type="application/x-javascript" >alert('jQuery not
loaded');
Matt Kruse
On Jul 9, 2:55 pm, expresso wrote:
> Also, do you really have
not related to my original
> > > > > > posts in those other thread so it's only respectful on my part to
> > > > > > start a new thread on a different topic that's veering off in the
> > > > > > same
> > > > > > th
put element with id = 'Object-RT::Ticket--CustomField-29-
Value' in the DOM. Am I missing anything?
Thanks for the help,
-Matt Zagrabelny
t I can then have jQuery
> use this, to get values from it? Or is there no sense in trying to
> use jQuery for this, and it might not even be of help?
Why would you want to use jQuery to handle a standard javascript
object?
What exactly do you want to do with it?
Matt Kruse
repository can be found here:
http://github.com/magearwhig/jquery-checkboxtree
-Matt W.
// A General "run" function to simplify coding
$.fn.run = function(fn) {
if (typeof fn=='string') { fn = new Function(fn); }
this.each(fn);
}
Then:
$(':checkbox.chkEvent').run("this.checked = !this.checked");
Whether that's actually more efficient to write depends on the
situation ;)
Matt Kruse
That is exactly what it means.
Straight from the docs
http://docs.jquery.com/Core/jQuery.noConflict
*NOTE:* This function must be called after including the jQuery javascript
file, but *before* including any other conflicting library, and also before
actually that other conflicting library gets used, in case jQuery is
incl
All I want to be able to do is present the user with four answers and
force the user to pick the correct answer before being allowed to move
to the next question. It doesn't matter if the answer is in the code
as the target for this is NOT the type who would open up the sourc
all throught the validate
>
> This rule you created with the syntax above could be added in
> additional.methods.js that cames with the validate plugin
>
> it was clear?
>
> Alexandre Magno
> Interface Developerhttp://blog.alexandremagno.net
>
> On Jun 25, 7:12 pm, Matt Riley wrot
$(openMenu);
If you want a function to be available outside of the function scope
that is currently executing, then define it outside.
Matt Kruse
swer 3
Answer 4
Please select an
answer.
On Jun 25, 4:27 pm, Matt Riley wrote:
> Thanks for your reply. I'm going to give i
quizzes will just be used for basic users
who wouldn't know/care to look in the source anyway.
Again, thank you for your reply. I'll probably be back. LOL.
-Matt
On Jun 25, 3:16 pm, Lee R Lemon III wrote:
> well like many things this has a variable answer...
>
> but what I
I'm making a simple quiz using jquery and the validate plug-in. I
think I'm really close but just need a nudge over the last hump. :-)
I have a radio button group that requires the user to select at least
one button. That part is working. However, what I want to do is also
check to see if the us
I am working on an ecommerce site that uses smarty tpl files and I am
having trouble implementing JQzoom, I have already use a java based
menu system so I am aware of the {literal}{/literal}
I am trying to use JQzoom for product images and when the product page
loads the java isn't working. Firef
e(func) {
func();
}
Matt Kruse
this.checked = true;
jQuery should really have .prop() which would work like attr() usually
intends to, but deal only with DOM properties rather than trying to
manipulate actual attributes. Script authors usually want to deal with
properties anyway, and attr() only makes it confusing.
Matt Kruse
x27;show','hide');
You can pass in regex text, and it can toggle text within a string
like:
"Click here to show all items"
and it will just toggle the word "show" to "hide".
Hope it's useful.
Matt Kruse
. However, the page below is not working. I tried on both
IE and FF.
http://jquery.bassistance.de/validate/demo/multipart/
Please advise.
Cheers,
Matt
On Jun 9, 9:35 am, simon wrote:
> $.myvariable1
> $.myvariable3
> $.myvariable2
> now I would like to add the number part of the variable to it
> dynamically.
var i=1;
$['myvariable'+i] === $.myvariable1
See: http://www.javascripttoolbox.com/bestpractices/#squarebracket
Matt Kruse
his will do nothing, since you would need "funcname1()" to actually
run the function.
Or preferrably: setTimeout(funcname1,1000);
Matt Kruse
g?
On Jun 4, 6:26 pm, "Mauricio \(Maujor\) Samy Silva"
wrote:
> There isn't in HTML Specs a true value for checked attribute.
> Try:
> $("input:checkbox").attr("checked", "checked");
> Maurício
> -Mensagem Original-
> De:
1 - 100 of 486 matches
Mail list logo