Say i want the alert message hello appear every 90 seconds, how can
i do it ?
syntax a: not working, but its what I have in mind.
$('.del').click(function(e){
e.preventDefault();
$.post('?= site_url('play/img/del') ?',
{ori:
syntax a: not working, the parent of current element not being removed
$('a.del').click(function(e){
e.preventDefault();
$.post('/img/del.php') ,
{'img': img },
Im trying to remove parent of a at the click event, and the function
remove needs to be within the if statement.
Thanks for help, with your suggestion, I made it work.
Hello Jquery,
I'm making a simple 1lvl dropdown menu. So far this is what i've got.
The problem is, I hover the link the ul shows, but i can't hover the
list item, they disappears as long as i mouseout the main link.
script type=text/javascript src=http://ajax.googleapis.com/ajax/
THanks Michel, changed the selector slightly, it works. But only half.
The problem now, if i hover in and out multiple times the list will
disappear permanently.
script type=text/javascript src=http://ajax.googleapis.com/ajax/
libs/jquery/1.3.2/jquery.min.js/script
script type=text/javascript
YEah i works right on! Thank you, Michel, for helping me debug that
stuff.
Can make b behave as a ?
For exmaple, I have bHome/b, I want to go to homepage when i click
b.
How can i make 1500 look like 15,000,000
and 1500.00 look like 15,000,000.00 ?
cool, but that leads to another problem
The computer now thinks 15,000 is just 15 instead of fifteen thousands
cool, but that leads to another problem
The computer now thinks 15,000 is just 15 instead of fifteen
thousands. I need the formated number for later calculation, I have to
make the computer think 15,000 is actually fifteen thousands
Is there anyway to take the comma out before calculation or a
Hi,
I like the carousel in this home page very much: http://www.realtor.com/
Do you know where i can find and download something like that ?
I don't see how maxentries as parameter is need in this code
jQuery.fn.pagination = function(maxentries, opts)
in some plugins, i see everything works fine with just something like
this
jQuery.fn.pluginname = function(opts)
I see it is used in many plugins. I try to find document about it but
no help.
I try your code, the result is: [object Object]
On Sep 30, 8:05 pm, Karl Swedberg k...@englishrules.com wrote:
On Sep 30, 2009, at 1:00 AM, Poloman wrote:
Can I get value and text of an option and put them into an array
object?
select
option value=c1britney/option
Hi,
$('div', this) what does that mean ?
Hi,
I need help to close the ul back up when i click on the white space or
on the options link.
This is what i've got so far
!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
script
Hi,
this code is from a dropdown box, where clicking on the a.signin
will open or close the box. So I don't really get how the syntax below
work
$(document).mouseup(function(e) {
if($(e.target).parent(a.signin).length==0) {
Do you know where i can jquery code of ebay type menu select, menu
that let you select item categories dynamically and progressively ?
it just not runs at all. Anyway, I managed to write my own function to
do similar purpose. Thanks for getting back
On Sep 28, 12:55 pm, RobG robg...@gmail.com wrote:
On Sep 28, 1:26 pm, runrunforest craigco...@gmail.com wrote:
Hi,
I've got a script from dansblog (link
herehttp
Hi,
I have a html like this
input type=checkbox id=priority /span class=presult0 USD/
span
I want when checkbox is checked, the span will have 500 USD. When
checkbox is unchecked the span will return 0 USD.
This is what I've got, have no idea why not work.
if ($('#priority').is(':checked'))
Hi,
I have a value that include word letter and some sign such as $.
I want to remove all of them just keep the number.
For example: i want $99,99 USD become 99 or 100
can someone please give the function
on the
floating-point number parseFloat gives.
On Sep 28, 10:22 am, ryan.j ryan.joyce...@googlemail.com wrote:
parseFloat( yourStr )
On Sep 28, 10:18 am, runrunforest craigco...@gmail.com wrote:
Hi,
I have a value that include word letter and some sign such as $.
I want to remove all
Hi, I'm making a calculator for freight customer
It seems I'm on the right path. But there is two bugs i need help.
The TOTAL TO PAY value always seem to appear as NaN at first instead
of default 3.
And the function of TOTAL TO PAY only work after checkbox is checkd, I
need it work
Thank you everyone.
@Liam: thats very neat fix.
@Robg: I can learn alot form your solution.
Hi,
I want a really simple hard coded lightbox.
Can some one teach me how to trigger a div in the center of page, if i
click the close button inside, it will close back up and if i click
somewhere outside the div, it will also close. I guess just that
simple as that.
Hi,
I have an array like this cat=(com12, com1, cop233, com1.1, sap-12-1)
I want to take out all the numbers and . and - signs
the desire result is cat=(com, com, cop, sap)
how can i do that please ?
Hi,
I want to stop class error added to input element, how to do that
please ?
Hi,
I have a menu like this:
select size=8 class=cat2
option value=com1vaio/option
option value=com2thinkpad/option
option value=mob1nokia/option
option value=mob2samsung/option
/select
Can I get all the values com1, com2, mob1 and mob2 then assign them
Owsome Benn. But i don't understand why i is used there ?
Hi,
I have 3 image, in turn called img1, img2, img3.
I need a code snippet that will add a border to the image when it is
clicked, and if I click the other image, the border will disappear,
the newly clicked image will have a border.
For short, only image has border at a time and only the
Thank you, do as you said and it works.
Hi,
I want to animate the width and height of image when hovering it, and
when i stop the image's state back to normal.
My problem is, the image's state not back to normal when mouseout.
here is my code
$(function(){
$('img').hover(function(){
var curwidth =
make the curwidth and curheight variables global, could you help me?
if(o.btnGo)
$.each(o.btnGo, function(i, val) {
$(val).click(function() {
return go(o.circular ? o.visible+i : i);
});
});
Hi,
I wonder whats the second parameter, val, in the function means ?
Hi,
style type=text/css
div { width:40px; height:40px; margin:10px; float:left;
border:2px solid blue; }
/style
script type=text/javascript src=js/jquery-1.3.2.min.js/script
script type=text/javascript
$(function(){
var divs = $('div','body');
var
(function($) {
$.fn.jCarouselLite = function(o) {
o = $.extend({
btnPrev: null,
btnNext: null,
btnGo: null,
mouseWheel: false,
auto: null,
speed: 200,
easing: null,
vertical: false,
circular: true,
visible: 3,
thanks man
how about $(ul, div)
thank you so much
ah one more thing
in o = $.extend({ afterEnd: null }, o || {});
the o || {} means ?
thank you, I don't see that in other plugin, acutually so far i've not
yet see the same plugin structure.
Hi,
I have used cycle plugin for one of my website, sometime images get
small unpectedly, although all image has been photoshoped to fixed
same size
Wonder is there any known bug about image resizing itself like that ?
();}
});
On May 23, 8:34 am, runrunforest craigco...@gmail.com wrote:
its IE 7
On May 22, 9:13 pm, ryan.j ryan.joyce...@googlemail.com wrote:
possibly keycode vs. charcode. did you try the keypress thingy on
quirksmode to see what IE returns on keydown?
which version of IE isn't it working
it crashes me, recommend you find alternative script. 30% of browser
is FF
On May 23, 4:12 pm, geronimo3 jeroom...@gmail.com wrote:
I have someone else saying it too now So I still have this problem
On 23 mei, 11:01, geronimo3 jeroom...@gmail.com wrote:
Hmm thanks
damn then it is
different browsers. try keydown or keyup to catch the charcode,
On May 22, 5:19 am, runrunforest craigco...@gmail.com wrote:
the all the arrow has charcode of 0 (zero). I know this by the code
var key = e.which;
alert(key);
So how the script which is right arrow which is left arrow.
On May
its IE 7
On May 22, 9:13 pm, ryan.j ryan.joyce...@googlemail.com wrote:
possibly keycode vs. charcode. did you try the keypress thingy on
quirksmode to see what IE returns on keydown?
which version of IE isn't it working?
On May 22, 3:10 pm, runrunforest craigco...@gmail.com wrote
) {
/* keypress left */
} else {
return false;
}
});
if you can't figure out how to advance the cycle on your own, maybe
try to simulate $('#scrollLeft').click()
On May 21, 2:48 am, runrunforest craigco...@gmail.com wrote:
In cycle plugin, ss there way to switch images by keyboard
the id of element you'd normally click to
advance the scroller (inspect it with the mozilla plugin firebug) and
append .click()
On May 21, 4:45 pm, runrunforest craigco...@gmail.com wrote:
could you give some further tip, how can I simulate, where should I
put the code to (document.ready part
In cycle plugin, ss there way to switch images by keyboard arrows
instead of clicking next, prev
I want to align an absolute positioned image horizontally center
inside its parent element.
Is there any script or guide to do that ?
Hi,
How can I bind this function to all image tag ?
var img_width = $('#slide img:visible').width();
var frame_width = $('#slide img:visible').parent().width();
var target_width = (frame_width-img_width)/2;
$('#slide img:visible').css({'left':target_width});
Hi,
I see this line in a plugin
var $thisCell, $tgt = $(event.target);
does that mean:
var $thisCell = $(event.target);
var $tgt = $(event.target);
Hi,
Can someone help me explain the meaning of these two lines
var bgc = $(this).css('backgroundColor');
$(this).css({backgroundColor: bgc == '#ff' || bgc == 'rgb(255,
204, 204)' ? '#ff' : '#ff'});
Hi,
method addClass and toggleClass do pretty much the same thing, what is
the true difference between them ?
Hi,
I notice jquery name space used to capitalize the first letter of the
second word of methods, why not do the same with events ?
oh I understand thanks.
On May 11, 8:40 am, Steven Yang kenshin...@gmail.com wrote:
when you do addClass it literally only add the class to the element
when you do toggleClass it checks whether the element has the class or not,
if it does then it will remove the class if it doesnt then it
The image gallery with slider is one of the most used javascript
plugin in the net, almost every web project would need one. Why don't
we make an UI for this ? And should make a very standard one, I
sussgest it should behave like the google webalbum's or the yahoo chat
photosharing.
google
58 matches
Mail list logo