Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 shopcategorylist.asp Writtten to CSS Class
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dragon_tat
Starting Member

USA
17 Posts

Posted - January 21 2004 :  17:51:01  Show Profile  Reply with Quote
Does anyone know how to write the output from shopcategorylist.asp to a CSS class? Or write the output to a defined table on a template? I need to display a photo and some text next to the the category list, and am failing miserably. Help!

dragon_tat
Starting Member

USA
17 Posts

Posted - January 23 2004 :  05:03:50  Show Profile  Reply with Quote
Well I figured something out and it works out to be 99% of perfect for me. The trick was adding a second HTML table with a "table in a table" so the picture and text on my main shopping page formatted correctly next to the list created by shopcategorylist.asp. Here are the routines in shopcategorylist.asp; one a modified createcattable and the following one is new. While this may not be the most elegant way to accomplish this programatically, it does accomplish the result for the customer browsing my site. Any improvements are welcomed!

Sub Createcattable
Response.write "<table width='62%'>"
response.write "<tr>"
response.write "<td rowspan='4' width='300' align=left>"' & "</div>" & "</th>"
end sub

'***************************************************
' Create Second Table
'***************************************************
Sub CreateSecondTable
response.write "<td valign=top align=middle width='300'>"
response.write "<table width='100%'>"
response.write "<img src='images/wagon%20photo.JPG' width='400' height='200'></td>" '</tr>"
response.write "<tr>"
response.write "<td>"
response.write "<div align=center>" & getlang("langshoppingwagon1") & "<div>"
response.write "</td>"
response.write "</tr>"
response.write "<tr>"
response.write "<td>"
response.write "<div align=center><br>" & getlang("langshoppingwagon2") & "<div>"
response.write "</td>"
response.write "</tr>"
response.write "<tr>"
response.write "<td>"
response.write "<div align=center>" & getlang("langshoppingwagon3") & "<div>"
response.write "</td>"
response.write "</tr>"
response.write "<tr>"
response.write "<td>"
response.write "<div align=center><br>" & getlang("langshoppingwagon4") & "<div>"
response.write "</td>"
response.write "</tr>"
response.write "</table>"
response.write "</td>"
response.write "</tr>"
response.write "</table>"
End Sub

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00