Click here to Skip to main content
11,492,279 members (64,838 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 3:36am

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 455
1 Maciej Los 306
2 Sascha Lefèvre 265
3 Andy Lanng 235
4 KarstenK 220
0 Sergey Alexandrovich Kryukov 9,943
1 OriginalGriff 8,610
2 Sascha Lefèvre 3,609
3 Maciej Los 3,372
4 Richard Deeming 2,440

Advertise | Privacy | Mobile
Web03 | 2.8.150520.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