Hello everyone, as you have probably noticed by number of my posts i am brand new here.
I Have a problem to which i currently have no solution.
Have been changing and editing my website lately, i ran into CuteNews and it was just what i need it the “Finishing” touch to make the site look exactly how i wanted it. This is where i ran into a problem…
This is HTML which changes my news every 6 seconds and it works
[code]
#dropcontentsubject{
width: 377px;
font-weight: bold;
}
.dropcontent{
width: 377px;
height: 260px;
border: 0px solid black;
background-color: #f5f5f5;
padding: 3px;
display:block;
}
Currently with CuteNews i can only add 2 news to my site
with this code
<div id="dropmsg0" class="dropcontent" subject="NEWS">
<a href="link for news"><img src="Picture" width="377" height="199" border="0"></a>
<FONT SIZE=3><B>Header</B></FONT>
<br> <font color="#000000">text</font>
</div>
<div id="dropmsg1" class="dropcontent" subject="NEWS">
<a href="link for New"><img src="Picture" width="377" height="199" border="0"></a>
<FONT SIZE=3><B>Header</B></FONT>
<br> <font color="#000000">text</font>
</div>
This is where the problem kicks in i cant make it to where cutenews shows more than ropmsg0 and dropmsg1
I need it to show dropmsg 2,3,4,5 and so on so that i can add more news to the site that will rotate every 6 seconds
I have edited shows.inc.php of CuteNews placing folowing code in it
if ($altdropmsg == "0" || $altdropmsg == "")
{
$output = str_replace("{altdropmsg}", dropmsg0, $output);
$altdropmsg = "1";
}
else
{
$output = str_replace("{altdropmsg}", dropmsg1, $output);
$altdropmsg = "0";
}
I was wondering would anyone know how would i add dropmsg2, dropmsg3, dropmsg4 etc…
any help would be greatly appreciated
Thank You,
FlexRe