HTML - Interactive Databases/tables
Hi, I'm new around here and kinda new to HTML. I need help with a database. I own a virtual airline at www.flyzapvirtual.com and am hoping to update my schedule. I want to be able to let viewers click on the flight number so that a small window will popup giving the full details of the flight. I know how to make a popup where a warning message comes up, but that's no use. I also know a bit about the 'onclick=' method, but I want to be able to do it so that the text that I want to come up will actually be in the code. And even better, I'd like them to be able to search for flights, so that they sort. Example: If I was to select a departure destination, then the arrival destination list would be shortened to only the places that we fly to from the selected departure destination. Get it? Don't worry if you don't, that's not too important.
I'd be very grateful to anyone who can help me. Cheers. Similar TutorialsHi all. FYI, I don't know how to do this and not sure if this is the best place to post. I'd like to make a small map that's 1000 x 1000 in boxes. The idea is that the user could, with a mouse, select a block within this map as long as it's within the specified perimeter. How should I even get started? I volunteer to maintain a page for a non-profit: http://www.girlsincsoaz.org This was a request "We have a fund raiser that all the Board will be working on. We'll be mailing to local individuals and my intent for a private page was a place that any Board member could go to log those names mailed to. I didn't want duplication of mailings and thought that each person could input who they sent to." I have created the private page, my hosting account--one world hosting-but they don't seem to have any tools to do the active page Any ideas TIA Hey, this is my first post here in a while and I'm a little rusty on my HTML and CSS, so... I wanted to make a website showcasing a book I am writing. I want it to be interactive, with music playing on different pages and sounds that can plat when certain words are hovered over. I don't want to use flash and want to use minimal Javascript/PHP (none if possible) I won't mind using a service like Scribd, if it allows that kind of customization... I don't need anything fancy, like page turning animations, just the text to appear when the next page is clicked (though it would be nice to keep the user on the same page and the page turn just loads new text...) Is this possible? Are there resources you can point me to? Are there any services that already offer this? Thanks in advance! hi. this is for my degree so all help greatly appreciated. i'm creating a website that has been designed by somebody else. the navigation is the part i'm needing help on. the front page will be a galaxy of stars, each star being a link. the brightest stars will be the most popular links and when you hover over a star information will pop up on whats behind that link and also nearby stars will enlarge and show a little information of whats behind them. sounds like i'm in for some hard work but i dont really know where to start. what do you think i should use? thanks for your time. sam I'm about to embark on something I realise will probably take a while to get right. Before I begin, it'd be good to pool opinions on the best approach. I've already done some preliminary research and to be honest at the moment it's all beyond my understanding! The goal is to create a custom player of audio and video files with custom GUI, as part of a webpage. I don't want to use Quicktime because, AFAIK, it would prohibit a custom "look". It may be necessary to create four separate players as the following situations need to be accommodated: 1) playing a single audio file 2) playing an "album" of audio files, in sequence 3) playing a single video file 4) playing an "album" of video files, in sequence The player GUI would feature a "screen". When playing a video, the screen would show the video. When playing an audio file, there would be a still image associated with each song which would occupy the screen. Then below the screen would be the usual apparatus for people to control playback: a trackbar, time counter, buttons for "play", "pause" and "stop". There would also be "next" and "previous" buttons for use when playing an album - they would be disabled when playing a single audio or video. I have a few questions... 1. Apart from Flash, I don't want my visitors to need to install any software before they can use the player. I presume this depends solely on the media formats involved? 2. What video format would you recommend? What about FLV? 3. What audio format would you recommend? Ideally I'd like to use OGG but if that would introduce complications then I'll use something else. 4. There's always going to be a download button on the player so that the visitor can download the file being played. Now I've noticed on some sites that if a video is loading (before being played), and you attempt to directly download it, sometimes the download will "fail" at the point at which the loading was halted. So if the video has only loaded 40% and you start downloading it directly, the resulting file on your harddrive will only be 40% of what it should be. It's probably due to the streamed video being downloaded to an anonymous temp folder and being left in an incomplete state which the OS then thinks is a completed download. Can anything be done to stop this happening? Perhaps hide the "download" button until the file has finished loading? Below is a mock-up of how I'd like the player to look, so you know what I'm going for. The purple background is supposed to resemble an HTML page. I look forward to reading people's views. Thanks for reading this long post, Seymour. Hi everyone! With HTML: How do I create an entry in a mysql database? How do I delete one? How do I delete one at a specified time? How do I take a value from a column in an entry and display it in a textbox? Thanks! Hi Normally, when you have more than one table in your code, the tables will be placed one under each other. Example: <table> ... </table> <table> ... </table> When you want the tables to be placed next to each other, you need to set the align attribute. Example: <table align="left"> ... </table> <table align="left"> ... </table> BUT: When you do it like in the 2nd example (tables next to each other), in Firefox, the tables will wrap to a new line if there is no more space. In Internet Explorer, the tables will not wrap. The result is a horizontal scrollbar or "hidden tables". Why this? How can I make the tables wrap also in Internet Explorer as it does in Firefox? Is it possible with a special CSS definition or with a special DIV/SPAN tag? Thanks for your help praiser Hey everyone, I'm new to these boards. Somewhat a newbie at web design, but I know basics. I'm looking to put 2 tables adjacent to each other inside another table. My problem is I can't get the tables to line up the way I want them to. I'll post a picture of how I want it to look, how it looks now and my code. How I want it to look: How it looks now: I want the tables to line up at the top and re-size according to each other so they're always aligned at the top. Code: coming in next 2 posts EDIT: Title is supposed to be "Tables or CSS" I know, I know - HTML Tables are the spawn of Satan - however, I have a tabbed content box made from html/css/js - when you click on a tab, the content (underneath) changes accordingly. My questions is, I will be having a static list, with the corresponding answers (to the data in the list) targetting from an Excel Driven database - don't ask me why, just what my boss wants... Here is what I have so far: Quote: <TABLE CELLPADDING="2" CELLSPACING="2"> <TR><TD>Sponsor ID:</TD><TD>FILLER TEXT</TD></TR> <TR><TD>Client Number:</TD><TD>FILLER TEXT</TD></TR> <TR><TD>Sponsor Name:</TD><TD>FILLER TEXT</TD></TR> <TR><TD>Brand Name:</TD><TD>FILLER TEXT</TD></TR> <TR><TD>Status:</TD><TD>FILLER TEXT</TD></TR> <TR><TD>Support Tier:</TD><TD>FILLER TEXT</TD></TR> <TR><TD>Sponsor Phone:</TD><TD>FILLER TEXT</TD></TR> <TR><TD>Support Phone Number:</TD><TD>FILLER TEXT</TD></TR> <TR><TD>Support Email Address:</TD><TD>FILLER TEXT</TD></TR> <TR><TD>Parent Name:</TD><TD>FILLER TEXT</TD></TR> <TR><TD>Misdirect Scripting:</TD><TD>FILLER TEXT</TD></TR> </TABLE> He wants the content separated in a "ruled" look, like Excel - however, I didn't know if it would be cool to just use HTML - or if there is another way to do this - It's not going out on the internet (it's going on our Intranet via SharePoint) so I'm not worried about conjunctions and standards (not using HTML tables), etc. Just need to know if there is another way to separate the info with a solid black line - horizontal/vertical between the cells - that looks better than an HTML table border. Thanks! Ok I'm trying to get a page to look like this I did it with images, so theres no text. So there's 4 images basically I tried to do a table like this Quote: <table border="0"> <tr> <td><a href="http://milkshakekicks.com/kicks/index.php?main_page=product_info&cPath=1&products_id=10&zenid=c1961df3cad20f9854cb47801f 85ee4d"><img src="http://milkshakekicks.com/blog/wp-content/uploads/2009/01/picture-1.png" alt="" /></a></td> <td><img src="http://milkshakekicks.com/blog/wp-content/uploads/2009/01/picture-2.png" alt="" />, <img src="http://milkshakekicks.com/blog/wp-content/uploads/2009/01/picture-3.png" alt="" />, <a href="http://milkshakekicks.com/kicks/index.php?main_page=product_info&cPath=1&products_id=10 amp;zenid=c1961df3cad20f9854cb47801f85ee4d"><img style="border: 1px solid grey;" src="http://milkshakekicks.com/blog/wp-content/uploads/2009/01/battle_homepage.png" alt="" width="209" height="179" /></a></td> </tr> </table> but got this Should I not do this with tables? When i make a table, it will goto the next line, for example if i want an image on the left of my table, the image will go first, and thenthe table will automatically be displayed on the next line. Is there any way i can fix this is CSS, HTML, Javascript, anything? If you need more info on my problem i could take a print screenn... Cheers! Here's an example - I want the images to be at either side of the table, so theres no space... I have a table I created and I want to have a page that allows you to fill in text boxes to answer questions and then when submitted it will put the answers in the correct cell of the table. I have no idea how to do this and am limited in my html skill. If some one could point me in the right direction I would appreciate it greatly. http://www.roleplayingmaps.net/sheet.htm This is the table I have already created. Thanks for taking the time to read. Hi, I have some tables on a page and I am really really bad at them. I need help with this one page. What I am trying to do is to get the two tables to the right scooted over a little more to the center and wider. Im just trying to get it to look nice and centered. If anyone can help with this I would really appreciate it. Thanks Can someone give me a tutorial on tables please? I would very much apprieciate it. I don't really know anything on tables so please start basic. I hope to see a response soon. hey everyone, pretty simple question i am supposing, how do i stop the text in my tables from wrapping to fill the space inside the cell. The text in each cell flows over into a second line, and I end up getting writing that has huge spaces between each word, to try and fill out the line. I still want two lines, just normal sized spaces between words if that makes sense... Hello everyone. Im making a website for my company and i need a little help. I made a table and tried to put a fixed width on it so then I could put text in it. Problem is, -when i type with no spaces ex aaaaaaaaaaaaa the text just keeps going forever instead of dropping down to the next line Also Ive been having some other problems -if I zoom in to like 200% on IE my text doesnt stay centerd with the page, it stays centered with the screen -And if I zoom in really far in Fire Fox my background stays centered with the screen instead of the page I made the page using photoshop and exported as html to get me started so ill post the whole script. Its not a whole lot. --------------------------- <html> <head> <title>K2 Layout 3-0</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> body { background-image: url(images/bg2.jpg); background-repeat: repeat-y; background-position: center; background-color: #0d141e; } body,td,th { color: #FFF; } </style> </head> <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <!-- Save for Web Slices (K2 Layout 3-0.psd) --> <center> <table id="Table_01" width="1024" height="225" border="0" cellpadding="0" cellspacing="0"> <tr> <td rowspan="4"> <img src="images/K2-Layout-3-0_01.gif" width="93" height="225" alt=""></td> <td colspan="6"> <img src="images/K2-Layout-3-0_02.gif" width="840" height="166" alt=""></td> <td rowspan="4"> <img src="images/K2-Layout-3-0_03.gif" width="91" height="225" alt=""></td> </tr> <tr> <td colspan="5"> <img src="images/K2-Layout-3-0_04.gif" width="714" height="1" alt=""></td> <td rowspan="2"> <img src="images/K2-Layout-3-0_05.gif" width="126" height="43" alt=""></td> </tr> <tr> <td> <img src="images/K2-Layout-3-0_06.gif" width="71" height="42" alt=""></td> <td> <img src="images/K2-Layout-3-0_07.gif" width="211" height="42" alt=""></td> <td> <img src="images/K2-Layout-3-0_08.gif" width="141" height="42" alt=""></td> <td> <img src="images/K2-Layout-3-0_09.gif" width="163" height="42" alt=""></td> <td> <img src="images/K2-Layout-3-0_10.gif" width="128" height="42" alt=""></td> </tr> <tr> <td colspan="6"> <img src="images/K2-Layout-3-0_11.gif" width="840" height="16" alt=""></td> </tr> </table> <table id="Table_02" fixed width="830" border="0" cellpadding="0" cellspacing="0"><tr><td> Text Here Text Here Text Here Text Here </td></tr> </table> </center> <!-- End Save for Web Slices --> </body> </html> -------------------- Any help at all appreciated Thanks Ok so you can see from my attachment what I want. I want the bottom row to be all-in-one, so I can centre (center..) the text. But not sure how to do this. Code: <tr> <td>username</td> <td>password</td> </tr> <tr> <td>forms....</td> <td>..........</td> </tr> <tr> ......how to get it to display all of this one? </tr> <td> I have my table all finished and everything.. it looks nice, except the fact that my words.. some of them are cut off. anyone know how to fix this? I have tried making my table smaller in width than my "div", but that still doesn't work. If you could please help me I would greatly appreciate it, and I would like to thank you in advance. Code: <table width="400" border="2" class="pay" id="pay"> <col class="itemsDesc" /> <colgroup span="2" class="firstCol" /> <colgroup span="1" class="feeCol" /> <thead> <tr> <th>Lessons</th> <th>Per Term</th> <th>Per Year</th> </tr> </thead> <tbody> <td>30 minutes</td> <td>$600</td> <td>$1100</td> </tr> <tr> <td>45 minutes</td> <td>$850</td> <td>$1600</td> </tr> <tr> <td>60 minutes</td> <td>$1100</td> <td>$2100</td> </tr> </tbody> </table> and my css: Code: * {margin: 0px; padding: 0px} body {font-size: 14px; font-family: 'Lucida Grande', Verdana, sans-serif} table.pay {table-width: 400px; border: 10 px outset rgb(68, 76, 169)} table.pay thead {background-color: ivory; border: 1px} table.pay col.firstCol {background-color: rgb(255, 255, 192)} table.pay col.feeCol {background-color: rgb(232,232,255)} table.itemsDims {width:12%;} im supposed to create a heading row group, a body row group, and column groups containing one column element belonging to the firstCol class, and another column element belonging to the feeColumns class which should span two columns in the web table. was just wondering where im going wrong here since when i do my css.. the background colors or no changes seem to be applied to the columns or the headers (thead) Any idea on how I can get a table with rounded edges? |