![]() |
|
| |||||||
| Notices |
| BlueVoda - General Issues All BlueVoda support issues that are not covered in the below forums. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
|
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
| |||
| |||
|
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> |