Netbeans 6.0 web page JavaScrip onClick of a textbox

I am working in Netbeans 6.0 web page with a textbox named txtUserid and a button named btnSearch. When I make a change to this this textbox (txtUserid), I want the btnSearch button to be disabled. This is what I have:
txtUserid, onChange = document.forms[0].elements['btnSearch'].disabled = true;
When I run the web page, I get a javascript error:
Line: 1
Char: 1
Error: 'document.forms.0.elements.btnSearch' is null or not an object

bkrivensky wrote:
Netbeans 6.0 web page, trying to add data into a mySQL table. The table has a datetime datatype. The add does not work when trying to add a record. Don't suppose you want to share the error message you're getting do ya? Go on, be a sport.

Similar Messages

  • Netbeans 6.0 web page Error adding data to mySQL table - date datatype

    Netbeans 6.0 web page, trying to add data into a mySQL table. The table has a datetime datatype. The add does not work when trying to add a record. I have no problems when I add a record to a table without a date datatype. Here is my code.
    RowKey rk = fwusersDataProvider.appendRow();
    fwusersDataProvider.setCursorRow(rk);
    fwusersDataProvider.setValue("fwusers.userid", userid);
    fwusersDataProvider.setValue("fwusers.password", pwd);
    fwusersDataProvider.setValue("fwusers.firstName", "A");
    fwusersDataProvider.setValue("fwusers.lastName", "K");
    fwusersDataProvider.setValue("fwusers.middleName", "");
    fwusersDataProvider.setValue("fwusers.companyName", "DCC");
    fwusersDataProvider.setValue("fwusers.password1", "");
    fwusersDataProvider.setValue("fwusers.password2", "");
    fwusersDataProvider.setValue("fwusers.password3", "");
    Calendar cal= Calendar.getInstance();
    java.sql.Date sqlDate = new java.sql.Date(cal.getTime().getTime() );
    fwusersDataProvider.setValue("fwusers.dateCreated", sqlDate );
    fwusersDataProvider.setValue("fwusers.group", "worker");
    fwusersDataProvider.commitChanges();
    fwusersDataProvider.refresh();

    bkrivensky wrote:
    Netbeans 6.0 web page, trying to add data into a mySQL table. The table has a datetime datatype. The add does not work when trying to add a record. Don't suppose you want to share the error message you're getting do ya? Go on, be a sport.

  • Playing swf file by onclick in html web page

    First time poster so please forgive any protocol lapses.  I'm trying to play an  AS3 swf embedded in my web page by an onclick javascript function in my page.  Have tried many different ways, including the ExternalInterface class but no luck. Any help or suggestions would be appreciated.  I have a feeling that I'm overlooking something very basic.
    javascript :
    function playCorrectMovie() {
              var getSwfObj = swfobject.getObjectById("FlashID2");
              if(getSwfObj)
                        getSwfObj.play();
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID2");
    </script>
    html:
    <div id="answer1" class="answer_box">
      <ul>
        <li><a href="#" id="gifted" onclick="MM_effectShake('answer1'); return false;">gifted musicians who trace their genealogy back to Monteverdi.</a></li>
        <li><a href="#" id="wealthy" onclick="MM_effectShake('answer1'); return false;">successful entrepreneurs (the folks who brought us the original Bazooka bubble Gum.</a></li>
        <li><a href="#" id="slackers" onclick="playCorrectMovie();" >slackers, swindlers and ne'er do wells.</a></li>
      </ul>
    </div>
    flash:
    <div id="popupswf">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="200" id="FlashID2" title="Your answer was correct!">
        <param name="movie" value="correct.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="transparent" />
        <param name="play" value="false" />
        <param name="swfversion" value="6.0.65.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="correct.swf" width="300" height="200">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="play" value="false" />
          <param name="swfversion" value="6.0.65.0" />
          <param name="expressinstall" value="scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    </div>

    No need to be sorry...  one other thing... the url to the swf uses the "public_html" directory as a lead-in.
    <param name="movie" value="public_html/our nations.swf" />
    The public_html directory of a web site is typically where a web site's content is placed as the base for a web site on a host server.  Unless you have a directory named public_html within what is probably already the public_html folder, then you do not want to specify that.  It is more probably supposed to be...
    <param name="movie" value="our nations.swf" />
    If you look at the various images that are specified in the html code, they do not specify that directory.  So if the swf is in the same folder as them, you do not want to be specifying the public_html part of that address.

  • Connect java to php web page

    Hello...
    I am new in this forum, so I am sorry if I post my question in wrong place.
    I have php web page and want to call my java classes i.e connect java to php. My java code will read from file some info. then will organize these info. finally, the java will write the organized info. in file, the php will display the content of the file.
    can help me please to achieve this goal...
    thanks in advance
    ibtesam saleh

    I do not how to use JPoller, put it looks very advanced.
    Or you can use a simple code in (java/perl/c/what so every u know)
    void main(){
    while (true) {
    checkDirectoryAndReadNewCommandsAndWriteNewOutputs();
    Thread.sleep(waitTime);
    }and put your program on your windows/linux startUp
    Or you can learn using sockets in java and write your own html service with port 80 (I did some experiments)
    Or you can try to use WebService example from Netbeans program (I tried it worked for me)
    Or you can learn J2EE (I have never find the time to look at)
    Or ... many ideas, to time :)

  • Help! I Can't See My Web Page!

    Good evening fellow Dreamweaver users,
        I recently tried centering one of my web pages using a code that I received from Nadia for another one of my pages.  The code worked for that page, but when I entered it into my second page it didn't work.  I deleted the code from my second page, but now I can't see it when I go to test it in my browser.  All I see is a blank white page.  I'm in dire need of some help.  Yes, I am an amateur and I'm sorry if my questions are bothering some of you. However, I'm trying to learn this stuff, but I get confused on where and how to place the coding and now I have messed up and don't know what to do to fix it.  I would appreciate it if someone could help me get my page to be auto-centered and show up again when I test it in my browser.  Below is the current coding for my page.  Thank you.
    AMMOCAN
    <style type="text/css">
    <!--
    body {
         background-image: url(assets/effects/background.jpg);
    body,td,th {
         color: #FFFFFF;
    .style2 {
         font-size: 36px;
         color: #000000;
    .style12 {
         color: #000000;
         font-size: 18px;
    .style13 {color: #000000; font-size: 24px;
    .style15 {color: #000000; font-size: 16px; }
    </style>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_nbGroup(event, grpName) { //v6.0
      var i,img,nbArr,args=MM_nbGroup.arguments;
      if (event == "init" && args.length > 2) {
        if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
          img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
          if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
          nbArr[nbArr.length] = img;
          for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
            if (!img.MM_up) img.MM_up = img.src;
            img.src = img.MM_dn = args[i+1];
            nbArr[nbArr.length] = img;
      } else if (event == "over") {
        document.MM_nbOver = nbArr = new Array();
        for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
          nbArr[nbArr.length] = img;
      } else if (event == "out" ) {
        for (i=0; i < document.MM_nbOver.length; i++) {
          img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
      } else if (event == "down") {
        nbArr = document[grpName];
        if (nbArr)
          for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
        document[grpName] = nbArr = new Array();
        for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
          nbArr[nbArr.length] = img;
    //-->
    </script>
    </head>
    <body bgcolor="#64748B" onLoad="MM_preloadImages('assets/effects/button_4.gif','assets/effects/button_6.gif','assets/effects/button_8.gif','assets/effects/button_10.gif','assets/effects/button_3.gif')">
    <table width="1232" border="0" cellpadding="0" cellspacing="0">
         <td colspan="6" nowrap="nowrap" background="assets/effects/background_1.png"><img src="mm_spacer.gif" alt="" width="15" height="1" border="0" />       <div align="center"><span class="style2"> Welcome To Ammocan's Graphic Design Portfolio</span><span class="tagline"><img src="assets/effects/branding_design_1.png" alt="branding_design" name="branding_design" width="456" height="146" align="absmiddle" id="branding_design" /></span></div></td>
         </tr>
         <td colspan="6" background="assets/effects/background_1.png"><img src="mm_spacer.gif" alt="" width="1" height="4" border="0" /></td>
         </tr>
         <td colspan="6" background="assets/effects/background_4.jpg"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
         </tr>
          <td colspan="6" nowrap="nowrap" background="assets/effects/background_4.jpg"><div align="center"><a href="the_designer.html" target="_top" onClick="MM_nbGroup('down','group1','the_designer','assets/effects/button_4.gif',1)" onMouseOver="MM_nbGroup('over','the_designer','assets/effects/button_4.gif','assets/effects/button_4.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="assets/effects/button_4.gif" alt="the_designer_button" name="the_designer" hspace="70" border="0" align="absmiddle" id="the_designer" onload="MM_nbGroup('init','group1','the_designer','assets/effects/button_3.gif',1)" /></a>        <a href="design_and_color.html" target="_top" onClick="MM_nbGroup('down','group1','designs','assets/effects/button_6.gif',1)" onMouseOver="MM_nbGroup('over','designs','assets/effects/button_6.gif','assets/effects/button_6.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="assets/effects/button_5.gif" alt="design_button" name="designs" hspace="75" border="0" align="absmiddle" onload="" /></a>        <a href="resume.html" target="_top" onClick="MM_nbGroup('down','group1','resume','assets/effects/button_8.gif',1)" onMouseOver="MM_nbGroup('over','resume','assets/effects/button_8.gif','assets/effects/button_8.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="assets/effects/button_7.gif" alt="resume_button" name="resume" hspace="75" border="0" align="absmiddle" onLoad="" /></a> <a href="contact.html" target="_top" onClick="MM_nbGroup('down','group1','contact','assets/effects/button_10.gif',1)" onMouseOver="MM_nbGroup('over','contact','assets/effects/button_10.gif','assets/effects/button_10.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="assets/effects/button_9.gif" alt="contact_button" name="contact" hspace="75" border="0" align="absmiddle" onLoad="" /></a></div></td>
          </tr>
         <td colspan="6" background="assets/effects/background_4.jpg"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
         </tr>
         <td colspan="6" background="assets/effects/background_3.png"><img src="mm_spacer.gif" alt="" width="1" height="4" border="0" /></td>
         </tr>
         <td height="598" colspan="3" valign="top" background="assets/effects/background_3.png"><div align="center"><img src="assets/effects/ammocan_pic.jpg" alt="photo_of_ammocan" name="ammocan" width="333" height="351" border="0" align="bottom" id="ammocan" /><br />
           </div>
             <p align="center" class="style13">AMMOCAN</p>
          <p align="center" class="style12">&quot;The Designer&quot;</p></td>
         <td width="883" valign="top" background="assets/effects/background_3.png"><table width="786" height="517" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="786" height="54" class="pageName"><p align="center" class="style13">About Ammocan</p></td>
          </tr>
          <tr>
            <td height="463" class="bodyText"><p><span class="style15">I'm from Oakdale, CA, but I now reside in Stockton, CA. I moved to Stockton in the summer of 2008 to be closer to San Joaquin Delta College, which is where I started my higher education in becoming a Graphic Designer. I will be finishing my higher education in Stockton at the University of the Pacific with a BFA in Graphic Design. I first realized my potential as an artist through my computer aided drafting and architecture courses in high school. I really enjoy coming up with creative ideas and then bringing those ideas to life using many different types of media. <br>
                  <br>
                  In 1996 I enlisted into the U.S. Army's delayed entry program. In 1997 I graduated high school and left Oakdale to go to my first duty station after I finished my military occupation specialty training. The military has allowed me to see other parts of this country and world, which enhanced my &quot;out of the box&quot; way of thinking. The military also helped enforce the great skills and values that I had learned growing up in a family full of military service members (i.e. discipline, teamwork, and professionalism). In the military my occupation specialty was an Infantry Team Leader, which is highly demanding both physically and mentally. Although the nature of my job in the military took a lot of intelligence the physical demands of the job was the dominant attribute. After ten years of honorable service my body could no longer take the physical demand of being an Infantry soldier. In 2007 I was given an honorable disability discharge from the military. This was the catalyst that got me started on the path of pursuing a career that would allow me to utilize my creative thinking skills, as well as the skills and attributes I developed through my years in the military.<br>
                  <br>
                  During my exploration in higher education in 2007 at San Joaquin Delta College I came across their Graphic Arts Program. I instantly fell in love and have not turned back. I feel fortunate and blessed to have found myself on a career path towards becoming a Graphic Designer. My strongest skill set is my creative &quot;out of the box&quot; thinking skills and this type of media allows me to not only bring my ideas to life, but the ideas of others. I couldn't ask for a better career for myself than having a career that is both challenging and constantly evolving.</span><br>
      <br>
            </p></td>
          </tr>
        </table>
           <br />
         <br />
            <br />
          <br />     </td>
         <td width="4" background="assets/effects/background_3.png"> </td>
         <td width="4" background="assets/effects/background_3.png"> </td>
      </tr>
         <td height="97" colspan="6" background="assets/effects/background_1.png"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
      </tr>
         <tr>
         <td width="17" height="36"> </td>
         <td width="316"> </td>
         <td width="8"> </td>
         <td width="883"> </td>
         <td width="4"> </td>
         <td width="4"> </td>
      </tr>
    </table>
    </body>
    </html>

    Good morning Nadia,
        I apologize for it taking me so long to respond back to you, but I have been quite busy with trying to prepare for my Fall semester college transfer.  After copying and pasting your revised code I still couldn't see my page when I viewed it through my browser.  However, the code for centering the page worked in Dreamweaver, so I decided to start over by using the code you gave me to center the page as a template.  After achieving this enormous task I now have a centered web page that is viewable in my browser.  I want to let you know that I'm very appreciative and thankful for your help, as I was really stuck in a bad spot.  Even though I have taken a web design course and have read a few books I still find myself having trouble with fully understanding how to correctly implement the coding in Dreamweaver, which I feel is a key part in becoming a great web designer.  I have pasted the new code for the page below in case you wanted to check it out.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- DW6 -->
    <head>
    <!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
    <title>The Designer</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" href="mm_training.css" type="text/css" />
    <style type="text/css">
    <!--
    body {
         background-image: url(assets/effects/background.jpg);
    -->
    #maintable {
         width: 980px;
         margin: auto auto;
    .style7 {
         font-size: 30px;
         font-weight: bold;
    .style8 {
         font-size: 20px
    .style16 {font-size: 9px}
    .style17 {
         color: #000000;
         font-size: 16px;
    .style18 {font-size: 24px}
    a:link {
         color: #000000;
         text-decoration: none;
    a:visited {
         color: #BB0000;
         text-decoration: none;
    a:hover {
         color: #00BB00;
         text-decoration: underline;
    a:active {
         text-decoration: none;
    .style21 {
         font-size: 18px;
         font-weight: bold;
    .style24 {font-size: 16px}
    </style>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_nbGroup(event, grpName) { //v6.0
      var i,img,nbArr,args=MM_nbGroup.arguments;
      if (event == "init" && args.length > 2) {
        if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
          img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
          if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
          nbArr[nbArr.length] = img;
          for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
            if (!img.MM_up) img.MM_up = img.src;
            img.src = img.MM_dn = args[i+1];
            nbArr[nbArr.length] = img;
      } else if (event == "over") {
        document.MM_nbOver = nbArr = new Array();
        for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
          nbArr[nbArr.length] = img;
      } else if (event == "out" ) {
        for (i=0; i < document.MM_nbOver.length; i++) {
          img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
      } else if (event == "down") {
        nbArr = document[grpName];
        if (nbArr)
          for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
        document[grpName] = nbArr = new Array();
        for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
          if (!img.MM_up) img.MM_up = img.src;
          img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
          nbArr[nbArr.length] = img;
    //-->
    </script>
    </head>
    <body bgcolor="#64748B" onload="MM_preloadImages('assets/effects/button_3.gif','assets/effects/button_4.gif','assets/effects/button_6.gif','assets/effects/button_8.gif','assets/effects/button_10.gif')">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="maintable">
         <tr bgcolor="#26354A">
         <td width="15" nowrap="nowrap" background="assets/effects/background_6.png"><img src="mm_spacer.gif" alt="" width="15" height="1" border="0" /></td>
         <td height="70" colspan="3" nowrap="nowrap" background="assets/effects/background_1.png" class="logo"><div align="left"><span class="style7">Welcome To Ammocan's Graphic Design Portfolio</span><span class="tagline"> <img src="assets/effects/branding_design_1.png" alt="branding_logo" width="326" height="146" align="absmiddle" /></span></div></td>
         <td width="40" background="assets/effects/background_6.png"> </td>
         <td width="100%" background="assets/effects/background_1.png"> </td>
         </tr>
         <tr bgcolor="#FF6600">
         <td colspan="6" background="assets/effects/background_4.png"><img src="mm_spacer.gif" alt="" width="1" height="4" border="0" /></td>
         </tr>
         <tr bgcolor="#D3DCE6">
         <td colspan="6" background="assets/effects/background_4.png"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
         </tr>
         <tr bgcolor="#FFCC00">
          <td width="15" nowrap="nowrap" background="assets/effects/background_7.png"> </td>
          <td width="705" height="24" colspan="3" background="assets/effects/background_4.png"> <div align="right"><a href="the_designer.html" target="_top" onclick="MM_nbGroup('down','group1','the_designer','assets/effects/button_4.gif',1)" onmouseover="MM_nbGroup('over','the_designer','assets/effects/button_4.gif','assets/effects/button_4.gif',1)" onmouseout="MM_nbGroup('out')"><img src="assets/effects/button_4.gif" alt="Navigation button linking to the designer page" name="the_designer" width="90" height="90" border="0" align="absmiddle" id="the_designer" onload="MM_nbGroup('init','group1','the_designer','assets/effects/button_3.gif',1)" /></a>        <a href="designs.html" target="_top" onclick="MM_nbGroup('down','group1','designs','assets/effects/button_6.gif',1)" onmouseover="MM_nbGroup('over','designs','assets/effects/button_6.gif','assets/effects/button_6.gif',1)" onmouseout="MM_nbGroup('out')"><img src="assets/effects/button_5.gif" alt="Navigation button linking to the designs page" name="designs" width="90" height="90" hspace="125" border="0" align="absmiddle" onload="" /></a>        <a href="resume.html" target="_top" onClick="MM_nbGroup('down','group1','resume','assets/effects/button_8.gif',1)" onMouseOver="MM_nbGroup('over','resume','assets/effects/button_8.gif','assets/effects/button_8.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="assets/effects/button_7.gif" alt="Navigation button linking to the resume page" name="resume" width="90" height="90" border="0" align="absmiddle" onLoad="" /></a> <a href="contact.html" target="_top" onClick="MM_nbGroup('down','group1','contact','assets/effects/button_10.gif',1)" onMouseOver="MM_nbGroup('over','contact','assets/effects/button_10.gif','assets/effects/button_10.gif',1)" onMouseOut="MM_nbGroup('out')"><img src="assets/effects/button_9.gif" alt="Navigation button linking to the contact page" name="contact" width="90" height="90" hspace="110" border="0" align="absmiddle" onLoad="" /></a></div></td>
          <td width="40" background="assets/effects/background_7.png"> </td>
          <td width="100%" background="assets/effects/background_4.png"> </td>
      </tr>
         <tr bgcolor="#D3DCE6">
         <td colspan="6" background="assets/effects/background_4.png"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
         </tr>
         <tr bgcolor="#FF6600">
         <td colspan="6" background="assets/effects/background_7.png"><img src="mm_spacer.gif" alt="" width="1" height="4" border="0" /></td>
         </tr>
         <tr bgcolor="#D3DCE6">
         <td width="230" colspan="2" valign="top" background="assets/effects/background_3.png" bgcolor="#26354A"><div align="center"><img src="assets/effects/ammocan_pic.jpg" alt="Home Page Image" name="ammocan" width="333" height="351" border="0" id="ammocan" /><br />
           </div>
           <table border="0" cellspacing="0" cellpadding="0" width="334">
              <tr>
              <td width="230" class="sidebarText" id="padding"><div align="center">
                <p><span class="style8">AMMOCAN</span><br />
    &quot;The Designer&quot;</p>
                <p><a href="mailto:[email protected]">[email protected]</a><a href="http://www.yahoo.com"></a><br />
       <br />          
                  </p>
              </div></td>
              </tr>
         </table>     </td>
         <td width="50" valign="top" background="assets/effects/background_3.png"><img src="mm_spacer.gif" alt="" width="50" height="1" border="0" /></td>
         <td width="440" valign="top" background="assets/effects/background_3.png"><table border="0" cellspacing="0" cellpadding="0" width="541">
          <tr>
            <td width="541" class="pageName"><p align="center" class="style18">About The Designer</p></td>
          </tr>
          <tr>
            <td class="bodyText"><p><span class="style16"><span class="style17">I'm from Oakdale, CA, but I now reside in Stockton, CA. I moved to Stockton in the summer of 2008 to be closer to <a href="http://www.sjdccd.cc.ca.us/">San Joaquin Delta College</a>, which is where I started my higher education in becoming a Graphic Designer. I will be finishing my higher education in Stockton at the <a href="http://web.pacific.edu/">University of the Pacific</a> with a BFA in Graphic Design. I first realized my potential as an artist through my computer aided drafting and architecture courses in high school. I really enjoy coming up with creative ideas and then bringing those ideas to life using many different types of media. <br />
                        <br />
              In 1996 I enlisted into the U.S. Army's delayed entry program. In 1997 I graduated high school and left Oakdale to go to my first duty station after I finished my military occupation specialty training. The military has allowed me to see other parts of this country and world, which enhanced my &quot;out of the box&quot; way of thinking. The military also helped enforce the great skills and values that I had learned growing up in a family full of military service members (i.e. discipline, teamwork, and professionalism). In the military my occupation specialty was an Infantry Team Leader, which is highly demanding both physically and mentally. Although the nature of my job in the military took a lot of intelligence the physical demands of the job was the dominant attribute. After ten years of honorable service my body could no longer take the physical demand of being an Infantry soldier. In 2007 I was given an honorable disability discharge from the military. This was the catalyst that started me on the path of pursuing a career that would allow me to utilize my creative thinking skills, as well as the skills and attributes I developed through my years in the military.<br />
              <br />
              During my exploration in higher education in 2007 at Delta College I came across their Graphic Arts Program. I instantly fell in love and have not turned back. I feel fortunate and blessed to have found myself on a career path towards becoming a Graphic Designer. My strongest skill set is my creative &quot;out of the box&quot; thinking skills. Being a Graphic Designer allows me to not only bring my ideas to life, but the ideas of others. I couldn't ask for a better career for myself than having a career that is both challenging and constantly evolving.</span><br />
              <br />
            </span> </p></td>
          </tr>
        </table>
           <br />
         <br />      <br />
          <br />     </td>
         <td width="40" background="assets/effects/background_3.png"> </td>
         <td width="100%" background="assets/effects/background_3.png"> </td>
         </tr>
         <tr bgcolor="#D3DCE6">
         <td height="54" colspan="6" background="assets/effects/background_1.png"><div align="center" class="style21">
           <div align="center"><span class="style24">Copyright © 2009 ≈ <a href="http://www.myspace.com/ammo_can">2 Drops In A Bucket Graphx</a> | Ammocan ≈ <a href="index.html">Home</a> | <a href="the_designer.html">The Designer</a> | <a href="designs.html">Designs</a> | <a href="resume.html">Resume</a> | <a href="contact.html">Contact</a></span> </div>
         </div></td>
      </tr>
         <tr>
         <td width="15"> </td>
         <td width="215"> </td>
         <td width="50"> </td>
         <td width="440"> </td>
         <td width="40"> </td>
         <td width="100%"> </td>
         </tr>
    </table>
    </body>
    </html>

  • How to publish a web page displaying a JFX app ?

    Hello (again '-_-) !
    I'd like to create a web page displaying a JavaFX application.
    When I launch the html file generated by NetBeans in the dist folder, It works perfectly, but when I put the same files (.html and .jar) on a webserver, the app never starts... I only get the Java image-loading spinner.
    Is there something else to do to plubish a web page displaying a JFX application ?
    Best regards,
    Cereal.

    Ok, so i read the "10 minutes tutorial" and i think that my files are ok :
    DemoFFE_browser.jnlp :
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://xxx.xxx.xxx.xxx/camera/ffe/" href="DemoFFE_browser.jnlp">
        <information>
            <title>DemoFFE</title>
            <vendor>fjeannet</vendor>
            <homepage href="http://xxx.xxx.xxx.xxx/camera/ffe/"/>
            <description>DemoFFE</description>
            <offline-allowed/>
            <shortcut>
                <desktop/>
            </shortcut>
        </information>
        <resources>
            <j2se version="1.5+"/>
            <extension name="JavaFX Runtime" href="http://dl.javafx.com/javafx-rt.jnlp"/>
            <jar href="DemoFFE.jar" main="true"/>
        </resources>
        <applet-desc name="DemoFFE" main-class="com.sun.javafx.runtime.adapter.Applet" width="176" height="144">
            <param name="MainJavaFXScript" value="demoffe.Main">
        </applet-desc>
    </jnlp>DemoFFE.html :
    <html>
    <head>
    <title>DemoFFE</title>
    </head>
    <body>
    <script src="http://dl.javafx.com/dtfx.js"></script>
    <script>
        javafx(
                  archive: "DemoFFE.jar",
                  draggable: true,
                  width: 176,
                  height: 144,
                  code: "demoffe.Main",
                  name: "DemoFFE"
    </script>
    </body>
    </html>The java console still displays this message
    exception : null.
    java.io.FileNotFoundException: JNLP not available: DemoFFE_browser.jnlp
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception : java.io.FileNotFoundException: JNLP not available: DemoFFE_browser.jnlpAll my files (DemoFFE.jar, DemoFFE_browser.jnlp and DemoFFE.html) are in the same directory.
    Does somenoe know where to set the path of DemoFFE_browser.jnlp ?

  • Help inserting a flash video into my web page

    Hello!
    I'd love some help inserting a flash video into my web page. My web page is hosted by Viviti, templated, and edited online. I can add html to it, and I have the html source for my flash video. I also have uploaded the flash file to the server. Since I am very html illiterate, though, I need some help rewriting the html script so it can be published. There are two problems- firstly, no 'headers' or 'body' allowed in the script- these are already a part of the template. Secondly, I don't know how to rewrite it to refer to the uploaded files. It's also imperative that the full screen mode functions. I've pasted the source code for the flash video here. Please help!!!
    Thanks!
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Drag and drop labelling</title>
    <script language="JavaScript" type="text/javascript">
    <!--
    //v1.7
    // Flash Player Version Detection
    // Detect Client Browser type
    // Copyright 2005-2008 Adobe Systems Incorporated.  All rights reserved.
    var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
    var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
    var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
    function ControlVersion()
         var version;
         var axo;
         var e;
         // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
         try {
              // version will be set for 7.X or greater players
              axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
              version = axo.GetVariable("$version");
         } catch (e) {
         if (!version)
              try {
                   // version will be set for 6.X players only
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
                   // installed player is some revision of 6.0
                   // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
                   // so we have to be careful.
                   // default to the first public version
                   version = "WIN 6,0,21,0";
                   // throws if AllowScripAccess does not exist (introduced in 6.0r47)          
                   axo.AllowScriptAccess = "always";
                   // safe to call for 6.0r47 or greater
                   version = axo.GetVariable("$version");
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 4.X or 5.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                   version = axo.GetVariable("$version");
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 3.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                   version = "WIN 3,0,18,0";
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 2.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
                   version = "WIN 2,0,0,11";
              } catch (e) {
                   version = -1;
         return version;
    // JavaScript helper required to detect Flash Player PlugIn version information
    function GetSwfVer(){
         // NS/Opera version >= 3 check for Flash plugin in plugin array
         var flashVer = -1;
         if (navigator.plugins != null && navigator.plugins.length > 0) {
              if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
                   var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
                   var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
                   var descArray = flashDescription.split(" ");
                   var tempArrayMajor = descArray[2].split(".");               
                   var versionMajor = tempArrayMajor[0];
                   var versionMinor = tempArrayMajor[1];
                   var versionRevision = descArray[3];
                   if (versionRevision == "") {
                        versionRevision = descArray[4];
                   if (versionRevision[0] == "d") {
                        versionRevision = versionRevision.substring(1);
                   } else if (versionRevision[0] == "r") {
                        versionRevision = versionRevision.substring(1);
                        if (versionRevision.indexOf("d") > 0) {
                             versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
                   var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
         // MSN/WebTV 2.6 supports Flash 4
         else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
         // WebTV 2.5 supports Flash 3
         else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
         // older WebTV supports Flash 2
         else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
         else if ( isIE && isWin && !isOpera ) {
              flashVer = ControlVersion();
         return flashVer;
    // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
    function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
         versionStr = GetSwfVer();
         if (versionStr == -1 ) {
              return false;
         } else if (versionStr != 0) {
              if(isIE && isWin && !isOpera) {
                   // Given "WIN 2,0,0,11"
                   tempArray         = versionStr.split(" ");      // ["WIN", "2,0,0,11"]
                   tempString        = tempArray[1];               // "2,0,0,11"
                   versionArray      = tempString.split(",");     // ['2', '0', '0', '11']
              } else {
                   versionArray      = versionStr.split(".");
              var versionMajor      = versionArray[0];
              var versionMinor      = versionArray[1];
              var versionRevision   = versionArray[2];
                 // is the major.revision >= requested major.revision AND the minor version >= requested minor
              if (versionMajor > parseFloat(reqMajorVer)) {
                   return true;
              } else if (versionMajor == parseFloat(reqMajorVer)) {
                   if (versionMinor > parseFloat(reqMinorVer))
                        return true;
                   else if (versionMinor == parseFloat(reqMinorVer)) {
                        if (versionRevision >= parseFloat(reqRevision))
                             return true;
              return false;
    function AC_AddExtension(src, ext)
      if (src.indexOf('?') != -1)
        return src.replace(/\?/, ext+'?');
      else
        return src + ext;
    function AC_Generateobj(objAttrs, params, embedAttrs)
      var str = '';
      if (isIE && isWin && !isOpera)
        str += '<object ';
        for (var i in objAttrs)
          str += i + '="' + objAttrs[i] + '" ';
        str += '>';
        for (var i in params)
          str += '<param name="' + i + '" value="' + params[i] + '" /> ';
        str += '</object>';
      else
        str += '<embed ';
        for (var i in embedAttrs)
          str += i + '="' + embedAttrs[i] + '" ';
        str += '> </embed>';
      document.write(str);
    function AC_FL_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
         , "application/x-shockwave-flash"
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_SW_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
         , null
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
      var ret = new Object();
      ret.embedAttrs = new Object();
      ret.params = new Object();
      ret.objAttrs = new Object();
      for (var i=0; i < args.length; i=i+2){
        var currArg = args[i].toLowerCase();   
        switch (currArg){     
          case "classid":
            break;
          case "pluginspage":
            ret.embedAttrs[args[i]] = args[i+1];
            break;
          case "src":
          case "movie":     
            args[i+1] = AC_AddExtension(args[i+1], ext);
            ret.embedAttrs["src"] = args[i+1];
            ret.params[srcParamName] = args[i+1];
            break;
          case "onafterupdate":
          case "onbeforeupdate":
          case "onblur":
          case "oncellchange":
          case "onclick":
          case "ondblclick":
          case "ondrag":
          case "ondragend":
          case "ondragenter":
          case "ondragleave":
          case "ondragover":
          case "ondrop":
          case "onfinish":
          case "onfocus":
          case "onhelp":
          case "onmousedown":
          case "onmouseup":
          case "onmouseover":
          case "onmousemove":
          case "onmouseout":
          case "onkeypress":
          case "onkeydown":
          case "onkeyup":
          case "onload":
          case "onlosecapture":
          case "onpropertychange":
          case "onreadystatechange":
          case "onrowsdelete":
          case "onrowenter":
          case "onrowexit":
          case "onrowsinserted":
          case "onstart":
          case "onscroll":
          case "onbeforeeditfocus":
          case "onactivate":
          case "onbeforedeactivate":
          case "ondeactivate":
          case "type":
          case "codebase":
          case "id":
            ret.objAttrs[args[i]] = args[i+1];
            break;
          case "width":
          case "height":
          case "align":
          case "vspace":
          case "hspace":
          case "class":
          case "title":
          case "accesskey":
          case "name":
          case "tabindex":
            ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
            break;
          default:
            ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
      ret.objAttrs["classid"] = classid;
      if (mimeType) ret.embedAttrs["type"] = mimeType;
      return ret;
    // -->
    </script>
    </head>
    <body bgcolor="#ffffff">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="JavaScript" type="text/javascript">
         AC_FL_RunContent(
              'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
              'width', '720',
              'height', '440',
              'src', 'Drag and drop labelling',
              'quality', 'medium',
              'pluginspage', 'http://www.adobe.com/go/getflashplayer',
              'align', 'middle',
              'play', 'true',
              'loop', 'true',
              'scale', 'showall',
              'wmode', 'window',
              'devicefont', 'false',
              'id', 'Drag and drop labelling',
              'bgcolor', '#ffffff',
              'name', 'Drag and drop labelling',
              'menu', 'true',
              'allowFullScreen', 'true',
              'allowScriptAccess','sameDomain',
              'movie', 'Drag and drop labelling',
              'salign', ''
              ); //end AC code
    </script>
    <noscript>
         <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="720" height="440" id="Drag and drop labelling" align="middle">
         <param name="allowScriptAccess" value="sameDomain" />
         <param name="allowFullScreen" value="true" />
         <param name="movie" value="Drag and drop labelling.swf" /><param name="quality" value="medium" /><param name="bgcolor" value="#ffffff" />     <embed src="Drag and drop labelling.swf" quality="medium" bgcolor="#ffffff" width="720" height="440" name="Drag and drop labelling" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
         </object>
    </noscript>
    </body>
    </html>

    What you basically need to do is copy the sections of content from the code you show into the template (assuming the template already provides the <head> and <body> sections of the page.  So in the head section of what you show, take everything starting with...
    <script language="JavaScript" type="text/javascript">
    all the way down thru...
    </script>
    , inclusive (in the head section only), and paste that into the head section of your template.
    Similarly, take everything that lies between the <body> ... </body> tags (exclusive of the body tags) and paste it into the body section of your template wherever you plan to display the Flash file.

  • Playing a symbol timeline in Edge from Javascript function in an exteranl web page

    All-
    I have a javascript function in an external web page.  i want to use this function to call a symbol timeline inside an edge file.
    i've read about bootstrapping but i'm unsure how to use it in my project
    any ideas?
    Z

    Hi again Elaine,
    I actually had some success after many attempts with using your code. I can control the .stop() and .play() of the "NamePlate_sym" symbol. Yet, I am still having trouble doing anything else with it. I cannot .hide() it, nor use .html("Change text") on another element on the stage called"Rectangle". If I can accomplish that and all a global function on the stage, I'm in good shape.
    I placed the following script in the header of the .html file that gets loaded into the iFrame within the Edge composition:
      <script type="text/javascript">
       window.parent.AdobeEdge.bootstrapCallback(function(compId) {
       comp = window.parent.AdobeEdge.getComposition(compId).getStage();
       alert("CompID is "+compId);
       var symbol = document.createElement('div');
       symbol.innerHTML = 'Rotate';
       symbol.style.cssText = 'background-color:#fea; width: 50px; text-align: center;';
       symbol.style.cursor = 'pointer';
       symbol.onclick = function() {
        if (comp.getSymbol("NamePlate_sym").isPlaying()) {
         comp.getSymbol("NamePlate_sym").stop();
        else {
         comp.getSymbol("NamePlate_sym").play();
       window.parent.document.body.appendChild(symbol);
            </script>
    Once I put window.parent. in the first two lines of code and the last, my test worked. As I mentioned earlier though, I still can't get the syntax correct to .hide() an element (i.e. comp.getSymbol("NamePlate_sym").hide(); does not work), or more importantly, change the innerHTML value of an element on the stage. The code either does nothing or freezes.
    Thanks... Tommy

  • How to gather a set of floating point numbers from a web page form?

    I am pretty new to Java and I am working on a project to apply Benfords law to find the probability of digits submitted by the user. My first step is to gather set of floating point numbers from a web page. How do I go about doing this? Any suggestion or a proper site where I can learn this stuff will be highly appreciated.

    I am using NetBeans IDE 5.5.1 and for this project. I have realized that the first question was not well phrased.
    I created a web project with 2 jsp files and a class file in it. When my jsp file runs I ask the user to enter a number for finding the probablility based on Benfords law.
    This is what I got so far:
    This is input.jsp
    <h1></h1>
    Please enter a number to be checked
    <form action="result.jsp" method="post">
    <input type="number" name="number" >
    <input type="submit" value="Check number">
    </form>
    </body>
    </html>
    This is result.jsp
    String number=request.getParameter("number");

  • How to use javafx in web page written in jsp or jsf

    Hello
    How can we include our demo of javafx, that come with netbeans IDE , into my web page in JSP or JSF.
    Regards
    Rajnish Chauhan

    You just have to add it like and applet , including this line in your JSP or JSF
    <script src="http://dl.javafx.com/dtfx.js"></script>Then add the applet
    <script>
        javafx(
                  archive: "./resources/jar/Draw.jar",
                  width: 400,
                  height: 200,
                  code: "Draw",
                  name: "Draw"
    </script>./resources/jar/Draw.jar - is the path and the name of the jar

  • Help! Urgent!!!  tree in web page

    I am new in Swing. I need to implement a tree in web page. The tree should appear in the left of a frame and the corresponding content should be displayed in the right of the frame.
    Could anyone give me an example? I need this help very urgently. Thank you very much in advance.
    my email addr:
    [email protected]

    this is mtmcode.js
    i try to send u another part of the code
    // Morten's JavaScript Tree Menu
    // version 2.3.0, dated 2001-04-30
    // http://www.treemenu.com/
    // Copyright (c) 2001, Morten Wang & contributors
    // All rights reserved.
    // This software is released under the BSD License which should accompany
    // it in the file "COPYING". If you do not have this file you can access
    // the license through the WWW at http://www.treemenu.com/license.txt
    * Define the MenuItem object. *
    function MTMenuItem(text, url, target, tooltip, icon)
    this.text = text;
    this.url = url ? url : "";
    this.target = target ? target : "";
    this.tooltip = tooltip;
    this.icon = icon ? icon : "";
    this.number = MTMNumber++;
    this.submenu = null;
    this.expanded = false;
    this.MTMakeSubmenu = MTMakeSubmenu;
    function MTMakeSubmenu(menu, isExpanded, collapseIcon, expandIcon)
    this.submenu = menu;
    this.expanded = isExpanded;
    this.collapseIcon = collapseIcon ? collapseIcon : "menu_folder_closed.gif";
    this.expandIcon = expandIcon ? expandIcon : "menu_folder_open.gif";
    * Define the Menu object. *
    function MTMenu()
    this.items = new Array();
    this.MTMAddItem = MTMAddItem;
    function MTMAddItem(item)
    this.items[this.items.length] = item;
    * Define the icon list, addIcon function and MTMIcon item. *
    function IconList()
    this.items = new Array();
    this.addIcon = addIcon;
    function addIcon(item)
    this.items[this.items.length] = item;
    function MTMIcon(iconfile, match, type)
    this.file = iconfile;
    this.match = match;
    this.type = type;
    * The MTMBrowser object. A custom "user agent" that'll define the browser *
    * seen from the menu's point of view. *
    function MTMBrowser()
    this.cookieEnabled = false;
    this.preHREF = "";
    this.MTMable = false;
    this.cssEnabled = true;
    this.browserType = "other";
    if(navigator.appName == "Netscape" && navigator.userAgent.indexOf("WebTV") == -1)
    if(parseInt(navigator.appVersion) == 3 && (navigator.userAgent.indexOf("Opera") == -1))
    this.MTMable = true;
    this.browserType = "NN3";
    this.cssEnabled = false;
              else if(parseInt(navigator.appVersion) >= 4)
    this.MTMable = true;
    this.browserType = parseInt(navigator.appVersion) == 4 ? "NN4" : "NN5";
              else if(navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) >= 4)
    this.MTMable = true;
    this.browserType = "IE4";
              else if(navigator.appName == "Opera" && parseInt(navigator.appVersion) >= 5)
    this.MTMable = true;
    this.browserType = "O5";
    if(this.browserType != "NN4")
    this.preHREF = location.href.substring(0, location.href.lastIndexOf("/") +1);
    * Global variables. Not to be altered unless you know what you're doing. *
    * User-configurable options are at the end of this document. *
    var MTMLoaded = false;
    var MTMLevel;
    var MTMBar = new Array();
    var MTMIndices = new Array();
    var MTMUA = new MTMBrowser();
    var MTMClickedItem = false;
    var MTMExpansion = false;
    var MTMNumber = 1;
    var MTMTrackedItem = false;
    var MTMTrack = false;
    var MTMFrameNames;
    var MTMFirstRun = true;
    var MTMCurrentTime = 0; // for checking timeout.
    var MTMUpdating = false;
    var MTMWinSize, MTMyval, MTMxval;
    var MTMOutputString = "";
    var MTMCookieString = "";
    var MTMCookieCharNum = 0; // cookieString.charAt()-number
    * Code that picks up frame names of frames in the parent frameset. *
    function MTMgetFrames()
    if(MTMUA.MTMable)
    MTMFrameNames = new Array();
    for(i = 0; i < parent.frames.length; i++)
    MTMFrameNames[i] = parent.frames.name;
    * Functions to draw the menu. *
    function MTMSubAction(SubItem)
    SubItem.expanded = (SubItem.expanded) ? false : true;
    if(SubItem.expanded)
    MTMExpansion = true;
    MTMClickedItem = SubItem.number;
    if(MTMTrackedItem && MTMTrackedItem != SubItem.number)
    MTMTrackedItem = false;
    if(MTMEmulateWE || SubItem.url == "" || !SubItem.expanded)
    setTimeout("MTMDisplayMenu()", 10);
    return false;
              else
    return true;
    function MTMStartMenu()
    MTMLoaded = true;
    if(MTMFirstRun)
    MTMCurrentTime++;
    if(MTMCurrentTime == MTMTimeOut)
                        { // call MTMDisplayMenu
    setTimeout("MTMDisplayMenu()",10);
                        else
    setTimeout("MTMStartMenu()",100);
    function MTMDisplayMenu()
    if(MTMUA.MTMable && !MTMUpdating)
    MTMUpdating = true;
    if(MTMFirstRun)
    MTMgetFrames();
    if(MTMUseCookies)
                                  MTMFetchCookie();
    if(MTMTrack)
                        MTMTrackedItem = MTMTrackExpand(menu);
    if(MTMExpansion && MTMSubsAutoClose)
                        MTMCloseSubs(menu);
    MTMLevel = 0;
    MTMDoc = parent.frames[MTMenuFrame].document
    MTMDoc.open("text/html", "replace");
    MTMOutputString = '<html><head>\n';
    if(MTMLinkedSS)
    MTMOutputString += '<link rel="stylesheet" type="text/css" href="' + MTMUA.preHREF + MTMSSHREF + '">\n';
                        else if(MTMUA.cssEnabled)
    MTMOutputString += '<style type="text/css">\nbody {\n\tcolor:' + MTMTextColor + ';\n}\n';
    MTMOutputString += '#root {\n\tcolor:' + MTMRootColor + ';\n\tbackground:transparent;\n\tfont-family:' + MTMRootFont + ';\n\tfont-size:' + MTMRootCSSize + ';\n}\n';
    MTMOutputString += 'a {\n\tfont-family:' + MTMenuFont + ';\n\tfont-size:' + MTMenuCSSize + ';\n\ttext-decoration:none;\n\tcolor:' + MTMLinkColor + ';\n\tbackground:transparent;\n}\n';
    MTMOutputString += MTMakeA('pseudo', 'hover', MTMAhoverColor);
    MTMOutputString += MTMakeA('class', 'tracked', MTMTrackColor);
    MTMOutputString += MTMakeA('class', 'subexpanded', MTMSubExpandColor);
    MTMOutputString += MTMakeA('class', 'subclosed', MTMSubClosedColor) + MTMExtraCSS + '\n<\/style>\n';
    MTMOutputString += '<\/head>\n<body ';
    if(MTMBackground != "")
    MTMOutputString += 'background="' + MTMUA.preHREF + MTMenuImageDirectory + MTMBackground + '" ';
    MTMOutputString += 'bgcolor="' + MTMBGColor + '" text="' + MTMTextColor + '" link="' + MTMLinkColor + '" vlink="' + MTMLinkColor + '" alink="' + MTMLinkColor + '">\n';
    MTMOutputString += MTMHeader + '\n<table border="0" cellpadding="0" cellspacing="0" width="' + MTMTableWidth + '">\n';
    MTMOutputString += '<tr valign="top"><td nowrap><img src="' + MTMUA.preHREF + MTMenuImageDirectory + MTMRootIcon + '" align="left" border="0" vspace="0" hspace="0">';
    if(MTMUA.cssEnabled)
    MTMOutputString += '<span id="root"> ' + MTMenuText + '<\/span>';
                        else
    MTMOutputString += '<font size="' + MTMRootFontSize + '" face="' + MTMRootFont + '" color="' + MTMRootColor + '">' + MTMenuText + '<\/font>';
    MTMDoc.writeln(MTMOutputString + '</td></tr>');
    MTMListItems(menu);
    MTMDoc.writeln('<\/table>\n' + MTMFooter + '\n<\/body>\n<\/html>');
    MTMDoc.close();
    if(MTMUA.browserType == "NN5")
    parent.frames[MTMenuFrame].scrollTo(0, 0);
    if((MTMClickedItem || MTMTrackedItem) && MTMUA.browserType != "NN3" && !MTMFirstRun)
    MTMItemName = "sub" + (MTMClickedItem ? MTMClickedItem : MTMTrackedItem);
    if(document.layers && parent.frames[MTMenuFrame].scrollbars)
    MTMyval = parent.frames[MTMenuFrame].document.anchors[MTMItemName].y;
    MTMWinSize = parent.frames[MTMenuFrame].innerHeight;
                                  else if(MTMUA.browserType != "O5")
    if(MTMUA.browserType == "NN5")
    parent.frames[MTMenuFrame].document.all = parent.frames[MTMenuFrame].document.getElementsByTagName("*");
    MTMyval = MTMGetYPos(parent.frames[MTMenuFrame].document.all[MTMItemName]);
    MTMWinSize = MTMUA.browserType == "NN5" ? parent.frames[MTMenuFrame].innerHeight : parent.frames[MTMenuFrame].document.body.offsetHeight;
    if(MTMyval > (MTMWinSize - 60))
    parent.frames[MTMenuFrame].scrollBy(0, parseInt(MTMyval - (MTMWinSize * 1/3)));
    if(!MTMFirstRun && MTMUA.cookieEnabled)
    if(MTMCookieString != "")
    setCookie(MTMCookieName, MTMCookieString.substring(0,4000), MTMCookieDays);
                                  else
    setCookie(MTMCookieName, "", -1);
    MTMFirstRun = false;
    MTMClickedItem = false;
    MTMExpansion = false;
    MTMTrack = false;
    MTMCookieString = "";
    MTMUpdating = false;
    function MTMListItems(menu)
    var i, isLast;
    for (i = 0; i < menu.items.length; i++)
    MTMIndices[MTMLevel] = i;
    isLast = (i == menu.items.length -1);
    MTMDisplayItem(menu.items[i], isLast);
    if(menu.items[i].submenu && menu.items[i].expanded)
    MTMBar[MTMLevel] = (isLast) ? false : true;
    MTMLevel++;
    MTMListItems(menu.items[i].submenu);
    MTMLevel--;
                        else
    MTMBar[MTMLevel] = false;
    function MTMDisplayItem(item, last)
    var i, img;
    var MTMfrm = "parent.frames['code']";
    var MTMref = '.menu.items[' + MTMIndices[0] + ']';
    if(MTMLevel > 0)
    for(i = 1; i <= MTMLevel; i++)
    MTMref += ".submenu.items[" + MTMIndices[i] + "]";
    if(MTMUA.cookieEnabled)
    if(MTMFirstRun && MTMCookieString != "")
    item.expanded = (MTMCookieString.charAt(MTMCookieCharNum++) == "1") ? true : false;
                        else
    MTMCookieString += (item.expanded) ? "1" : "0";
    if(item.submenu)
    var usePlusMinus = false;
    if(MTMSubsGetPlus.toLowerCase() == "always" || MTMEmulateWE)
    usePlusMinus = true;
                        else if(MTMSubsGetPlus.toLowerCase() == "submenu")
    for (i = 0; i < item.submenu.items.length; i++)
    if (item.submenu.items[i].submenu)
    usePlusMinus = true; break;
    var MTMClickCmd = "return " + MTMfrm + ".MTMSubAction(" + MTMfrm + MTMref + ");";
    var MTMouseOverCmd = "parent.status='" + (item.expanded ? "Collapse " : "Expand ") + (item.text.indexOf("'") != -1 ? MTMEscapeQuotes(item.text) : item.text) + "';return true;";
    var MTMouseOutCmd = "parent.status=parent.defaultStatus;return true;";
    MTMOutputString = '<tr valign="top"><td nowrap>';
    if(MTMLevel > 0)
    for (i = 0; i < MTMLevel; i++)
    MTMOutputString += (MTMBar[i]) ? MTMakeImage("menu_bar.gif") : MTMakeImage("menu_pixel.gif");
    if(item.submenu && usePlusMinus)
    if(item.url == "")
    MTMOutputString += MTMakeLink(item, true, true, true, MTMClickCmd, MTMouseOverCmd, MTMouseOutCmd);
                        else
    if(MTMEmulateWE)
    MTMOutputString += MTMakeLink(item, true, true, false, MTMClickCmd, MTMouseOverCmd, MTMouseOutCmd);
                                  else
    if(!item.expanded)
    MTMOutputString += MTMakeLink(item, false, true, true, MTMClickCmd, MTMouseOverCmd, MTMouseOutCmd);
                                  else
    MTMOutputString += MTMakeLink(item, true, true, false, MTMClickCmd, MTMouseOverCmd, MTMouseOutCmd);
    if(item.expanded)
    img = (last) ? "menu_corner_minus.gif" : "menu_tee_minus.gif";
              else
    img = (last) ? "menu_corner_plus.gif" : "menu_tee_plus.gif";
              else
    img = (last) ? "menu_corner.gif" : "menu_tee.gif";
    MTMOutputString += MTMakeImage(img);
    if(item.submenu)
    if(MTMEmulateWE && item.url != "")
    MTMOutputString += '</a>' + MTMakeLink(item, false, false, true);
                        else if(!usePlusMinus)
    if(item.url == "")
    MTMOutputString += MTMakeLink(item, true, true, true, MTMClickCmd, MTMouseOverCmd, MTMouseOutCmd);
                                  else if(!item.expanded)
    MTMOutputString += MTMakeLink(item, false, true, true, MTMClickCmd);
                                  else
    MTMOutputString += MTMakeLink(item, true, true, false, MTMClickCmd, MTMouseOverCmd, MTMouseOutCmd);
    img = (item.expanded) ? item.expandIcon : item.collapseIcon;
              else
    MTMOutputString += MTMakeLink(item, false, true, true);
    img = (item.icon != "") ? item.icon : MTMFetchIcon(item.url);
    MTMOutputString += MTMakeImage(img);
    if(item.submenu && item.url != "" && item.expanded && !MTMEmulateWE)
    MTMOutputString += '</a>' + MTMakeLink(item, false, false, true);
    if(MTMUA.browserType == "NN3" && !MTMLinkedSS)
    var stringColor;
    if(item.submenu && (item.url == "") && (item.number == MTMClickedItem))
    stringColor = (item.expanded) ? MTMSubExpandColor : MTMSubClosedColor;
                        else if(MTMTrackedItem && MTMTrackedItem == item.number)
    stringColor = MTMTrackColor;
                        else
    stringColor = MTMLinkColor;
    MTMOutputString += '<font color="' + stringColor + '" size="' + MTMenuFontSize + '" face="' + MTMenuFont + '">';
    MTMOutputString += ' ' + item.text + ((MTMUA.browserType == "NN3" && !MTMLinkedSS) ? '</font>' : '') + '</a>' ;
    MTMDoc.writeln(MTMOutputString + '</td></tr>');
    function MTMEscapeQuotes(myString)
    var newString = "";
    var cur_pos = myString.indexOf("'");
    var prev_pos = 0;
    while (cur_pos != -1)
    if(cur_pos == 0)
    newString += "\\";
                        else if(myString.charAt(cur_pos-1) != "\\")
    newString += myString.substring(prev_pos, cur_pos) + "\\";
                        else if(myString.charAt(cur_pos-1) == "\\")
    newString += myString.substring(prev_pos, cur_pos);
    prev_pos = cur_pos++;
    cur_pos = myString.indexOf("'", cur_pos);
    return(newString + myString.substring(prev_pos, myString.length));
    function MTMTrackExpand(thisMenu)
    var i, targetPath, targetLocation;
    var foundNumber = false;
    for(i = 0; i < thisMenu.items.length; i++)
    if(thisMenu.items[i].url != "" && MTMTrackTarget(thisMenu.items[i].target))
    targetLocation = parent.frames[thisMenu.items[i].target].location;
    targetPath = targetLocation.pathname + targetLocation.search;
    if(MTMUA.browserType == "IE4" && targetLocation.protocol == "file:")
    var regExp = /\\/g;
    targetPath = targetPath.replace(regExp, "\/");
    if(targetPath.lastIndexOf(thisMenu.items[i].url) != -1 && (targetPath.lastIndexOf(thisMenu.items[i].url) + thisMenu.items[i].url.length) == targetPath.length)
    return(thisMenu.items[i].number);
    if(thisMenu.items[i].submenu)
    foundNumber = MTMTrackExpand(thisMenu.items[i].submenu);
    if(foundNumber)
    if(!thisMenu.items[i].expanded)
    thisMenu.items[i].expanded = true;
    if(!MTMClickedItem)
                                                      MTMClickedItem = thisMenu.items[i].number;
    MTMExpansion = true;
    return(foundNumber);
    return(foundNumber);
    function MTMCloseSubs(thisMenu)
    var i, j;
    var foundMatch = false;
    for(i = 0; i < thisMenu.items.length; i++)
    if(thisMenu.items[i].submenu && thisMenu.items[i].expanded)
    if(thisMenu.items[i].number == MTMClickedItem)
    foundMatch = true;
    for(j = 0; j < thisMenu.items[i].submenu.items.length; j++)
    if(thisMenu.items[i].submenu.items[j].expanded)
    thisMenu.items[i].submenu.items[j].expanded = false;
                                  else
    if(foundMatch)
    thisMenu.items[i].expanded = false;
                                            else
    foundMatch = MTMCloseSubs(thisMenu.items[i].submenu);
    if(!foundMatch)
    thisMenu.items[i].expanded = false;
    return(foundMatch);
    function MTMFetchIcon(testString)
    var i;
    for(i = 0; i < MTMIconList.items.length; i++)
    if((MTMIconList.items[i].type == 'any') && (testString.indexOf(MTMIconList.items[i].match) != -1))
    return(MTMIconList.items[i].file);
                        else if((MTMIconList.items[i].type == 'pre') && (testString.indexOf(MTMIconList.items[i].match) == 0))
    return(MTMIconList.items[i].file);
                        else if((MTMIconList.items[i].type == 'post') && (testString.indexOf(MTMIconList.items[i].match) != -1))
    if((testString.lastIndexOf(MTMIconList.items[i].match) + MTMIconList.items[i].match.length) == testString.length)
    return(MTMIconList.items[i].file);
    return("menu_link_default.gif");
    function MTMGetYPos(myObj)
    return(myObj.offsetTop + ((myObj.offsetParent) ? MTMGetYPos(myObj.offsetParent) : 0));
    function MTMCheckURL(myURL)
    var tempString = "";
    if((myURL.indexOf("http://") == 0) || (myURL.indexOf("https://") == 0) || (myURL.indexOf("mailto:") == 0) || (myURL.indexOf("ftp://") == 0) || (myURL.indexOf("telnet:") == 0) || (myURL.indexOf("news:") == 0) || (myURL.indexOf("gopher:") == 0) || (myURL.indexOf("nntp:") == 0) || (myURL.indexOf("javascript:") == 0))
    tempString += myURL;
              else
    tempString += MTMUA.preHREF + myURL;
    return(tempString);
    function MTMakeLink(thisItem, voidURL, addName, addTitle, clickEvent, mouseOverEvent, mouseOutEvent)
    var tempString = '<a href="' + (voidURL ? 'javascript:;' : MTMCheckURL(thisItem.url)) + ' ';
    if(MTMUseToolTips && addTitle && thisItem.tooltip)
    tempString += 'title="' + thisItem.tooltip + '" ';
    if(addName)
    tempString += 'name="sub' + thisItem.number + '" ';
    if(clickEvent)
    tempString += 'onclick="' + clickEvent + '" ';
    if(mouseOverEvent && mouseOverEvent != "")
    tempString += 'onmouseover="' + mouseOverEvent + '" ';
    if(mouseOutEvent && mouseOutEvent != "")
    tempString += 'onmouseout="' + mouseOutEvent + '" ';
    if(thisItem.submenu && MTMClickedItem && thisItem.number == MTMClickedItem)
    tempString += 'class="' + (thisItem.expanded ? "subexpanded" : "subclosed") + '" ';
              else if(MTMTrackedItem && thisItem.number == MTMTrackedItem)
    tempString += 'class="tracked"';
    if(thisItem.target != "")
    tempString += 'target="' + thisItem.target + '" ';
    return(tempString + '>');
    function MTMakeImage(thisImage)
    return('<img src="' + MTMUA.preHREF + MTMenuImageDirectory + thisImage + '" align="left" border="0" vspace="0" hspace="0" width="18" height="18">');
    function MTMakeBackImage(thisImage)
    var tempString = 'transparent url("' + ((MTMUA.preHREF == "") ? "" : MTMUA.preHREF);
    tempString += MTMenuImageDirectory + thisImage + '")'
    return(tempString);
    function MTMakeA(thisType, thisText, thisColor)
    var tempString = "";
    tempString += 'a' + ((thisType == "pseudo") ? ':' : '.');
    return(tempString + thisText + ' {\n\tcolor:' + thisColor + ';\n\tbackground:transparent;\n}\n');
    function MTMTrackTarget(thisTarget)
    if(thisTarget.charAt(0) == "_")
    return false;
              else
    for(i = 0; i < MTMFrameNames.length; i++)
    if(thisTarget == MTMFrameNames[i])
    return true;
    return false;
    function MTMFetchCookie()
    var cookieString = getCookie(MTMCookieName);
    if(cookieString == null)
              { // cookie wasn't found
    setCookie(MTMCookieName, "Say-No-If-You-Use-Confirm-Cookies");
    cookieString = getCookie(MTMCookieName);
    MTMUA.cookieEnabled = (cookieString == null) ? false : true;
    return;
    MTMCookieString = cookieString;
    MTMUA.cookieEnabled = true;
    // These are from Netscape's Client-Side JavaScript Guide.
    // setCookie() is altered to make it easier to set expiry.
    function getCookie(Name)
    var search = Name + "="
    if (document.cookie.length > 0)
              { // if there are any cookies
    offset = document.cookie.indexOf(search)
    if (offset != -1)
                        {   // if cookie exists
    offset += search.length
    // set index of beginning of value
    end = document.cookie.indexOf(";", offset)
    // set index of end of cookie value
    if (end == -1)
    end = document.cookie.length
    return unescape(document.cookie.substring(offset, end))
    function setCookie(name, value, daysExpire)
    if(daysExpire)
    var expires = new Date();
    expires.setTime(expires.getTime() + 1000*60*60*24*daysExpire);
    document.cookie = name + "=" + escape(value) + (daysExpire == null ? "" : (";expires=" + expires.toGMTString())) + ";path=/";

  • How to add sound recorder in web pages?

    Hello everyone, can anyone help me on how to embed a sound recorder in my web page? I'm using Netbeans 6.5.1, Java Persistence technology, and Woodstock Components for the Web Application. I would like to add a recorder which can save audio files in MySQL, retrieve it and listen to it afterwards.
    I have no idea on how to or where to start, any help would be appreciated. Thanks.

    [http://www.jsresources.org/examples/]
    There are examples there for doing everything you're wanting to do.
    As for the JRE, no. That's a question for the generic applet forum, I've never once written an applet.
    But, start by writing an application that does what you want, and then convert that to be an applet. That's always the best approach... and you should also check to make sure there's not a set of media components for recording that's designed for use in applets (I know there are special applet media players, I'm just not sure about recorders...again, that's an applet forum question).
    Read the examples, consult the applet forum...if you end up with any specific JavaSound questions, I'll be more than happy to answer those. I just flat-out don't know much (anything) about applets.

  • Problem opening live web page (url) from within keynote

    hi.
    i encountered this problem during a recent presentation. i have a standard two-monitor set-up, on my laptop viewing notes etc and presenting on the attached monitor. the transitions between my slides are all set onClick.
    so, when i encounter a hyperlink in my presentation (of the web page type), when i click on it, i am not taken to the web page, but rather to the next slide.
    how do i avoid this? how do i make keynote follow the hyperlink -- i.e. open the webpage during the presentation?
    many thanks in advance for your tips.

    use '_blank' as parameter, not '_self'.
    Guy Dallaire (guest) wrote:
    : Hi,
    : We would like to open a Web Page from a forms running in
    : client/server as well as from a form runningover the web.
    : Over the web, we plan to use SHOW_DOWUMENT (Even tough it
    seems
    : broken, on forms 6.0, the only way we have got it working was
    by
    : using the parameter that overwrites the current page (the
    form),
    : we cannot have it open an URL in another window)
    : In C/S mode, the SHOW DOCUMENT does not work. What is the
    proper
    : way to lauch an URL in a browser in C/S mode ?
    : Is there a way to determine if we're running in CS mode or Web
    : Mode ? We would like to use the same code both on the web and
    in
    : C/S
    : Example pseudo code:
    : if (Running in CS Mode) then
    : open the URL using C/S method
    : else
    : open the URL with show dowument
    : fi
    : Thanks
    null

  • How to display content in HttpSerlvetResponse in a new web page?

    I am a newbie in servlet&html and hope to get some information here for my question.
    Suppose I have a web page having a list. after the user has chosen one of them, he will click on submit to send the request to the servlet.
    In my servlet, I use the query string to get the related information and put it into a httpServletResponse. My question is, what should I do such that the content of Response will be shown in a new web page, instead of replacing the original one? Thanks!

    You can't do this from the server side. The client side should initiate the new window. There are several ways, under each:
    <a href="servlet" target="_blank">Open in new window</a>
    <form action="servlet" target="_blank">Submit to new window</form>
    <someElement onclick="window.open('servlet');">Popup a new window</someElement>

  • Help please:  Clicking an image to launch another web page?

    I have some images on a JSC created page. I'd like to give the user the ability to click on the images and have another web page brought up that shows a larger version of the image they clicked on.
    How can this be done?
    I know how to do it using a button that would sit under each image that would then launch another page that holds another image in a larger format, but is there a way to do this without using the button?
    The image does have the onclick JavaScript property, so I suppose that it could be used in some fashion, but I was thinking that maybe there was a way to integrate this with the page navigation built in to JSC (although looking at it I cannot see how).
    So, is it just a JavaScript thing needed (I'll try to look up how on the Internet if so) or is there a built in JSC way?
    Thanks!

    I have some images on a JSC created page. I'd liketo
    give the user the ability to click on the imagesand
    have another web page brought up that shows alarger
    version of the image they clicked on.
    How can this be done?
    I know how to do it using a button that would sit
    under each image that would then launch anotherpage
    that holds another image in a larger format, butis
    there a way to do this without using the button?
    The image does have the onclick JavaScriptproperty,
    so I suppose that it could be used in somefashion,
    but I was thinking that maybe there was a way to
    integrate this with the page navigation built into
    JSC (although looking at it I cannot see how).
    So, is it just a JavaScript thing needed (I'll tryto
    look up how on the Internet if so) or is there a
    built in JSC way?
    Thanks!
    Did you have a solution? You quoted my original message but didn't add anything to it.
    Anyway, I'm adding a few Duke Dollars to see if that will elicit some responses.
    Maybe this just cannot be done, and we need a new version (one that works with action events) of the HtmlGraphicImage that Creator provides.

Maybe you are looking for