[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
Advertisement

Horizontal sliding div

Moderators: Calcifer, slothy

Horizontal sliding div

Postby tpetek » Sat Feb 23, 2008 7:55 pm

tpetek
 
Posts: 2
Joined: Sat Feb 23, 2008 7:43 pm

I got it!!

Postby tpetek » Sat Feb 23, 2008 9:00 pm

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.
tpetek
 
Posts: 2
Joined: Sat Feb 23, 2008 7:43 pm


Return to Menu script questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron