Question : Html code create one function:

In Html code create one function:
With the use of css code i must write the dimentions for the blocks which are in a drawing area to call it in the function that is in a html.
The informations must to enter in the first control form. When the form is completed and the Change Position button is pressed, if the data entered the corresponding changes are applied.

how can i use the words position_x and position_y in javascript for to specify dimentions ?

Can I change values of css code with javascript in html code and if i can how?

For achieve the above task i will additionally need the setStyle function should be used to change the width and height properties how can i do that?

Answer : Html code create one function:

I assume that items container are absolutely positioned (DIVs for example).
The functionality of code bellow depends on the rest of your code.

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:


 

 
 

 

    
	
Item1
Open in New Window Select All
Random Solutions  
 
programming4us programming4us