Advertisement

08.28.2008 at 08:16AM PDT, ID: 23685850
[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!

9.0

Using javascript to add numbers to search results

Asked by jianxin9 in JavaScript

Tags:

Hi everyone,
I had this question open earlier this week and closed it out.  I thought I'd reopen it again to see if there is anyway to get this to work.  Okay, we have an online library catalog that produces search results with no numbers next to each result.  I'd like to edit the code on the system server to get it to product numbered results.  From my previous post, I tried a test with the following (please see code attached or URL)  and can't get it to work.  Any suggestions?  Thanks!
http://myweb.twu.edu/~bklug/catalog/test.html

THis is the javascript:
<script type="text/javascript">
window.onload = function()
{
var rec = window.location.href.match(/recPointer=(\d+)/);
var counter = rec ? rec[1] : 0;
 
var allItems = document.getElementsByClassName('resultListCheckBox');
for(var i = 0, e = allItems.length; i < e; i++)
{
        if(allItems[i].firstChild)
        {
                var span = document.createElement('span');
                span.style.paddingLeft = '20px';
                span.innerHTML = parseInt(i, 10) + parseInt(counter, 10) + parseInt(1, 10);
                allItems[i].insertBefore(span, allItems[i].firstChild);
        }
}
 
 
//Got this from dustiandiaz.com.  No need to reinvent the wheel
function getElementsByClassName(searchClass,node,tag) {
        var classElements = new Array();
        if ( node == null )
                node = document;
        if ( tag == null )
                tag = '*';
        var els = node.getElementsByTagName(tag);
        var elsLen = els.length;
        var pattern = new RegExp('(^|\\\\s)'+searchClass+'(\\\\s|$)');
        for (i = 0, j = 0; i < elsLen; i++) {
                if ( pattern.test(els[i].className) ) {
                        classElements[j] = els[i];
                        j++;
                }
        }
        return classElements;
}
};
</script>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:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
<div id="pageContainer">
      <a accesskey="1" href="#mainContent"></a><a accesskey="2" href="#searchnavbar"></a><a accesskey="3" href="#mainNav"></a>
      <div id="pageHeader">
 
        <div id="headerRow">
          <div title="This a logo image within a link" id="logo">
            <a href="exit.do" alt="TWU Library Catalog"><img alt="TWU Library Catalog" src="ui/en_US/images/webVoyageLogo.jpg"></a>
          </div>
          <div id="patronCol">
            <div title="Log in&nbsp;to your account" id="headerPatron">
              <span><a href="login">Log in</a>&nbsp;to your account</span>
            </div>
 
            <div title="Clicking this link opens Help in a new window" id="headerHelp">
              <span><a target="_help" href="ui/en_US/htdocs/help/searchResultsTitles.html">Help</a>&nbsp;</span>
            </div>
          </div>
          <div title="Main Navigation Bar" id="headerTabs">
            <a name="mainNav"></a>
            <h2 class="nav">Main Navigation Bar</h2>
            <ul class="navbar">
 
              <li title="Search the library" class="off">
                <a name="page.header.buttons.search.button" href="searchBasic"><span>Search</span></a>
              </li>
              <li title="My search list" class="off">
                <a name="page.header.buttons.mySearches.button" href="mySearch"><span>My Searches</span></a>
              </li>
              <li title="My book list" class="off">
                <a name="page.header.buttons.myList.button" href="myList"><span>My List</span></a>
 
              </li>
              <li title="My account information" class="off">
                <a name="page.header.buttons.myAccount.button" href="myAccount"><span>My Account</span></a>
              </li>
            </ul>
          </div>
        </div>
      </div>
 
      <div title="Quick Search Bar" id="quickSearchBar">
        <form method="get" action="search">
          <span title="New Search :" id="quickSearchArg"><label for="searchArg">New Search :</label><input title="Please enter search term(s)." id="searchArg" name="searchArg" class="inputStyle" size="36" type="text"></span><span title="Submit search the library" id="searchButton"><input id="quickSearchButton" value="Go" alt="Submit search the library" type="submit"></span><span title="Search History" id="searchHistory"><span id="searchHistoryIcon">&nbsp;</span><span id="spanpage.searchQuick.searchHistory.link"><a title="Search History" href="searchHistory">Search History</a></span></span><input value="GKEY^*" name="searchCode" type="hidden"><input value="0" name="searchType" type="hidden"><input value="10" name="recCount" type="hidden">
        </form>
      </div>
      <div id="mainContent">
        <a name="mainContent"></a>
        <h1 id="pageHeadingTitle">Titles</h1>
 
        <noscript>
          <h2 class="accessibilityHeader">Notice: This web application times out 30 minutes after loading a page.</h2>
        </noscript>
        <form id="resultsForm" method="GET" action="titlesUpd">
          <div class="resultsTitleForm">
            <div class="resultsHeader">
              <label for="returnUrl"><input type="hidden" id="returnUrl" name="returnUrl" value="searchResults?searchId=22&amp;recPointer=0&amp;searchType=0"></label><label for="searchId"><input type="hidden" id="searchId" name="searchId" value="22"></label><label for="recPointer"><input type="hidden" id="recPointer" name="recPointer" value="0"></label><label for="searchType"><input type="hidden" id="searchType" name="searchType" value="0"></label><label for="recCount"><input type="hidden" id="recCount" name="recCount" value="10"></label>
              <div title="Currently Connected Database(s)." id="databaseInfo">
                <span id="dbSelLabel">Database:</span><span id="page.search.database.label">TWU Library Catalog</span>
 
              </div>
              <div class="resultsHeaderHeader">
                <span>1936&nbsp;results found</span>
              </div>
              <div class="searchTerms">
                <span>Keyword(cancer) </span>
              </div>
 
              <div class="actions">
                <h2 class="nav">Search Action Navigation</h2>
                <ul class="navbar">
                  <li>
                    <span class="yellowBtnLeft">&nbsp;</span><input value="Edit Search" name="EditSearchServlet" type="submit" class="yellowBtn" id="EditSearchServlet"><span class="yellowBtnRight">&nbsp;</span>
                  </li>
                  <li>
                    <span class="yellowBtnLeft">&nbsp;</span><input value="Save Search" name="SaveSearchAddServlet" type="submit" class="yellowBtn" id="SaveSearchAddServlet"><span class="yellowBtnRight">&nbsp;</span>
 
                  </li>
                </ul>
              </div>
            </div>
            <div id="jumpBarNavTop">
              <h2 class="nav">Jumpbar Result Navigation</h2>
              <ul class="jumpBar">
                <li class="jumpBarMiddle">
 
                  <span class="jumpBarLabelSelected">1</span><a href="searchResults?searchId=22&recPointer=10&recCount=10" class="jumpBarLink"><span>2</span></a><a href="searchResults?searchId=22&recPointer=20&recCount=10" class="jumpBarLink"><span>3</span></a>
                </li>
                <li class="jumpBarMiddle">
                  <span class="jumpBarLabel">...</span>
                </li>
                <li class="jumpBarMiddle">
                  <a href="searchResults?searchId=22&recPointer=1930&recCount=10" class="jumpBarLink"><span>194</span></a>
 
                </li>
                <li class="jumpBarTabRight">
                  <a href="searchResults?searchId=22&recPointer=10&recCount=10" class="jumpBarNext"><span class="jumpBarEndCap">&nbsp;</span><span class="jumpBarButton">Next</span><span class="jumpBarArrowRight">&nbsp;</span><span class="jumpBarRight">&nbsp;</span></a>
                </li>
              </ul>
            </div>
            <div id="browseHeaderTop">
              <div class="browseHeader">
 
                <h2 class="nav">Results action navigation bar</h2>
                <ul>
                  <li id="top_link_page.searchResults.browseBar.print.button">
                    <span class="yellowBtnLeft">&nbsp;</span><input value="Print" name="PrintDialogServlet" type="submit" class="yellowBtn" id="top_page.searchResults.browseBar.print.button"><span class="yellowBtnRight">&nbsp;</span><span class="horzLine">&nbsp;</span>
                  </li>
                  <li id="top_link_page.searchResults.browseBar.export.button">
                    <span class="yellowBtnLeft">&nbsp;</span><input value="Export" name="ExportDialogServlet" type="submit" class="yellowBtn" id="top_page.searchResults.browseBar.export.button"><span class="yellowBtnRight">&nbsp;</span><span class="horzLine">&nbsp;</span>
                  </li>
 
                  <li id="top_link_page.searchResults.browseBar.email.button">
                    <span class="yellowBtnLeft">&nbsp;</span><input value="E-mail" name="EmailDialogServlet" type="submit" class="yellowBtn" id="top_page.searchResults.browseBar.email.button"><span class="yellowBtnRight">&nbsp;</span><span class="horzLine">&nbsp;</span>
                  </li>
                  <li id="top_link_page.searchResults.browseBar.addToList.button">
                    <span class="yellowBtnLeft">&nbsp;</span><input value="Add to List" name="AddToList" type="submit" class="yellowBtn" id="top_page.searchResults.browseBar.addToList.button"><span class="yellowBtnRight">&nbsp;</span><span class="horzLine">&nbsp;</span>
                  </li>
                  <li id="top_link_page.searchResults.browseBar.update.button">
                    <span class="yellowBtnLeft">&nbsp;</span><input value="Update" name="update" type="submit" class="yellowBtn" id="top_page.searchResults.browseBar.update.button"><span class="yellowBtnRight">&nbsp;</span><span class="endLine">&nbsp;</span>
                  </li>
 
                  <script type="text/javascript">removeUpdateBtn();</script>
                  <li>
                    <div class="selectChkBox">
                      <span class="fieldBold">Select</span><input onClick="selectPageCheckbox(document.getElementById('resultsForm'),this)" value="page" name="page" type="checkbox" id="page"><label for="page">Page</label><input value="640517,631380,631028,631005,549453,528179,527930,523335,519960,495725," type="hidden" name="pageIds"><input onClick="selectAllCheckbox(document.getElementById('resultsForm'),this)" value="all" name="all" type="checkbox" id="all"><label for="all">All</label>
                    </div>
                  </li>
                </ul>
 
                <div class="browseBarSortBy">
                  <label for="sortBy">Sort By:</label> <select title="" class="" onChange="sortBySubmit(this)" name="sortBy" id="sortBy"><option selected value="AUTHOR">Author</option><option value="TITLE">Title</option><option value="PUB_DATE">Publication Date</option><option value="PUB_DATE_DESC">Publication Date Descending</option><option value="RELEVANCE">Relevance</option></select>
                </div>
              </div>
            </div>
 
            <div id="theResults">
              <div class="filters">
                <a name="filtersQuickLink" id="filtersQuickLink"></a><span class="filterBox">Filter Your Search:</span>
                <h3 class="nav">These links can be selected to filter search results</h3>
                <ul>
                  <li>
                    <a href="search?searchArg=cancer&searchCode=GKEY^*&searchType=0&recCount=50&limitTo=LOCA=Presbyterian Library&filter=Y">add filter: Presbyterian</a>
 
                  </li>
                  <li>
                    <a href="search?searchArg=cancer&searchCode=GKEY^*&searchType=0&recCount=50&limitTo=LOCA=Electronic Books&filter=Y">add filter: E-Books</a>
                  </li>
                  <li>
                    <a href="search?searchArg=cancer&searchCode=GKEY^*&searchType=0&recCount=50&limitTo=LOCA=Main Library&filter=Y">add filter: Main</a>
                  </li>
                  <li>
 
                    <a href="search?searchArg=cancer&searchCode=GKEY^*&searchType=0&recCount=50&limitTo=LOCA=Thesis/Dissertation&filter=Y">add filter: Thesis/Dissertation</a>
                  </li>
                  <li>
                    <a href="search?searchArg=cancer&searchCode=GKEY^*&searchType=0&recCount=50&limitTo=LOCA=Electronic Journals&filter=Y">add filter: E-Journals</a>
                  </li>
                  <li>
                    <a href="search?searchArg=cancer&searchCode=GKEY^*&searchType=0&recCount=50&limitTo=LOCA=Houston&filter=Y">add filter: Houston</a>
 
                  </li>
                  <li>
                    <a href="search?searchArg=cancer&searchCode=GKEY^*&searchType=0&recCount=50&limitTo=LOCA=Media All Sites&filter=Y">add filter: Media All Sites</a>
                  </li>
                  <li>
                    <a href="search?searchArg=cancer&searchCode=GKEY^*&searchType=0&recCount=50&limitTo=LOCA=Parkland Library&filter=Y">add filter: Parkland</a>
                  </li>
                </ul>
 
              </div>
              <div id="resultList">
                <div class="oddRow">
                  <div class="resultListCheckBox">
                    <input onClick="selectTitleChkBx(document.getElementById('resultsForm'))" id="640517" value="640517" name="titles" type="checkbox">
                  </div>
                  <div class="resultListIcon">
                    <img title="Periodical" alt="Periodical Icon" src="ui/en_US/images/bibFormat/icon_serial.gif"></div>
                  <div class="resultListCellBlock">
 
                    <div class="resultListTextCell">
                      <div class="line1Link">
                        <label for="640517"><a href="holdingsInfo?searchId=22&recCount=10&recPointer=0&bibId=640517">Anti-cancer agents in medicinal chemistry [electronic resource].</a></label>
                      </div>
                      <div class="line2Link">&nbsp;</div>
                      <div class="line3Link">2006&nbsp;</div>
                      <div class="line4Link">No call number&nbsp;</div>
 
                      <div class="line5Link">
                        <span class="available"></span>available, ELECTRONIC JOURNAL</div>
                      <div class="databaseName"></div>
                    </div>
                  </div>
                </div>
                <div class="evenRow">
                  <div class="resultListCheckBox">
 
                    <input onClick="selectTitleChkBx(document.getElementById('resultsForm'))" id="631380" value="631380" name="titles" type="checkbox">
                  </div>
 
                  <div class="resultListIcon">
                    <img title="Periodical" alt="Periodical Icon" src="ui/en_US/images/bibFormat/icon_serial.gif"></div>
                  <div class="resultListCellBlock">
                    <div class="resultListTextCell">
                      <div class="line1Link">
                        <label for="631380"><a href="holdingsInfo?searchId=22&recCount=10&recPointer=1&bibId=631380">Investigational new drugs [electronic resource].</a></label>
 
                      </div>
                      <div class="line2Link">&nbsp;</div>
                      <div class="line3Link">1983&nbsp;</div>
                      <div class="line4Link">No call number&nbsp;</div>
                      <div class="line5Link">
                        <span class="available"></span>available, ELECTRONIC JOURNAL</div>
                      <div class="databaseName"></div>
 
                    </div>
                  </div>
                </div>
                <div class="oddRow">
                  <div class="resultListCheckBox">
                    <input onClick="selectTitleChkBx(document.getElementById('resultsForm'))" id="631028" value="631028" name="titles" type="checkbox">
                  </div>
                  <div class="resultListIcon">
                    <img title="Periodical" alt="Periodical Icon" src="ui/en_US/images/bibFormat/icon_serial.gif"></div>
 
                  <div class="resultListCellBlock">
                    <div class="resultListTextCell">
                      <div class="line1Link">
                        <label for="631028"><a href="holdingsInfo?searchId=22&recCount=10&recPointer=2&bibId=631028">Cancer causes &amp; control [electronic resource].</a></label>
                      </div>
                      <div class="line2Link">&nbsp;</div>
                      <div class="line3Link">1990&nbsp;</div>
 
                      <div class="line4Link">No call number&nbsp;</div>
                      <div class="line5Link">
                        <span class="available"></span>available, ELECTRONIC JOURNAL</div>
                      <div class="databaseName"></div>
                    </div>
                  </div>
                </div>
                <div class="evenRow">
 
                  <div class="resultListCheckBox">
                    <input onClick="selectTitleChkBx(document.getElementById('resultsForm'))" id="631005" value="631005" name="titles" type="checkbox">
                  </div>
                  <div class="resultListIcon">
                    <img title="Periodical" alt="Periodical Icon" src="ui/en_US/images/bibFormat/icon_serial.gif"></div>
                  <div class="resultListCellBlock">
                    <div class="resultListTextCell">
                      <div class="line1Link">
                        <label for="631005"><a href="holdingsInfo?searchId=22&recCount=10&recPointer=3&bibId=631005">Breast cancer research and treatment [electronic resource].</a></label>
 
                      </div>
                      <div class="line2Link">&nbsp;</div>
                      <div class="line3Link">1981&nbsp;</div>
                      <div class="line4Link">No call number&nbsp;</div>
                      <div class="line5Link">
                        <span class="available"></span>available, ELECTRONIC JOURNAL</div>
                      <div class="databaseName"></div>
 
                    </div>
                  </div>
                </div>
                <div class="oddRow">
                  <div class="resultListCheckBox">
                    <input onClick="selectTitleChkBx(document.getElementById('resultsForm'))" id="549453" value="549453" name="titles" type="checkbox">
                  </div>
                  <div class="resultListIcon">
                    <img title="Periodical" alt="Periodical Icon" src="ui/en_US/images/bibFormat/icon_serial.gif"></div>
 
                  <div class="resultListCellBlock">
                    <div class="resultListTextCell">
                      <div class="line1Link">
                        <label for="549453"><a href="holdingsInfo?searchId=22&recCount=10&recPointer=4&bibId=549453">Women's oncology review [electronic resource].</a></label>
                      </div>
                      <div class="line2Link">&nbsp;</div>
                      <div class="line3Link">2001&nbsp;</div>
                      <div class="line4Link">No call number&nbsp;</div>
 
                      <div class="line5Link">
                        <span class="available"></span>available, ELECTRONIC JOURNAL</div>
                      <div class="databaseName"></div>
                    </div>
                  </div>
                </div>
                <div class="evenRow">
                  <div class="resultListCheckBox">
 
                    <input onClick="selectTitleChkBx(document.getElementById('resultsForm'))" id="528179" value="528179" name="titles" type="checkbox">
                  </div>
                  <div class="resultListIcon">
                    <img title="Periodical" alt="Periodical Icon" src="ui/en_US/images/bibFormat/icon_serial.gif"></div>
                  <div class="resultListCellBlock">
                    <div class="resultListTextCell">
                      <div class="line1Link">
                        <label for="528179"><a href="holdingsInfo?searchId=22&recCount=10&recPointer=5&bibId=528179">Psycho-oncology [electronic resource].</a></label>
 
                      </div>
                      <div class="line2Link">&nbsp;</div>
                      <div class="line3Link">1992&nbsp;</div>
                      <div class="line4Link">No call number&nbsp;</div>
                      <div class="line5Link">
                        <span class="available"></span>available, ELECTRONIC JOURNAL</div>
                      <div class="databaseName"></div>
 
                    </div>
                  </div>
                </div>
                <div class="oddRow">
                  <div class="resultListCheckBox">
                    <input onClick="selectTitleChkBx(document.getElementById('resultsForm'))" id="527930" value="527930" name="titles" type="checkbox">
                  </div>
                  <div class="resultListIcon">
                    <img title="Periodical" alt="Periodical Icon" src="ui/en_US/images/bibFormat/icon_serial.gif"></div>
 
                  <div class="resultListCellBlock">
                    <div class="resultListTextCell">
                      <div class="line1Link">
                        <label for="527930"><a href="holdingsInfo?searchId=22&recCount=10&recPointer=6&bibId=527930">Current cancer drug targets [electronic resource].</a></label>
                      </div>
                      <div class="line2Link">&nbsp;</div>
                      <div class="line3Link">2001&nbsp;</div>
                      <div class="line4Link">No call number&nbsp;</div>
 
                      <div class="line5Link">
                        <span class="available"></span>available, ELECTRONIC JOURNAL</div>
                      <div class="databaseName"></div>
                    </div>
                  </div>
                </div>
                <div class="evenRow">
                  <div class="resultListCheckBox">
 
                    <input onClick="selectTitleChkBx(document.getElementById('resultsForm'))" id="523335" value="523335" name="titles" type="checkbox">
                  </div>
                  <div class="resultListIcon">
                    <img title="Periodical" alt="Periodical Icon" src="ui/en_US/images/bibFormat/icon_serial.gif"></div>
                  <div class="resultListCellBlock">
                    <div class="resultListTextCell">
                      <div class="line1Link">
                        <label for="523335"><a href="holdingsInfo?searchId=22&recCount=10&recPointer=7&bibId=523335">Cancer vaccine week [electronic resource].</a></label>
 
                      </div>
                      <div class="line2Link">&nbsp;</div>
                      <div class="line3Link">2003&nbsp;</div>
                      <div class="line4Link">No call number&nbsp;</div>
                      <div class="line5Link">
                        <span class="available"></span>available, ELECTRONIC JOURNAL</div>
                      <div class="databaseName"></div>
 
                    </div>
                  </div>
                </div>
                <div class="oddRow">
                  <div class="resultListCheckBox">
                    <input onClick="selectTitleChkBx(document.getElementById('resultsForm'))" id="519960" value="519960" name="titles" type="checkbox">
                  </div>
                  <div class="resultListIcon">
                    <img title="Periodical" alt="Periodical Icon" src="ui/en_US/images/bibFormat/icon_serial.gif"></div>
 
                  <div class="resultListCellBlock">
                    <div class="resultListTextCell">
                      <div class="line1Link">
                        <label for="519960"><a href="holdingsInfo?searchId=22&recCount=10&recPointer=8&bibId=519960">Cancer nursing practice [electronic resource].</a></label>
                      </div>
                      <div class="line2Link">&nbsp;</div>
                      <div class="line3Link">2002&nbsp;</div>
                      <div class="line4Link">No call number&nbsp;</div>
 
                      <div class="line5Link">
                        <span class="available"></span>available, ELECTRONIC JOURNAL</div>
                      <div class="databaseName"></div>
                    </div>
                  </div>
                </div>
                <div class="evenRow">
                  <div class="resultListCheckBox">
 
                    <input onClick="selectTitleChkBx(document.getElementById('resultsForm'))" id="495725" value="495725" name="titles" type="checkbox">
                  </div>
                  <div class="resultListIcon">
                    <img title="Periodical" alt="Periodical Icon" src="ui/en_US/images/bibFormat/icon_serial.gif"></div>
                  <div class="resultListCellBlock">
                    <div class="resultListTextCell">
                      <div class="line1Link">
                        <label for="495725"><a href="holdingsInfo?searchId=22&recCount=10&recPointer=9&bibId=495725">International journal of gynecological cancer [electronic resource].</a></label>
 
                      </div>
                      <div class="line2Link">&nbsp;</div>
                      <div class="line3Link">1991&nbsp;</div>
                      <div class="line4Link">No call number&nbsp;</div>
                      <div class="line5Link">
                        <span class="available"></span>available, ELECTRONIC JOURNAL</div>
                      <div class="databaseName"></div>
 
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div id="browseHeaderbottom">
              <div class="browseHeader">
                <h2 class="nav">Results action navigation bar</h2>
 
                <ul>
                  <li id="bottom_link_page.searchResults.browseBar.print.button">
                    <span class="yellowBtnLeft">&nbsp;</span><input value="Print" name="PrintDialogServlet" type="submit" class="yellowBtn" id="bottom_page.searchResults.browseBar.print.button"><span class="yellowBtnRight">&nbsp;</span><span class="horzLine">&nbsp;</span>
                  </li>
                  <li id="bottom_link_page.searchResults.browseBar.export.button">
                    <span class="yellowBtnLeft">&nbsp;</span><input value="Export" name="ExportDialogServlet" type="submit" class="yellowBtn" id="bottom_page.searchResults.browseBar.export.button"><span class="yellowBtnRight">&nbsp;</span><span class="horzLine">&nbsp;</span>
                  </li>
                  <li id="bottom_link_page.searchResults.browseBar.email.button">
                    <span class="yellowBtnLeft">&nbsp;</span><input value="E-mail" name="EmailDialogServlet" type="submit" class="yellowBtn" id="bottom_page.searchResults.browseBar.email.button"><span class="yellowBtnRight">&nbsp;</span><span class="horzLine">&nbsp;</span>
 
                  </li>
                  <li id="bottom_link_page.searchResults.browseBar.addToList.button">
                    <span class="yellowBtnLeft">&nbsp;</span><input value="Add to List" name="AddToList" type="submit" class="yellowBtn" id="bottom_page.searchResults.browseBar.addToList.button"><span class="yellowBtnRight">&nbsp;</span><span class="horzLine">&nbsp;</span>
                  </li>
                  <li id="bottom_link_page.searchResults.browseBar.update.button">
                    <span class="yellowBtnLeft">&nbsp;</span><input value="Update" name="update" type="submit" class="yellowBtn" id="bottom_page.searchResults.browseBar.update.button"><span class="yellowBtnRight">&nbsp;</span><span class="endLine">&nbsp;</span>
                  </li>
                  <script type="text/javascript">removeUpdateBtn();</script>
 
                  <li>
                    <div class="selectChkBox">
                      <span class="fieldBold">Select</span><input onClick="selectPageCheckbox(document.getElementById('resultsForm'),this)" value="page" name="page" type="checkbox" id="page"><label for="page">Page</label><input value="640517,631380,631028,631005,549453,528179,527930,523335,519960,495725," type="hidden" name="pageIds"><input onClick="selectAllCheckbox(document.getElementById('resultsForm'),this)" value="all" name="all" type="checkbox" id="all"><label for="all">All</label>
                    </div>
                  </li>
                </ul>
              </div>
 
            </div>
            <div id="jumpBarNavBottom">
              <h2 class="nav">Jumpbar Result Navigation</h2>
              <ul class="jumpBar">
                <li class="jumpBarMiddle">
                  <span class="jumpBarLabelSelected">1</span><a href="searchResults?searchId=22&recPointer=10&recCount=10" class="jumpBarLink"><span>2</span></a><a href="searchResults?searchId=22&recPointer=20&recCount=10" class="jumpBarLink"><span>3</span></a>
                </li>
 
                <li class="jumpBarMiddle">
                  <span class="jumpBarLabel">...</span>
                </li>
                <li class="jumpBarMiddle">
                  <a href="searchResults?searchId=22&recPointer=1930&recCount=10" class="jumpBarLink"><span>194</span></a>
                </li>
                <li class="jumpBarTabRight">
                  <a href="searchResults?searchId=22&recPointer=10&recCount=10" class="jumpBarNext"><span class="jumpBarEndCap">&nbsp;</span><span class="jumpBarButton">Next</span><span class="jumpBarArrowRight">&nbsp;</span><span class="jumpBarRight">&nbsp;</span></a>
 
                </li>
              </ul>
            </div>
          </div>
        </form>
      </div>
      <div id="pageFooter">
        <div title="Footer Navigation Bar" id="footerTabs">
          <a name="navFooter"></a>
 
          <h2 class="navFooter">Footer Navigation Bar</h2>
          <ul class="navbar">
            <li title="Search the library" class="off">
              <a id="page.footer.buttons.search.button" name="page.footer.buttons.search.button" href="searchBasic"><span>Search</span></a>
            </li>
            <li title="My search list" class="off">
              <a id="page.footer.buttons.mySearches.button" name="page.footer.buttons.mySearches.button" href="mySearch"><span>My Searches</span></a>
 
            </li>
            <li title="My book list" class="off">
              <a id="page.footer.buttons.myList.button" name="page.footer.buttons.myList.button" href="myList"><span>My List</span></a>
            </li>
            <li title="My account information" class="off">
              <a id="page.footer.buttons.myAccount.button" name="page.footer.buttons.myAccount.button" href="myAccount"><span>My Account</span></a>
            </li>
            <li title="Help on searching the library catalog" class="off">
 
              <a id="page.footer.buttons.help.button" name="page.footer.buttons.help.button" href="ui/en_US/htdocs/help/searchResultsTitles.html" target="_newWin"><span>Help</span></a>
            </li>
          </ul>
        </div>
        <div id="libraryLink">
          <span><span id="spanpage.footer.library.link"><a title="TWU Library" href="http://www.twu.edu/library">TWU Library</a></span></span>
        </div>
        <div title="Copyright" id="copyright">
 
          <span>&copy;2007 Ex Libris Group. All rights reserved.</span>
        </div>
      </div>
    </div>
 
Keywords: Using javascript to add numbers to sea…
 
Loading Advertisement...
 
[+][-]08.28.2008 at 08:46AM PDT, ID: 22336303

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 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.28.2008 at 08:50AM PDT, ID: 22336347

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 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.28.2008 at 12:47PM PDT, ID: 22339019

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 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.28.2008 at 01:32PM PDT, ID: 22339546

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 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 07:06AM PDT, ID: 22367408

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 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 07:12AM PDT, ID: 22367460

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 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 08:36AM PDT, ID: 22368253

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 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 09:05AM PDT, ID: 22368585

View this solution now by starting your 14-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

Zone: JavaScript
Tags: Javascript
Sign Up Now!
Solution Provided By: Morcalavin
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628