Sciences in 2007 - Find jobs - Song Lyrics - WoW Gold - Wordpress Themes

PDA

View Full Version : iBox to automatically come up?


RyanDoubleyou
Jul 7th 2008, 8:57 pm
I have a thing called iBox on my website, http://tackypenguin.com. iBox is just like lightbox, and thickbox. I want to know, if I can make it automatically come up, on page load. I dont know Javascript, but I usually code in PHP. I do know HTML. Please help me if you can. Thanks - Ryan

Vooler
Jul 9th 2008, 1:37 pm
Is it kind of floating layer? if yes then, make a simple layer <div id="pop", that is by default displayed and has "position:absolute;background-color:white" in style. Now on certain actin when you need to close it, use

on button click
onclick="javascript:document.getElementById('pop').display='none';"

on href

<a href=javascript:document.getElementById('pop').display='none';">.......

I hope it helps.

regards