112: htp.p('top.t.addButton("custom","url:'||p_toolbar.custom_option6_url||';helptext:'||p_toolbar.custom_option6_mouseover||
113: ';default-image:'||p_toolbar.custom_option6_gif||';rollover-image:'||p_toolbar.custom_option6_mouseover_gif||';disabled-image:'||p_toolbar.custom_option6_disabled_gif||'");');
114: end if;
115:
116: htp.p('');
117:
118: end;
119:
120: procedure tabiconsJavascript(p_tabicons in tabiconTable) is
130: '; hint:'||p_tabicons(i).hint||'; disabledhint:'||p_tabicons(i).disabledhint||'; actiontype:'||p_tabicons(i).actiontype||'; url:'||p_tabicons(i).url||'; targetframe:'||p_tabicons(i).targetframe||'; action:'||p_tabicons(i).action||
131: '; enabled:'||p_tabicons(i).enabled||'; showcurrentonly:'||p_tabicons(i).showcurrentonly||';");');
132: end loop;
133:
134: htp.p('');
135: end if;
136:
137: end;
138:
172:
173: l_html := 'container_notabs.html';
174: end if;
175:
176: htp.p('');
177:
178: return l_html;
179:
180: end;
182: procedure show_tableJavascript(p_tablename in varchar2) is
183:
184: begin
185:
186: htp.p('
187:
188:
189: ');
254:
249: else
250: htp.p('top.at.htmlstring = "";');
251: end if;
252:
253: htp.p('');
254:
255: end;
256:
257: procedure locatorJavascript(p_locator in boolean) is
324: else
325: htp.p('//Dummy locator goes here');
326: end if;
327:
328: htp.p('');
329:
330: end;
331:
332: procedure displaytoolbar(p_toolbar in icx_cabo.toolbar) is
335:
336: icx_cabo.toolbarJavascript(p_toolbar);
337:
338: htp.p('');
342:
343: end;
336: icx_cabo.toolbarJavascript(p_toolbar);
337:
338: htp.p('');
342:
343: end;
344:
337:
338: htp.p('');
342:
343: end;
344:
345: procedure hidden_dataJavascript(p_tablename in varchar2) is
349: begin
350:
351: l_table_data_name := p_tablename||'data';
352:
353: htp.p('
354:
355: ');
371:
365: htp.p(l_table_data_name||'['||l_table_data_name||'.length] = new Array("9:00","Wednesday","Star Trek - Voyager","http://www.upn.com/shows/voyager/voyager.htm","OA_HTML/webtools/images/happy.gif","","Great, of course");');
366:
367: htp.p(l_table_data_name||'['||l_table_data_name||'.length] = new Array("9:30","Thursday","Shasta McNasty","http://www.upn.com/launch/html/shasta/shasta.htm","","","unknown");');
368:
369: htp.p(p_tablename||'.setDataSource('||l_table_data_name||')
370: ');
371:
372: end;
373:
376: l_tablename varchar2(80);
377:
378: begin
379:
380: htp.p('
381:
382:
383:
387:
388: icx_cabo.show_tableJavascript(l_tablename);
389: icx_cabo.hidden_dataJavascript(l_tablename);
390:
391: htp.p('
393: '||l_tablename||'.render(window);
394:
395: ');
396:
397: htp.p('
398: ');
399:
400: end;
401:
403:
404: begin
405:
406: htp.p('');
409:
410: end;
411:
404: begin
405:
406: htp.p('');
409:
410: end;
411:
412: procedure buttons(p_actiontext in varchar2 default null) is
435: locatorJavascript(p_locator);
436: end if;
437:
438: htp.p('');
441:
442: end;
443:
436: end if;
437:
438: htp.p('');
441:
442: end;
443:
444: procedure container(p_toolbar in icx_cabo.toolbar,
461: begin
462:
463: if icx_cabo.g_base_href is null
464: then
465: htp.p('
466: else
467: htp.p('
468: end if;
469:
463: if icx_cabo.g_base_href is null
464: then
465: htp.p('
466: else
467: htp.p('
468: end if;
469:
470: htp.p('');
471:
466: else
467: htp.p('
468: end if;
469:
470: htp.p('');
471:
472: htp.p('');
472: htp.p('');
475:
476: htp.p('');
477: htp.p('');
478: htp.p('');
479: htp.p('');
480:
473: var baseHref = document.location.protocol + "//" + document.location.host + "/";
474: ');
475:
476: htp.p('');
477: htp.p('');
478: htp.p('');
479: htp.p('');
480:
481: htp.p('');
474: ');
475:
476: htp.p('');
477: htp.p('');
478: htp.p('');
479: htp.p('');
480:
481: htp.p('');
475:
476: htp.p('');
477: htp.p('');
478: htp.p('');
479: htp.p('');
480:
481: htp.p('');
478: htp.p('');
479: htp.p('');
480:
481: htp.p('');
526: top.at = new Object;
527: top.at.render = top.renderhtml;
528: top.at.htmlstring = "";');
529:
530: htp.p('');
531:
532: elsif p_locator
533: then
534: l_bottom_html := 'OA_HTML/webtools/container_locator_bottom.html';
537: l_bottom_html := 'OA_HTML/webtools/container_nobottom.html';
538: l_bottom_height := '40';
539: end if;
540:
541: htp.p('542:
543:
544: -- src="javascript:top.blankframe()"
545: htp.p('
541: htp.p('
587: ');
588:
589: exception
590: when others then
591: htp.p(SQLERRM);
592: end;
593:
594: procedure container(p_toolbar in icx_cabo.toolbar,
595: p_helpmsg in varchar2,