Enthropia Labs

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new iBegin Labs forum!

Author Topic: Auto launch on page load?  (Read 82 times)

ice_nugget

  • Newbie
  • *
  • Posts: 4
    • View Profile
Auto launch on page load?
« on: November 08, 2009, 03:32:07 am »
yo ppl, i want to auto launch an element on page load, is it possible?
Thanks!
Logged

ice_nugget

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Auto launch on page load?
« Reply #1 on: November 11, 2009, 06:51:30 am »
so, this works:

Code: [Select]

<script type="text/javascript">
iBox.addEvent(iBox, 'load', function(){iBox.showURL('http://www.youtube.com/watch?v=Sr2JneittqQ');});
</script>


now, i would like to load a page from somewhere else with width, height... any ideas on syntax?
Logged

ice_nugget

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Auto launch on page load?
« Reply #2 on: November 11, 2009, 08:57:17 am »
right... got the width/height thing, but what about absolute url? why does it work with a local html page and it does not with an external page?

Code: [Select]

<script type="text/javascript">
 iBox.addEvent(iBox, 'load', function(){iBox.showURL('http://www.mysite/mypage.aspx','Title',{width:'600', height: '300'});});
 </script>

Logged

ice_nugget

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Auto launch on page load?
« Reply #3 on: November 16, 2009, 10:42:53 am »
COME ON PEOPLE! IS EVERYONE DEAD HERE OR WHAT? I NEED TO KNOW HOW TO GET THE ABSOLUTE URL (THE ON WITH HTTP IN IT BTW) TO WORK!

THANKS!  ;D
Logged