Post by oz457 » Tue Aug 03, 2010 7:54 pm

Hi all,

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:
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 ... 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;">
			<td align="center">
				<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>
<----------end example --------
As you can see from the html code, the newsticker is getting his information from a separate file, newsnl.htm

the code in newsnl.htm is as follows:

Code: Select all

--------begin example code----->
<title>15 mei 6h15</title>
<style type="text/css">
BODY 		{ margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; }
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% }
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; }
<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>
<span class="title">
Nieuwe parfums<br>
Op 1 mei 2010 hebben we <a href="" target="_top">6 nieuwe parfums</a> gelanceerd. 
<span class="title">
Volgende markten:<br>
woe 28 juli 2010
 markt Evere of Vilvoorde - afgelast (vakantie)
vrij 30 juli 2010
<-------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.

New member


Wed Oct 28, 2009 5:33 am
Who is online

Users browsing this forum: No registered users and 9 guests