add tooltip to toggle full screen mode

This commit is contained in:
friendica 2013-01-25 03:58:36 -08:00
parent 9a4667c77c
commit 50915c4692
3 changed files with 5 additions and 4 deletions

View File

@ -86,7 +86,8 @@ function chanview_content(&$a) {
$o = replace_macros(get_markup_template('chanview.tpl'),array(
'$url' => $url
'$url' => $url,
'$full' => t('toggle full screen mode')
));
return $o;

View File

@ -1,2 +1,2 @@
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" >&#x2610;</div>
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="$full" >&#x2610;</div>
<iframe id="remote-channel" width="100%" src="$url" onload="resize_iframe()"></iframe>

View File

@ -1,2 +1,2 @@
<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>
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="{{$full}}" >&#x2610;</div>
<iframe id="remote-channel" width="100%" src="{{$url}}" onload="resize_iframe()"></iframe>