diff options
author | friendica <info@friendica.com> | 2013-01-25 03:52:16 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-25 03:52:16 -0800 |
commit | 9a4667c77c5d55edef3241b8927ec57a41b82f91 (patch) | |
tree | b7eed8e8e72f2d971b81461b07fed63fc8c1091d | |
parent | 0f67657c44da4be87944dcb92d8180bc71182097 (diff) | |
download | volse-hubzilla-9a4667c77c5d55edef3241b8927ec57a41b82f91.tar.gz volse-hubzilla-9a4667c77c5d55edef3241b8927ec57a41b82f91.tar.bz2 volse-hubzilla-9a4667c77c5d55edef3241b8927ec57a41b82f91.zip |
tweaking z-index on chanview full-page mode so that everything works correctly
-rw-r--r-- | js/main.js | 8 | ||||
-rw-r--r-- | view/tpl/chanview.tpl | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/js/main.js b/js/main.js index 63598f126..67b4c777e 100644 --- a/js/main.js +++ b/js/main.js @@ -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(); } } diff --git a/view/tpl/chanview.tpl b/view/tpl/chanview.tpl index d4587bc2a..fcc968a19 100644 --- a/view/tpl/chanview.tpl +++ b/view/tpl/chanview.tpl @@ -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> |