Lines Matching refs:s

95 				var s = this.opts.stack;
96 if (!s) return;
97 s.nextpos1 = s.firstpos1;
98 s.nextpos2 = s.firstpos2;
99 s.addpos2 = 0;
100 s.animation = true;
354 var s = pnotify.opts.stack;
355 if (!s) return;
356 if (!s.nextpos1)
357 s.nextpos1 = s.firstpos1;
358 if (!s.nextpos2)
359 s.nextpos2 = s.firstpos2;
360 if (!s.addpos2)
361 s.addpos2 = 0;
370 switch (s.dir1) {
388 if (typeof s.firstpos1 == "undefined" && !hidden) {
389 s.firstpos1 = curpos1;
390 s.nextpos1 = s.firstpos1;
394 switch (s.dir2) {
412 if (typeof s.firstpos2 == "undefined" && !hidden) {
413 s.firstpos2 = curpos2;
414 s.nextpos2 = s.firstpos2;
417 if ((s.dir1 == "down" && s.nextpos1 + pnotify.height() > jwindow.height()) ||
418 (s.dir1 == "up" && s.nextpos1 + pnotify.height() > jwindow.height()) ||
419 (s.dir1 == "left" && s.nextpos1 + pnotify.width() > jwindow.width()) ||
420 (s.dir1 == "right" && s.nextpos1 + pnotify.width() > jwindow.width()) ) {
422 s.nextpos1 = s.firstpos1;
423 s.nextpos2 += s.addpos2 + (typeof s.spacing2 == "undefined" ? 25 : s.spacing2);
424 s.addpos2 = 0;
427 if (s.animation && s.nextpos2 < curpos2) {
428 switch (s.dir2) {
430 animate.top = s.nextpos2+"px";
433 animate.bottom = s.nextpos2+"px";
436 animate.right = s.nextpos2+"px";
439 animate.left = s.nextpos2+"px";
443 pnotify.css(csspos2, s.nextpos2+"px");
445 switch (s.dir2) {
448 if (pnotify.outerHeight(true) > s.addpos2)
449 s.addpos2 = pnotify.height();
453 if (pnotify.outerWidth(true) > s.addpos2)
454 s.addpos2 = pnotify.width();
458 if (s.nextpos1) {
460 …if (s.animation && (curpos1 > s.nextpos1 || animate.top || animate.bottom || animate.right || anim…
461 switch (s.dir1) {
463 animate.top = s.nextpos1+"px";
466 animate.bottom = s.nextpos1+"px";
469 animate.right = s.nextpos1+"px";
472 animate.left = s.nextpos1+"px";
476 pnotify.css(csspos1, s.nextpos1+"px");
482 switch (s.dir1) {
485 s.nextpos1 += pnotify.height() + (typeof s.spacing1 == "undefined" ? 25 : s.spacing1);
489 s.nextpos1 += pnotify.width() + (typeof s.spacing1 == "undefined" ? 25 : s.spacing1);