Javascript question

Forum: ProgrammersTotal Replies: 1
Author Content
J_Maxwell

Nov 16, 2002
9:40 PM
Hello,

I was wondering how I should change the left and top property of a layer, using Javascript? I have tried, eval('mlayer.style.left="10"'); and eval('mlayer.style.left:"10");, but none of those seem to work. Is eval the right function to use, or how should I specify it?

Any ideas?

Joseph
J_Maxwell

Nov 26, 2002
9:43 AM
Actually, I decided to take another route (don't know why I didn't think of it earlier). I am now having PHP define the variables instead of trying to change it with JavaScript.

J_Maxwell

Posting in this forum is limited to members of the group: SITEADMINS, SUBSCRIBERS, MEMBERS.]

the Open Forums!

  Login
If you don't have an account yet, visit the registration page to sign up.

If you already have an account, you may login here:

Username: Password:

  Welcome to the Open Forums!!
Welcome to the Open Forums!!

  Hosted By...

This website is hosted by:

 -
PreparingSons
 - Titus2.com


[ Copyright © the Open Forums! | All times are recorded in ET ]

[ Contact Us ]

Login

Powered by Scif 5.3 build 285 by StandardOut, Inc.