I'm not a programmer, so I'm not able to write any php scripts.
I wanted to make a news scroller module
An example can be found on my shop: http://www.le-parfumeur.com
I just need someone who is good in programming, probably about 2 to 3 hours of work at a maximum, as all information is included in this message to make it.
So I used the simple html module that can be found here
http://www.opencart.com/index.php?route ... order=DESC
I added the following HTML code to create the news scroller (freeware) framework in the html code field of the simple module:
Code: Select all
-----------begin example code--------->
<table border="0" cellpadding="2" cellspacing="0" style="border: 0px solid rgb(0, 0, 0); background-color: rgb(192, 192, 192); color: rgb(0, 0, 0); font: bold 13px arial,sans-serif;">
<tbody>
<tr>
<td align="center">
Nieuws</td>
</tr>
<tr>
<td>
<iframe frameborder="0" height="220" id="NewsWindow" marginheight="0" marginwidth="0" scrolling="no" src="newsnl.htm" style="border: 0px solid rgb(0, 0, 0);" width="150"></iframe></td>
</tr>
</tbody>
</table>
<----------end example --------
the code in newsnl.htm is as follows:
Code: Select all
--------begin example code----->
<html><head>
<title>15 mei 6h15</title>
<style type="text/css">
<!--
BODY { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; }
/* FONT COLORS */
TABLE { COLOR: #000000; FONT: 11px arial, sans-serif; font-weight: normal }
.title { COLOR: #0033FF; FONT: 12px arial, sans-serif; font-weight: bold; }
#NewsDiv { position: absolute; left: 0; top: 0; width: 100% }
/* PAGE LINK COLORS */
a:link { color: #0033FF; text-decoration: underline; }
a:visited { color: #6633FF; text-decoration: underline; }
a:active { color: #0033FF; text-decoration: underline; }
a:hover { color: #6699FF; text-decoration: none; }
-->
</style>
</head>
<BODY BGCOLOR="#F0F0F0" TEXT="#000000" onMouseover="scrollspeed=0" onMouseout="scrollspeed=current" OnLoad="NewsScrollStart();">
<div id="NewsDiv">
<table cellpadding="5" cellspacing="0" border="0" width="100%"><tr><td>
<!-- SCROLLER CONTENT STARTS HERE -->
<br>
<br>
<span class="title">
Nieuwe parfums<br>
</span>
Op 1 mei 2010 hebben we <a href="http://www.le-parfumeur.com/shop/index.php?route=product/category&path=92" target="_top">6 nieuwe parfums</a> gelanceerd.
br><br><br>
<span class="title">
Volgende markten:<br>
</span>
<br><br>
woe 28 juli 2010
<br>
markt Evere of Vilvoorde - afgelast (vakantie)
<br><br>
vrij 30 juli 2010
<br>
<!-- SCROLLER CONTENT ENDS HERE -->
</td></tr></table>
</div>
<-------end example code----
Would be nice to have this as a module, so there is no need any more to go messing around with the seperate content file. Of course it needs to be multilingual.
If you need more info, just contact me over the board.