HTML - How To Save Resulting Html Page
Hi
This is my first post. I have created a html page using vbscript. It is basically a timesheet to capture start and stop time of activities throughout a day. I have included drop-down boxes to select the activities and a command button which is used to enter time on clicking it. The file resides on an users machine and after it is opened the user can select the activity and enter the start and stop time. I just need a way to save this resulting HTML page onto some location. Note: The user has no access to applications like Word, Excel, Outlook etc. Thanks Pani Similar TutorialsHi all and thank you to whomever can help me . I am new to this code stuff so thank you for bearing with me. I should add that I hope I am in the right folder.... On my blog http://www.rozpearcy.com I have an opt-in box on the right side. After people put in their information it is supposed to redirect to http://www.rozpearcy.com/thank-you. I have been told by my autoresponder company that it is the script that needs to adjusted. Right now I have an opt in box that I hate, I just want a simple name and email field with a submit button. This is the code they give me so that after someone submits their info they can receive my autoresponder emails: <form action="http://www.getresponse.com/cgi-bin/add.cgi" method="post" accept-charset="UTF-8"><label for="subscriber_name">Name :</label><input id="subscriber_name" name="subscriber_name" type="text" value="" /><br/><label for="subscriber_email">Email :</label><input id="subscriber_email" name="subscriber_email" type="text" value="" /><br/><input type="submit" /><input type="hidden" name="error_url" id="error_url" value=""/> <input type="hidden" name="confirmation_url" id="confirmation_url" value="http://www.rozpearcy.com/thank-you/"/> <input type="hidden" name="campaign_name" id="campaign_name" value="rozpearcy"/><input type="hidden" name="custom_ref" id="custom_ref" value=""/></form><script type="text/javascript">var el=document.getElementById("custom_http_referer");if(el != null){el.value = document.location};</script> The part in red is what I believe to be in question...my hosting company said that instead of it saying confirmation_url it should say redirect...however I don't know how to write it and the hosting company said they couldn't help with scripting issues. My blog is through wordpress if that helps...if you need any other details it would be much appreciated . Dear All, While browsing I encountered with some of html pages which are not saved on PC, How its happening, any example is appreciable... Thanks all ... Hi ya, is there any program that will download a .asp web site convert it to .html and relink? i can't find anything... currently i'm saving each .asp as html in IE as complete web page, i don't mind doing this but how can i automatically change all the links to point to local copy instead of www? and change all folders containing images to only one folder with images? p.s. i can't install IIS (can't find disk) so i can't open .asp files on my home computer XP Pro.. thanks.. Good afternoon, I have a program that I am writing in HTML and Javascript. Here is what I want to do. I have a menu that goes to multiple pages. When I get to a certain page, I want a variable set that when I return to the menu, I can use that variable to display a check mark. I need to keep the functionality simple, so I can't use ASP or write to cookies. I have two ideas on what to do, but none of them worked. 1) To use a .js file. I can get the .js file to hold the variable on just the page that called it, but when I go to another page and access the .js file, I lose the variable. 2) To use frames, where I pass the variable dynamically to one frame and so I can access it later. I don't know what to do. I've tried using a combo of the above ideas, but nothing has worked. Any help would be greatly appreciated. Thanks. Hi guys i just joined and hope to learn a lot from this forum! Ok, My question is if there is a HTML code to save an image as a different image. To help explain better I want to embed an original artwork image on my myspace page. I have seen other artist do this same thing where they have embedded and image onto their page and if someone uses the Right click>Save image as... to try to save that image they get a whole different image than the one they wanted to save. For example: Say you wanted to save this image and after you use the Right click> save image as... and open up the file you just saved You get this Scripts don't work with myspace so i would like to know if there is a HTML code that does this. Thanks for your time <<<Edit>>> Ok heres a better example this users profile has an image of his alias i guess in his "About Me" Section and when you try to save the image you get a 1pixel gif Heres the users page (Google cache) http://64.233.167.104/search?q=cache...lnk&cd=1&gl=us The actual image URL is : http://img71.imageshack.us/img71/880/101copyzd9.png and the 1pixel gif's URL is : http://x.myspace.com/images/clear.gif I would like to know whats the html code for this because when you try to save the imageshack image you end up downloading the 1pixel gif instead Thanks for your time Ok still super new at this HTML thing, but I am going to be using Filezilla to access my friends index.html file for a little eding of the text. My question is can I open the file, edit what I need and save it all within filezilla? Or do I need to drag the index.html file to my desktop, edit, save and the drag it back to filezilla? 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 HI everyone, I am in process of creating a sample page. I need to pass values from one HTML page and i should get those values in other page. For example i have used two sample pages like, sample.html l<html> <head> <title> My first page </title> </head> <body> <a href="sample1.html" id="1001">Welcome to html </a> </body> </html> sample1.html <html> <head> <title> My second page </title> </head> <body> <a href="sample1.html">Sample HTML page values came here</a></body> </html> I have used those two sample pages and i need to get the value of id="1001" in sample 1.html page could anyone help me to solve this problem. Thanks in advance Regards, Martin I believe in thread titles that get to the point. I have a basic page, when the page loads I want people to see the top of the page for a few seconds while a flash starts to load but then I want the page to scroll down a bit so the visitor can see the flash load progress status. I just want code that I can copy into my page. I don't have access to the flash code. Greg (the page under design) www.mytcanada.com/designer.html I have a programmer in the US who starts pages for me and then I much around with them until it's looks like I want. He helps me when I get stuck but he's on holidays. Any help would be great. I am stuck with this stupid code that i have been trying to fix for an hour! Please help. Heres my problem...: I want to embed a webpage within another and scroll it to the bottom of the page automaticly because i want the information at the bottom which is updated frequently. I also dont want a scroll bar, so all that is seen is the table. the website is www.totalfta.com. I want from below the ENTER|EXIT sign to the bottom of the table. I have attached what i have so far. ***I have the embed into another page, and the no scroll bar... i just want to make it auto scroll to the table..**** Thank you..! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-... <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Tester</title> </head> <iframe height="410" width="100%" frameBorder="0" src="http://www.totalfta.com" mce_src="http://www.totalfta.com" scrolling="no" body onLoad="for (i=0;i<window.screen.availHeight;i++) {window.scroll(0,i); }"</iframe> <body> Hey all, me and my friend have a cleaning company and we deciced to make a webpage. It's been a good 6 years since i have worked on a website. My biggest accomplishment so far was getting the contact form to work properly on the site. It does, i feel like i've done alot lol. Anyway, the current design is a rough layout (suggestions are welcome). It still needs a lot of little touches to make it look more "full". My biggest concern now is when your clicking from page to page the table jumps around. In firefox, the Contact Us and Services page are perfect, nice and centered. The image i'm using where the navigation buttons are is in place as well. When you go to the other pages though the table moves a bit and it looks like the image i'm using where the navigation buttons are starts to repeat. In Internet Exploder, everything doesn't look centered. There seems to be more space on the right than on the left, but the image i'm using for the navigation buttons seems to be fine, it's not repeating. I dunno what's causing this. I know different browsers display stuff in different ways but i'm far from having a good understanding as to why (that's why i'm here). I even copied txt from one of the messed up pages and pasted it on one of the pages that is ok and that didn't work. I assume it's a CSS thing. Also, try and avoid saying things like "Table designs are for teh n00bz!11!" or "This is why CSS is better than using a table design!!!". This is how i did it. Im ok with CSS but i don't have a thorough understanding of it to design an entire website using CSS. I'm hoping this is an easy CSS fix, or maybe something else? The website is www.gocleantoday.com. Thanks. Hi, Is there any possible to show a HTML or ASP page inside the table. I have tried with frames but i dont know how to execute exacltly. Thanks Hello Friends, I need a tool which can remove HTML comments from an HTML page. I don't want to create a regular expression to remove HTML comments rather I need a tool which should have command line support also so that it can be integrated with build process. Please advice. Thank you. Hello I have a custom made template which is done using html. I also have phpproxy which uses .php and I would like on my index.html page to call the index.php in the table created for text content. i have tried to use the include comand however it doesnt have any effect. any and all help appreciated. Thank you This is The template This is phproxy How to link one page to another page in HTML? ------------------------------------------------------ Hi, I am new to HTML coding and am not aware of all the options that are available with HTML, my requirement is as below I have a page 1.html on the server to which i don't have the edit access, I have some data which I check on this page at regular intervals of 10 seconds...... Now my problem lies here since this page is not editable i cannot change the refresh settings for 1.HTML My query : Is there an option available wherein I create my own page 2.HTML on my local desktop and write a code in 2.html such that page 1.HTML is refreshed every 10 seconds and obviously 2.html being open all the while.. Any kind of suggestions will be appreciated.... Thanks, Jay Can I put an HTML page within a html page in a table? I have this template that I need to email to people, it will not be on my website. Wow ever I need to change the information in one table every few days. The information is live I think it's called. It's like if I place google adsense in that table and decide to change it to ad-clicks later, I can't send everyone a new template, I need to be able to change just the information within that table. I'm going to go read up on frames, haven't used them in years. Any ideas! ~eDee I have the following code: Code: Protected Sub form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles form1.Load Dim objDB As New clsDB Dim dsrepeater As New DataSet Dim sql As String = [String].Empty If Not Page.IsPostBack Then 'Session.Item("DCNo") = lblNo.Text If (Session.Item("DCNo") <> "") Then Else End If If Request("MenuVisible") = "No" Then pnlSideMenuVisible.Visible = False pnlTopBannerVisible.Visible = False pnlSubBanner.Visible = False ' btnInvoice.Visible = False If Request("Pdf") <> "Yes" Then Dim strScript As String strScript = "<script>" strScript &= " window.print(); " strScript &= "</" + "script>" ClientScript.RegisterClientScriptBlock(Me.GetType, "anything", strScript) End If End If sql = "SELECT Top 93 [content] FROM DC_VendorDetails_Temp " sql &= "WHERE DCID='5AC469B3-D421-4B69-A1D6-E748CEE292EA' Order By LineNum;" objDB.OpenDataSet(dsrepeater, sql) dsrepeater.Tables(0).TableName = "DCAllowance" dsrepeater.DataSetName = "DCAllowance" Dim a As Integer = 0 lbl.Text = "<table width=""80%"">" For a = 0 To dsrepeater.Tables(0).Rows.Count - 1 lbl.Text = lbl.Text & "<tr>" lbl.Text = lbl.Text & "<td style=""font-size: 10px;""><pre>" & dsrepeater.Tables(0).Rows(a).Item("Content").ToString() lbl.Text = lbl.Text & "</pre></td>" lbl.Text = lbl.Text & "</tr>" Next lbl.Text = lbl.Text & "</table>" End If End Sub Protected Sub btnPrint_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnPrint.Click Dim strScript As String strScript = "<script>window.open('" & Session.Item("FormName") & "?id=" & Session.Item("DCID") & "&ArhieveList=" & Session.Item("SelectedMenuItem") & "&History=false&MenuVisible=No','cal','width=1200,height=600,left=0,top=0,menubar=yes,scrollbars=yes,resizable=no');" strScript &= "</" + "script>" ClientScript.RegisterClientScriptBlock(Me.GetType, "anything", strScript) ' documentlog.Add(Session.Item("UserID"), Session.Item("UserCompanyID"), Session.Item("DCID"), Session.Item("DCID"), "DC Allowance", "Print") End Sub Basically, when the user click Print button, it will print out the page after select the data from database, all the codes works fine, but i am having the problem to fix all the data into one page,is there anyway for me to fix all the data to one page during printing using vb/net code? HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> div.tableContainer { width: 100%; /* table width will be 99% of this*/ height: 250px; /* must be greater than tbody*/ overflow: auto; margin: 0 auto; } .style1 { color: #FF9966; font-weight: bold; } </style> </head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr > <td width="26%" bgcolor="#00CCFF" rowspan="2"> <div class="tableContainer"> <table cellspacing="0" width="96%" border="1" > <thead> <tr > <td width="38%" align="center">Users</td> </tr> </thead> <tbody> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> <tr> <td align="center"><a href="userRoles">user</a></td> </tr> </tbody> </table> </div> </td> <td width="74%" valign="top"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" height="133" border="1" cellpadding="0" cellspacing="0" bgcolor="#3366CC"> <tr> <td align="center"><span class="style1">Assigned Roles for userX</span></td> </tr> <tr> <td> <div class="tableContainer"> <table cellspacing="0" width="100%" > <thead align="center"> <tr> <td width="18%">Role</td> <td width="38%">Action</td> </tr> </thead> <tbody align="center"> <tr> <td >role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> <tr> <td>role1</td> <td ><a href="revoke">revoke</a></td> </tr> </tbody> </table> </div> </td> </tr> </table></td> </tr> <tr> <td><table width="100%" height="133" border="1" cellpadding="0" cellspacing="0" bgcolor="#FFFF99"> <tr> <td align="center"><span class="style1">Not Assigned Roles</span></td> </tr> <tr> <td> <div class="tableContainer"> <table cellspacing="0" width="100%" > <thead align="center"> <tr> <td width="18%">Role</td> <td width="38%">Action</td> </tr> </thead> <tbody align="center"> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> <tr> <td>role1</td> <td><a href="add">add</a></td> </tr> </tbody> </table> </div> </td> </tr> </table></td> </tr> </table> </body> </html> |