Click here to Skip to main content
11,704,044 members (69,574 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET HTML
I have been tasked with creating a small web form to display some company content.
Web developement is an area I am just beggining to learn and am struggling with.

All the form needs to contain is 6 images and 1 mp4.

x = image

T = Movie/mp4

It needs to be displayed as such.

x X

x T X

x X

I was able to do create a form like this in html. However, I was then told that images should be dropped in folders as such %directory%/TopLeft %directory%MiddleLeft. This creates a problem for me as you can see I have the values hardcoded. Is there a better technology than HTML to display my video where I can do a Directory.Getfiles type command like I would in c#?

Thank you in advance,

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<table width="100%" height="100%" border="0">
    <th scope="col"><img align="right" name="topLeft" src="C:\Users\Public\Pictures\Sample Pictures\Chrysanthemum.jpg" width="100" height="100" alt="" /></th>
    <th scope="col"><h1></h1></th>
    <th scope="col"><img align="left" name="topRight" src="C:\Users\Public\Pictures\Sample Pictures\Hydrangeas.jpg" width="100" height="100" alt="" /></th>
    <th scope="row"><img align="right" name="middleLeft" src="C:\Users\Public\Pictures\Sample Pictures\Jellyfish.jpg" width="100" height="100" alt="" /></th>
        <th width="500" scope="col"><video width="500" height="500" controls autoplay>
            <source src="C:\Temp\ShopFloor Training.mp4" type="video/mp4">
            <object  align="middle" data="movie.mp4" width="700" height="400">
                <embed width="500" height="500" src="movie.mp4">
    <th scope="col"><img align="left" name="middleRight" src="C:\Users\Public\Pictures\Sample Pictures\Koala.jpg" width="100" height="100" alt="" /></td>
    <th scope="col"><img align="right" name="bottomLeft" src="C:\Users\Public\Pictures\Sample Pictures\Chrysanthemum.jpg" width="100" height="100" alt="" /></th>
    <th scope="col"><a href="" target="_blank"><img src="" border="0"  alt=""></a></th>
    <th scope="col"><img align="left" name="bottomRight" src="C:\Users\Public\Pictures\Sample Pictures\Hydrangeas.jpg" width="100" height="100" alt="" /></th>
Posted 30-Jan-13 2:36am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 530
1 OriginalGriff 510
2 Sergey Alexandrovich Kryukov 421
3 Andy Lanng 294
4 F-ES Sitecore 220
0 OriginalGriff 8,744
1 Sergey Alexandrovich Kryukov 7,747
2 CPallini 5,107
3 Maciej Los 4,716
4 Mika Wendelius 3,606

Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100