aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-25 02:53:41 -0800
committerfriendica <info@friendica.com>2013-01-25 02:53:41 -0800
commit0f67657c44da4be87944dcb92d8180bc71182097 (patch)
tree89022868c643c77411bf0bbdf78be8b4f6e1fa6c /view
parent299507de08f96160ed3e308006aeda31879e9c9b (diff)
downloadvolse-hubzilla-0f67657c44da4be87944dcb92d8180bc71182097.tar.gz
volse-hubzilla-0f67657c44da4be87944dcb92d8180bc71182097.tar.bz2
volse-hubzilla-0f67657c44da4be87944dcb92d8180bc71182097.zip
ability to make chanview iframe full size (covering source window) and shrink it again
Diffstat (limited to 'view')
-rw-r--r--view/tpl/chanview.tpl3
-rw-r--r--view/tpl/smarty3/chanview.tpl3
2 files changed, 4 insertions, 2 deletions
diff --git a/view/tpl/chanview.tpl b/view/tpl/chanview.tpl
index 641294feb..d4587bc2a 100644
--- a/view/tpl/chanview.tpl
+++ b/view/tpl/chanview.tpl
@@ -1 +1,2 @@
-<iframe id="remote-channel" width="100%" src="$url" onload="resize_iframe()"></iframe>
+<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" style="z-index: 100001;" >&#x2610;</div>
+<iframe id="remote-channel" width="100%" style="z-index: 75000;" src="$url" onload="resize_iframe()"></iframe>
diff --git a/view/tpl/smarty3/chanview.tpl b/view/tpl/smarty3/chanview.tpl
index 7e375d3e6..502e33667 100644
--- a/view/tpl/smarty3/chanview.tpl
+++ b/view/tpl/smarty3/chanview.tpl
@@ -1 +1,2 @@
-<iframe id="remote-channel" width="100%" src="{{$url}}" onload="resize_iframe()"></iframe>
+<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" style="z-index: 100001;" >&#x2610;</div>
+<iframe id="remote-channel" width="100%" style="z-index: 75000;" src="{{$url}}" onload="resize_iframe()"></iframe>