[kepler-dev] HTML Viewer Tableau ,Displaying WelcomeScreen

Christopher Brooks cxh at eecs.berkeley.edu
Mon Mar 6 14:52:51 PST 2006


Hi Nandita,
I'm afraid I'm a bit lost.

I saw your first post to ptolemy-hackers that included a png
screenshot and intro.html.  It bounced because it was over 40k in
size.

I'm not so sure that the HTMLViewerTableau will handle JavaScript.
I'm not sure what your question is here?  I'm not so sure if
JavaScript is the right solution. 

I think the right solution is to modify
ptolemy/actor/gui/WelcomeWindow.java
so that it has a "Show this dialog upon startup" check box at 
the bottom and a close button.  The inner part will remain the
HTMLViewerTableau.

The checkbox will interact with the preferences.

I think this window should continue to have a close box in the upper
corner.  My reasoning is that the welcome window has a check box and
a close button, thus it is a window with which the user may interact.
Thus, it should have some of the standard features.

We could try to get rid of the close button by modifying
ptolemy.gui.Top, but it might take a little work.

_Christopher



 

--------

    
    Also intro.htm requires javascript to close etc...
    
    Nandita Mangal <nandita_mangal at yahoo.com> wrote: Hi Christopher,
    I have developed an "intro.htm" as per Laura's design layout and it looks o
   k in a normal web browser. When displayed in the HTML ViewerTableau after ke
   pler has started,  the  display settings  of the welcome screen seem to chan
   ge w.r.t color of tables and extra characters for some reason.
    i am attaching both original intro.html file as well as the display with Ta
   bleau.
    I will in the meantime look more into Tableau Viewer to try to figure out t
   he reason for the display changes.
    thanks,
    nandita.
    __________________________________________________
    Do You Yahoo!?
    Tired of spam?  Yahoo! Mail has the best spam protection around 
    http://mail.yahoo.com              window.opener = self;    window.close();
       }   else if(!document.all)   {         window.open('','_parent','');    
   window.close();     }   else    {    window.close();    }    }   // -->     
                     
    
                             
                                                                               
                                                                               
                       Welcome to Kepler 1.0                                A c
   ollaborative environment               
    for creating and executing              
    scientific workflows                                        
    
                                           GettingStarted             
                 User's Guide             
                          Worfklow CookBook                                    
                
                                                                               
                                                                   [input] Show
    this dialog upon startup [input]                                           
              
             
    
    
    		
    ---------------------------------
    Yahoo! Mail
    Bring photos to life! New PhotoMail  makes sharing a breeze. 
    --0-939985427-1141681564=:20031
    Content-Type: text/html; charset=iso-8859-1
    Content-Transfer-Encoding: 8bit
    
    Also intro.htm requires javascript to close etc...<br><br><b><i>Nandita Man
   gal &lt;nandita_mangal at yahoo.com&gt;</i></b> wrote:<blockquote class="replbq
   " style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-
   left: 5px;"> Hi Christopher,<br>I have developed an "intro.htm" as per Laura
   's design layout and it looks ok in a normal web browser. When displayed in 
   the HTML ViewerTableau after kepler has started,&nbsp; the&nbsp; display set
   tings&nbsp; of the welcome screen seem to change w.r.t color of tables and e
   xtra characters for some reason.<br>i am attaching both original intro.html 
   file as well as the display with Tableau.<br>I will in the meantime look mor
   e into Tableau Viewer to try to figure out the reason for the display change
   s.<br>thanks,<br>nandita.<br><div>__________________________________________
   ________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam 
   protection around <br>http://mail.yahoo.com       <script language="JavaScri
   pt!
     ">   <!--
     hide    function closeWin() {     if(document.all || document.layers)   { 
      <!-- IE || NETSCAPE-->    window.opener = self;    window.close();    }  
    else if(!document.all)   {     <!-- FIREFOX -->    window.open('','_parent'
   ,'');    window.close();     }   else    {    window.close();    }    }   //
    -->   </script>     <table bgcolor="#bec8d3">    <tbody>      <!-- Add blan
   k space above welcome panel -->     <tr height="10"><td><br></td><td><br></t
   d></tr>      <tr>      <!-- Add blank space left of welcome panel -->      <
   td width="10">       <br></td><td>       <table border="0" cellpadding="0" c
   ellspacing="0" width="543">             <tbody bgcolor="#e3e7ec">           
              <tr cellpadding="10" cellspacing="10">                <td valign=
   "center">                    <a href="http://kepler-project.org#in_browser">
                          <center><img alt="Kepler Project" src="keplerLogoNew.
   png" border="0"></center>                        </a>               </td>   
     !
           <td
     valign="top">                    <h2><font size="6"><b>Welcome to Kepler 1
   .0</b></font></h2>                    <blockquote>            <b>A collabora
   tive environment               <br>for creating and executing              <
   br>scientific workflows            </b>                            <br><br> 
                   <font size="4">                      <a href="http://kepler-
   project.org/" target="_blank">GettingStarted</a>             <br>           
     <a href="http://kepler-project.org/" target="_blank">User's Guide</a>     
           <br>                      <a href="http://kepler-project.org/" targe
   t="_blank">Worfklow CookBook</a>             </font>               </blockqu
   ote>                     <br>                           </td>               
                          </tr>                                                
                            <tr bgcolor="#bec8d3" height="50"><td><input name="
   startup" type="checkbox">Show this dialog upon startup</td><td align="right"
   ><!
     input
     value="Close" onclick="closeWin();" type="button"></td></tr>              
   </tbody>           </table>          </td>       <!-- Add blank space right 
   of welcome panel -->      <td width="10">     <br></td></tr>    </tbody>   <
   /table>  </div></blockquote><br><p>
    		<hr size=1>Yahoo! Mail<br>
    Bring photos to life! <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/
   evt=39174/*http://photomail.mail.yahoo.com">New PhotoMail </a> makes sharing
    a breeze. 
    
    --0-939985427-1141681564=:20031--
    
    ---------------------------------------------------------------------------
   -
    Posted to the ptolemy-hackers mailing list.  Please send administrative
    mail for this list to: ptolemy-hackers-request at ptolemy.eecs.berkeley.edu
--------


More information about the Kepler-dev mailing list