Last change
on this file since 9352 was
3599,
checked in by tiico, 15 years ago
|
some minor corrections
add block.tpl from pwg_stuff (for flopure)
add prometeus module (javascript)
[TO BE COMPLETED]
|
File size:
2.0 KB
|
Line | |
---|
1 | {html_head} |
---|
2 | |
---|
3 | {literal} |
---|
4 | <meta http-equiv="imagetoolbar" content="no"> |
---|
5 | <style type="text/css"> |
---|
6 | #canvas { |
---|
7 | position:absolute; |
---|
8 | width: 100%; |
---|
9 | height: {/literal}{$block.HEIGHT}{literal}px; |
---|
10 | background: {/literal}{$block.BGCOLOR}{literal}; |
---|
11 | overflow: hidden; |
---|
12 | } |
---|
13 | #canvas img { |
---|
14 | position: absolute; |
---|
15 | background: #000; |
---|
16 | overflow: hidden; |
---|
17 | cursor: pointer; |
---|
18 | left: 100%; |
---|
19 | border-color: #000; |
---|
20 | border-style: solid; |
---|
21 | border-width: 1px; |
---|
22 | -ms-interpolation-mode:nearest-neighbor; |
---|
23 | } |
---|
24 | #canvas span { |
---|
25 | position: absolute; |
---|
26 | color: #FFFFFF; |
---|
27 | font-family: Arial, Helvetica, sans-serif; |
---|
28 | font-size: 0px; |
---|
29 | white-space: nowrap; |
---|
30 | left: -1000px; |
---|
31 | background: {/literal}{$block.BGCOLOR}{literal}; |
---|
32 | filter: alpha(opacity=90); |
---|
33 | opacity: 0.9; |
---|
34 | } |
---|
35 | </style> |
---|
36 | |
---|
37 | {/literal} |
---|
38 | {$OTHERS_SCRIPT} |
---|
39 | {/html_head} |
---|
40 | |
---|
41 | <div class ="prometeus_block" style='height:{$block.HEIGHT}px;'> |
---|
42 | <div id="canvas" > |
---|
43 | |
---|
44 | {foreach from=$ImageNode item=ImageNode} |
---|
45 | <img src="{$ImageNode.url}"><span>{$ImageNode.name}</span> |
---|
46 | {/foreach} |
---|
47 | |
---|
48 | </div> |
---|
49 | |
---|
50 | {literal} |
---|
51 | <!-- crossbrowser images_loading_bar - Gerard Ferrandez - www.dhteumeuleu.com - Feb 2005 --> |
---|
52 | <span id="LB0" style="position:absolute;left:50%;top:50%;"><span style="position:absolute;font-family:arial;font-size:10px;color:#ccc;background:#000;left:-50px;top:-18px">Loading...</span><span style="position:absolute;left:-50px;top:-5px;font-size:1px;width:100px;height:10px;background:#333"><span id="LB1" style="position:absolute;font-size:1px;width:0px;height:10px;background:#ccc"></span></span></span> |
---|
53 | <script type="text/javascript">m00=document.getElementById("canvas").getElementsByTagName("img");m01=m00.length;function images_loading_bar(){m02=0;for(i=0;i<m01;i++)m02+=(m00[i].complete)?1:0;document.getElementById("LB1").style.width=Math.round(m02/m01*100)+'px';if(m02==m01)setTimeout("document.getElementById('LB0').style.display='none'",128); else setTimeout("images_loading_bar()", 64);};images_loading_bar();</script> |
---|
54 | <!-- end of images_loading_bar code --> |
---|
55 | </div> |
---|
56 | |
---|
57 | {/literal} |
---|
Note: See
TracBrowser
for help on using the repository browser.