|
-
Apr 25th, 2007, 07:45 AM
#1
Thread Starter
Hyperactive Member
Javascript Alter Layers left location
Hi all, I have a layer that I would like to control it's .LEFT value depending on resolutions...something like:
if (window.screen.width < 1024) {
LEFT=110;
}
if (window.screen.width > 1020) {
LEFT=230 ;
}
if (window.screen.width > 1200) {
LEFT=360;
}
Anyone have an idea on how to do this?
Code:
If LostAngel.Tag = "Programming" then
LostAngel.Caption = "Awake"
Else
LostAngel.Caption = "Dreaming of Code"
End If
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|