tweaking z-index on chanview full-page mode so that everything works correctly
This commit is contained in:
parent
0f67657c44
commit
9a4667c77c
@ -949,13 +949,13 @@ var chanviewFullSize = false;
|
||||
function chanviewFull() {
|
||||
if(chanviewFullSize) {
|
||||
chanviewFullSize = false;
|
||||
$('#chanview-iframe-border').css({ 'position' : 'relative' });
|
||||
$('#remote-channel').css({ 'position' : 'relative' });
|
||||
$('#chanview-iframe-border').css({ 'position' : 'relative', 'z-index' : '10' });
|
||||
$('#remote-channel').css({ 'position' : 'relative' , 'z-index' : '10' });
|
||||
}
|
||||
else {
|
||||
chanviewFullSize = true;
|
||||
$('#chanview-iframe-border').css({ 'position' : 'fixed', 'top' : '0', 'left' : '0' });
|
||||
$('#remote-channel').css({ 'position' : 'fixed', 'top' : '0', 'left' : '0' });
|
||||
$('#chanview-iframe-border').css({ 'position' : 'fixed', 'top' : '0', 'left' : '0', 'z-index' : '150001' });
|
||||
$('#remote-channel').css({ 'position' : 'fixed', 'top' : '0', 'left' : '0', 'z-index' : '150000' });
|
||||
resize_iframe();
|
||||
}
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" style="z-index: 100001;" >☐</div>
|
||||
<iframe id="remote-channel" width="100%" style="z-index: 75000;" src="$url" onload="resize_iframe()"></iframe>
|
||||
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" >☐</div>
|
||||
<iframe id="remote-channel" width="100%" src="$url" onload="resize_iframe()"></iframe>
|
||||
|
Reference in New Issue
Block a user