Hi Lynne, thank you for responding! I have a grid that has a spot for the widget. I have a layout from the grid.
The problem that I'm having is that this particular widget code returns the items vertically, rather than horizontally.
I need help editing the code (shown in the first post) to change how it appears so that instead of the items coming up vertically like this:
photo- link
photo- link
photo- link
they appear horizontally like this instead:
Photo Photo Photo
Link Link Link
The issue appears to be the table output- it repeats vertically-
if($text == '') $text = substr($fulltext, 0,150);
if($image != '') $output .= "<tr><td><img src='".$image."' width='".$width."px' align='left' height='75' HSPACE='5' VSPACE='3'/></td>";
$output .= "<td><b><a href='content.php?".$nodeid."-".$url."' align='top'>".$title."</a><p>".$text." </b></p><br/></td></tr>";
}
$output.="</table>";
But I'm not familiar with how to make it repeat horizontally instead. . .
--------------- Added [DATE]1326398068[/DATE] at [TIME]1326398068[/TIME] ---------------
I tried changing the table <td><tr> placements, but it just gave me errors. I would assume that I would have to create a class-style for it to follow to get it to repeat horizontally, rather than vertically, but I don't know where to begin to do that.
|