Hello!
If you copy paste the embed-code from a YouTube-Video like this:
object width=425 height=344param name=movie value=http://
www.youtube.com/v/ewnfWoSQz3ohl=defs=1/paramparam
name=allowFullScreen value=true/paramparam
name=allowscriptaccess value=always/paramembed src=http://
Looks like this is a 1.3.2 issue I think. Just tried it with 1.2.6 and
it returned inline in both cases.
On Mar 1, 6:31 pm, sliver sliver2...@gmail.com wrote:
Im not sure if this is intended, but it leads to some unexpected
results:
console.log($('span/').css('display')); -- 'block'
Hello!
I am doing the following in order to remove those new YouTube-
Headlines on a blog:
$(document).ready(function(){
$('param').each(function(){
var oldname = $(this).attr('value');
var check = oldname.search(/youtube.+/);
if (check != -1){
var
Just use $('#id').show(speed); and $('#id').hide(speed);
See: http://docs.jquery.com/Effects/show#speedcallback
Why don't you just do it like:
$('#prev').css('cursor','pointer').click(function(){
$('.page:visible').hide().prev().show();
}
Same with next.
$('#next').css('cursor','pointer').click(function(){
$('.page:visible').hide().next().show();
}
You will pro
On Feb 26, 5:43 pm, Doug C
Sorry I think it has to be:
$('.page:visible').hide().prev('.page').show();
and
$('.page:visible').hide().next('.page').show();
Or is the second class selection not necessary?
On Feb 26, 8:33 pm, Frederik Ring frederik.r...@gmail.com wrote:
Why don't you just do it like:
$('#prev').css
Are you using a plugin or are you trying to do oit by yourself?
In case you are doing it by yourself this thread might help:
http://groups.google.com/group/jquery-en/browse_thread/thread/6902e3e091ec9e4b/f8a135f66d533265#f8a135f66d533265
Works both with selected text and no selection (cursor).
' is always false.
Can you guide me , how to solve this problem.
Thanks in advance
On Feb 25, 2:04 pm, Frederik Ring frederik.r...@gmail.com wrote:
You could do sth like:
var ok = false;
$('.elementInListbox').each(function(){
if ($(this).attr('checked') == checked){ok = true
Also remove the else-part of the attribute checking, this way it'll
only return true if the last element is checked.
On Feb 25, 11:41 am, Frederik Ring frederik.r...@gmail.com wrote:
2 things: you are referring to multiple checkboxes, but do that with
an ID (#zonelocation). That will not work
') == 'checked'){
zonelocationVal = true;
}
});
/*/
What Iam doing wrong?
Thanks in advance.
On Feb 25, 3:45 pm, Frederik Ring frederik.r...@gmail.com wrote:
Also remove the else-part of the attribute checking
This should be working:
$('a#woof').click(function(e){
e.preventDefault();
//do ajax form
});
Or you could set all href attributes to '#' before adding the click
function
Usually you should be able do what you are trying to do. To me it
sounds as if you are trying to select the dynamically created content
before you created it (on $(document).ready for example). How and when
are trying to get the $('img')-selection?
On Feb 23, 8:55 pm, Petar pta...@gmail.com
By the way (although I do not think it causes the problem) you are
missing a ' there.
Should be:
$('img src=images/pic.jpg alt=').appendTo(#table);
instead.
On Feb 23, 9:07 pm, Frederik Ring frederik.r...@gmail.com wrote:
Usually you should be able do what you are trying to do. To me
When you have two sortable lists, there's a 'connectWith' option in
the $(this).sortable()-command that lets you drag items from one list
to the other. You can also specify callbacks for the removal and
receiving of list items via remove:function and receive:function.
Sth like this:
Hello!
I don't know if this is a 100% jQuery-specific question, but here's
what I'd like to do: I'd like to add a hyperlink-functionality to a
textarea, so basically I'd just like to wrap a a href=thisthat/
a in plain text around the currently selected range in a textfield
using the URL
replace = 'a href='+url+'' + sel + '/a';
textarea.value = textarea.value.substring(0,start) + replace +
textarea.value.substring(end,len);
}
On Feb 22, 7:11 pm, Frederik Ring frederik.r...@gmail.com wrote:
Hello!
I don't know if this is a 100% jQuery-specific question, but here's
what I'd like
Because this in your context refers to the #wiki_article_list
Refer to the a as a descendant of $(this) instead
On Feb 22, 9:34 pm, hybris77 dist...@yahoo.com wrote:
can anyone help me to get the href attribute to send off with the
function in this code please
$(Item,
I don't know what else is contained in your #wiki_article_list, but
since you appended the li just right before this should work:
$(this).children('li:last').children('a').attr('href')
Ok, so now I think I get what you want to do - I was running around
wondering why you had the preventDefault() in there.
In your case the click event isn't bound to the a but to your
#wiki_article_list since you are chaining it after the append().
If you would do it like:
$(
I think it should be also working just this way:
$('#mydiv').css('cursor','pointer').click(function(){
$(this).addClass('selected');
});
No need to select all the contents manually.
On Feb 20, 5:16 pm, spaceage spaceageliv...@gmail.com wrote:
OK, so you have to independently assign a handler
Well, since your jQuery seems to be ok, the problem should be the
variable you're trying to read. Can you access it with a simple
console.log('multipliedweight') or will this also return 'undefined'?
On Feb 19, 8:10 pm, Zaliek zali...@gmail.com wrote:
A test page is located a
I just tried your approach and everything worked just the way it
should. Can you post the rest of your code? How do you handle the
event that changes the CSS?
On Feb 19, 6:41 pm, davis cinema...@gmail.com wrote:
I am trying to dynamically set css with variables I retrieve from what
a user
Hello!
I have setup a simple editor site for a image gallery where the user
can visually edit (sort entries, add entries, edit captions) the HTML
of a ul. When finished the content gets saved via PHP. Is there a
simple way to have special characters in image captions converted into
HTML
, and don't harm yourself
or others, only then should you accept them.'
From: Frederik Ring frederik.r...@gmail.com
To: jQuery (English) jquery-en@googlegroups.com
This should be done using $(this).unbind(event,function).
I don't know from your example how your handle the event so I cannot
give you a more specific answer.
On Feb 13, 7:57 pm, Rick Faircloth r...@whitestonemedia.com wrote:
Strange question, perhaps...but...
If I have an element that has
the textarea expandable is not something I want
on all the time.
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Frederik Ring
Sent: Friday, February 13, 2009 2:04 PM
To: jQuery (English)
Subject: [jQuery] Re: How to make
Hi!
You could do it like this:
$(document).ready(function(){
$('input:radio[name=\'optns\']').click(function() {
var optns = $(this).val();
alert (optns);
});
});
You'll have to remove your onclick-s then.
On Feb 12, 3:22 pm,
Hi!
The thing is that somwhow (don't ask me why) the unchecked attribute
of a checkbox is '' instead of 'false'.
This worked fine with me:
HTML:
input class=parentcheckbox type=checkbox checked=true
name=cb01/input
input class=childcheckbox type=checkbox checked=true
name=cb02/input
input
=disabled, etc.)
Use removeAttr() instead of setting the value to false.
On Feb 12, 8:26 am, Frederik Ring frederik.r...@gmail.com wrote:
Hi!
The thing is that somwhow (don't ask me why) the unchecked attribute
of a checkbox is '' instead of 'false'.
This worked fine with me:
HTML
If I get you right you have to put your function into the callback
part of your $(this).load(that); via $(this).load(url,
{},myCallbackFunction());
The callback-function will be executed when the ajax-call has been
completed and should do what you are asking for.
On Feb 12, 7:28 pm, oli
How do you select the items to toggle and how are the Maxi Mini -
images arranged in the HTML.
If you have 2 things toggling at the same time it looks like you are
doing somehting wrong with the selection.
On Feb 12, 10:00 pm, Alain Roger raf.n...@gmail.com wrote:
Hi,
I would like to
Hi!
I think this is a simple question but I somehow cannot solve it
myself.
I'd like to remove those new Youtube-Headings on a blog by adding
'showinfo=0' to the Youtube-URLs.
It works absolutely fine with the embeds by doing this:
$('embed').each(function(){
var newname =
Totally sorry!
I messed up 'name' and 'value', so I tried to augment the 'name' of
the param. No wonder it didn't work!
Works absolutely fine with:
$('param').each(function(){
var newname = $(this).attr('value')+'showinfo=0';
$(this).param('value',newname);
});
Thanks!
Hello!
I am using jQuery to alter the parameters of embedded YouTube-Videos.
This works fine with browsers that use the embed portion of the code
(Opera FF), whereas the browsers who use the object part (IE
Chrome) will update the code accordingly but not refresh the Video.
What I am using is
So you could just either wrap it in a dummy-div or add the div
id=test and /div code manually?
Why can't you just read the html() of the element containing your
#test?
36 matches
Mail list logo