dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: call url on load

  1. #1
    Join Date
    Sep 2008
    Posts
    23

    call url on load

    Is there a way I can call another webpage on load? I have a webpage that I want to be able to have as another webpage on load. So ustream is a video site I use and when I load my webpage I want that to be the page that loads for my video instead of clicking a link.

  2. #2
    Join Date
    Jun 2015
    Location
    Sweden
    Posts
    5
    Hi chechem84,
    if you don't have get a code for start a webpage randomly at start here is a god code.

    <head>
    <!-- Random links auto at start-->
    <script type="text/javascript">
    var pageArr = ['page1.php',
    'page2.php',
    'page3.php',
    'page4.php',
    'page5.php',
    'page6.php',
    'page7.php',
    'page8.php',
    'page9.php',
    'pag10.php'];

    document.location.href = pageArr[Math.ceil(Math.random()*pageArr.length)-1];
    </script>
    </head>

    you can see it working on this website: http://rccorner.co.uk

    best regards
    Bakjoo

  3. #3
    Join Date
    Jun 2015
    Posts
    77
    You can start the video URL loading in javascript function. When your document start then java script function cal ao that video streaming start at your web page.

  4. #4
    Join Date
    Feb 2015
    Posts
    68
    you can use php for this

    require(index.php);
    require(page2.php)
    Web Design Company in Bangalore | Web Design Company Bangalore, Top Web Designing Company in Bangalore

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles