HTML - How To Code A Better Html Page To Display System Info
Hello,
I currently run a shell script that generates a web page. I have never been happy with the layout and feel I could make it better by instead of having to parse each command into html to use text files. I have put some example code on pastebin and hoped someone could help me in getting the basics working, I know little about iframes and java. I would really love to have the items on the left to be clicked on so they expand and allow me to choose a more granular menu system that allows the items clicked to open in the right hand iframe, a bit like the IBM / HP ilo screens. I have no preference into the code type etc as long as it would be easy to generate the code for ie the menus. css would proved an added benefit as well. current page New look page Thanks Similar TutorialsHopefully I can keep this from getting long winded. I would like to create a simple website that just about anyone could maintain. Say for example, the Contact Info page has a phone number on it that has changed, instead of the person who maintains the site needing to know and understand html programming, they can simply open a txt file with the contact info in it, change it and save it. Then the next time some loads the html page it has the updated info on the html page. The important thing to me would be that the imported text from the txt file, could be formatted once on the html page. Thanks, for any help with this. Hi! I would like to know if it's possible to link informations located in an html file into another html that would be displayed on a web page. I'll explain my situation: I'm managing a simulated hockey league and the simulator I'm using generates after each simulation many html files that contains infos about standings, injurues, etc... What I would like to do is to, rather than putting buttons on my main websites to access the plain black&white html file, take the info inside these html and put them directly on a better web site interface, all this automatically. In a way that I only have to code once my main webpage so it can read my generated html files (that always keep the same file name) and updates my nicely designed web page each time I put newer htmls on my web ftp. Is it possible? Thank you very much for your help. I'm new to HTML and I need help with posting up c++ code. I have very bland formatting for code in my blog. I need to be able to post up c++ code like in this guy's Blog Or like this guys site Notice how the c++ code is formatted nicely to show line numbers and colors. What tags or techniques does one use to get this kind of formatting? how do I display html code as text? The page is an html document, I want users to be able to highlight and copy a piece of html code. I have tried putting it in a text box in a form, but I can't seem to do it without the code being read as REAL html. Thanks in advance Hugeknot display html code without creating an actual link? I am writing an instruction manual an am having problems showing the html code without it becoming a link. i'm a bit confused.. it always worked, that i uplaoded the hml code as a new web page in the ftp web tool... (without even name it to .html at the end of the site name...) How can I make that the webpage which i uploaded is diplayed as the actual webpage (and not shown the html code instead) WITHOUT have to add .html to the url??? Example: url.com/contact --> shows only html code url.com/contact.html --> shows correct site but if u access any site... you usually never have to add .html to the url: e.g.: www.mtv.com/music PLEASE, thanks Good day I need some help. I created a website in adobe dreamworks a while ago. I have added another link to a html file hosted on my website, but it doesn't work in IE and works fine in Chrome and Firefox. the link works, but not the whole page loads any suggestions? Hello Everyone, I've a gif file that I want to display on my jsp page. The file is located on the server If I give something like <img src="\\filer\home\mine\myimage.gif" alt="not found" title="Image"> then "not found" is shown on jsp page I even moved the image to my c: dir and tried this <img src="C:\myimage.gif" alt="not found" title="Image"> but that didn't worked either. Can someone please tell me where am I supposed to put the image file. Thanks. Hi, I have a jsp page, in which i have a search button. When i click on the search button, it should display the results in a table format in the same jsp page. I am unable to find a solutuion for this. If Anybody knows, please help me. Thanks in Advance Regards Venu Hi Im new to the forum, it looks like a great place, would be very grateful for your help I am looking for some code to make up a contact system. When a user clicks on a link or button in my website it forwards them to my contact form and in a field in the contact form it pastes either the items title they were enquiring about or the page they had been enquiring on at the time I found a javascript function that may be able to do it called dopostback but after reading some forums I am concerned it will hinder web crawlers from crawling my site Is there anything equivalent in HTML or other language that could achieve it? Regards Jamie Hi All, Please Heeeeeeeeeeeeeeeeeeeeeeeeeeeellllllppp!!!!! Thanks in advanced!!! Have a few mistakes and / or something is missing below: Code: <html> <head>PLEASE FIND THE MISTAKE(S) or SOMETHING MISSING /</head> <script type="text/javascript"> window.onload=function() { document.getElementById('exampleletterList').onchange=function() { window.location=('http://www.example.org/'+this.value+''); } } </script> <body> <select id="exampleletterList"> <a target=\"_blank\" href=\"file.doc\" title=\"\">John Doe<br> XXXXXXXXXXX</br></a>. <option value=""><b> PLEASE SELECT THE FOLLOWING: <b/> </option><!--this option takes you to --> <body mar="0" marginheight="0" bgcolor="rgb(38,38,38)"> "BACKGROUND BLUE GREEN MARMOL " <embed width="100%" height="100%" name="plugin" src="http://www.example.pdf" type="application/pdf"> <br> <CENTER> <option value=index.htm>Option #1</option><!--this option takes you to --> <option value="example7">Option #2</option><!--this option takes you to --> <option value="example3">Option #3 </option><!--this option takes you to --> <option value="example4"><br>Option #4</br></option><!--this option takes you to --> <option value="example5">Option #5</option><!--this option takes you to --> <option value="example2">Option #6</option><!--this option takes you to --> <option value="blog/wp-login.php"><!--this option takes you to blog--> </select> </CENTER> </br> </body> <html xmlns:v="urn:schemas-microsoft-com:vml" xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz </body> </head> </html> I'd like to display code in my page such as java/c#/html etc. like PHP Code: import java.applet.Applet; import java.awt.Graphics; public class HelloWorld extends Applet { public void paint(Graphics g) { g.drawString("Hello world!", 50, 25); } } In other words I need the php tag functionality. How to? Thanks I'm currently updating some online forms using HTML. When the page is refreshed (either manually, or by pressing a button) the page redirects to the top. Is there any code that will refresh the page to the last position before the refresh. Ex: If you are half way down the page, and click an "Add" button, the page will refresh back to that same spot. Any help would be great. Thanks, Sarah I can't seem to figure out if there is a name for what I am wanting to do. I am wanting to create a website that has a menu bar on every page. The home page will have a menu bar. On the menu bar will be links such as "Home" and "About Us". Once you click on each link, it directs you to a new page which again has the same menu bar on top of the page. If I decide to Add, Modify, or Delete anything in the menu bar, I would have to go to every page that I have created and change the code from there on, creating a tedious task. Here is what my idea consists of: On a central "hub" document on the server would be a document with the following code: <Link Name= John> <a href="home.htm">HOME</a> | <a href="aboutus.htm">ABOUT US</a> | <a href="mediation.htm">MEDIATION</a> | </Link> On a completly separate page, I would write the following anywhere in the code: <Reference Link Name = John> And it would copy the code Name = John which is saved on another document and transfer it over to this new page. I would want this so I can write <Reference Link Name = John> so if I wanted to Add, Modify, or Delete anything in the menu bar, I could simply do it from one central place, rather than doing it 40 different times on 40 different pages I have created. I hope I drew out a picture well enough for what I am trying to accomplish! I made an html web page using mcrosoft word but i can't seem to figure out why it only shows up as code when i preview it or upload it to the web. Is there a small step im missing? I saved the document as .htm and as .txt and i tried to add doctype but i dont know what else i need to do Thanks for the help in advance Can't figure out why the page is displaying only HTML code. My assumption is: I indicated a wrong path to the image hosted with 000webhost.com. Otherwise I have no clue why the code doesn't display online. Here is the code. Can anybody spot the problem? Thanks in advance! =========================================== HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv = "content-type" content = "text/html; charset = utf-8"/> <title>Russkaya Zvezda</title> </head> <body> <table width='100%'> <tr> <td align ='center'> <img src = "http://www.russkayazvezda.com/GRAY_VK_RZ_MY_RABOTAEM_raster.jpg" width = "100%" alt = "RUSSKAYA ZVEZDA"/> </td> </tr> <tr> <td> <p style = "text-align: center;"> Copyright © 2000 - 2012 by Russkaya Zvezda Inc. </p> </td> </tr> </table> </body> </html> Hello gurus, usually i write code to bypass the login and passwd page for science journals as in our organisation we want to give the access to journals for all users ith out they knowing the passwd.. I copy the page source of the login page of journal and change login and passwd type to hidden and enter the value..in the form.. But this particular journal is giving this following probs.. <INPUT TYPE="hidden" NAME="signin" VALUE="Sign In" TABINDEX="3"> if I change hidden to submit it is working..but i donot want the user to click sigin also..it should directly login to the journal.. Pls help tosolve this problem.. or is there any other way to bypass the login page and enter in to a site if i know the login and passwd.. thanks Hello, I want to create this website, using the mailto tag, the user will input the info in the text boxes then click on the submit button and mail the information to what ever email I specify in the mailto tag(is that correct, can malto do that?). But I want to take it a step further and the email in the textbox the user filled out it would be sent email about more information on what they came to the website for, can this be done in html? if so how, hopefully this made sense to everyone. Thank you Below is the current code I have. I havent coded in html for 6 years. Can someone either add or show me how to add a submit button that emails the info on that page to my email. I have been asked by a friend to build him a website, and right now I am a total faliure. I also need a reset button on the site that clears the info in the boxes. If someone could either just do it for me, or show me how i'd really apreciate it. Thanks everyone. Mike <html> <head> <title>Player Signup</title> <script> window.windowname= "Add Form Page" orpage= window.windowname function startForm(form) { nname= form.fname.value; nname= ((nname== "") ? nname= "" : nname= " NAME=" + nname); ntarget= form.ftarget.value; ntarget= ((ntarget== "") ? ntarget= "" : ntarget= " TARGET=" + ntarget); nenctype= form.fenctype.value; nenctype= ((nenctype== "") ? nenctype= "" : nenctype= " ENCTYPE=" + nenctype); whtml= form.HTML.value; mymethods= form.chosenmethod.selectedIndex; mymethodsarray= new Array(); mymethodsarray[0] = ""; mymethodsarray[1] = "GET"; mymethodsarray[2] = "POST"; mymethod= mymethodsarray[mymethods]; mymethod= ((mymethod== "") ? mymethod= "" : mymethod= " METHOD=" + mymethod); myaction= form.chosenaction.value; myaction= ((myaction== "") ? myaction= "" : myaction= " METHOD=\"" + myaction + "\""); nhtml= whtml + "\r <FORM" + nname + myaction + mymethod + ntarget + nenctype + ">"; form.HTML.value = nhtml; } function endForm(form) { whtml= form.HTML.value; nhtml= whtml + "\r </FORM>"; form.HTML.value = nhtml; } function newItem(txtarea, form) { addbre= (form.addbr.checked== true) ? addbre=form.addbr.value : addbre= ""; crows= form.chooserows.value; ccols= form.choosecols.value; crows= ((crows== "") ? crows= "" : crows= " ROWS=" + crows); ccols= ((ccols== "") ? ccols= "" : ccols= " COLS=" + ccols); ntoit= form.choosevalue.value; cname= form.choosename.value; cname= ((cname== "") ? cname= "" : cname= " NAME=\"" + cname + "\""); ctype= form.choosetype.selectedIndex; ctypearray= new Array(); ctypearray[0] = "text"; ctypearray[1] = "radio"; ctypearray[2] = "checkbox"; ctypearray[3] = "button"; ctypearray[4] = "hidden"; ctypearray[5] = "reset"; ctypearray[6] = "submit"; ctypearray[7] = "password"; ntoit= ((0 < ctype) ? ntoit= ntoit : ntoit= ""); ntoit= ((ctype > 2) ? ntoit= "" : ntoit= ntoit); check= form.checks.value checktf= form.checks.checked check= ((ctype== 2) | (ctype== 1) ? check= check : check= "") check= (checktf== true) ? check= check : check= ""; cvalue= form.choosevalue.value; cvalue= ((cvalue== "") ? cvalue= "" : cvalue= " VALUE=\"" + cvalue + "\""); csize= form.choosesize.value; csize= ((ctype== 7) | (ctype== 0) ? csize= csize : csize= "") csize= ((csize== "") ? csize= "" : csize= " SIZE=" + csize); clength= form.chooselength.value; clength= ((clength== "") ? clength= "" : clength= " MAXLENGTH=" + clength); clength= ((ctype > 0) ? clength="" : clength= clength); whtml= form.HTML.value; ctype= " TYPE=\"" + ctypearray[ctype] + "\""; nhtml= whtml + "\r <INPUT" + check + cname + ctype + cvalue + csize + clength + ">" + ntoit + addbre; txtdsply= "Default Text" nwhtml= whtml + "\r <TEXTAREA" + cname + crows + ccols + ">" + txtdsply + "</TEXTAREA>" + addbre; nhtml= ((txtarea== 8) ? nhtml= nwhtml : nhtml= nhtml); form.HTML.value = nhtml; } function genNewPage(form) { header= "<HTML>\r<HEAD>\r<TITLE>Generated Form</TITLE>\r</HEAD>\r\r<BODY BGCOLOR=\"white\">"; newhtml= form.HTML.value; footer= "</BODY>\r</HTML>"; newpage= header + "\r\r" + newhtml + "\r\r" + footer; preWin= open("", "Preview", "width=400,height=400,status=no,toolbar=no,menubar=no"); preWin.document.open(); preWin.document.write(newpage); preWin.document.close(); } </script> <base target="leftframe"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css"> <!-- body { background-image: url(backgroundice.jpg); } --> </style></head> <body BGCOLOR="#ffffff" link="#CC0033" vlink="#333399" alink="#FF0000" <!--content start--> <p align="center"><a href="home.html" ><img src="home.jpg" width="182" height="56" /></a><a href="dates.html"><img src="dates.jpg" width="182" height="56" /></a><a href="registration.html"><img src="register.jpg" width="182" height="56" /></a><a href="about.html"><img src="aboutus.jpg" width="182" height="56" /></a><a href="yourprogram.html"/a><img src="camps.jpg" width="182" height="56" /></a></p> <table WIDTH="96%" BORDER="0" CELLSPACING="5" CELLPADDING="5"> <tr> <td WIDTH="100%"><form NAME="addform"> <p>Player Information</p> <p>Name: <input NAME="pname" TYPE="text" size="20"><br> Age: <input TYPE="text" NAME="age" size="20"><br> Last Team: <input TYPE="text" NAME="lteam" size="20"> <br> Level Played At (A1,A2,A3,C): <input TYPE="text" NAME="level" size="20"> <br> Stats: <input type = "text" NAME="stats" size="20"><br> Email: <input TYPE="text" NAME="email" size="20"> <BR> Home Phone: <input TYPE="text" NAME="homephone" size="20"> <BR> Cell Phone: <input TYPE="text" NAME="cellphone" size="20"> <BR> City of residence: <input TYPE="text" NAME="city" size="20"> <BR> Home orginization: <input TYPE="text" NAME="orginization" size="20"> <BR> What are your goals for the Upcoming Hockey Season? <p> <textarea NAME="sgoals" ROWS="10" COLS="45"></textarea> <p>Who Refered you to us? <input TYPE="text" NAME="referl" size="20"> <p>What are you hockey aspirations for the future? <p> <textarea NAME="hgoals" ROWS="10" COLS="45"></textarea> <p>How Will you be paying? (Money order, Check preferred, Paypal also Avalible. Do NOT mail an envelope full of cash!)</p> <p> <input TYPE="text" NAME="paytype" size="20"> </p> <p> </p> <p> </form> </td> </tr> </table> <!--content stop--> </body> </html> Hi, Background: I have a small page that need to be embeded into a bounch of other html pages. Help needed: 1. Please provide the html chunk that I can use to embed the small page in to other html pages. 2. Is there a way of not using iframe? Can I use <Object> or <embed>? How? --------------------------- mba colleges in london hospitality management diploma |