nick ha scritto:
select id=one
option value=1 selectedone/option
option value=2two/option
option value=3three/option
/select
The right syntax is :
option value=1 selected=selectedone/option
If there is no selected then it always defaults to first value. How
can I tell if the
So I have a modal popup that is working fairly well, but I have some
issues in IE/FF (the only browsers I've tested in so far).
One thing is that the popup won't recenter if the browser is resized.
The other prob is a bit more difficult to replicate, but I've noticed
if my browser window is
Oops... It's working with:
$.each(['touches', 'targetTouches'], function(i, propName){
if ( $.inArray(propName, $.event.props) 0 ) {
$.event.props.push(propName);
}
});
I had the inArray signature wrong and inArray returns the index or -1.
On Oct 24, 8:36
Hi every:
I have this function:
$(input[type='text']:order).keyup(function() {
var v = $(this).val().replace(/\D/g,''); // removes non numbers
$('#total_buyed').val( v * 2.75 );
});
The function is working correctly but when I press any key the same
operation is calculated. How to
Hello,
I'm building a nested menu where I want to add background colors only
to top menu items. I can't change the generated code, so I have to
live with the id's and classes as is.
Relatively new to jQuery so still not used to filtering my selections
carefully—is seems to grab everything.
Apologies if this is a css issue and I am barking up the wrong tree...
It seems to me that the arrows which are added create an additional
width on the menu elements.
I would like to specify a fixed width for the top elements in my menu.
It appears that the arrows are added automagically by the
Hello All,
Yes. well this is the Jquery group, but i'd figure i'd ask if
anyone uses any other UI libraries outside of jquery's UI? I'm
currently a server-side coder (doing all my work in php/perl) - but
would like to venture out in to the front end. What libraries do
people use? Is it just
Hi everyone.
I'm a bit of a noob, so please excuse the question!
I have a site I'm building that loads a lot of other html files into
different divs, depending on buttons you press. Pretty basic stuff...
Anyways, I can't seem to get Jeditable and a few other jquery
functions to happen in any
Hi All,
I am trying to bring arrows for the clue tip which i am using for my
web site. Even though i have given arrows: true in my js, i am not
getting the arrows. Please see below for the code i used and give me
your suggestions.
My js code :
jQuery('a.clueTip').each(function(){
$('#menu li.top a').css('background-color', 'tan');
The selector is just like CSS.
On Sun, Oct 25, 2009 at 10:25, breadwild breadw...@gmail.com wrote:
Hello,
I'm building a nested menu where I want to add background colors only
to top menu items. I can't change the generated code, so I
If a.more is a child of the div, use this code.
$(document).ready(function() {
$(div.featured-cell-padding).mouseenter(function(){
$(this).find(a.more).show();
});
$(div.featured-cell-padding).mouseleave(function(){
You're selecting only the third link with class=jt:
$('a.jt:eq(2)')
If you want all of them to show the cluetip on hover, remove
the :eq(2) part of the selector:
$('a.jt')
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Oct 23, 2009, at 5:19 PM,
if you look at element widths in css there are no explicit widths set.
Default sizing is established by padding on a tags
arrows are absolute positioned so setting width to a tags
might help. Per your first line, it's all about css
Bruce A wrote:
Apologies if this is a css issue and I am
Thanks! That got me on the right path, Leonardo.
Ended up making each background a different color:
var colors = new Array(#FC9596,#AF79BB,#A5C0DA,#D2E746);
$(#menuh li.top a).each(function (i) {
$(this).css(background-color,colors[i]);
});
On Oct 25, 5:20 pm, Leonardo K
Use a variable?
var buttonClicked = '';
$(#delete).click(function(){
buttonClicked ='delete';
.
})
$(#view).click(function(){
buttonClicked ='view';
.
})
submitHandler: function(form) {
if(buttonClicked == 'delete') {//do delete}
else if (buttonClicked == 'view') {//do
Im newbie... trying to implement Superfish vertical menu with
Wordpress.
Have working, kind of... shows the whole menu structure, just not
indicator arrows. Paths all ok in css.
May be related... What is Hover Class? Default is set to
sfHover. .. i assume i need to change something in WP but
Is this really the link you're using in your html?
a href=#clueTipContentClick to get Clue Tip/a
If so, you shouldn't be getting the cluetip at all, since you're using
'a.cluetip' as your selector.
The arrows are images referenced in the jquery.cluetip.css stylesheet.
If you don't have
Wow, I wasn't aware of this memory leak at all. Thanks for bringing it
to my attention. I had no idea that storing the current element in a
variable would cause a leak. That's a really common thing to do in
jQuery plugins. I wonder if the memory issue has been encountered in
other plugins
Hi Shawn,
Here is what I'd probably do:
After you call $this.cluetip( ...), unbind the blur event:
$this.unbind('blur.cluetip');
Then you can handle the closing of the clueTip however you want using $
(document).trigger('hideCluetip');
Maybe something like this:
The memory is released when you refresh the page.
However, the users of my web app will be using the same page for 8+
hours a day and the page will most likely not be refreshed since all
the updates are displayed and retrieved via ajax and jquery.
Put the calculation logic in blur event?
$(input[type='text']:order).blur(function(){
$('#total_buyed').val( v * 2.75 );
})
On Oct 26, 4:18 am, ReynierPM rper...@uci.cu wrote:
Hi every:
I have this function:
$(input[type='text']:order).keyup(function() {
var v =
you might need to use the clearQueue and gotoEnd arguments in
the .stop() method:
.stop(true, true)
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Oct 24, 2009, at 12:24 AM, Stan wrote:
Dear All,
I have an object with mouse over and mouse out events.
Thanks Karl. I'll look at this more in a bit. but from what I can see
I think you have a solution for me..
Shawn
Karl Swedberg wrote:
Hi Shawn,
Here is what I'd probably do:
After you call $this.cluetip( ...), unbind the blur event:
$this.unbind('blur.cluetip');
Then you can handle
23 matches
Mail list logo