|
-
Apr 23rd, 2002, 01:40 PM
#1
movement speed
hello,
In VB we use STEP to determine the SPEED of a movement
( for x= 1 to 5000 step 1: label1.move x,y:next..)
But I dont know this in JavaScript..I wanted to enlarge the width of a window..slowly but it failed!!
(mmm=window.open('test.html','';'width=x height=300') HERE I used FOR-looping to make the "width"(X)bigger gradually..but it did not work..and let it get SMALLER too..
**will you please tell me How I can CHANGE THE WIDTH OR AND HEIGHT OF A WINDOW/PICTURE OR ..using JAVASCRIPT...
-
Apr 23rd, 2002, 04:03 PM
#2
PowerPoster
probably just a problem with your for loop. try messing with your conditional, making it bigger by 1000 or something, and just have i increment by 1 (i++)
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
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
|