HTML - Html Page Numbers
hi i want to make some thing like this
for example i have 100 pages how can i make this work i want this to happen it shows 9 or 10 numbers per page and after user goes to 9th page it will show more 5 numbers how can i make this any one?? that's how it will goes upto 100 page and i want First page and last page link too anyone can help me give me guide how can i make this???? Similar TutorialsHey, Anybody know how to implement a "page numbers" system like at the bottom of this page. What I want to do is - I have a gallery website with many pages of images, I want a piece of code that automatically generates a few page numbers like how it does at the bottom of this page. Can anybody help? Thanks. I'm developing a website that contains a lot of legal statutes. I'm trying to keep to html lists rather than using tables, but have come unstuck with how to display custom numbers in an ordered list. The lists usually begin with (1), then (a) is the indent, then (i) is the next level. These are easy to handle with <ol type=1>, <ol type=a> and <ol type=i>. The next level has (aa), which I've managed with <li value=27> and so on. However, I'm not certain how to handle the following types: (4A) - in between the number (4) and (5) and random numbers, such as (aE), etc. With regard to numbers like (4A), they need to be in the same bracket and can't be displayed as (4)(A) - which is a different reference in the legislation. Any help in displaying custom numbers (even user defined - e.g. for this particular bullet point display "4A") would be great. Thanks in advance. I made my own local page and it's for a game's stats (Wins:Losses record), on which I have a fields with numbers. What code should I add if I want to make calculations like: Let's I have I have a field for Wins: and a field for Losses:. On another place in the page I have Total Wins, Total Losses, Win % (win:losses ratio). I dont know how to make typeable fields, so I have to type the numbers manually in TXT format, to edit the HTML code. But still, even if I have to type the numbers for fields Wins: and Losses: I want the Total fields to automatically calculate so: Total Wins = Wins (whatever number I type in Wins it appears in Total Wins) Total Losses = Losses (whatever number I type in Losses it appears in Total Losses) Win% = Total Wins/((Total wins + Total losses)/100)) Say I type 12 wins and 5 losses in the first fields. Thus, when opening the page, the same numbers should show for Total Wins = 12 and Total Losses = 5 without me having to type them in TXT format for the 'Total' fields. Win% would be 12/((12+5)/100)) = 12/0.17 =~ 70% In other words, to clarify in HTML, there where Total Wins and Total Losses have some numbers to be typed, instead of me writing manually the numbers e.g 12 and 5, can I instead write these formulas and how should they look in 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 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. 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. 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 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 How to link one page to another page in HTML? ------------------------------------------------------ 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 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> 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. i'm trying to redo my adsense ads on my site (theoprahfanclub.com) so that they blend in with the page more. The ads are showing more yellow than they need to and point out more. Is there a site that'll tell me the colors used on my main page? Or can anyone tell me the html color code for the main background color? thanks.. _____________ Link Building Hey would anyone be able to tell me how i can change the page size on html so that i dont have a scrollbar along the bottom of the page. what coding do i look for? do i need to look on the css or html? Thanks Hi, Please can you tell me how I put the following XML feed Code: http://www.thomsonfly.com/generated/flight-offers.xml into the following HTML web page???? Thanks! Code: <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta http-equiv="Content-Language" content="en-us"> <title>Contact Us</title> </head> <body> <div align="center"> <center> <table border="0" width="1133"> <tr> <td valign="top" width="104"> </td> <td valign="top" width="900"> <p align="left"><span lang="en-gb"> <font size="5" face="Verdana" color="#FF6600"> Book It Yourself</font></span></td> <td width="6"></td> <td width="6"></td> <td width="5"></td> </tr> <tr> <td valign="top" width="104"> <p><span lang="en-gb"><font face="Verdana" size="2"> <a href="http://www.itstravel.co.uk/index.htm">Home</a></font></span></p> <p><span lang="en-gb"><font face="Verdana" size="2"><a href="http://www.itstravel.co.uk/about.htm">About Us</a></font></span></p> <p><span lang="en-gb"><font face="Verdana" size="2"> <a href="http://www.itstravel.co.uk/israelholidays.htm">Israel Holidays</a></font></span></p> <p><span lang="en-gb"><font face="Verdana" size="2"><a href="http://www.itstravel.co.uk/pilgriminfo.htm"> Pilgrim Tours</a></font></span></p> <form name="Menu1"> <p><select name="Link" size="1"> <option selected value="http://www.itstravel.co.uk/index.htm">Book It Yourself</option> <option value="http://www.itstravel.co.uk/bookflight.htm">Flight</option> <option value="http://www.itstravel.co.uk/bookhotel.htm">Hotel</option> <option value="http://www.itstravel.co.uk/carrental.htm" target="_blank">Car Rental</option> <option value="http://www.purpleparking.com/its/"> Airport Car Park</option> <option value="http://www.its.goldcover.net/">Insurance</option> </select> </p> <p> </p> <p> <input type="button" value="Go" onClick="window.location = document.Menu1.Link.options[document.Menu1.Link.options.selectedIndex].value;"> </div> </p> <p><font face="Verdana" size="2"><span lang="en-gb"><a href="http://www.itstravel.co.uk/newsletter.htm">Newsletter</a></span></font></p> <p><span lang="en-gb"><font face="Verdana" size="2"><a href="http://www.itstravel.co.uk/contact.htm"> Contact Us</a></font></span></p> <p><span lang="en-gb"><font face="Verdana" size="2"><a href="http://www.itstravel.co.uk/links.htm">Links</a></font></span><br> <br> <a target="_blank" href="http://www.abta.com"><img src="Images/abta.jpg" alt="abta" width="85" height="40" border="0"></a><br> <a target="_blank" href="http://www.caa.co.uk/default.aspx?catid=27"> <img src="Images/caa.jpg" alt="caa" width="41" height="43" border="0"></a><img src="Images/IATA%20JPEG.jpg" alt="iata" width="56" height="39" border="0"></p> <p></td> <td valign="top" width="900"> <p align="center"> </p> <p align="center"><span lang="en-gb"><font face="Verdana" size="2">Click on any of our partner Flight Operators below and <br> go ahead to book your own flight to anywhere in the world</font></span>!<span lang="en-gb"><font face="Verdana" size="2"> <br> </font></span></p> <p align="center"> <a href="http://www.thomson.co.uk/canberra/click?target=www.thomson.co. uk&source=41&cid=1&sid=publisherpagelocation" target="_blank"> <img src="http://www.lduhtrp.net/image-2227511-10362993" width="468" height="60" alt="Thomson Holidays - Click Here!" border="0"/></a> </p> <p align="center"> <span lang="en-gb"><font face="Verdana" size="2"><br> <a>http://www.thomsonfly.com/generated/flight-offers.xml</a> </font></span></p> <blockquote> <blockquote> <blockquote> <blockquote> <form> <table cellpadding="2" cellspacing="0" border="0" bgcolor="#FFFFFF" height="262"> <tr> <td align="middle" height="21"> </td> </tr> <tr> <td align="center" height="20"> </td> </tr> </table> <INPUT TYPE=hidden NAME=FCode VALUE="72ws89md"> </form> </blockquote> </blockquote> </blockquote> </blockquote> </td> <td valign="top" width="5"> <p align="left"></td> </tr> <tr> <td valign="top" width="5"> </td> </tr> <tr> <td valign="top" width="5"> </td> </tr> </table> </center> </div> </body> </html> |