Wedding Photography Melbourne Florida Blog
//and example div using this code
//
//
This is a test! Can you see me?
//
//and then creating a link to call it
// Slide Down
var timerlen = 5;
var slideAniLen = 250;
var timerID = new Array();
var startTime = new Array();
var obj = new Array();
var endHeight = new Array();
var moving = new Array();
var dir = new Array();
function slidedown(objname){
if(moving[objname])
return;
if(document.getElementById(objname).style.display != "none")
return; // cannot slide down something that is already visible
moving[objname] = true;
dir[objname] = "down";
startslide(objname);
}
function slideup(objname){
if(moving[objname])
return;
if(document.getElementById(objname).style.display == "none")
return; // cannot slide up something that is already hidden
moving[objname] = true;
dir[objname] = "up";
startslide(objname);
}
function startslide(objname){
obj[objname] = document.getElementById(objname);
endHeight[objname] = parseInt(obj[objname].style.height);
startTime[objname] = (new Date()).getTime();
if(dir[objname] == "down"){
obj[objname].style.height = "1px";
}
obj[objname].style.display = "block";
timerID[objname] = setInterval('slidetick(\'' + objname + '\');',timerlen);
}
function slidetick(objname){
var elapsed = (new Date()).getTime() - startTime[objname];
if (elapsed > slideAniLen)
endSlide(objname)
else {
var d =Math.round(elapsed / slideAniLen * endHeight[objname]);
if(dir[objname] == "up")
d = endHeight[objname] - d;
obj[objname].style.height = d + "px";
}
return;
}
function endSlide(objname){
clearInterval(timerID[objname]);
if(dir[objname] == "up")
obj[objname].style.display = "none";
obj[objname].style.height = endHeight[objname] + "px";
delete(moving[objname]);
delete(timerID[objname]);
delete(startTime[objname]);
delete(endHeight[objname]);
delete(obj[objname]);
delete(dir[objname]);
return;
}
// use this html anchor for toggle type
// Toggle DIV Slide
function toggleSlide(objname){
if(document.getElementById(objname).style.display == "none"){
// div is hidden, so let's slide down
slidedown(objname);
}else{
// div is not hidden, so slide up
slideup(objname);
}
}
//-->
Ok, so anyone following along on my blog will recognize the super cute blond in the striped shirt. Cuter now than ever, if that's possible. Coral, my friend Renee's daughter, is 13! No! How can that be? We parents look waayy too young......well, unless you sit us down right next to one of those 13 year olds and then reality hits! These girls are sooo adorable but they each are really just down to earth, sweet. Hang around them for a short while and you'll see their little girl sides, too! Antics. And All! I love it that none of them seem to be trying to grow up too fast. Each are athletic.......I could tell right away in the jumping shot which ones play soccer, which ones are cheerleaders.........and some of them must do it all! Cuties! So smart and self confident.......each of them.
Oh, and Coral's party was at the South Beach Community Center. It's probably one of the least recognized/underused parks/community centers in our area........in part, well, because we're so far south.....almost to the Sebastian Beach Inlet. However, it is worth the drive if you're planning an event. It's new (few years) and has a huge park with a beautiful pond, gorgeous oak trees, etc. Hoping the county will promote the area for weddings. Would be beautiful beside the pond.....and prices would probably be great too! (Compared to other venues in the area.)
And what's a birthday party without a cupcake to the eye? See.....they're total athletes. The one that made the shot was very precise and the one receiving the shot just took it all in stride!