can anyone provide clearer directions--a bit more step by step for us
quizzical new ones--as to how to get the onclick patch running and working
for superfish plugin?
thanks.
c.s
--
View this message in context:
tabs(length) does not work, however this does.
var lgt = $('#tabs ul').tabs(length);
$('#tabs ul').tabs(select, (lgt -1));
Thanks
On Oct 8, 12:35 pm, BB [EMAIL PROTECTED] wrote:
Try:
$(#tabs ul).tabs( add, url/index.htm, label ).tabs(select,
$(#tabs ul).tabs(length));
On 8 Okt.,
Try this:
var rule = {
required: true,
range:[0,100]
};
var rules = {};
$(.numOnly input).each(function() {
rules[this.name] = rule;
});
$(.numOnly).validate({ rules: rules });
Jörn
On Wed, Oct 8, 2008 at 7:08 PM, Syler [EMAIL PROTECTED] wrote:
i have a form and a bunch of inputs.
How
We've discussed a timepicker recently for the jQuery UI roadmap, this
could be a good implementation to start with. I really like the
interaction, though I'd really like to see one with 24 hours.
Jörn
On Wed, Oct 8, 2008 at 9:33 PM, h3 [EMAIL PROTECTED] wrote:
For the past two days I've been
For rules(add) to work, the element's form has to be validated, that
is, call $(form).validate() first. I've updated the documentation
accordingly.
Not sure why the attr-approach failed, I'll take a look at that.
Jörn
On Thu, Oct 9, 2008 at 2:37 AM, BobS [EMAIL PROTECTED] wrote:
I'm working
On 8 Okt., 18:57, Leanan [EMAIL PROTECTED] wrote:
The duplication is something else.
However the fix you made works.
That means you still have that duplication? Or not?
--Klaus
does anyone know how to combine the pagers from JQuery Cycle with the
effect from JQDock?
I want to use Cycle to make a slide show but want the paging effects
to look like OSX Dock
Hello,
i want to optimize my code.
Example:
$(document).ready(function() {
$('.message_subject').click(function() {
var msgBox = $(this).parent().parent().parent();
var msgID = msgBox.attr('id');
Hi,
I am wondering if it is possible to replace specific font color of all
style classes in one step?
For example, I have a few classes:
style
.header {
color: #F00;
}
.body {
color: #000;
}
.footer {
color: #F00;
}
/style
Now I would like to replace 'color' value in all classes where
What about this:
$(fromClone).attr(id, newId);
or
$(fromClone).attr(name, newName);
At first sorry for my English
I have stupid problem:
There is document like that:
ul class=class1
li class=selectedItem 1/li
liItem 2/li
liItem 3/li
/ul
.
ul class=class1
li class=selectedItem 1/li
liItem 2/li
liItem 3/li
/ul
.
ul class=class1
li class=selectedItem 1/li
liItem 2/li
Good work, and it has a nice feel to it. I look forward to seeing the
24h and keyboard access todo's sorted!
I did something like this a while back for selecting year, month and
day. (Yours looks better though!)
Because the row of 31 days was so long I arranged them in two rows of
15.
I dare
Can anyone tell me why this doesn't work in IE???
JeffreyKarbowski wrote:
Comparing to original -
(Line 105)
Original:
var tOffset = parseInt(opts.topOffset, 10), lOffset =
parseInt(opts.leftOffset, 10);
Changed to:
var tOffset = 100, lOffset = -738;
(Line 302)
Original:
tipY
Hello,
i want to optimize my code.
Example:
$(document).ready(function() {
$('.message_subject').click(function() {
var msgBox = $(this).parent().parent().parent();
var msgID = msgBox.attr('id');
The $.get call is AJAX. The first 'A' in Ajax is for 'Asynchronous'. So when
that line is parsed and executed it kicks of a request to the server which
will come back at some later point. The javascript interpreter doesn't sit
around waiting for it to return. It goes right on with the next line of
On 9 Okt., 10:12, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
We've discussed a timepicker recently for the jQuery UI roadmap, this
could be a good implementation to start with. I really like the
interaction, though I'd really like to see one with 24 hours.
I agree, L10n is a must...
--Klaus
Thank you
but some problem exists
List like this:
ul class=class1
li class=selectedItem 1/li
liItem 2/li
liItem 3/li
I need add class selected only to one list inem ( first, second,
third, and so ). After your help I shall have:
liItem 1/li
li class=selectedItem 2/li
li class=selectedItem
It ain't pretty, but it works :-)
http://paste.pocoo.org/show/87509/
On Oct 9, 8:46 am, Martin Sarsini [EMAIL PROTECTED] wrote:
Unfortunately it is not that simple.
With your code it simply replaces the id of the fieldset, when I need
that it will go and replace the id of each id and
make every drag and drop web componet an unique ID in the first place?
please specify you problem a bit better so we can help you.
please specify your title better, so we can help you.
or help yourself:
http://docs.jquery.com/UI/Draggables
thx
tom
On Oct 9, 6:05 am, seka [EMAIL
It was example
Now :
nel - number of workfieldset, =1 when page loaded
You need create construction like this:
nel++;
$(fromClone).find(input).each(function() {
var s = $(this).attr(name);
s.replace(/([^\[]+)\[0\]/, $1[+nel+]);
$(this).attr(name, s);
});
And for label:
hi,
just would like to know if any jquery UI that can implement a facebook
feature.
as a facebook user, there is a text input area shown what are you
doing right now? near top of the page for every logined user. so when
mouse click inside that text, it will let you input text with a Post
button
Wow cool!
I will try to integrate it now, sounds great
by the way, LodgeIt! it's fantastic
On Oct 9, 2:42 pm, MorningZ [EMAIL PROTECTED] wrote:
It ain't pretty, but it works :-)
http://paste.pocoo.org/show/87509/
On Oct 9, 8:46 am, Martin Sarsini [EMAIL PROTECTED] wrote:
Unfortunately
I also have tried item.attr(value) but that didnt work either.
Hi,
This plugin might do what you want.
http://plugins.jquery.com/project/moreSelectors
I haven't tried it so afraid I can't help with using it.
On Oct 9, 9:16 am, Miha [EMAIL PROTECTED] wrote:
Hi,
I am wondering if it is possible to replace specific font color of all
style classes in
Thanks!
I have managed to fix my code as well:
// photo
$(.photo).click(function() {
$(.jq).hide().load(page.php?p=photo, function() {
$(this).slideDown(slow); });
$(#closerbutton,
I am trying to get the value of a form field so I can construct a
condition for use with eval(). Only I am having trouble to get the
value of the given form field.
The current form field I am trying to get the value from is:
select name=question_2 id=question_2 tabindex=2
class=full
Hi MorningZ:
I think your first approach is better for me.
Finally I do:
beforedelete: function(NODE)// before delete - should return true |
false
{
$.ajax({
type: POST,
url: /goicms/admin/removenode,
async: false,
Hi MorningZ:
I think your first approach is better for me.
Finally I do:
beforedelete: function(NODE)// before delete - should return true |
false
{
$.ajax({
type: POST,
url: /goicms/admin/removenode,
async: false,
Argh! Again hit by the same issue. Missing #.
On Thu, Oct 9, 2008 at 4:17 PM, Weyert de Boer [EMAIL PROTECTED] wrote:
I am trying to get the value of a form field so I can construct a
condition for use with eval(). Only I am having trouble to get the
value of the given form field.
The
Thank you, Ricardo. Although I don't like to think of dead cats...
;)
On 8 Okt., 21:04, ricardobeat [EMAIL PROTECTED] wrote:
Here's a quick short function that will do the job:
$('#deadcat').each(function(){
var lnk = $(this).html().replace(/([\w-]+@([\w-]+\.)+[\w-]+)/, 'a
Hi
I am using the serialscroll on my site to page through a news resultset. I
am using the naviagation option that automatically turns a given list into
the naviagation for this scroller.
However I would like to have the link in the ul have a new class when its
clicked so I can style this
You can find some information in message box:
if(msgBox.children('[EMAIL PROTECTED]/img/icons/email_open.png]').length
0) // nothing
else // post status
just by using the ole' google, i found these links:
http://www.appelsiini.net/projects/jeditable
http://davehauenstein.com/code/jquery-edit-in-place/
I haven't tried these but they should help a little.
On Oct 9, 9:49 am, Davis [EMAIL PROTECTED] wrote:
hi,
just would like to know if any
Hmm, it's only not hiding the li-items which are listed while I
modifeid the code a bit so li id=field_question_6 etc.
Fantastic! Thank you :)
Do you mind explaining to me why this works like this?
On Oct 8, 4:29 pm, Rene Veerman [EMAIL PROTECTED] wrote:
function UpdateList()
{
// Open the xml file
$.get(locations.xml,{},function(xml){
// Run the function for each name tag in the XML
THAT IS WHAT I WANT, THANKS SO MUCH.
On Oct 9, 10:38 pm, Donkeybob [EMAIL PROTECTED] wrote:
just by using the ole' google, i found these links:
http://www.appelsiini.net/projects/jeditable
http://davehauenstein.com/code/jquery-edit-in-place/
I haven't tried these but they should help a
i need develop drag and drop web componet..for that i need to assign
unique id each time i drag a element(eg:div); how can i do
it
If you want to remove class 'selected' from li elements and add it
to others you could use toggleClass.
You canthen use fade out before toggling, and fade in afterwards.
$(li.selected).fadeOut(slow);
$(li).toggleClass(selected);
$(li.selected).fadeIn(slow);
Paul
On Oct 9, 12:53 pm, Vic
Hi all:
I´m new to JQuery, so maybe i´m doing something badly.
I have a previously defined javascript tree, i´m rewriting the code
to use ajax.
This tree has a function
beforedelete: function(node)
If this function returns false, no node will be deleted in user
interface. If
When you call $.get. it does it *asynchronously*, meaning it goes
off and makes the Ajax call but does not wait for it to get back with
a result before continuing
You have two choices:
1) Use the more general $.ajax call and run your remote code
synchronously (yuck! you'll potentially hang
Very nice.
Two little suggestions to add:
- It (or at least the 2nd/3rd rows) should disappear on mouseout if
you want to quit the selection
- Could be more responsive on click, there is a rather large delay
between the click and the fade-out (+-400ms)
- If I click 06 in the first row I want
I would also like an answer to this. Is this possible?
On Oct 1, 10:09 am, yabdab [EMAIL PROTECTED] wrote:
Hey all, I am hacking around with the
coda-slder...http://jqueryfordesigners.com/demo/coda-slider.html
...and wondered if there was a simple way to have the panels fade in/
out as they
Hi all,
I'm attempting to use jQuery to accomplish two things:
1) Remove the yellow background color that is automatically added by
google toolbar's autofill feature.
2) Use field highlighting during form validation
I know that you can use the following css to override the autofill
yellow:
That's not something you should worry about unless dealing with
thousands of non-existing elements. Looking for 100 inexistent IDs in
a page takes less than 10ms - that time increases considerably for
other selectors.
But that doesn't mean it's the right way to code it. You should have
each page
The code works when I am using the val()-method on the form field.
On Thu, Oct 9, 2008 at 5:05 PM, ricardobeat [EMAIL PROTECTED] wrote:
The value is in the option element, not the parent select:
$(#question_2).change(function() {
var itemValue = $(this).children(':selected').val();
I know that we can get the INNER html of an element with html()
function.
And also, we can get the parent() element and return this html()
function to obtain the html code of the all children of the parent()
element.
But, how to get only, and only, the html code of the element that we
have?
try this link.
http://mucur.name/posts/jquery-example
regards.
On Thu, Oct 9, 2008 at 6:49 PM, Davis [EMAIL PROTECTED] wrote:
hi,
just would like to know if any jquery UI that can implement a facebook
feature.
as a facebook user, there is a text input area shown what are you
doing right
I need to make sure that 1 field os less than the other so I am using
the dependency callback feature and it's working but I cannot get an
error message to display - anyone get this to work?
Here is my code:
$(document).ready(function(){
$(#AddPartner).validate({
rules: {
On Oct 8, 2008, at 8:09 PM, Okie wrote:
Hmmm I posted a second time after my first post (at 1:45 didn't
seem to go through). My first post came in later than my second post,
and turned into a reply. Was there a moderation process that I went
through?
I'm not worried about it. Now I've
Hi Ricardo! Many thanks for the help on this one! Thanks to all of
you! :)
That's not something you should worry about unless dealing with
thousands of non-existing elements. Looking for 100 inexistent IDs in
a page takes less than 10ms - that time increases considerably for
other selectors.
Hi,
I'm not clear what you are trying to do in the last example.
This may help:
1 - You have mixture of CSS styles and javaScript to control
visibility of your li elements. It would be easier just to use
javascript. Put something like this in document ready and remove the
CSS :
Hi,
In localhost, all of my ajax request work perfectly,
but on the prod server, whenever I try to make an ajax request, the
following error appear:
(This is the code used to display the error:
error: function(xhr, status, ex) {
var msg = Error ajax edit profile :\n\n;
msg +=
I have some new information,
if I change the ajax request's type from POST to GET,
it works perfectly ...
When I use POST type, in firebug's console the url is red and next to it I
can see the number 411,
by looking on the net, the error must be related to Content-Length ...
Anyway I am fine
this doesn't seem to work for me
I assume i just add the jQuery.extend business in the head of the HTML file
after my jquery include but before my other jquery functions?
Karl Swedberg-2 wrote:
On Oct 19, 2007, at 2:09 AM, Erik Beeson wrote:
You could add your own expression for it
or this
http://sharebrain.info/brainpicks/scripting/scroll-multiple-videos-with-jqueryscrollablejs/3929/
2008/10/9 Geert Baven [EMAIL PROTECTED]
Try this
http://nettuts.com/javascript-ajax/create-a-tabbed-interface-using-jquery/
2008/10/9 [EMAIL PROTECTED] [EMAIL PROTECTED]
Can someone
Can someone please advise? All of a sudden, I need to embed tons of
media. I carefully read Mike Alsup's Media Plugin (http://malsup.com/
jquery/media/) and several others, including JWPlayer (http://
jeroenwijering.com/) and jMedia (http://www.contentwithstructure.com/
extras/jmedia) - but I
Something like:
script type='text/javascript' src='jquery.js' /
script type='text/javascript'
[define custom expression here]
$(document).ready(function () {
[use custom expression here]
});
/script
[the rest of your scripts here]
-Eric
Try this
http://nettuts.com/javascript-ajax/create-a-tabbed-interface-using-jquery/
2008/10/9 [EMAIL PROTECTED] [EMAIL PROTECTED]
Can someone please advise? All of a sudden, I need to embed tons of
media. I carefully read Mike Alsup's Media Plugin (http://malsup.com/
jquery/media/
guys, we should definitely use this online tool to ask questions. it
seems really useful to our mailinglist !
Sent to you by pixeline via Google Reader: An Interesting Twist on a
Pastebin via Ajaxian » Front Page by Rey Bango on 10/9/08
Pastebins have become an important part of sharing code
I hadn't seen either of those before - thank you!
The Flowplayer works nicely, I think. They both offer a better-looking
method than switching iframe or Flash content with javascript - which
is what I'm doing at present. But they don't really answer the hole in
my knowledge ...
See all those
Looks great!
Rick
pixeline wrote:
guys, we should definitely use this online tool to ask questions. it
seems really useful to our mailinglist !
Sent to you by pixeline via Google Reader:
An Interesting Twist on a Pastebin
Ah - the Flowplayer site does offer more detailed tutorials :D
Currently reading
http://richbellamy.com/wiki/Flash_Streaming_to_FlowPlayer_using_only_PHP
Seriously, I need to learn all this stuff fast! To quote any sci-fi
film: Need more input.
Cherry. Sorry about the self-reply :o
Yeah, what a great idea and incredible job by Remy.
-- Josh
- Original Message -
From: pixeline
To: Jquery-en
Sent: Thursday, October 09, 2008 11:57 AM
Subject: [jQuery] An Interesting Twist on a Pastebin
guys, we should definitely use this online tool to ask questions.
Oh, now I understand. You don't just want to wait *until* the parent
container exists - that's a given - you want to run your code only *if* the
parent exists.
That's an excellent idea. Don't run code if you know you don't need it. You
will save both time and memory.
Ricardo mentioned a time of
Why exactly do you need that?
You can move elements around without chaning it's code, like in
$('#myId').appendTo('.newposition');
You can also clone it and change all of it's attributes, so I don't
really see the need to get the elements code.
- ricardo
On Oct 9, 9:39 am, eudesf [EMAIL
You need to define the action= attribute in the form so it can be
submitted, otherwise it's going nowhere.
- ricardo
On Oct 9, 11:36 am, ijlal [EMAIL PROTECTED] wrote:
hi whats the error wid tese lines of code. the form is not submitting when we
click on go button. i dont want the go button
Maybe you want to do this with plain Javascript:
$(#mydiv)[0].firstChild
or:
$(#mydiv).contents()[0];
but .contents() get all childNodes from every element:
$(.myclass).contents() would get the contents of every matched
element (not like .html() wich only returns the innerHTML of the first
Hi, I posted this a few weeks ago but I didn't get any traction. I've
been fumbling with it on and off since then, but I'm not getting
anywhere. I figured it couldn't hurt to try again.
I think I'm pretty close to getting this to work, but it's not quite
there. This is essentially tab
Hello all,
I need a select all to work, and be limited to, multiple sections on
page.
How many of these sections there will be on a page is not known.
Each section needs its own select all trigger.
For example: (but how many of these groups there would be would be
unknown)
div
a
I would do it like that:
div
a href=javascript:; class=selectAllSelect All/a a
href=javascript:; class=deselectAllDeselect All/a
labelinput type=checkbox /Item 1/labelbr/
labelinput type=checkbox /Item 2/labelbr/
labelinput type=checkbox /Item 3/labelbr/
This works
http://paste.pocoo.org/show/87549/
On Oct 9, 4:24 pm, bmclaughlin [EMAIL PROTECTED] wrote:
Hello all,
I need a select all to work, and be limited to, multiple sections on
page.
How many of these sections there will be on a page is not known.
Each section needs its own select
I hope somebody could help me on this.
How can I create the two inline datepickers and have range selection
between those? So basically combining the ideas behind the another
date range and inline date picker.
Thanks for your help!
Hello,
I have an asp.net app (2.0, using vs2005), running jquery1.2.x and IE
6.0.2 on a XP box.
I am seeing a peculiar behavior pertaining to some of the hyper-links:
When i click on the 'submit' button, the IE logo at the top-right-side
of the browser starts to rotate (indicating that it's
jquery.scrollto does not work in IE6 if my html file defined as:
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
html xmlns=http://www.w3.org/1999/xhtml;
head
however, if i remove
Wonderful piece of work!
I'll definitely use it in my current project!
But the only thing its missing right now, is the 24-hour format... :P
Cheers from Brazil
On Oct 9, 12:12 pm, ricardobeat [EMAIL PROTECTED] wrote:
Very nice.
Two little suggestions to add:
- It (or at least the 2nd/3rd
This does not work:
$(document).ready(function()
{
$(#menu_move_eq).click( function() {
$(.hiddenform).hide();
$(#movebox).show();
})
$(#menu_new_equipment).click( function() {
Hi all,
i am a beginner with javascript and finally found out how to drag the
content (a playingcard) from one div to another one.
it works when i load the page and include the content inside a content
div, but.
Normally i have a indexpage with a content div.
I use a menu, which loads stuff
why, after receiving the You are now a member of jQuery (English).
message, do i still receive the To post a message you must first join this
group http://groups.google.com/group/jquery-en/subscribe. message when
trying to post a comment??
thanks,
Atg
--
Aaron T. Grogg
Web Design Development
Read this:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F
I think that is your problem.
On 9 Okt., 19:44, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi all,
i am a beginner with javascript and finally found out how to drag the
content
You can use metadata, too. Currently barely documented, and not really
recommended either, but works since 1.4.
input class={required:true,messages:{required:'required field'}}
name=whatever /
Jörn
On Thu, Oct 9, 2008 at 5:20 PM, Bob Silverberg [EMAIL PROTECTED] wrote:
Thanks for the quick
Thanks, great help, rebinding was the right solution.
I just did not know about binding/rebinding:)
On 9 okt, 23:38, BB [EMAIL PROTECTED] wrote:
Read
this:http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st...
I think that is your problem.
On 9 Okt., 19:44, [EMAIL
Noticed your news about the new jquery website. Please check it in
IE7, as some of the CSS is not being applied. The white content
background doesn't get applied in most pages, nor does the left
navigation background. So, it's extremely hard to read and navigate.
Example:
My apologies if this post is a duplicate. Couldn't find my first post
and noticed the URL I provided was wrong. Just saw the new Jquery
website in IE7 and it's unreadable for the most part. At first it
loads correctly then, after a longish delay, the styles fall apart.
Example:
Has anyone ever seen this bug? The example comes directly from the
jquery website. When you try and use animate to manipulate the color
value, you get this error in IE. In Firefox it works fine.
Your help is appreciated.
Here is the code below:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01
How about assigning classes to them instead of using .css()? This
might work:
input[type='text'] { background: #FF !important; }
input[type='text'].erroneous{ background: red !important; }
I am thinking that because the second rule is more selective than the
first, it should take
?xml version=1.0 encoding=ISO-8859-1 ?
http://hixie.ch/advocacy/xhtml
- The ?xml ... ? header is optional per Appendix C, and it is
recommended not to include it as it causes IE6 to trigger
quirks mode.
HTML: a definition list
dl
dtText 1/dt
ddtext 1.1/dd
ddtext 1.2/dd
ddtext 1.3/dd
ddtext 1.4/dd
dtText 2/dt
ddtext 2.1/dd
ddtext 2.2/dd
ddtext 2.3/dd
ddtext 2.4/dd
...more dt's dd's..
/dl
jQuery
But using that method would be accepting defeat.
That must never happen. :)
There's nothing I see there that should break. Is there some other
code that tickles those elements?
Thank you both very much.
It is a great thing to get two variations on a theme.
On Oct 9, 4:44 pm, MorningZ [EMAIL PROTECTED] wrote:
This works
http://paste.pocoo.org/show/87549/
On Oct 9, 4:24 pm, bmclaughlin [EMAIL PROTECTED] wrote:
Hello all,
I need a select all to work, and be
Does anyone know if blockUI has conflicts displaying either
jcarousellite or jcarousel galleries? I'm using the jcarousel lite and
it works fine, but if I try to use blockUI to display it, the carousel
doesn't display. All I was trying to do was display a carousel in a
litebox type way. I wanted
sry guys.reason is i'm bit weak in english what i want know is i
want develop web component that enable drag and drop. i that case i use
clone() method to get a copy of that web element, So i need assogn uniqe id
to identify that object. after finishing the drag i need save all the id
Im not sure about the specific answer to your question but I can recommend
an alternative solution.
I use Richard D. Worths oh so excellent $.ui.dialog plugin to achieve a very
simple version of the litebox effect. its from the jquery ui team.
it goes alittle something like this:
div id=h1
a href= onClick=showIt(first,second,third);Click me/a
/div
Is it possible to grab the first,second,third parameters of the showIt
function above so that I can pass the same parameters to another
function?
I managed to get the event itself using:
hi ricardobeat. thanks for reply. i've set the action attribute but still the
form is not submitting.
regards.
ricardobeat wrote:
You need to define the action= attribute in the form so it can be
submitted, otherwise it's going nowhere.
- ricardo
On Oct 9, 11:36 am, ijlal [EMAIL
94 matches
Mail list logo