www.dhteumeuleu.com

  Forums · Reply · Sign Up · Search · RSS ·

dhteumeuleu forums / Français / Further caveats
Author Message
Doc
Member

# Posted: 20 Oct 2009 18:50 · Edited by: Doc


Coucou Gérard,

Encore un magnifique script que tu nous offre là

Par contre aurais-tu un peu de temps pour m'éclairer sur cette partie du script ?

 
 
/* ---- Compositions ---- */ 
	var content = { 
		borderWidth : 12, 
		duration : 600, 
		coord : { 
			C01:[[1,3,[-1,1],,0],[1,4,[1,0{ {  
] } },,0],[1,6,[5,1],,0],[1,5,[0,3],,1{ {
] } }], C12:[[1,5,,[0,3],0],[1,3,,[-1,1{ {
] } },1],[1,4,,[0,1],1],[1,6,,[1,1],0{ {
] } },[1,4,,[0,3],1],[2,3,[0,-1],,0],{ [
} 1,6,,[1,-1],1],[2,6,[1,3],,0],[2,5,{
[ }5,1],,0],[2,4,[5,2],,1]], C13:[[1,3,,[0,0],1],[1,4,,[1,0{ {
] } },1],[1,5,,[0,3],0],[1,6,,[0,1],0{ ]
} ,[3,3,[5,1],,0],[3,5,[4,0],,1],[3
, 4,[4,3],,0],[1,6,,[-3,1],1],[3,6,{ [
} 3,1,0,2],,1]], C23:[[2,5,,[4,-1],1],[2,4,,[4,3{ {
] } },0],[3,3,[5,1],[4,1],0],[2,6,,[
1 ,3],1],[3,6,[1,-1],[1,1],0],[2,3,
, [-1,1],1],[3,6,[1,1],[0,1],1],{ {
[ } }3,3,[4,1],[3,1],0],[3,5,[4,0],,0{ ]
} ,[3,4,[4,3],,0]], C24:[[2,3,,[0,3],0],[2,6,,[2,1,2,2 ],0],[4,5,[-2,1],,0],[4,3,[-2,2],
, 0],[2,6,,[2,3,2,2],1],[4,6,[2,-1],,0{ ] },[2,5,,[3,1],1],[2,4,,[3,2],1]
,{ [ }4,4,[5,1],,1]], C34:[[3,3,,[3,-1],0],[3,6,,[2,1,2, 2],0],[4,3,[0,3],,1],[4,5,[0,0],,
0 ],[3,5,,[5,1],0],[3,4,,[5,2],0],{ [ }3,6,,[5,1],0],[4,6,[2,3],,0],[
4,4,{ [ }5,1],,1]], C35:[[3,3,,[2,1],0],[3,5,,[3,1{ {
] } },0],[3,4,,[3,2],0],[3,6,,[0,-1],1{ {
] } },[5,4,[4,-1],,0],[5,6,[-2,1],,0],{ {
[ } }3,5,,[3,0],1],[3,4,,[3,3],0],[3,3,,{ [ }3,1],0],[3,3,,[3,-1],1],[5,3,[
3,3{ ] },,1],[5,5,[2,-1],,1]], C41:[[4,4,,[5,1],0],[4,5,,[0,0{ {
] } },1],[4,3,,[0,3],0],[4,6,,[0,1],0{ ]
} ,[1,6,[5,1],[2,1],0],[4,6,,[0,3],
0 ],[1,5,[-2,2],[0,2],0],[1,4,[1,0{ ] },[1,1],0],[1,3,[0,0],[0,1],0{
] }{ ] }, C42:[[4,5,,[-1,1],1],[4,3,,[-1,2{ ] },1],[4,6,,[1,1,3,2],0],[4,5,,[-1,0
] ,1],[4,3,,[-1,3],0],[2,3,[-1,1],,0{ {
] } },[4,4,,[4,3],1],[2,5,[4,-1],,1],{ [
} 4,6,,[1,-1,3,2],1],[2,6,[1,3],,1]], C45:[[4,5,,[0,-1],1],[4,3,,[0,3{ {
] } },0],[5,6,[-2,1],,0],[4,6,,[2,1],1{
] },[5,4,[5,1],,1],[4,6,,[2,1,1,2],1],
{ [ }4,4,,[3,1],0],[4,6,,[2,-1,1,2],1]
,{ [ }5,5,[2,3],,0],[5,3,[3,1],,1],[4,4,,{ [ }3,-1],1]], C51:[[5,4,,[4,3],0],[5,3,,[3,3{ {
] } },0],[5,5,,[2,3],0],[1,6,[5,1],,0{ ]
} ,[1,3,[0,3],,1],[1,4,[1,3],,1],[5
, 6,,[0,-1],0],[1,5,[-2,2],,1]], C52:[[5,4,,[5,1],0],[5,3,,[5,1{ {
] } },0],[5,5,,[0,1],1],[5,6,,[-2,1],0{ {
] } },[5,5,,[0,-1],1],[2,3,[0,3],,0],{ [
} 2,6,[5,1],,0],[2,5,[5,1],,0],[2,4,{ {
[ } }5,2],,0]] }, C1 : { divs : { "3" : { image: "crea_2v.jpg", goto:2, x:0,y:1 ,w:1,h:1,dx:0,dy:-.5 }, "4" : { image: "crea_3v.jpg", goto:3, x:1,y:1 ,w:1,h:1,dx:.5,dy:0 }, "5" : { text: "text1", x:0,y:2,w:2,h:1 }, "6" : { image: "crea_1.jpg",x:2,y:1,w:3,h{ {
: } }2,ox:.5,oy:.5 } } }, C2 : { divs : { "3" : { image: "crea_4v.jpg", goto:4, x:0,y:1 ,w:1,h:2,dx:-.5,dy:0 }, "4" : { image: "crea_3h.jpg", goto:3, x:4,y:2 ,w:1,h:1,dx:0,dy:.5 }, "5" : { text : "text2", x:4,y:1,w:1,h:1 } , "6" : { image : "crea_2.jpg",x:1,y:1,w:3,h{ {
: } }2,ox:.7,oy:.7 } } }, C3 : { divs : { "3" : { image: "crea_4v.jpg", goto:4, x:3,y:1 ,w:1,h:2,dx:-.5,dy:0 }, "4" : { image: "crea_5v.jpg", goto:5, x:4,y:2 ,w:1,h:1,dx:0,dy:-.5 }, "5" : { text : "text3", x:4,y:1,w:1,h:1 } , "6" : { image : "crea_3.jpg", x:0,y:1,w:3,h{ : }2,ox:.2,oy:.8 } } }, C4 : { divs : { "3" : { image: "crea_5h.jpg", goto:5, x:0,y:2 ,w:2,h:1,dx:0,dy:.5 }, "4" : { image: "crea_1v.jpg", goto:1, x:4,y:1 ,w:1,h:2,dx:-.5,dy:0 }, "5" : { text : "text4", x:0,y:1,w:2,h:1 } , "6" : { image : "crea_4.jpg", x:2,y:1,w:2,h{ : }2,ox:.2,oy:.5 } } }, C5 : { divs : { "3" : { image: "crea_1v.jpg", goto:1, x:3,y:1 ,w:1,h:2,dx:-.5,dy:0 }, "4" : { image: "crea_2v.jpg", goto:2, x:4,y:1 ,w:1,h:2,dx:-.5,dy:0 }, "5" : { text : "text5", x:2,y:1,w:1,h:2 } , "6" : { image : "crea_5.jpg", x:0,y:1,w:2,h{ : }2,ox:.9,oy:.9 } } } }; //////////////////////////////////////////////////////////////////// ////////




Merci beaucoup

Doc

ge1doot


# Posted: 20 Oct 2009 23:38


Salut Doc

Hah oui en effet tout ça m'a l'air horriblement compliqué à tel point que ça m'étonnerai pas si j'avais moi-même du mal à comprendre. Alors t'imagines s'il fallait en plus que j'ai à expliquer

En lot de consolation, je viens de faire une doc rapide pour la partie réutilisable de ce script qui est le moteur de tweens : http://bit.ly/1NRpgf

C'est une première, la dernière fois que j'ai écris une doc c'était sous la torture

a+
Gérard

Doc
Member

# Posted: 21 Oct 2009 00:37


Merciiiiiiiiiiiiiiiiiiiiiiii infiniment Gérard !!!
Promis, je ne t'ennuillerai plus jamais avec de pareilles questions

Your answer

 B    I    U   IMG  URL  CODE  DEMO 

...  

 » Name  » Password 
 


Powered by miniBB forum software © 2001-2009