Flash Goddess Administrator

Joined: 18 Jul 2002 Posts: 1228 Location: Ontario, Canada
|
Posted: Thu Jan 26, 2006 11:06 am Post subject: |
|
|
If you take a look at the source code in the HTML page, you can see that it was done using JavaScript:
| Code: | <script language=JavaScript>
function popIt5(lang,width,height)
{
if(screen.width > 800)
{
if(lang=="heb")
filename="mainheb.html";
else
filename="main.html";
window.open(filename,'','left=15,top=5,width='+width+',height='+height+'');
}
else
{
if(lang=="heb")
filename="fullheb.html";
else
filename="fulleng.html";
fullscreen = window.open(filename, "fullscreen", 'top=0,left=0,width='+(screen.availWidth)+',height='+(screen.availHeight)+',fullscreen=yes,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrolling=0');
}
}
</script> |
and on the button link you have:
| Code: | | <area shape="rect" coords="240,60,383,92" href="javascript:popIt5('main.html',((screen.availWidth)-30),((screen.availHeight)-40))"> |
_________________ :: FAQ :: Search :: Books :: Tutorials ::
www.FlashGoddess.com :: inspire :: create :: |
|