Jump to content
Sign in to follow this  
choobakka

dynamic table

Recommended Posts

heres what id like to achieve:i am going to inbed some .jpg pictures in my Access database.on my webpage i would like the user to select a product line from a drop down list.once they have selected a product line, i would like the corresponding .jpeg images to be pulled from the database and displayed in a table. does anybody know how i could achieve this (preferably with dreamweaver)?please tell me the steps i need to go throughthanks

Share this post


Link to post
Share on other sites

ok ive managed to extract images from the database and present them in a table on a webpage. the only thing i need to do now it have a drop down list from which users can select a product line. once users have selected, i would like the corresponding images to be displayed.any ideas?

Share this post


Link to post
Share on other sites
ok ive managed to extract images from the database and present them in a table on a webpage. the only thing i need to do now it have a drop down list from which users can select a product line. once users have selected, i would like the corresponding images to be displayed.any ideas?

Glad you learned about response.BinaryWrite in time, however displaying the images in a dropdown list usually requires some CSS, something that looks like this:
<select name="products"><option value="1" style="height : 100px; background-image : url(someimage1.gif);"></option><option value="2" style="height : 100px; background-image : url(someimage2.gif);"></option><option value="3" style="height : 100px; background-image : url(someimage3.gif);"></option><option value="4" style="height : 100px; background-image : url(someimage4.gif);"></option><option value="5" style="height : 100px; background-image : url(someimage5.gif);"></option></select>

If that doesn't work, you can try displaying the images in a table (you can use Javascript to collapse/expand parts of the table).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...