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+
+','D','HTML','CSS','C#','PHP','Python','XML','JavaScript','Photoshop']
, alc = []
, list = $('#list');
$.each(arr,
Hi Mike,
Thank you for your prompt response! Unfortunately, I'm still in a
development stage and won't be able to provide you a link to a
publicly accessible page.
However if I may, I'd like to provide some code snippets and hopefully
it might help. First off, the code for the form is derived
I've got bit of a firefox mystery here:
My photo-album component animates when browsing to the next page, see
http://mediabeez.veerman.ws/mediaBeez/ and press the 'next' button (thats
the one on the right) on the photoalbum you view on that homepage.
You have to use firefox to test this
Hi Mike,
To hopefully add some more insight into this, I took the form out of
the SimpleModal jQuery plugin and placed it into its own JSP page, and
when I tried to submit the Form, the browser is reporting an error in
line 334 of the jquery.form.js file, stating that:
form.submit is not a
Thanks a lot Mike, I've tried, it works perfectly!
I would like to add FF 1 and IE 5 which are not supported too.
Could you tell me if my code is correct... I think I did an error:
script type=text/javascript
// See http://developer.apple.com/internet/safari/uamatrix.html for
Safari versions
My experiences today with .filter() and .not() showed them to be
extremely buggy in my case. For example, .not(.foo + .foo) would
leave me with an empty set (though nothing should have been matching).
Is this because I was using them to select tr elements? Is there a
known issue with .filter()
form.submit is not a function
This happens in both Firefox 2.0 and IE6.
That error is usually the result of having a form element with an id
or name of 'submit'. That is not a valid name for a form element (at
least not when using JavaScript).
Dave, have you tried removing the plugin
Mike,
That was it! Indeed there was a form element with the name submit
and like you said, was causing that error. Renaming it allowed the
plugin to do its job.
Thank you again!
Best,
Dave
On May 5, 7:03 am, Mike Alsup [EMAIL PROTECTED] wrote:
form.submit is not a function
This
There are a lot of different tabs plugins but I'm guessing you're
using the jquery UI tabs? You should try using firefox w/ firebug,
and take a look at the classes the tabs are given when they are
selected / hidden (or read the docs on that plugin as they should have
that info as well). I don't
Hi everyone, I try to explain my problem simply:
how can I avoid that the entire window goes down at the end of the scroll??
I am using the plugin localscroll and I want to avoid the final step that
moves the entire window below.
this happens with the screens 1024/768.
someone could help me?
I just added a carousel to http://www.humormegraphics.com. The
carousel looks and works great in Safari and IE. However, using
Firefox there seems to be a weird jump in the easing when you click on
the right arrow.
It's possible that I missed setting a value somewhere, but I'm
stumped.
Any
hi,
I'm trying to change the innerHtml of an anchor to loading for the
duration of an ajax load with this code:
$(#contests ul li span a).toggle(
function(){
var url_title = $(this).html();
$(this).ajaxStart(function(){$
dramsay escribió:
I just added a carousel to http://www.humormegraphics.com. The
carousel looks and works great in Safari and IE. However, using
Firefox there seems to be a weird jump in the easing when you click on
the right arrow.
It's possible that I missed setting a value somewhere, but
jQuery UI v1.5b3, the jQuery project's UI effects library, is now
available for download. While still in beta, the library is feature
frozen and the features are in excellent shape.
The jQuery UI team is anxious for your feedback so please join them on
the UI mailing list found here:
Hi,
I have a Website with geocoding meta tags like this:
meta name=ICBM content=50.1678, -97.133185
With help of jQuery I can extract the content like this:
var title = $(meta[name=ICBM]).attr(content);
This works fine.
But how can I store the variable to this:
map.setCenter(new
On May 2, 12:23 am, Cody [EMAIL PROTECTED] wrote:
I filed a ticket, but it was marked as nofix. Apparently there are
inconsistencies in changing the type attribute in input fields and
they aren't meant to have their type attribute changed. So the
alternative is to simply remove the input
I discussed the idea of jQuery core supporting dynamic data parameters
with Scott recently - we haven't made progress, but it could solve a
lot of issues like this one. Basically you'd replace static values
with functions that return those values, while the treeview plugin
just passes these
congratulations on this super appetizing release. One request though, or
rather, a supplication, no, a prayer: please, oh please, do not change the
jquery logo, or at least, keep the devo hat, it has become such a
sympathetic icon !
On Mon, May 5, 2008 at 4:20 PM, Rey Bango [EMAIL PROTECTED]
A few tiny bugs I just noticed.
Slider demo
When the arrow is selected, it displays a dotted selected line.
Accordion
In IE7, the left and right sides show horns. The end of each
button bar is slide up about 20 pixels.
Tabs
The tabs aren't connected to the box.
Hi Lee,
I think you'll be happy with your choice. The reason that I recommend
both is because the jQuery In Action book is, I believe, updated to
version v1.2 of jQuery while the Learning jQuery book is using v1.1.2.
Both books offer their own unique bits of info and both are worth having.
Andy (and everyone), please post feedback on the jQuery UI mailing list
found here:
http://groups.google.com/group/jquery-ui?hl=en
Thanks,
Rey
Andy Matthews wrote:
A few tiny bugs I just noticed.
Slider demo
When the arrow is selected, it displays a dotted selected line.
Hi Alexandre,
The announcement is for jQuery UI, our UI effects lib, not jQuery. :)
Rey
Alexandre Plennevaux wrote:
congratulations on this super appetizing release. One request though, or
rather, a supplication, no, a prayer: please, oh please, do not change
the jquery logo, or at least,
Hi,
I'm trying to make a TD, with id = content, clickable.
Unfortunately, it doesn't seem to be working -- the action is not
invoked when I click on the TD. Here's the code:
$('#content').click(function() {
location = 'zipcodelookup.php';
});
and here's the
Hi,
Can someone tell please where can I find updated offline documentation
about jQuery?
I have used VisualJQuery in the past but it is old now (for v.1.1.2).
and everything else that i have been able to find now is for jQuery
versions below 1.2
Thanks in advance.
Hi,
I'm trying to submit a form using Ajax and this plugin. The form has
some simple fields, and a field of type file. When I do not select
any file, everything works correctly. Whenever I select a file, the
success function isn't called, plus the POST do not appear in the
console
Thanks for the reply, Mike. Everything works now. I did change the CSS
around a bit, but couldn't really figure out what caused the problem.
Great plugin, by the way. It's a shame that the fonts still don't look
good while fading in IE, even with cleartype on.
Cheers, Bo.
try: (remember jQuwery returns an array)
$('#content')[0].click(function() {
location = 'zipcodelookup.php';
});
[EMAIL PROTECTED] wrote:
Hi,
I'm trying to make a TD, with id = "content", clickable.
Unfortunately, it doesn't seem to be working -- the action is not
invoked when I
Don't forget to put your code in a document.ready block. Your code is
running before the element (#content) exists, because the DOM is not yet
ready:
$(document).ready(function() {
$('#content').click(function() {
location = 'zipcodelookup.php';
});
});
or, shortcut:
$(function() {
Hi, (pls excuse dbl post)
I would like to get feedback on:
1) Would a photo crop plug-in be useful to others?
2) How doable is it in JQuery?
3) Would anyone be interested in a bounty on it? ($$$)
Please see the video of my prototype here:
Has anyone ever wanted to do something like this? Is it even
possible? If not, how might you handle something like this when you
don't want re-load a customer's shopping cart after they have already
confirmed everything and checked out?
Can you please elaborate more on the use of an indicator?
There are already crop plugins that have
been written. Why would anyone pay for something that is based on
opensource.
LTG wrote:
Hi, (pls excuse dbl post)
I would like to get feedback on:
1) Would a photo crop plug-in be useful to others?
2) How doable is it in JQuery?
3)
I announced it here because Paul Bakaus is doing a blog post and will
announce it on the UI mailing list. Paul is the UI lead and I would
rather he have the opportunity to announce it.
Since not everyone on here is on the UI list, I want to make sure people
are aware of it. :)
Rey...
$().localScroll({
...
hash:false,
...
});
Actually, just remove the line that says: hash:true.
Check the docs for further information, you can do MUCH more than the
example.
--
Ariel Flesler
http://flesler.blogspot.com
On 5 mayo, 09:31, piro [EMAIL PROTECTED] wrote:
Hi
Why would anyone pay for something that is based on open source?
In support of an open source initiative, especially if that initiative is
addressing an immediate need that you might have.
--
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
On Mon, May 5, 2008 at 12:08 PM, RalphM [EMAIL PROTECTED] wrote:
Two hours later ;-)
When I set a variable like this
var position = new Array(50.1678, -97.133);
I can do this:
map.setCenter(new GLatLng(position[0], position[1]),8);
But when I try something like this:
IMPORTANT UPDATE:
jQuery UI v1.5b4 is now up and addresses two bugs in v1.5b3 released
earlier. Please re-download http://ui.jquery.com/
Thanks,
Rey
The jQuery IU team has put up a new blog posting about jQuery UI v1.5b4.
http://jquery.com/blog/2008/05/05/jquery-ui-15b4-featuring-effects-and-a-new-home/
Rey...
If you're trying to replicate the functionality of a submit button,
then the link would only submit the form it's contained in. A regular
submit button wouldn't submit any form (unless I'm mistaken) if it's
not within the form tags anyway. So why not something like this?
Is it possible that the *** might be behind the image??
I copied that exacty and pasted in the script replaced what I had and
still I don't see any *** that appears on the side of the image.
I am doing this to just learn how to manage the function hover.
my main idea is to have the image that
Not if it already exists for free.
Steve Blades wrote:
"Why would anyone pay for
something that is based on
open source?"
In support of an open source initiative, especially if that initiative
is addressing an immediate need that you might have.
--
Steve "Cutter" Blades
Adobe
Not if it already exists for free.
It depends...if the free product is a piece of crap, people might pay for
something better.
-- Josh
Thanks for the feedback, Real...
The solution I worked up below, targeting .get(0) (first form
on the page), works fine because there is only one form.
But your solution would probably work as well for one form,
but have the added benefit of working for multiple forms.
I'll file you solution
Have setup jdMenu 1.4.1 successfully but am having one minor issue.
When
I try to override the disableLinks setting, it doesn't seem to take.
Here is the
snippet of code to create my menus:
$(document).ready( function() { $('ul.jdMenu').jdMenu({disableLinks:
false}); } );
The snippet is placed
It looks like you want to select all .foo elements that are siblings,
but not the first .foo. You could try something like this $
(.foo).gt(0); This will get all .foo elements, then reduce the
collection by dropping off the first element.
On May 5, 4:50 am, {ajh} [EMAIL PROTECTED] wrote:
My
elle,
Since you're going to have 8 fieldsets, why don't you have some code
that will automatically close all of them when the change function is
called, then you can use a variable as your jQuery selector so you
don't have to use an IF statement. You could do something like this.
I'm trying to look through the tickets in the jQuery Trac but I'm
faced with the following error:
Trac detected an internal error:
IntegrityError: (1062, Duplicate entry 'bf4f39c0467ab22-0-0' for key
1)
Hope you guys sort this out soon.
Thanks,
Nick Fletcher
I am trying to figure out what I am doing wrong here, or where I need
to put an updated hook. I am using the animate option for the
treeview widget with asynchronous data (lazy load). When I open a new
node that has to fetch data, it does not animate when opening.
However, once the data has
Thanks both for your responses. As it turns out, problem was with
forgetting to put document.ready code. - Dave
On May 5, 10:16 am, Richard D. Worth [EMAIL PROTECTED] wrote:
Don't forget to put your code in a document.ready block. Your code is
running before the element (#content) exists,
Last week I had a question on how to traverse the DOM and find all
elements that had some text (p, a, li, h1, etc.) so I could manipulate
it with Google's translation API. Well with some help from the
community I was able to accomplish this feat.
Typical. I may have just answered my own question, but haven't tested
whether it is bulletproof or not:
In the .each loop I have placed the following conditional statement:
if ($(this).children().length 0)
{
alert(This node till has
I'm not sure why, but this error comes up when you're not logged in. It
would be wonderful if you could view this report without logging in, and the
error is beyond cryptic, but that's the current state. Sorry about that.
- Richard
On Mon, May 5, 2008 at 2:41 PM, Nick Fletcher [EMAIL PROTECTED]
One thing that I've noticed is that the expr attribute is pretty
inconsistent across methods (such as filter, find, parents, parent, etc.)
The documentation is very vague about what an expression is, other than it
just being a selector. However I would assume a valid expression for one
element
$(#tln21').text();
This will return the text associated with id=tln21.
http://docs.jquery.com/Attributes/text
Joe
www.subprint.com
On May 5, 2:34 pm, darren [EMAIL PROTECTED] wrote:
Hi everybody, new member here.
I have a project with the following snipped of code:
=start html=
Hi Richard,
On May 5, 1:11 pm, Richard D. Worth [EMAIL PROTECTED] wrote:
I'm not sure why, but this error comes up when you're not logged in. It
would be wonderful if you could view this report without logging in, and the
error is beyond cryptic, but that's the current state. Sorry about
Yes I understand that, sorry maybe my
comments were a little harsh and not thought out well.we all have
bad days.
LTG wrote:
Thank you for the replies, perhaps I didn't clarify:
1) I can find no crop plugins with this level of features. If there
is a plug-in that comes close, for
Hi, newbie here. Hoping someone can help. I'm able to successfully
call $.get and then eval() a URL that returns a JSON object:
$.get(myurl,
function(code) { eval(code); alert(code[0]); });
But if I try to call $.getJSON on the same URL:
$.getJSON (myurl,
function(code) {
Here is a link to the current UI cropper. Maybe you can help
incorporate some additional features.
http://ui.jquery.com/repository/real-world/image-cropper/
On May 5, 4:36 pm, Donald J Organ IV [EMAIL PROTECTED] wrote:
Yes I understand that, sorry maybe my comments were a little harsh and
And the crop region really should be draggable there. That's a very recent
regression.
- Richard
On Mon, May 5, 2008 at 5:27 PM, motob [EMAIL PROTECTED] wrote:
Here is a link to the current UI cropper. Maybe you can help
incorporate some additional features.
The problem is the context of 'this' within the ajaxStart() and
ajaxStop() functions.
try this instead...
$(#contests ul li span a).toggle(
function(){
//store ref to toggling element for use in ajax callbacks...
var lnk = $(this);
var url_title = lnk.html();
Sorry Donald, but your comment suggests you do not really understand
what Open Source is.
It is more than I can get it for free. And it is more than I can do
what I want with it (two very different kinds of free). It is a mix
of the two, with a healthy dose of what makes the community
hi Joe, thanks for your comment
If you look closer, you can see that the text is not actually in the
div element. i basically need to select the text after that node:
div
div tln=xxx/div
Some text
div tln=xxx/div
some more text
div tln=xxx3/div
even more text
/div
So that
A few weeks ago, I started to use the Cycle plugin on a site, mostly
with just the 'fade' effect. It worked beautifully.
The site development then stalled until recently as I waited on some
content from my client, and when I returned to the site today, I
noticed that the Cycle fades were now
first, thanks for superfish... it seems to be the best solution for
search friendly drop down menus!
working on integrating superfish with a joomla website. here's the
situation.
three level menu structure, organized very much like:
Hi All,
I am building a site with a bunch of forms which i retrieve via ajax.
I am trying to do something similar to what google does with maps
where when the user clicks on a specific point, the form displays
relative to the users position, AND most importantly the position
relative to the rest
When I went to the Cycle plugin site to get the most recent version, I
discovered that several of the demo animations on the site also
flicker in Safari. So it seems like it's not a question of my
implementation of the code.
Which animations do you seeing flickering? I'm not seeing any
$(#tln21 div).text();
Like that? By the way, firebug is very helpful to test our selectors and
see what they come up with.
Hmm, it would be nice to have a tutorial on how to do this. I can try and
whip one up.
Glen
On Mon, May 5, 2008 at 2:47 PM, darren [EMAIL PROTECTED] wrote:
hi Joe,
Stan,
I'd suggest using Firefox with the Firebug extension, and doing a
console.log(code) in your callback. This will give you better information
than is provided by using the alert method.
-- Josh
- Original Message -
From: Stan McFarland [EMAIL PROTECTED]
To: jQuery (English)
Yes as I stated in the email previous to this i am sorry for the harsh,
not very well thought out comments(everyone has a bad day). I fully
understand Open Source. And yes sometimes a little bit of money does
provoke that little bit of innovation needed for an Open Source project
to take
Hello - i am trying to use superfish and jQuery to make my dropdown
menus.
I have added each li in the dropdown have its own class,
subMenuAnchor. This allows us to position the next menu to the right
of the previous dropdown.
Now, we want to be able to drop left or right, so on the ones I want
Hi,
I am using the tablesorter pluging http://tablesorter.com/ and it
works fine for smallish tables. However, I need to page through large
result sets (and filter them) - so I am going to use AJAX to
repopulate the table once the options have been selected.
Now, if through filtering /
Extremely new to jQuery so I am sure this is an easy fix for some of
you advanced players out there. Thanks in advance.
Creating a photo gallery and want the currently displayed image to
fade away before the new image fades in...this is the code I have thus
far.
$(#imageSelect li
Extremely new to jQuery so I am sure this is an easy fix for some of
you advanced players out there. Thanks in advance.
Creating a photo gallery and want the currently displayed image to
fade away before the new image fades in...this is the code I have thus
far.
$(#imageSelect li
Hi folks
I've been trying to get this little puppy working in IE7 but to no
success (no surprises - I'm no javascript expert). I'm wondering if
anyone would be up for helping us out on it, paid work? In short, it
works fine at this URL: http://mga.id.au/test/ in Firefox but IE7
balks...
I have the same question. I have over 20k rows of data in mysql, and
the idea is for there to be an update button beside each row. I don't
see any examples of how to interact with the database here -- in php
it's $sql = ...; in ruby/rails it's Thing.new[...], but what's up
with jquery? I don't
I'm trying to come up with a technique for expanding text when you
hover over it. I built a real quick and dirty demo to help explain the
affect I'm trying to achieve:
http://imlocking.com/projects/zoom_text.html
So, in the list of times, I'd like to make them pop when you hover
over. Of
oh and yes, firebug is a Godsend. It is the most useful tool in my
programming environment, by a long shot. I strongly recommend people
learn all of its features like the debugger and the profiler.
On May 5, 4:23 pm, Glen Lipka [EMAIL PROTECTED] wrote:
$(#tln21 div).text();
Like that? By the
Rock on, thanks a bunch Mike. I thought it had something to do with
the callback but I didn't fully understand how to use it; starting to
get the big picture. :-)
Thanks again.
On May 5, 7:53 pm, Mike Alsup [EMAIL PROTECTED] wrote:
Extremely new to jQuery so I am sure this is an easy fix
hi glen, thanks for replying.
That still wouldn't work. With that you are looking for the text
inside div elements which are descendants of of the id'd element.
What i want to select are certain text elements of the id'd element.
I figured something out, but this is surprisinlgy difficult:
div
thanks !
I only had to add:
... i records.length; ...
On May 4, 2:14 pm, Nicola Rizzo [EMAIL PROTECTED] wrote:
success: function(json, status){
var records = json.Records;
var str = ;
if(records){
for(var i = 0; i records; records++){
for(var j
In your code, it looks like you use many calls to $(this) and
$(#times_zoom). You'll get much better performance if you set variables
and use those instead, i.e in your mouseover function:
var th = $(this), tz = $(#times_zoom);
Then you would use those references like so:
// change the
81 matches
Mail list logo