0){
if ((i==NoMove)||(C[i].GetL() < C[j].GetL())){
C[j].DockToR(C[i]);
if (C[j].GetR() > (LeftColPos + DivWidth)){
C[j].SetL(LeftColPos);
C[j].SetT(C[j].GetT() + DropHeight);
}
CheckOver(j);
}
else{
C[i].DockToR(C[j]);
if (C[i].GetR() > (LeftColPos + DivWidth)){
C[i].SetL(LeftColPos);
C[i].SetT(C[i].GetT() + DropHeight);
}
CheckOver(i);
}
}
}
}
}
}
function StartUp(){
Segments = Shuffle(Segments);
//Calculate page dimensions and positions
pg = new PageDim();
DivWidth = Math.floor((pg.W*4)/5);
DragWidth = Math.floor((DivWidth*3)/10);
LeftColPos = Math.floor(pg.W/10);
RightColPos = pg.W - (DragWidth + LeftColPos);
DragTop = parseInt(document.getElementById('TitleDiv').offsetHeight) + 10;
//Position the feedback div
var CurrDiv = document.getElementById('FeedbackDiv');
CurrDiv.style.top = DragTop + 5 + 'px';
CurrDiv.style.left = Math.floor((pg.W)/3) + 'px';
CurrDiv.style.width = Math.floor(pg.W/3) + 'px';
var CurrTop = DragTop + 10;
//Position the drop divs
for (var i=0; i'; //required for Navigator rendering bug with images
C[i].SetT(CurrTop);
C[i].SetL(LeftColPos);
C[i].css.cursor = 'move';
TempInt = C[i].GetH();
CurrTop = CurrTop + TempInt + 5;
C[i].css.backgroundColor = '#e6ffe6';
C[i].css.color = '#000000';
topZ++;
C[i].css.zIndex = topZ;
C[i].tag = Segments[i][1];
C[i].index = i;
}
//Place them at the bottom of the page
SetInitialPositions();
}
function SetInitialPositions(){
//Places all the divs at the bottom of the page in centred rows
//First, get the vertical position of the first row
var RTop = L[L.length-1].GetB() + 10;
//Create an array to hold the numbers of Cards for each row
CRows = new Array();
CRows[0] = new Array();
Widths = new Array();
var i=0;
var r=0;
var RowWidth=0;
//Sort the Cards into rows, storing their numbers in the array
while (i
';
Output += '';
var FDiv = document.getElementById('FeedbackDiv');
FDiv.innerHTML = Output;
topZ++;
FDiv.style.zIndex = topZ;
//Add a border to the feedback div
document.getElementById('FeedbackDiv').style.borderStyle = 'solid';
FDiv.style.display='';
}
function HideFeedback(){
var FDiv = document.getElementById('FeedbackDiv');
FDiv.innerHTML = '';
FDiv.style.display='none';
}
//-->
//]]>
El Precámbrico
Coloca por el orden en que sucedieron los siguientes eventos:
Arrastra y pega.
|
Primera litosfera continental -
Fauna de Ediacara -
Aparición de la vida -
Comienza a liberarse oxígeno a la atmósfera -
Aparición de células eucariotas -
Formación de Pangea I