add tooltip to toggle full screen mode
This commit is contained in:
parent
9a4667c77c
commit
50915c4692
@ -86,7 +86,8 @@ function chanview_content(&$a) {
|
|||||||
|
|
||||||
|
|
||||||
$o = replace_macros(get_markup_template('chanview.tpl'),array(
|
$o = replace_macros(get_markup_template('chanview.tpl'),array(
|
||||||
'$url' => $url
|
'$url' => $url,
|
||||||
|
'$full' => t('toggle full screen mode')
|
||||||
));
|
));
|
||||||
|
|
||||||
return $o;
|
return $o;
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" >☐</div>
|
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="$full" >☐</div>
|
||||||
<iframe id="remote-channel" width="100%" src="$url" onload="resize_iframe()"></iframe>
|
<iframe id="remote-channel" width="100%" src="$url" onload="resize_iframe()"></iframe>
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" style="z-index: 100001;" >☐</div>
|
<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="{{$full}}" >☐</div>
|
||||||
<iframe id="remote-channel" width="100%" style="z-index: 75000;" src="{{$url}}" onload="resize_iframe()"></iframe>
|
<iframe id="remote-channel" width="100%" src="{{$url}}" onload="resize_iframe()"></iframe>
|
||||||
|
Reference in New Issue
Block a user