HTML - How To Auto Read Files And Regenarate Table In Dreamweaver?
I there.
I'm trying to buid a page that once selected an item from a list, auto-reads files in a folder and and sort them in a table, with a calendar look. The files are being feed to the folder with the name "ZON YY-MM-DD.gif" "PSI20 YY-MM-DD.gif" "JMAR YY-MM-DD.gif" i.e. "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | -------------------------------------------------------------------- YY-MM-DD | YY-MM-DD | YY-MM-DD | YY-MM-DD | YY-MM-DD | .... .... .... -------------------------------------------------------------------- 08-10-20 | 08-10-21 | 08-10-22 | 08-10-23 | 08-10-24 | -------------------------------------------------------------------- 08-10-13 | 08-10-14 | 08-10-15 | 08-10-15 | 08-10-16 | -------------------------------------------------------------------- Until now for each week I was coding in manually the new row for each item, but it's a pain changing the date and item. <tr> <td><div align="center">07-07-2008</div></td> <td><div align="center">08-07-2008</div></td> <td><div align="center">09-07-2008</div></td> <td><div align="center">10-07-2008</div></td> <td><div align="center">11-07-2008</div></td> </tr> <tr> <td><div align="center"> <p><img src="ZON 08-07-08.gif" width="220" height="129" /></p> </div></td> <td><div align="center"> <p><img src="ZON 08-07-08.gif" width="220" height="129" /></p> </div></td> <td><div align="center"> <p><img src="ZON 09-07-08.gif" width="220" height="129" /></p> </div></td> <td><div align="center"> <p><img src="ZON 10-07-08.gif" width="220" height="129" /></p> </div></td> <td><div align="center"> <p><img src="ZON 11-07-08.gif" width="220" height="129" /></p> </div></td> </tr> How can I do this automatically? Doing it with FOR's WHILE's and IF's seems very troublesome. Any code or pointers are welcome. BLopes Similar TutorialsI am working on an index page with menu for a friend and originally did the page an menu separately....I was able to get them to work together but when i do the In-Dreamweaver preview does not work...This is very important because she will need the preview to make her changes... Everything looks fine upon viewing in browser but no preview.... I think it probably has something to do with me using two different body tages with two different csses....Can somebody take a look and see if they can find my problem? Any help would be greatly appreciated! You can view an online version at: http://www.firstpresgreenville.org/NEWFPATEST/menu.html Good morning... I have a bunch of links that open pdf files publish on a server. These files are overwritten with the latest data every 30 minutes... the challenges i have is to open the latest and greatest when i click on the link..... I do have a meta refresh code in the head of my page, it look like this: <head> <meta http-equiv="Cache-Control" content="no-cache"> each one of my links look like this: <a href="http://myweb.com/report/reportinpdf.pdf"; >Report name herer</a> Any ideas on making sure that i open the latest and greatest instead of whatever is in the cookies....???? (i am assuming that is why the files is not updating...) Thanks in advance... Seabass I am trying to integrate a clients two websites, and when I go to insert the lower part/table it shifts about 10 pixels to the right. I normally work in css, and have tried everything I know of to adjust and have suceeded by about 1/2 but am still at a loss as it hangs over to the right causing a glitch in my page. Please help! has anyone ever seen anything like this before? the table can be seen here http://www.balloonlady.net/ thanks in advance! J111 Hello, I'm trying to create a little page that auto updates itself whenever new files are added. The system is layered such that I have the top level index.html file, then in the same directory, I can add new folders that contain other index.html files. What I want to do is have the top level index.html file pick up every sub directory, grab the name from the directory, and then create a link to that directory's index.html file and then display it in the top level index.html file. So what I have right now is this: HTML Code: <body> <a href="myFirstDirectory/index.html">myFirstDirectory.html</a> </body> There is other stuff, but this is the part I need help with. As you can see, I also want the name that is displayed to be the same name as the directory. I do not know how to automate this if I have other folders in there like directory2, directory3, etc. Can anyone show me an example of how to do this or walk me through it? Thanks in advance. I am trying to slowly put together a very simple content management site for a footy club i run, the data is stored in a mysql database and lined to the web page using a dynamic table from within dreamweaver, it displays all the info except one thing it appears in one huge paragraph, take a look at my page Link is at: http://itdesignz.co.uk/Clients/RTFC/cms/home.php The Data in the mysql has the spaces and enters breaks in it, but these are not reflected in my page. I am really new to dreamweaver and am not sure how to overcome this problem, Please help Andy hi again... Nobody replied to my last post, so I've simplified what I am having trouble with. I have a MAIN table (which holds all of the page content) that is set to automatically scale to 100% height of any size browser window. That part works fine. My problem lies with the content in that main table. 1) I want the blue table to stay aligned to the top of the browser window. 2) I want the green table to automatically stretch vertically to fit any size browser window 3) I want the yellow table to stay aligned to the bottom of the browser window. When I resize the browser window, the green table does not expand properly. I've already tried different <div height="100%"> and <table height="100%"> values and none of them work. The smaller I resize the browser window , the more of the green table is cut off from the bottom, and the yellow table does not scale properly. So in short, the blue table stays at the top, the yellow table stays at the bottom, and i want the green table to scale vertically to fill the remaining space in between when the browser window is scaled vertically. Everything works fine when scaled horizontally. Can someone please help me with this!?!?!?!? Again, here is the basic stripped down version of the html code I have. HTML Code: <html> <head> <title>Site Title</title> </head> <style> html, body { margin:0px; height:100%; width: 100%; padding: 0px; } </style> <body> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" height="100%" width="100%"> <tr> <td valign="top"> <!-- Top table - Stays at the top of the browser window --> <div valign=”top”> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%"> <tr> <td width="100%" height="70" bgcolor="#00FFFF"> <p align="center">This table stays aligned to the top of the browser window and stays 70 pixels in height. </td> </tr> </table> </div> <!-- End of top table --> <!--Middle table - Stretches vertically to fill remaining space--> <div valign=”top”> <table border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" width="100%"> <tr> <td width="100%" valign="top" bgcolor="#00FF00"> <p align="center">content in this table will be aligned to the top.<br> I want this table to automatically expand vertically to fill the empty space between the blue header and the yellow footer.</td> </tr> </table> </div> <!-- End of middle table --> <!-- Bottom table - Stays at the bottom of the browser window --> <div height=”100” valign=”bottom”> <table height="100" border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" width="100%"> <tr> <td width="100%" height="100" bgcolor="#FFFF00"> <p align="center">I want this footer to stay aligned to the bottom of the browser window and stays 100 pixels in height</td> </tr> </table> </div> <!-- End of bottom table --> </td> </tr> </table> </body> </html> Hi guys, I'm really having a problem here. I'm creating a new instant messenger program and can't get the tables to stretch properly. Firstoff, when the messenger loads, you will not see the address bar, status bar, menu bar, etc. I want to be able to resize the browser (messenger) window to any size, just like you would with msn for example. I have 3 tables. 1) The first one will contain all the header graphics etc and I want this table to stay aligned to the TOP of the browser window. 2) The middle table is where the chat conversation text will go. The chat text will be aligned to the top of this window. This is the window that I need to stretch to vertically automatically when you resize the browser window. 3) The last table is where the message entry box will be. I want this to stay aligned to the BOTTOM of the browser window. Right now, my MAIN TABLE which contains all of the messenger content does stretch to fit the screen, but how the heck do I get the three tables inside it to be aligned how i need them??? Here is the basic code that I'm working with: <html> <head> <title>Site Title</title> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body> <table id="fullheight" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%"> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%"> <tr> <td width="100%">Header goes here - Stays aligned to the top of the browser window</td> </tr> <tr> <td width="100%">Middle chat content - automatically stretches vertically when the browser window is resized</td> </tr> <tr> <td width="100%">Message entry box section - stays aligned to the bottom of the browser window</td> </tr> </table> </td> </tr> </table> </body> </html> This is the CSS code that I'm using which makes the MAIN table expand to fit the entire browser window: html, body { margin:0; padding:0; height:100%; border:none } #fullheight{height:100%} Can anyone please help me out? Thanks! can i have fixed layout for only some part of a table? I want the first column of my table to be "auto" and the other columns to be "fixed" llike style='table-layout:fixed;'. How can I achieve this? Thanks! I'm starting a new website on Dreamweaver. Can't remember how I did this the first time: I need some jpg images to go into my images folder. I created a folder for my website on my hard disk (local root folder)...and I defined my site on Dreamweaver, with an image folder....but when I try to add images to the folder, it won't accept them on Dreamweaver. Does anybody know what I'm doing wrong? In the site: www.eldon.com see those little dotted lines in the page? I couldn't figure out how they did this to save my life... Thanks... I have a site and the spry menu bar won't go all the way across the screen. anyone know why? Dear Members, When I type more text, it gets scroll but it disturbs all of my bars which is above. How do I rectify them? Please see the link which is mentioned below http://www.sahiwala.com/christian/index.html Please give me a solution at the best Best Regards I have been following this incomplete tutorial series http://www.youtube.com/user/EdzJohnson and have a finished product of what was done in Photoshop Website Design Tutorial 2. As of right now there is no third tutorial but I would still like continue developing my website. Currently the code represents the lay out of sliced up images for the web banner and some map tags surrounding the locations of where a button would link you to something else. However, I do not know where to place the link tags so the map locations actually link you to something else. does anyone know where to place the link tags? Code: <html> <head> <title>dobbs and bishop cheese de sliced10152010</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <!-- Save for Web Slices (dobbs and bishop cheese de sliced10152010.psd) --> <table id="Table_01" width="1153" height="168" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="11"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_01.gif" width="1152" height="16" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="16" alt=""></td> </tr> <tr> <td rowspan="7"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_02.gif" width="85" height="152" alt=""></td> <td rowspan="6"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_03.jpg" width="148" height="151" alt=""></td> <td colspan="9"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_04.gif" width="919" height="50" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="50" alt=""></td> </tr> <tr> <td colspan="3"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_05.gif" width="260" height="1" alt=""></td> <td rowspan="3"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_06.gif" alt="" width="176" height="54" border="0" usemap="#Map2"></td> <td colspan="5"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_07.gif" width="483" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="1" alt=""></td> </tr> <tr> <td rowspan="5"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_08.gif" width="59" height="101" alt=""></td> <td> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_09.gif" alt="" width="191" height="52" border="0" usemap="#Map"></td> <td rowspan="5"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_10.gif" width="10" height="101" alt=""></td> <td rowspan="5"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_11.gif" width="41" height="101" alt=""></td> <td> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_12.gif" alt="" width="155" height="52" border="0" usemap="#Map3"></td> <td rowspan="5"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_13.gif" width="39" height="101" alt=""></td> <td rowspan="3"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_14.gif" alt="" width="190" height="64" border="0" usemap="#Map4"></td> <td rowspan="5"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_15.gif" width="58" height="101" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="52" alt=""></td> </tr> <tr> <td rowspan="4"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_16.gif" width="191" height="49" alt=""></td> <td rowspan="4"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_17.gif" width="155" height="49" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="1" alt=""></td> </tr> <tr> <td rowspan="3"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_18.gif" width="176" height="48" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="11" alt=""></td> </tr> <tr> <td rowspan="2"> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_19.gif" width="190" height="37" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="36" alt=""></td> </tr> <tr> <td> <img src="images/dobbs-and-bishop-cheese-de-sliced10152010_20.gif" width="148" height="1" alt=""></td> <td> <img src="images/spacer.gif" width="1" height="1" alt=""></td> </tr> </table> <!-- End Save for Web Slices --> <map name="Map"> <area shape="rect" coords="4,8,191,45" a href="C:Users/blood muffin/Desktop/dobbs and bishop website/croppedheaser/www.dobbsandbishop.comcheese.html"> </map> <map name="Map2"> <area shape="rect" coords="13,13,176,47" href="www.dobbsandbishop.comother"> </map> <map name="Map3"> <area shape="rect" coords="5,9,153,48" href="www.dobbsandbishop.comphoto"> </map> <map name="Map4"> <area shape="rect" coords="11,-5,188,55" href="www.dobbsandbishop.comglossary"> </map> </body> </html> can you please give a site or link where can I download dreamweaver? I have heard is good to build web pages and learn html. Thanks! Hello every1, I'm using adobe cs3 now, but i seem to be having a little bit of a problem. When i come to type in the html code: <param name="wmode" value="transparent" /> wmode="transparent" The code does not seem to work now. What is the new code that i will need to enter? Or do you have to do something in flash? Thanks for the info? ok, so since i've switched over to Div i felt like there was no more needs for Dreamweaver anymore. Does anyone feel like this? I mean, maybe i just don't know how to use DIV in Dreamweaver, becuase i've been doing it all by hardcoding by hands. becuase when i try to align a div to the right or left, there is no button in the property that lefts me do it, so i have to get into the code and change it. and when i do use it, seems like the only feature to use is "layers" ( i think this "is" div ). so currently i'm thinking that dreamweaver is built for tables. is this correct? Shoot, now i feel like i've spent so much money and now is barely using the program anymore( execpt for the typing tool tip). When you are using dream weaver for a website, do you have to install it onto the server I was going to use it because I think it's a nice layout for HTML coding. Hi. Can anybody tell me the best way of adding a <div> to loads of pages that I have made without a template. I need to add a <div> to the top of every page I have built on a site (approx 250 pages) Basically I need to add a "back to index" link!!! Leroy OK, i've got a comments box for my website, but I want it to be posistioned to where I want, not just above everything else on the page. Is there anyway to do this, like type co-ordinates or something in code ? Sorry if thishas been asked before Cheers For me doing HTML and CSS only. No PHP no AJAX or anything like that. No Javascripting. I have no experience in that. I have both programs which do you think is better? |