Friday, April 23, 2010

10 second delay then auto redirect from landing page

put javascript code in the head

<script type="text/javascript">

function Func1()
//alert("Delayed 3 seconds");

function Func1Delay()

{setTimeout("Func1()", 100000);}


then in the conditional div put,


<!-- for landing page session-->

$menu = & JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) {


write landing page html

<script language="javascript">


} else {


main home page html

} ?>



  1. Good job...Thanks! Rayhan, itiw

  2. THANKS SURANJIT! Its informative post. Indeed, its helpful addition and saved many hours of me.
    landing page

  3. Awesome information. I am really surprised with this topic. Keep up the good work and post more here to read. Affordable Logo Design

  4. Thanks for sharing such a wonderful post with us. Fax Less Payday Loan

  5. really interesting post, thanks for the sharing keep more posting like this. payday loanz

  6. With having so much content and articles do you ever run into any issues of plagiarism or copyright violation? My blog has a lot of unique content I’ve either created myself or outsourced but it seems a lot of it is popping it up all over the internet without my authorization. Do you know any solutions to help prevent content from being stolen? airport limousine pearson I’d truly appreciate it.