Here's my jQuery:
var arr = ['621|342| ','620|343| ','622|342|clicked'];
for (var i=0; i < arr.length; i++){
var splode = arr[i].split('|');
xPos = splode[0];
yPos = splode[1];
click = splode[2];
$('#box').animate({top: yPos+'px', left: xPos+'px'},15);
if (click === 'clicked'){
alert(
Well, I can't figure out how to delete this, but there was nothing
wrong with the js. Apparently it's my lack of knowledge of php. I
needed to write to the db as an escape string and I wasn't.
Until next time...
Alright, so here's the code I'm using (minus all the fluff):
$.ajax({
type: 'POST',
url: 'add-item.php',
data: 'desc='+ $('#description').val()
}); return false;
With #description being the id of my input field on the form.
Everything works properly except when I thro
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();
uery
> animations cannot be stopped once they've started it's best not to
> start them prematurely.
> -- snip --
>
> On Wed, Dec 3, 2008 at 9:40 AM, SmpleJohn <[EMAIL PROTECTED]> wrote:
>
> > It's amazing I can't find anything helpful on this. When
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();
6 matches
Mail list logo