Hi All,
I am trying to clone an element and add it with some animation efects.
something like
$item.clone(true).appendTo($list).slideDown("slow");
It adds an element correctly, but I cannot get any effects working
(tried fadeIn etc).
What am i doing wrong?
Thanks
It was just a crazy setting in firebug (enable console). Otherwise, it
doesn't show the output results
On Apr 22, 1:01 pm, Andy789 wrote:
> Hi All,
>
> I am stacked with a simple code (it works perfectly on my other site,
> but I cannot find what could be wrong here):
>
>
Hi All,
I am stacked with a simple code (it works perfectly on my other site,
but I cannot find what could be wrong here):
1) I pass vars to file test.php via
$.post("test.php", {state: state, city: city, attorney:
isAttorney, paral: isParal, detect: isDetect, same_state: isState},
f
t; this:http://www.packtpub.com/article/using-javascript-effects-with-joomla
> which seems to imply joomla can handle you script inclusion.
> hope this helps
>
> on 23/03/2009 11:41 Andy789 said::
>
> > also, it is working (only in FF, though) and not very stable. I think
> &
also, it is working (only in FF, though) and not very stable. I think
what is happening, when I write the reference to
the header, it does not mean that it is loaded. in fact, it is loaded
SOMETIMES
On Mar 23, 10:28 pm, Andy789 wrote:
> we are talking about joomla's index.php (used a
at you are trying to do hre, just load jquery in
> the head.
>
> Andy789 wrote:
> > Because some components are loaded inside of iframe and need its own
> > jQuery. some compionents are loaded one-by-one and need only one
> > common library
>
> > On Mar 23, 9:39 pm
Because some components are loaded inside of iframe and need its own
jQuery. some compionents are loaded one-by-one and need only one
common library
On Mar 23, 9:39 pm, Liam Potter wrote:
> why would you beloadingthe library for each script?
>
> Andy789 wrote:
> > Hi all,
>
&g
Hi all,
I have different independent modules using jquery and need to avoid
its double loading. So, instead of loading jquery, I am loading the
code:
if (typeof jQuery != 'undefined') {
document.write('');
}
Also, I have added a line var $j = jQuery.noConflict(); as a last line
of jquery librar
HI all,
I am getting a synchronization problem when loading an ajax content
via nyro modal - spent a few hours debugging it line-by-line. The
problem is: sometimes, depending on internet connection, the modal
window returns an error (object required) - mainly in IE. I could
click the same link 10
It was all my mistake, sorry. I had 2 clones of the same function and
was editing a wrong one. everything works perfectly, all alerts etc
Sorry, guys
On Mar 18, 2:16 pm, Andy789 wrote:
> OK, finally, I got it: everything was caused by qtip: adding a code
>
> $j(this).qtip({
>
and
> "position: absolute; left: -px" will return with the :visibility
> selector
> An element which does not take up space, such as one with
> "display:none" will not return with the :visibility selector.
>
> Now, in your code, you reference $j('selector&
l alerts inside .each(function do not work.
Any ideas?
On Mar 18, 7:18 am, James wrote:
> What happens if you remove the code for the qtip and leave the alert?
>
> On Mar 17, 10:14 am, Andy789 wrote:
>
> > Yes, this is what i was doing, but puzzled as why the second alert
&g
t returns "0", then your selector is wrong
>
> to help with that, there was this excellent post about breaking
> changes in 1.3.2 release, in your case reading the ":visible" section
> would probably be of great help
>
> http://www.learningjquery.com/2009/03/3-quic
Hi All,
Here is a simple function - works fine, but I cannot get alerts for
debugging - no errors - no alerts:
function tips(){
$j('li.jqtip:visible').each(function()
{ alert('something here'); //this alert is not working !!
$j(this).qtip({
content: $j(this).attr('title'),
show: {
Thank you guys! I have made a slightly different logic, which seems to
be working fine:
function zipSearch2(){
var zip = $j('input#zip_entry').attr('value');
alert('second '+validation);
...
}
function zipSearch(){
var zip = $j('input#zip_e
Thank you guys! I have made a slightly different logic, which seems to
be working fine:
function zipSearch2(){
var zip = $j('input#zip_entry').attr('value');
alert('second '+validation);
...
}
function zipSearch(){
var zip = $j('input#zip_e
Hi All,
Here is a simple fragment:
function zipSearch(){
var zip = $j('input#zip_entry').attr('value');
validateZip(zip);
alert('second '+validation);
...
}
function validateZip(zip){
$j.post("markers.php", { validate: zip},
Thank you guys! I did not know that jquery can handle only its 'own'
bound events. I will have to use mootools as it works fine. I just
wanted to avoid mixing jquery and mootools in the same function.
Hi All,
I am struggling with something very simple.
1. onclick event for li element is binded with mootools
2. I can easily trigger onclick via function with mootools like
$('lst4').fireEvent('click'); ///works fine
2. I cannot trigger onclick via jquery. I am trying
function test(){
//$('ls
Hi All,
I cannot understabd why jquery adds these tags to my divs - something
like:
jquery1233798431484="2" jquery1233798241359="null"
what is this?
Hi All,
This is my workflow logic:
1. I submit $.post AJAX request and get the callback data
2. This data is a raw html code, which is used to append some div
3. I have to scroll through all the new appended elements and make
them draggable
The problem is that the drag activation function start
Thank you. I think it should work - I will give it a try tomorrow. The
whole mess is just to store these html strings in the database and
extract it later to render a part of the page.
any better solutions for this?
On Feb 2, 9:20 pm, boermans wrote:
> On Feb 2, 7:50 pm, Frederik Ring wrote:
>
Because the parent element for #test contains many other divs - not
only #test.
On Feb 2, 8:38 pm, Frederik Ring wrote:
> Why can't you just read the html() of the element containing your
> #test?
Hi All,
I need to get html for a dom structure like this:
something
if I use
$('div#test').html();
it generates its innerHTML excluding
How an I get the whole structure including id test?
thanks
Json parser? http://plugins.jquery.com/project/json
any better solutions?
Hi all,
Is there a simple way to convert jquery object to a string and back? I
need to store a generated html dom structure in the database and
restore it back to html.
Any suggestions how to do it properly?
Thank you
Guys, thank you, but it still does not work.
1) The Maurício's solution is just a way of extracting the href value
and creating onlick event to jump to that link. What I need is to
emulate a click on the a element without opening a link directly. The
reason for that: Rokbox scans all rel="rokbox"
As I can see quite many posts on this subject I wanted to explain why
I need this. I generate links for RokBox modal window - something like
test
next, I need to trigger these links from jscript function (from the
external flash application). I could not figure out the way how to
call RokBox dir
HI All,
It could be a silly question, but I cannot find a simple answer...
I need to trigger a link with href via an external function, i.e.
Emulating click
my link
function linkClick(){
$("#test").click();
}
It does not work and returns nothing. I understanbd that it is because
the a#test d
Hi all,
I am playing with the pagination plugin (http://plugins.jquery.com/
node/5912) and cannot figure out how to change number of items showing
on a single page. Changing the param items_per_page changes the number
of page links (navigation), but still shows a single item on a page.
You may p
30 matches
Mail list logo