Results 1 to 3 of 3

Thread: blank page
      
   

  1. #1
    findach's Avatar
    findach is offline Second Lieutenant
    Join Date
    Jul 2005
    Posts
    143

    Default blank page

    hiya, can anyone anwser this question?

    on my page www.livepetshop.co.uk/golive.html i have the screen and the product bar actually on the page. some people dont want to actuall watch the show, especialy when its on loop, and just want to use the blog ect.

    so i want to put on a button which says 'watch live now' this will pop over a new blank page with the screen on it.

    however....... i dont want to put my little screen on a big page, so is there anyway to change the size of the page that opens up. also i want people to be able to view and use the other features, at the same time as watching.

    i know you can do this with a pop up, but i dont want to put my screen on a pop up incase its blocked.

    any ideas?

  2. #2
    Nyoman is offline Major
    Join Date
    Sep 2005
    Location
    heavenly-temple
    Posts
    426

    Default Re: blank page

    You can use script something like script that you can set the size of new window. I don't know if this is still consider popup.
    something like this and you can adjust by yourself
    Code:
     
    <script type="text/javascript">
    <!--
    function new_window(theurl)
    {
    // set the width and height
    var the_width=set the width;
    var the_height=set the height;
    // set window position
    var from_top=set position;
    var from_left=set position;
    // set other attributes
    var has_toolbar='no';
    var has_location='no';
    var has_directories='no';
    var has_status='no';
    var has_menubar='no';
    var has_scrollbars='no';
    var is_resizable='no';
     
    // attributes put together
    var the_atts='width='+the_width+',height='+the_height+',top='+from_top+',screenY='+from_top+',left='+from_left+',screenX='+from_left;
    the_atts+=',toolbar='+has_toolbar+',location='+has_location+',directories='+has_directories+',status='+has_status;
    the_atts+=',menubar='+has_menubar+',scrollbars='+has_scrollbars+',resizable='+is_resizable;
    // open window
    window.open(theurl,'',the_atts);
    }
    //-->
    </script>
    .
    .
    Nyoman

  3. #3
    findach's Avatar
    findach is offline Second Lieutenant
    Join Date
    Jul 2005
    Posts
    143

    Default Re: blank page

    cheers for that

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49