1
ReySolar
Smartclient's question
  • 2005/8/13 13:54

  • ReySolar

  • Not too shy to talk

  • Posts: 181

  • Since: 2005/2/2 1


Hello!!!
I have a question about Smartclient module. Anybody knows how to change the smartclient's template to show a banner besides the other (I mean left side and right side), and not one upside and the other at the block's bottom? (please, see it athttp://www.periodistas-online.com.ar)
Thanks a lot

ReySolar


It's the smartclient's template:

<table cellspacing="0" style="padding-bottom: 5px;">
<tr>
<td>
<{if $block.fadeImage != ""}>
<{literal}>
<script type="text/javascript">
<!--
nereidFadeObjects = new Object();
nereidFadeTimers = new Object();
function nereidFade(object, destOp, rate, delta){
if (!document.all) {
return;
}
if (object != '[object]'){
setTimeout('nereidFade('+object+','+destOp+','+rate+','+delta+')',0);
return;
}
clearTimeout(nereidFadeTimers[object.sourceIndex]);
diff = destOp-object.filters.alpha.opacity;
direction = 1;
if (object.filters.alpha.opacity > destOp){
direction = -1;
}
delta = Math.min(direction*diff,delta);
object.filters.alpha.opacity+=direction*delta;

if (object.filters.alpha.opacity != destOp){
nereidFadeObjects[object.sourceIndex]=object;
nereidFadeTimers[object.sourceIndex]=setTimeout('nereidFade(nereidFadeObjects['+object.sourceIndex+'],'+destOp+','+rate+','+delta+')',rate);
}
}
//-->
</script>
<{/literal}>
<{/if}>
<div align='center'>
<br />
<{foreach item=client from=$block.clients}>
<{$client.urllink}>
<{if $client.image != ""}>
<img src="<{$client.image}>" <{$client.img_attr}> border="0" alt="<{$client.title}>" <{$block.fadeImage}> /><br />
<{/if}>
<{$client.title}>
</a>
<{if $block.insertBr != ""}>
<br /><br />
<{/if}>
<{/foreach}>
</div>
</td>
</tr>
<{if $block.see_all}>
<tr align="center">
<td><a href="<{$xoops_url}>/modules/smartclient/"><{$block.lang_see_all}></a></td>
</tr>
<{/if}>
</table>

2
rabideau
Re: Smartclient's question
  • 2005/8/13 14:43

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


You might go to the developer's site to ask this question. You are more likely to find an informed response there....
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

Login

Who's Online

228 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 228


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits