Advertisement

07.31.2008 at 05:00PM PDT, ID: 23612862
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

XML Buttons not working

Asked by catonthecouchproductions in Cascading Style Sheets (CSS), Extensible Markup Language (XML), XML Databases

Tags: ,

On the two files attached, I can't get the show all and show pages button to work in IE obviously. Help? See attachment for the XML. The html is below here...

<html>
<head>
<title>AutoMaze Shipping Manifest</title>
<style>
   body {width:700; background-color:rgb(255,192,192)}
   #title {font-family:Arial, Helvetica, sans-serif;color:blue; margin-bottom:5px}
   #buttons {text-align:center; margin-bottom:10px}
   #rightbox {text-align:center; height:500}
   .celltext {font-size:10pt}
</style>
</head>
<body>
<xml id="Order_Info" src="AutoOrd.xml"></xml>

<h1 align="center" id="title">Shipping Manifest</h1>
<div id="buttons">
     <button onClick="Orders.firstPage()">|&lt; First</button>
     <button onClick="Orders.previousPage()">&lt; Previous Page </button>
     <button onClick="Orders.nextPage()">Next Page &gt;</button>
     <button onClick="Orders.lastPage()">Last &gt;|</button>
</div>


<table align="left" width="420" border="1" datasrc="#Order_Info" datafld="Manifest">
<thead>
   <th colspan="4" bgcolor="#CCCCFF">Items Received</th>
</thead>
<thead>
   <th width="50" bgcolor="#CCCCFF">PID</th>
   <th width="250" bgcolor="#CCCCFF">Name</th>
   <th width="40" bgcolor="#CCCCFF">Qty</th>
   <th width="80" bgcolor="#CCCCFF">Price</th>
</thead>
<tr>
   <td colspan="4">
      <table border="1" frame="void" datasrc="#Order_Info" datafld="Item" id="Orders" datapagesize="6">
      <tr>
         <td width="50" bgcolor="white"><span class="celltext" datafld="Item_ID">ID</span></td>
         <td width="250" bgcolor="white"><span class="celltext" datafld="Item_Name">Name</span></td>
         <td width="40" bgcolor="white" align="right"><span class="celltext" datafld="Item_Qty">Qty</span></td>
         <td width="80" bgcolor="white" align="right"><span class="celltext" datafld="Item_Price">Price</span></td>
      </tr>
      </table>
   </td>
</tr>
</table>


<div id="rightbox">

<table border="1" cellpadding="5" datasrc="#Order_Info">
<tr>
   <th bgcolor="#CCCCFF" align="left">Order Date</th>
   <td bgcolor="white"><span class="celltext" datafld="Order_Date">Date</span></td>
</tr>
<tr>
   <th bgcolor="#CCCCFF" align="left">Date Received</th>
   <td bgcolor="white"><span class="celltext" datafld="Recv_Date">Date</span></td>
</tr>
<tr>
   <th bgcolor="#CCCCFF" align="left">Received By</th>
   <td bgcolor="white"><span class="celltext" datafld="Recv_By">By</span></td>
</tr>
<tr>
   <th bgcolor="#CCCCFF" align="left">Shipping Cost</th>
   <td bgcolor="white"><span class="celltext" datafld="SCost">Cost</span></td>
</tr>
<tr>
   <th bgcolor="#CCCCFF" align="left">Warehouse</th>
   <td bgcolor="white"><span class="celltext" datafld="WName">Name</span></td>
</tr>
<tr>
   <th bgcolor="#CCCCFF" align="left">Warehouse Contact</th>
   <td bgcolor="white"><span class="celltext" datafld="WContact">Date</span></td>
</tr>
</table>

<br>

<button onClick="Orders.datapagesize=99999; Orders.firstpage()">Show All</button>
&nbsp;
<button onClick="Orders.datapagesize=6">Show Pages</button>
</div>

