Thanks Uwe for your reply.
I read about relative thing.
I haven't tried it yet.
But superfish has relative so that child can have absolute to position
itself.
As you said, it will screw up some parts.
Superfish has bigframe.js for the same problem with frames, but it
does not work for other th
On Wednesday 03 December 2008, elvisparsley wrote:
> I have images with jquery cycle under superfish.
> Dropdown submenu of superfish over the images goes behind the images.
>
> I put z-index: 100; for the superfish menu and it works with firefox
> but not with IE.
>
> Can anyone help me out with
I have images with jquery cycle under superfish.
Dropdown submenu of superfish over the images goes behind the images.
I put z-index: 100; for the superfish menu and it works with firefox
but not with IE.
Can anyone help me out with this problem?
Thanks in advance.
That represent the element inside a jquery object.
If you did this:
var div = $(document.body).find('div');
You would get an object with a number of jquery specific properties. Inside
it would be an array of the actual DOM objects it fount.
The same as when you create a new object.
var div =
Thanks, I didn't know that you could bind an event handler like that. :)
BTW, does the "var div" now reference the new element, or does it represent
the event handler?
Jeffrey Kretz wrote:
>
>
> You can do it this way:
>
> var div = $('.appendTo(document.body)
>.attr('property',valu
I have a form inside a div that is shown via Facebox.
I seem to be having troubles getting the form to submit via ajax, it
always wants to submit normally.
Here is a test page: http://www.iohelix.net/misc/chat_test/
Any suggestions would be appreciated.
You can do it this way:
var div = $('mailto:[EMAIL PROTECTED] On
Behalf Of Yansky
Sent: Wednesday, December 03, 2008 9:21 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Is there a createElement equivalent in jQuery?
Hi, I was just wondering if there was a createElement equivalent in jQuer
Hi, my question is, there are maybe many area in one map, how to show
different pictures when mouse over each of them.
On 11月14日, 上午12時42分, livefree75 <[EMAIL PROTECTED]> wrote:
> I couldn't get your link to load, but it sounds like you may need to
> do something similar to the following. The im
Hi, I was just wondering if there was a createElement equivalent in jQuery.
e.g. var el = document.createElement('div');
I know I can create it with the inbuilt innerHTML way in jQuery - $('');
But I like to add event handlers to the element I've just created without
having to traverse the dom
Hi there,
I realized new "Isabela Draw" version (1.3).
Now very fast. I've changed the algorithm to "create div elements at run
time". I hope you appreciate.
Ag suggestions and comments are welcome.
Thanks advance.
Dirceu Barquette
in general you can comma separate selectors.
$(".class1,#foo,td");
On Dec 3, 9:36 pm, light-blue <[EMAIL PROTECTED]> wrote:
> Yes, perfect! Thanks!
>
> On Dec 3, 6:00 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
>
> > I would recommend your elements having two classes. One which stays the
> >
not sure if there is a plug-in but you can easily achieve this as
follows
jQuery(function($) {
$('input:checkbox').each(function() {
var chk = $(this);
var chkName = chk.attr("name");
chk.replaceWith("
On Nov 28, 6:17 am, "Gilles (Webunity)" <[EMAIL PROTECTED]> wrote:
> Short memo;http://jQuery.webunity.nl/
> Check it out, 2 demo's online!
Giles,
BEAUTIFUL!
I've been looking desperately for something along these lines and have
just run into one dead end after another.
I'm working trying it o
That is just awesome, thanks very much.
Just like you said, I did see the syntax as setTimeout("funcName()",
2000); everywhere, even on tutorial sites. I could have saved a few
hours, 3 advil and my sanity if I found this out earlier.
That is just awesome, thanks very much.
Just like you said, I did see the syntax as setTimeout("funcName()",
2000); everywhere, even on tutorial sites. I could have saved a few
hours, 3 advil and my sanity if I found this out earlier.
Yes, perfect! Thanks!
On Dec 3, 6:00 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> I would recommend your elements having two classes. One which stays the
> same, and the second one which changes.
>
> e.g.
>
>
>
>
>
>
> Then you could grab it with
>
> $('div.jcalendar');
>
> JK
>
> -O
can you just post the sample html code and the jquery code you are
using? you can just copy the rendered html and the jquery you are
using and post here.
On Dec 3, 6:47 pm, Marc <[EMAIL PROTECTED]> wrote:
> Has anyone ever seen the behavior where $('#someId').siblings()
> returns an empty set in
I wonder why you would have a separate css class for each div. you
could do it using the solution given by JK or you could set the id of
each div tag that starts like 'jCalendar' and reference the elements
using the regular expression $('div[id^=jCalendar]')
sridhar.
On Dec 3, 9:00 pm, "Jeffrey
I would recommend your elements having two classes. One which stays the
same, and the second one which changes.
e.g.
Then you could grab it with
$('div.jcalendar');
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of light-blue
Sent: Wed
I've got a rev almost ready with an onClick (of the nav strip) event
handler option and some options for handling numbers. Your
event-oriented suggestions are good, I'm thinking about them. Re: xhr,
can you elaborate a bit on what you'd be looking for?
Thanks,
Jack
Alexsandro_xpt wrote:
M
This is a beginner question. Does anyone know how to target
$('.jquery-calendar-0')
$('.jquery-calendar-1')
$('.jquery-calendar-2')
$('.jquery-calendar-3')
etc...
I need to run the following, where X is the number, but I don't know
how many X exist until after the page renders.
$('.jquery-calend
You can only animate CSS properties, the col width is not one of them.
Get rid of the frames and use some clean code :)
On Dec 3, 9:40 pm, andriscs <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I know it's kinda lame, but I should animate the setting of a
> frameset's cols property.
> So far I managed to
Problem: Can't use Validate on forms inside a table sorted by
TableSorter
I have a table with rows, each row is a form. I run TableSorter on it
at load time to sort on default columns. When I click submit for a
given form/row, Validate validates the wrong form. When I turn off
the
default sort, V
Hey,
I didn't work with validation in jQuery yet, but I assume you are
talking about http://docs.jquery.com/Plugins/Validation here?
You could use the submitHandler option to define your own callback
function (see http://docs.jquery.com/Plugins/Validation/validate#options).
$("#my_form").validat
Has anyone ever seen the behavior where $('#someId').siblings()
returns an empty set in IE7 while returning a non-empty set in FF3?
This seems to specifically happen when #someId refers to a
element. I can't seem to reproduce the problem for all similar
situations, but I can't for the life of me
Hi.
I'm using jquery.validate for a contact form.
I'd like to know how to add behaviours conditional to the success of
the form validation.
Like, if the form has been validated, I'd like to go ahead with some
DOM manipulations or a redirect.
Is this possible?
Thanks
Hi,
I know it's kinda lame, but I should animate the setting of a
frameset's cols property.
So far I managed to learn that html properties can be animated using
anime({prop:”value”},duration)
I created for example a font size changer using that code.
As I work now with frames, I tried to modify a
Hi,
how about checking the current background image directly instead of
toggling a variable?
var image = $('#chess-board-flip').css('background-image');
if(image == 'url(a.jpg')) {
$('#chess-board-flip').css('background-image', 'url(b.jpg');
} else {
$('#chess-board-flip').css('background-im
You can see setTimeout("funcName()", 2000); everywhere on the net but
it's actually quite ridiculous as it's much easier (and faster) to
just pass a function reference to it like this:
setTimeout(sendit, 2000);
also this will solve the scoping issues as well.
If you want to pass some arguments
> Even more than that, if you were to return $(this) you wouldn't be chaining
> on the original object.
>
> // Return the same object that this function was
> // called as a method of (i.e. the jQuery object).
> return this;
>
> // Return a *new* jQuery object that contains the
>
Even more than that, if you were to return $(this) you wouldn't be chaining
on the original object.
// Return the same object that this function was
// called as a method of (i.e. the jQuery object).
return this;
// Return a *new* jQuery object that contains the
// same DOM
Holy @!$! that was fast. Thanks guys,
This is all in doc.ready. If I move the regular functions out, I
cannot use the 'olde' var in them. If I set the 'olde' var outside of
doc.ready, I can't use it inside doc.ready.
I'm sure there is a simple fix for this but the little grey cells are
smoking a
> When I run into this, I put my functions outside the doc.ready.block,
> but call them from within it. Then they can share vars.
Without any code, it's pretty hard to help troubleshoot issues...
But if I had to take a wild guess, I'd say it was a scoping issue.
The setTimeOut function excutes
Hi,
I've write this function:
http://dpaste.com/95869/
for change the background image on mouse click
My problem is that there are others funcions that can change the
background image, and my the function must change the images whatever
it is:
if there is the image "bw-board2.png" change
Yeah - some sample code would help...
On Dec 3, 1:52 pm, QuadCom <[EMAIL PROTECTED]> wrote:
> I am trying to use setTimeout to call another function. Everytime I
> put the functions I wish to call within the doc.ready block, I get
> errors stating that the function is undefined. If I move it out
I am trying to use setTimeout to call another function. Everytime I
put the functions I wish to call within the doc.ready block, I get
errors stating that the function is undefined. If I move it out of the
doc.ready block it works fine.
The problem is I can't share vars between teh doc.ready bloc
On Dec 3, 12:59 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> That is half correct.
>
> Obj.method1().method2().method3()
>
> method1 return the modified original object, not a brand-new object.
>
> You could do this:
>
> var obj = $('#elementid');
> obj.method1();
> obj.method2();
> obj.meth
On Dec 3, 4:23 pm, brian <[EMAIL PROTECTED]> wrote:
> Also, because jQuery
> animations cannot be stopped once they've started it's best not to
> start them prematurely.
> -- snip --
That's not the case; you can stop any animation, jumping to the end of
it or not.
cheers,
- ricardo
http://docs.jquery.com/Effects/animate
You'd do something like:
$('.newdate').animate({
top: '200px',
left: '50px'
},800);
- ricardo
On Dec 3, 4:12 pm, Vik <[EMAIL PROTECTED]> wrote:
> On the NetFlix site, if you assign the movie a new position in the
> Queue, the movie flies to the corr
That is half correct.
Obj.method1().method2().method3()
method1 return the modified original object, not a brand-new object.
You could do this:
var obj = $('#elementid');
obj.method1();
obj.method2();
obj.method3();
And it would be the same (with the same performance) of:
$('#elementid').met
On Dec 3, 6:21 pm, SLR <[EMAIL PROTECTED]> wrote:
> So if I understand this correctly, essentially the line is execute
> from left to right and returns the current object after each method
> completes?
>
> For Example:
>
> Obj.method1().method2().method3()
>
> This would do the following:
> 1)
http://virusbusters.itcs.umich.edu//hoaxes/virtual.html
http://us.mcafee.com/virusInfo/default.asp?id=description&virus_k=98893
:]
On Dec 3, 4:56 pm, "diego valobra" <[EMAIL PROTECTED]> wrote:
> 02 dicembre alle ore 22.25
> Rispondi Di a tutti i tuoi contatti della tua lista, di non accettare ne
I'm working on a folder interface using the jQuery Treeview plugin,
which has been awesome so far - but I need it to do a bit more.
I've got the basics down for being able to add or remove a folder at
any level, but the folders I add don't have the appropriate expand/
collapse controls on them.
Anyone aware of a plugin that allows you to selectively replace
checkboxes with yes/no radiobuttons?
i.e. I'd want this:
converted to something like this:
Yes No
> > > One advantage to doing this
>
> > > $("#Results").html("Some Text").show();
>
> > > over this
>
> > > $("#Results").html("Some Text");
> > > $("#Results").show();
>
> > > would be that the script doesn't have to retrieve that wrapped set a
> > > second time
That's a good point. In this case
Thanks for the tip. Yes, it's not applicable except that I only get
the errors when Jquery is in the mix and I always wondered how to use
that debug window in IE to troubleshoot javascript. My guess is that
it was made long ago when the only scripts were inline JS scripts. I
say that because telli
Thank you very much for the response.
I did as you suggested and checked my logs for both a regular post
(with full form submit and page load) and the ajax post,
unfortunately, the logs didn't show anything conclusive - the URLs in
both cases are logged unaltered and seem to be coming through jus
Hi,
Originally posted to Jquery-ui:
I was just wondering if anyone had already made anything similar to
gmail's interface where you can navigate between the checkboxes in an
application via keys, for example k selects the preceding checkbox, j
selects the next? I'm supposing there is already an
Just a quick clarification on this. The this keyword within the "newMethod"
plugin you just made is already the jQuery object. All you need to do is
return this;
--
Brandon Aaron
On Wed, Dec 3, 2008 at 1:01 PM, 703designs <[EMAIL PROTECTED]> wrote:
>
> There's nothing special about chaining meth
This worked. Still has a bit of bugs, but doesn't loop infinitely.
Thanks for you help.
My final code:
$("#header").hover(
function(over){
$("#header #menu").stop(true,true).slideDown();
},
function(out){
$("#header #menu").stop(true,true).slideUp();
My bad, copied and pasted the hoverIntent when I was testing it out,
but it's actually set up as hover and still giving me issues.
On Dec 3, 12:23 pm, brian <[EMAIL PROTECTED]> wrote:
> You are not using hover(), you're using the hoverIntent plugin. From
> its website:
>
> -- snip --
> hoverInten
There's nothing special about chaining methods. You can do it in most
decent languages (in PHP, you could design methods to allow something
like: $toys->addNew("Block")->delete();) and all it involves is
returning an instance of the current object. It's not a performance
hit by any means.
A chain
not really applicable to the jquery specific question, but as far as
debugging JS in IE, have a look at http://www.debugbar.com/
On Wed, Dec 3, 2008 at 10:54 AM, conticreative <[EMAIL PROTECTED]>wrote:
>
> I really need someone's help here. I installed Superfish on a Joomla
> 1.5 website and it's
02 dicembre alle ore 22.25
Rispondi Di a tutti i tuoi contatti della tua lista, di non accettare ne il
contatto [EMAIL PROTECTED] ne un video di Bush, è un hacker, formatta il
computer, ti cancella i contatti e ti toglie la password alla posta
elettronica. ATTENZIONE, se i tuoi contatti lo accettan
I really need someone's help here. I installed Superfish on a Joomla
1.5 website and it's working splendid in Firefox and finally it's
working OK in IE7 as well.
However, it's simply not doing anything in IE6. Nada.
Also, in IE6 and 7 I get a number of JS errors, a couple of which are
related to
"I can see it saving time as there is less
code to write; but on the flip side, I can see how it can becomes
harder to manage especially if there is an excess amount chaining
going on"
That's your decision to make, and you can have the choice to do it one
way or the other
One advantage to doing
Thanks Mike, That looks pretty similar to what I came up with (after
deciding to dis/enable rather than hide/show the inputs). I'll keep
the quote advice in mind -- I always assumed that double quotes were
preferred in JS, but I agree, single quotes are easier.
Thomas
On Dec 3, 1:32 pm, "Michael
Thanks, that makes sense. I still don't feel good about this code...
$.fn.disable = function() {
$(this).attr("checked", false);
$(this).attr("disabled", true);
return $(this);
}
$.fn.enable = function() {
$(this).attr("disabled", false);
return $(this);
}
$(".responsibleCou
What you're doing right now is already the best way to do it. It's called a
"closure" and it's one of the most powerful features in JavaScript.
You can simplify the code a bit. Try this:
$('.responsibleCouncil .category').each(function() {
var $category = $(this);
$c
You are not using hover(), you're using the hoverIntent plugin. From
its website:
-- snip --
hoverIntent is a plug-in that attempts to determine the user's
intent... like a crystal ball, only with mouse movement! It works like
(and was derived from) jQuery's built-in hover. However, instead of
im
Try adding stop(true,true) before either of the slide calls. That
jumps to the end of the animation and clears the queue. But
hoverIntent should be preventing this from happening, to a certain
extent.
- ricardo
On Dec 3, 12:40 pm, SmpleJohn <[EMAIL PROTECTED]> wrote:
> It's amazing I can't find
You have to do it that way because the context has changed. Thus "this" in
the second anonymous function will refer to something different than in the
first. A lot of people use the convention "var self = this" or something
similar.
Also within the anonymous function you can do this:
siblings.f
On the NetFlix site, if you assign the movie a new position in the
Queue, the movie flies to the correct new position on its own, without
being dragged there.
I have a similar situation. I have list of items with dates. They
appear on the page sorted by date. I permit the user to assign a new
da
See
http://docs.jquery.com/Plugins/Validation/Reference#Fields_with_complex_names_.28brackets.2C_dots.29
Jörn
On Wed, Dec 3, 2008 at 6:58 PM, luke adamis <[EMAIL PROTECTED]> wrote:
>
> Thanks,
> That did it.
> Now I have another issue:
>
> these checkboxes must be names like an array:
>
> produc
Thanks,
That did it.
Now I have another issue:
these checkboxes must be names like an array:
product_interest[]
but in the rules I can't have this:
product_interest[]: "required",
I know I can insert code in HTML:
class="required"
but I would rather have it i
I'm trying to reset my password of jquery site and the e-mail never arrives.
I've tried several times.
Someone knows who I can contact?
Thanks.
Brian J. Cardiff
bcardiff(?)gmail.com
.
I'm new to jQuery and I'm trying to learn some more about jQuery's
chaining feature. Chaining methods seems to be one of jQuery's best
features (at least this is how I see it described all over over the
web).
>From a developer standpoint, I can see it saving time as there is less
code to write; b
What I'm trying to figure out is how I can access parent scopes from a
nested anonymous function. As you can see here, I'm managing to do
this by assigning "this" to variables, but I know that there's a way
to pass "this" into the anonymous functions:
$(".responsibleCouncil .category").each(funct
Usually via ignore: ":disabled".
Jörn
On Wed, Dec 3, 2008 at 5:29 PM, Jan Limpens <[EMAIL PROTECTED]> wrote:
>
> How can I tell the bassistence validator to ignore disabled inputs?
>
> I have ui.tabs, and only the selected tab's controls are enabled.
> I want validation to fire only at them.
>
>
I guess you have to escape that ID: jQuery interprets that as "element
with id product_interest and an attribute named '0'".
Jörn
On Wed, Dec 3, 2008 at 5:24 PM, luke adamis <[EMAIL PROTECTED]> wrote:
>
> Is there a reason for this to not work?
>
>other_product_interest: {
Andrew - I got the link you sent and indeed, it does not seem to work on ie6
or ie7. However, I couldn't see your code because it was compressed. Have
you been able to get it working?
-- Josh
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of An
Ok, I'm using the simplest possible jquery ajax get call to execute a
database call in another php file (since I switched from using a
really nice prototype powered function thinking it was prototype's
fault for not working in Safari), but I can't get it working in the
latest version of Safari no
I'm try to sort out a tabbing issu i have across our site. Basically
the from i am having is the order the tab index is applied to a page
using the script below. Currently the script adds a tabindex on all
the'a' tags first the inputs etc but that means if i have an input
field before some A tags
Hi everybody,
I found autocomplete plugin quite nice, but there are some stuff i
don`t know how to implement with autocomplete plugin without hacking
it.
I have a complex framework (seamframework.org) that have it`s own
JavaScript wrapper to get AJAX things done. So i can easily get data
from ser
Hi Sridhar
you could do something like
var vFlag;
$('input').bind('change', function() { vFlag = 'X';});
Then you can check with window.onbeforeunload mentioned earlier if
things have changed and react accordingly.
Regards
Gerald
On Dec 2, 4:46 pm, "Web Specialist" <[EMAIL
It's amazing I can't find anything helpful on this. When I use hover
over and out with and animating technique, then mouse over it quickly,
it bugs out.
Here's my code:
$("#header").hoverIntent(
function(over){
$("#header #menu").slideDown();
Hi,
Is there something similar to
http://www.il og.com/image.cfm?name=designer_topology.png
http://www.mida regami.net/Japan-Hierarchy.jpg
http://www.ajax weaver.com/screenshots.html
which can done using jQuery.
Thanks.
I want to add a dropdown menu after each tree node i.e.,
[+]item1 menu1
-- [+] item1.1 menu2...
The dropdown menu is an unordered list which gets picked up by the
treeview plugin. the end result is that treeview nodes are generated
for elements in that menu item.
i've tried restricting/
Bumped to here
http://groups.google.com/group/jquery-en/browse_thread/thread/d7ea7e3a047dc116?hl=en#
On Nov 25, 11:14 am, strummer75 <[EMAIL PROTECTED]> wrote:
> I am having an issue in IE 7 and UI/Tabs as follows:
>
> I am linking directly to a tabs id from another page like so:
>
> http://deva
How can I tell the bassistence validator to ignore disabled inputs?
I have ui.tabs, and only the selected tab's controls are enabled.
I want validation to fire only at them.
--
Jan
Is there a reason for this to not work?
other_product_interest: {
required: "#product_interest[0]:checked"
},
product_interest[] is a list of checkboxes, if user picks 'other' ,
#product_in
Just before someone shoots me: actually Mozilla's implementation
follows the W3C DOM Range API with some extra stuff added, and Opera/
Safari implementations are alike, only IE is non-standard. So this
should work in all modern browsers.
On Dec 3, 12:16 am, ricardobeat <[EMAIL PROTECTED]> wrote:
Or pError.filter(':visible').
By using 'pError' as a context, you are looking for it's children, not
the elements themselves.
- ricardo
On Dec 3, 1:17 pm, Liam Potter <[EMAIL PROTECTED]> wrote:
> it would be this
>
> $('p.error:visible')
>
> Joe wrote:
> > If I have the following:
>
> > var pEr
$(document).click(function(e){
el = $(e.target);
alert( el.text() );
});
jQuery normalizes the target property of the event object, so don't
worry about IE.
- ricardo
On Dec 3, 9:12 am, revivedk <[EMAIL PROTECTED]> wrote:
> Hi.
> how would I register what element is clicked on the site?
Use classes instead. Considering "tabcontent" to be inside "item":
$('.item').click(function() {
var tab = $(this).find('.tabcontent');
if (tab.is(":hidden")) {
if (active == "init") {
tab.slideDown(300);
$('.tabcontent')
Ok, I think I found the problem
you form input elements don't have unique names (check how many times
you have 'expPerson1' 'expPerson2' etc). so the validation plugin only
picks the first ones. give unique names and then try. The following is
the code in validate.jquery.js file that does this ,
the ready() shortcut doesn't work all the time for frames/popups. Use
the onload instead:
$(popup.document).load(function(){
console.log($('#test', $(popup.document.body)).length);
});
- ricardo
On Nov 20, 7:47 pm, dickles <[EMAIL PROTECTED]> wrote:
> very simple codes not run right. test f
My examples is about add itens on the list in run-time, xhr, delete in
run-time, events onadd, ondelete.
Things like that above.
On Dec 2, 4:29 pm, Jack Killpatrick <[EMAIL PROTECTED]> wrote:
> Alexsandro, can you give me a few examples, so I can be sure I understand
> what you're looking for?
>
I would try to help, as i have my projects working fully with jQuery
and Intellisense
but i have no idea what this is supposed to mean
"and can get jQuery to work but only after changing the HTML
manually"
nor where to start to help
but with that said
http://weblogs.asp.net/scottgu/archive/20
Dear jQuery gang,
I am having the following issue with a remote content tab in IE 7.
Here's the scoop:
Link on one page ie: (http://appname/list/#tab_two) takes me to
another page with 3 tabs and via that link I want to default to the
2nd tab open. This of course works like a dream in Firefox an
it would be this
$('p.error:visible')
Joe wrote:
If I have the following:
var pError = $('p.error');
Then I can do the following with no problem:
pError.text('lorem");
Yet, I want to check for the paragraphs that have the class "error"
that are visible, I would think it is something like t
If I have the following:
var pError = $('p.error');
Then I can do the following with no problem:
pError.text('lorem");
Yet, I want to check for the paragraphs that have the class "error"
that are visible, I would think it is something like this:
var visibleError = $(':visible', pError);
Howe
if you don't care about ie6 then position:fixed with a z-index above
everything else will do the trick.
for ie6 you will need some javascript, though even then it will be jumpy.
Andy Matthews wrote:
No, not like that.
I'm looking to essentially simulate a frameset, where the navigation
sta