HTML - Is It Possible To Carry Variables To Next Page Through Html?
Hey guys. Thanks in advance for help on this. I am simply (what I think should be simple) trying to carry over answers submitted by a user from one page to the other.
For example, using the scripting below on my homepage, truquill.com a user would enter 'Tom Smith'. How do I carry over that information over to a whole new page - truquill.com/tenant through html? HTML Code: <form name="input" action="http://www.truquill.com/tenant.html" method="get"> First name: <input type="text" name="firstname"><br> Last name: <input type="text" name="lastname"><br> <input type="submit" value="Submit"> </form> I have looked at server sider related stuff but that was way over my head. Was hoping there might be a solution in html? Thoughts? Thanks! Similar TutorialsHi, 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 I'd like to have a html file where i can pass over the variables from another html file i.e. title = "Image 01" Image = image.jpg description = "image 01 description test" then with a link open the html file with this variables. 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 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 No. I think I got misunderstood. in my Page1.html I have this: <a href="Page2.html?ProductID='1234'>Page 2</a> So, this would open my Page2 with variable ProductID=1234. When it opens, how could my VBScript in there pick up the received variables? 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> 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 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. 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. 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 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? ------------------------------------------------------ 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? Hello everyone. I am VERY interested in creating a site using only html, and slowly adding more things once I master html. I was wondering though, does This Page only use html? When I view the source it does look like it. Although, I think the registering and stuff would use PHP possibly? I want to know if the page (minus the log in stuff) uses only html? And if so, how hard would it be to create a page like this? Thanks. 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> I have to develop a page which have same frame and different content. Example http://www.dcu.org My page should have 3 columns where as DCU have 2. The content should look same across all browsers, The page may be used for 10inches to 30inches screens. What is the strategy to develop such page. The page must occupy 100% of screen ad should not have scrolebars. What is the strategy to display the content? I am using Tables but not sure how to make the content adjust according the screen. I am looking to develop a template and can be used to all the content. Please help me figure out the strategy. Regards, Swaroop Kunduru. I want to create html page which is seo friendly means content first appear then links and then images. This sequence for robot but for user normal html page. Is it possible to create like this type of HTML page? Im in the middle of creating a forum which has an "front page". I just cant get it to look right, and was wondering if anyone here can see where i am going wrong? http://newcarnews.slarti3.myfreeforum.org/index.html The image below is how i want it to look. The code i have for the index.html page is Code: <link rel="stylesheet" href="./styles/newcarnews.myfreeforum.org1/theme/stylesheet.css" type="text/css" /> <script type="text/javascript"> <div id="f_11"> <script type="text/javascript"> <!-- tmp = 'f_11'; if(GetCookie(tmp) == '2') { ShowHide('f_11', 'f_11_h', 'f_11'); } //--> </script> <div><div class="c-h-l"><div class="c-h-r"><div class="c-h-c"><img style="padding-top:0px;padding-right:8px;float:left;cursor:pointer;" src="" onclick="javascript:ShowHide('f_11','f_11_h','f_11');" alt="" /><div class="c-h-title"><h4><a class="c-h-link" href="./viewforum.php?f=11">New Car News</a></h4></div></div></div></div> <table class="tablebg" cellpadding="0" cellspacing="0" width="100%"> <tr> <th width="50" cellpadding="0" align= "left" valign="top"> News </th> </tr> <script language="JavaScript" src="http://feeds.theblogresource.com/feed2js.php?src=http%3A%2F%2Frss.feedsportal.com%2Ffeed%2Fnewcarnet%2Fnews&chan=y&num=3&targ=y&html=a" type="text/javascript"></script> <noscript> <a href="http://feeds.theblogresource.com/feed2js.php?src=http%3A%2F%2Frss.feedsportal.com%2Ffeed%2Fnewcarnet%2Fnews&chan=y&num=3&targ=y&html=y">View RSS feed</a> </noscript> <tr> I have copied bits of the code from various places on my forum but i cant seem to get it right. Any help? Thanks Jake |