<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how can I specify text to display during the page load? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-can-I-specify-text-to-display-during-the-page-load/m-p/357#M141</link>
    <description>I have a large number of HTML tags and because of that it takes a long tim to load. I have tried to use the answer in FAQ (3628) and it worked out. But ! - the problem is that I want the message to show only when the first page i loaded. Every time I start another report the message appeared. I include parts of my program below.&lt;BR /&gt;
T&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
replace body from document /                                                                                                           &lt;BR /&gt;
   preimage="projpri2.jpg" prehtml='&lt;DIV id="hidepage" style="position:absolute;                                                        &amp;lt;br&amp;gt;
                left:5px; top:5px; background-color: #E0E0E0; layer-background-color:#E0E0E0;                                           &amp;lt;br&amp;gt;
                height: 100%; width: 100%;"&gt;                                                                                            &lt;BR /&gt;
                &lt;TABLE width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;                                                                                              &lt;BR /&gt;
                Page loaded ... &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;                                                                                      &lt;BR /&gt;
                &lt;/DIV&gt;';                                                                                                             Style Startupfunction from Startupfunction / tagattr="setTimeout('loadimages()',3000)";                                                &lt;BR /&gt;
                                                                                            &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
ODS HTML PATH=&amp;amp;HTMLOUT (URL=NONE)                                                                                                       &lt;BR /&gt;
BODY="PRIBODY.HTML"                                                                                                                     &lt;BR /&gt;
FRAME="PRIFRAME.HTML"                                                                                                                   &lt;BR /&gt;
CONTENTS="PRICONTENT.HTML"                                                                                                              &lt;BR /&gt;
STYLESHEET='TEMP.CSS'                                                                                                                   &lt;BR /&gt;
NEWFILE=PAGE                                                                                                                            &lt;BR /&gt;
CODEBASE="HTTP://10.69.56.54/SASWEB/GRAPH/ACTIVEXGRAPH/SASGRAPH.EXE#VERSION=9,1,0,304"                                                  &lt;BR /&gt;
CODE=(URL="HTTP://10.69.56.54/ODS_FILER/JAVA_HTML4/JAVASCRIPT_COLLAPSE.JS")                                                             &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
   headtext="&lt;SCRIPT&gt;function                                                                                                           &amp;lt;br&amp;gt;
   loadimages() {                                                                                                                       &amp;lt;br&amp;gt;
          if (document.getElementById)                                                                                                  &amp;lt;br&amp;gt;
          { document.getElementById('hidepage').style.visibility =  'hidden'  }                                                         &amp;lt;br&amp;gt;
          }                                                                                                                             &amp;lt;br&amp;gt;
          &lt;/SCRIPT&gt;"                                                                                                                    &lt;BR /&gt;
STYLE=SLLBLUE;</description>
    <pubDate>Wed, 05 Apr 2006 08:24:27 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-04-05T08:24:27Z</dc:date>
    <item>
      <title>how can I specify text to display during the page load?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-can-I-specify-text-to-display-during-the-page-load/m-p/357#M141</link>
      <description>I have a large number of HTML tags and because of that it takes a long tim to load. I have tried to use the answer in FAQ (3628) and it worked out. But ! - the problem is that I want the message to show only when the first page i loaded. Every time I start another report the message appeared. I include parts of my program below.&lt;BR /&gt;
T&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
replace body from document /                                                                                                           &lt;BR /&gt;
   preimage="projpri2.jpg" prehtml='&lt;DIV id="hidepage" style="position:absolute;                                                        &amp;lt;br&amp;gt;
                left:5px; top:5px; background-color: #E0E0E0; layer-background-color:#E0E0E0;                                           &amp;lt;br&amp;gt;
                height: 100%; width: 100%;"&gt;                                                                                            &lt;BR /&gt;
                &lt;TABLE width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;                                                                                              &lt;BR /&gt;
                Page loaded ... &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;                                                                                      &lt;BR /&gt;
                &lt;/DIV&gt;';                                                                                                             Style Startupfunction from Startupfunction / tagattr="setTimeout('loadimages()',3000)";                                                &lt;BR /&gt;
                                                                                            &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
ODS HTML PATH=&amp;amp;HTMLOUT (URL=NONE)                                                                                                       &lt;BR /&gt;
BODY="PRIBODY.HTML"                                                                                                                     &lt;BR /&gt;
FRAME="PRIFRAME.HTML"                                                                                                                   &lt;BR /&gt;
CONTENTS="PRICONTENT.HTML"                                                                                                              &lt;BR /&gt;
STYLESHEET='TEMP.CSS'                                                                                                                   &lt;BR /&gt;
NEWFILE=PAGE                                                                                                                            &lt;BR /&gt;
CODEBASE="HTTP://10.69.56.54/SASWEB/GRAPH/ACTIVEXGRAPH/SASGRAPH.EXE#VERSION=9,1,0,304"                                                  &lt;BR /&gt;
CODE=(URL="HTTP://10.69.56.54/ODS_FILER/JAVA_HTML4/JAVASCRIPT_COLLAPSE.JS")                                                             &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
   headtext="&lt;SCRIPT&gt;function                                                                                                           &amp;lt;br&amp;gt;
   loadimages() {                                                                                                                       &amp;lt;br&amp;gt;
          if (document.getElementById)                                                                                                  &amp;lt;br&amp;gt;
          { document.getElementById('hidepage').style.visibility =  'hidden'  }                                                         &amp;lt;br&amp;gt;
          }                                                                                                                             &amp;lt;br&amp;gt;
          &lt;/SCRIPT&gt;"                                                                                                                    &lt;BR /&gt;
STYLE=SLLBLUE;</description>
      <pubDate>Wed, 05 Apr 2006 08:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-can-I-specify-text-to-display-during-the-page-load/m-p/357#M141</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-04-05T08:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: how can I specify text to display during the page load?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-can-I-specify-text-to-display-during-the-page-load/m-p/358#M142</link>
      <description>Give the below code a try. This applies a smaller version of this script using the HEADTEXT= option which the other example used, however this version does not require the use of the template. Using the HEADTEXT=, the string is limited to 256. If we need more than this based on the text that you want to display, we can add it to a tagset.&lt;BR /&gt;
&lt;BR /&gt;
data one;&lt;BR /&gt;
  do i=1 to 5000;&lt;BR /&gt;
    output;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods html file="temp.html"&lt;BR /&gt;
&lt;BR /&gt;
headtext='&lt;P id="load"&gt;loading...please wait&lt;/P&gt;&lt;BR /&gt;
&lt;SCRIPT&gt;&amp;lt;br&amp;gt;
document.onreadystatechange=fnStartInit;&amp;lt;br&amp;gt;
function fnStartInit(){&amp;lt;br&amp;gt;
&amp;nbsp;   if ("complete" !=this.readyState){&amp;lt;br&amp;gt;
 }&amp;lt;br&amp;gt;
&amp;nbsp;   else&amp;lt;br&amp;gt;
&amp;nbsp;             load.style.visibility="hidden"&amp;lt;br&amp;gt;
 }&amp;lt;br&amp;gt;
&lt;/SCRIPT&gt;';&lt;BR /&gt;
&lt;BR /&gt;
proc print data=one;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods html close;</description>
      <pubDate>Tue, 11 Apr 2006 18:01:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/how-can-I-specify-text-to-display-during-the-page-load/m-p/358#M142</guid>
      <dc:creator>Chevell_sas</dc:creator>
      <dc:date>2006-04-11T18:01:17Z</dc:date>
    </item>
  </channel>
</rss>

