|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
horizontal image display
hello:
i have an image database, i want my images to be displayed like google when you try to search an image - displays horizontally. how would i check if the first row already has, say 5 images, and then add another row for the next set of images and so on? can someone show me a tutorial, an article for this one? mine doesnt require to search for any images, just concerned with the display. thanks again
__________________
*** today i ask, tomorrow i help - sandbag |
|
#2
|
|||
|
|||
|
hi bulletz,
i have that code somewhere in my pc. let me find first & i'll get back to you.
__________________
Hope this helps. Mike Royal Selangor Pewter "I have not failed. I've just found 10,000 ways that won't work." - Thomas Alva Edison (1847-1931) |
|
#3
|
|||
|
|||
|
ok cool, i'll also try to learn the codes.
thanks, |
|
#4
|
|||
|
|||
|
I've cut out part of my existing code for you.
Code:
<table border="0" cellpadding="2" cellspacing="2" width="100%"> <tr> <td>All My Images</td> </tr> <tr valign="top"> <% ' i is for image to go down to next row Dim i i=0 while not rs.eof %> <td width="33%" valign="top" style="border:1px solid #ff9900" height="100%"> <!--Start: ind. image table--> <table border="0" cellpadding="1" cellspacing="2" height="100%" width="100%"> <tr> <td><img src="xxx.xxx" border="0" alt="xxx"></td> </tr> </table> <!--End: ind. image table--> </td> <% '''' Start: Go Next Row i=i+1 ' below means after 3rd image, the 4th image will go to next/new row if i mod 3=0 then response.write"<tr>" end if '' End : Go Next Row rs.movenext wend %> </tr> </table> |
|
#5
|
|||
|
|||
|
thanks for the help again.
|
|
#6
|
|||
|
|||
|
is this what you are looking for? your welcome.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > horizontal image display |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|