Adaptive An


i have present project, kind of interactive slideshows (parallax, videos, links, navigation buttons, , more...), problem must adaptive in width , height .

i looked @ js, solves problem of width, if in percent (or proportion), stage , elements, might have problems?

 

i don't expect real adatptive site in drupal, similar swf file.

 

help me: site adaptive in height!

 

not know clear...

 

thanks

here sarah wrote while ago:

 

// center stage

winwidth=document.all?document.body.clientwidth:window.innerwidth;

winheight=document.all?document.body.clientheight:window.innerheight;

myposition = (winheight -400)/2;

//alert("winheight is" + winheight + "and stage position @ " + myposition);

$("#stage").css("margin","auto");

$("#stage").css("margin-top",myposition);

window.onresize = function(event) {

      winwidth=document.all?document.body.clientwidth:window.innerwidth;

                    winheight=document.all?document.body.clientheight:window.innerheight;

                    myposition = (winheight -400)/2;

                    $("#stage").css("margin","auto");

                    $("#stage").css("margin-top",myposition);

}



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

Is this Captcha code corrupt?

How to Grab email address from webform and insert into form action

Thread: lower arc in openoffice draw