</body>
</html>
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
<?xml version="1.0" ?>
<Delivery>
   <WName>Reston</WName>
   <WContact>John McAdams</WContact>
   <Order_Date>8/15/2003</Order_Date>
   <Recv_Date>8/21/2003</Recv_Date>
   <Recv_By>David Hanson</Recv_By>
   <SCost>$385</SCost>
   <Manifest>
      <Item Item_ID="CM204">
         <Item_Name>Camshaft (Box 20)</Item_Name>
         <Item_Qty>10</Item_Qty>
         <Item_Price>$289.95</Item_Price>
      </Item>
      <Item Item_ID="CR201">
         <Item_Name>Carburetor (Box 25)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$159.95</Item_Price>
      </Item>
      <Item Item_ID="CRK310">
         <Item_Name>Crankshaft (Box 10)</Item_Name>
         <Item_Qty>3</Item_Qty>
         <Item_Price>$109.95</Item_Price>
      </Item>
      <Item Item_ID="DS503">
         <Item_Name>Distributor (Box 15)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$125.95</Item_Price>
      </Item>
      <Item Item_ID="EC501">
         <Item_Name>Engine Computer (Box 1)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$414.59</Item_Price>
      </Item>
      <Item Item_ID="OP460">
         <Item_Name>Oil Pump (Box 20)</Item_Name>
         <Item_Qty>3</Item_Qty>
         <Item_Price>$214.95</Item_Price>
      </Item>
      <Item Item_ID="SP300">
         <Item_Name>Standard Spark Plugs (Box 100)</Item_Name>
         <Item_Qty>10</Item_Qty>
         <Item_Price>$114.45</Item_Price>
      </Item>
      <Item Item_ID="SP310">
         <Item_Name>Delux Spark Plugs (Box 100)</Item_Name>
         <Item_Qty>10</Item_Qty>
         <Item_Price>$139.95</Item_Price>
      </Item>
      <Item Item_ID="TB261">
         <Item_Name>Timing Belt (Box 40)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$94.90</Item_Price>
      </Item>
      <Item Item_ID="TR301">
         <Item_Name>Transmission (Box 1)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$310.95</Item_Price>
      </Item>
      <Item Item_ID="BA105">
         <Item_Name>Standard Batteries (Box 12)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$495.40</Item_Price>
      </Item>
      <Item Item_ID="BA205">
         <Item_Name>Security Batteries (Box 4)</Item_Name>
         <Item_Qty>3</Item_Qty>
         <Item_Price>$289.95</Item_Price>
      </Item>
      <Item Item_ID="BA115">
         <Item_Name>Delux Batteries (Box 12)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$525.95</Item_Price>
      </Item>
      <Item Item_ID="SF305">
         <Item_Name>Standard Air Filters (Box 16)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$148.25</Item_Price>
      </Item>
      <Item Item_ID="FI372">
         <Item_Name>Fulel Injection Kits (Box 1)</Item_Name>
         <Item_Qty>15</Item_Qty>
         <Item_Price>$129.95</Item_Price>
      </Item>
      <Item Item_ID="BRK681">
         <Item_Name>Brake Line Kit (Box 1)</Item_Name>
         <Item_Qty>25</Item_Qty>
         <Item_Price>$29.95</Item_Price>
      </Item>
      <Item Item_ID="CF401">
         <Item_Name>Cooling Fans (Box 20)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$34.41</Item_Price>
      </Item>
      <Item Item_ID="ALT561">
         <Item_Name>Chrome-plated Alternators (Box 5)</Item_Name>
         <Item_Qty>3</Item_Qty>
         <Item_Price>$105.95</Item_Price>
      </Item>
      <Item Item_ID="ALT610">
         <Item_Name>Alternator Case Kit (Box 1)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$69.95</Item_Price>
      </Item>
      <Item Item_ID="CC310">
         <Item_Name>Catalytic Converters (Box 5)</Item_Name>
         <Item_Qty>3</Item_Qty>
         <Item_Price>$121.59</Item_Price>
      </Item>
      <Item Item_ID="CC315">
         <Item_Name>Universal Catalytic Converters (Box 5)</Item_Name>
         <Item_Qty>5</Item_Qty>
         <Item_Price>$68.95</Item_Price>
      </Item>
   </Manifest>
</Delivery>
[+][-]07.31.2008 at 06:56PM PDT, ID: 22135013

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.31.2008 at 09:23PM PDT, ID: 22135488

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.31.2008 at 09:39PM PDT, ID: 22135540

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.31.2008 at 10:02PM PDT, ID: 22135610

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.31.2008 at 10:07PM PDT, ID: 22135620

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cascading Style Sheets (CSS), Extensible Markup Language (XML), XML Databases
Tags: XML/CSS, IE
Sign Up Now!
Solution Provided By: Lolly-Ink
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628