[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Horizontal sliding div
Page 1 of 1

Horizontal sliding div

PostPosted: Sat Feb 23, 2008 7:55 pm
by tpetek

I got it!!

PostPosted: Sat Feb 23, 2008 9:00 pm
by tpetek
Sorry to have bothered you. I banged around until I got it! Your script is a life saver. Thank you, thank you, thank you!

I would, however, appreciate it if you could explain the "/[^\-0-9]/g" part of the line:

var leftPos = contentObjects[containerId]['objRef'].style.left.replace(/[^\-0-9]/g,'');

It's well beyond my experience.

Thanks again.