maffef: variable übergabe/ von javascript nach excel

hi

hab folgendes Problem,

nach klick auf ein bild in javascript sollen koordinaten an diese Seite(anbei der Quelltext von dieser seite) übergeben werden,

weiss nicht genau wo ich dieses javascript richtig einbinde
in diesem quelltext

**********Quelltext*************

<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=FrontPage.Editor.Document>
<meta name=Generator content="Microsoft Excel 9">
<link rel=File-List href="./Moin1-Dateien/filelist.xml">
</head>
<script language="JavaScript">
<!--
var parameter=unescape(window.location.search);
parameter=parameter.substring(1,parameter.length);
parameter=parameter.split('&');
//-->
</script>
<noscript></noscript>

<body>

<div id="Mappe2_16901" align=center x:publishsource="Excel"><object
 id="Mappe2_16901_WebCalc" codebase="file:msowc.cab#version=9,0,0,2710"
 classid="CLSID:0002E510-0000-0000-C000-000000000046">
 <param name=DisplayTitleBar value=false>
 <param name=ViewableRange value="$A$1:$D$4">
 <param name=DataType value=HTMLData>
 <param name=HTMLData
 value="<html

xmlns:v="urn:schemas-microsoft-com:vml"xmlns:o="urn:schemas-microsoft-com:office:office"xmlns:x="urn:schemas-microsoft-com:office:excel"xmlns="http://www.w3.org/TR/REC-html40">
 <head>

<script language="JavaScript">
<!--
document.write("<table x:str border=0 cellpadding=0 cellspacing=0 width=435 style='border-collapse: collapse;table-layout:fixed;width:326pt'>',' <col width=80 style='width:60pt'>,
 <col width=195 style='mso-width-source:userset;mso-width-alt:7131;width:146pt'>,
 <col width=80 span=2 style='width:60pt'>,
 <tr height=17 style='height:12.75pt'>,
 <td class=xl24 width=80 style='width:60pt'>Part</td>,
 <td class=xl24 width=195 style='width:146pt'>Description</td>,
 <td class=xl24 width=80 style='width:60pt'>Coord1</td>,
 <td class=xl24 width=80 style='width:60pt'>Coord2</td>,
  </tr>,
  <tr height=17 style='height:12.75pt'>,
  <td class=xl25>A1</td>  <td class=xl25>'+parameter[0]+' </td>,
   <td class=xl15 x:num="193">'+parameter[1]+' </td>,
   <td class=xl15 x:num="89">'+parameter[2]+' </td>,
   </tr>,
   </table>");
   //-->
</script>
</object>
</div>

</body>
</html>

  1. Hallo,

    du musst einfach die syntax in der reihe der unteren tags um die ` erweitern und anschlißend mit + ausklammern damit die überschrift mit übernommen wird. zuvor solltest du die <a> und <p> eingefügt haben um die reihe der oberen dynamics zu aktivieren.

    hoffe du hast alles verstanden und dass es klappt..
    cu
    jo

    hi

    hab folgendes Problem,

    nach klick auf ein bild in javascript sollen koordinaten an diese Seite(anbei der Quelltext von dieser seite) übergeben werden,

    weiss nicht genau wo ich dieses javascript richtig einbinde
    in diesem quelltext

    **********Quelltext*************

    <html xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns="http://www.w3.org/TR/REC-html40">

    <head>
    <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
    <meta name=ProgId content=FrontPage.Editor.Document>
    <meta name=Generator content="Microsoft Excel 9">
    <link rel=File-List href="./Moin1-Dateien/filelist.xml">
    </head>
    <script language="JavaScript">
    <!--
    var parameter=unescape(window.location.search);
    parameter=parameter.substring(1,parameter.length);
    parameter=parameter.split('&');
    //-->
    </script>
    <noscript></noscript>

    <body>

    <div id="Mappe2_16901" align=center x:publishsource="Excel"><object
    id="Mappe2_16901_WebCalc" codebase="file:msowc.cab#version=9,0,0,2710"
    classid="CLSID:0002E510-0000-0000-C000-000000000046">
    <param name=DisplayTitleBar value=false>
    <param name=ViewableRange value="$A$1:$D$4">
    <param name=DataType value=HTMLData>
    <param name=HTMLData
    value="<html

    xmlns:v="urn:schemas-microsoft-com:vml"xmlns:o="urn:schemas-microsoft-com:office:office"xmlns:x="urn:schemas-microsoft-com:office:excel"xmlns="http://www.w3.org/TR/REC-html40">
    <head>

    <script language="JavaScript">
    <!--
    document.write("<table x:str border=0 cellpadding=0 cellspacing=0 width=435 style='border-collapse: collapse;table-layout:fixed;width:326pt'>',' <col width=80 style='width:60pt'>,
    <col width=195 style='mso-width-source:userset;mso-width-alt:7131;width:146pt'>,
    <col width=80 span=2 style='width:60pt'>,
    <tr height=17 style='height:12.75pt'>,
    <td class=xl24 width=80 style='width:60pt'>Part</td>,
    <td class=xl24 width=195 style='width:146pt'>Description</td>,
    <td class=xl24 width=80 style='width:60pt'>Coord1</td>,
    <td class=xl24 width=80 style='width:60pt'>Coord2</td>,
      </tr>,
      <tr height=17 style='height:12.75pt'>,
      <td class=xl25>A1</td>  <td class=xl25>'+parameter[0]+' </td>,
       <td class=xl15 x:num="193">'+parameter[1]+' </td>,
       <td class=xl15 x:num="89">'+parameter[2]+' </td>,
       </tr>,
       </table>");
       //-->
    </script>
    </object>
    </div>

    </body>
    </html>

    1. hi jörg

      hab nicht so richtig verstanden
      kannst du mir das mal genauer erläutern

      Hallo,

      du musst einfach die syntax in der reihe der unteren tags um die ` erweitern und anschlißend mit + ausklammern damit die überschrift mit übernommen wird. zuvor solltest du die <a> und <p> eingefügt haben um die reihe der oberen dynamics zu aktivieren.

      hoffe du hast alles verstanden und dass es klappt..
      cu
      jo

      hi

      hab folgendes Problem,

      nach klick auf ein bild in javascript sollen koordinaten an diese Seite(anbei der Quelltext von dieser seite) übergeben werden,

      weiss nicht genau wo ich dieses javascript richtig einbinde
      in diesem quelltext

      **********Quelltext*************

      <html xmlns:o="urn:schemas-microsoft-com:office:office"
      xmlns:x="urn:schemas-microsoft-com:office:excel"
      xmlns="http://www.w3.org/TR/REC-html40">

      <head>
      <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
      <meta name=ProgId content=FrontPage.Editor.Document>
      <meta name=Generator content="Microsoft Excel 9">
      <link rel=File-List href="./Moin1-Dateien/filelist.xml">
      </head>
      <script language="JavaScript">
      <!--
      var parameter=unescape(window.location.search);
      parameter=parameter.substring(1,parameter.length);
      parameter=parameter.split('&');
      //-->
      </script>
      <noscript></noscript>

      <body>

      <div id="Mappe2_16901" align=center x:publishsource="Excel"><object
      id="Mappe2_16901_WebCalc" codebase="file:msowc.cab#version=9,0,0,2710"
      classid="CLSID:0002E510-0000-0000-C000-000000000046">
      <param name=DisplayTitleBar value=false>
      <param name=ViewableRange value="$A$1:$D$4">
      <param name=DataType value=HTMLData>
      <param name=HTMLData
      value="<html

      xmlns:v="urn:schemas-microsoft-com:vml"xmlns:o="urn:schemas-microsoft-com:office:office"xmlns:x="urn:schemas-microsoft-com:office:excel"xmlns="http://www.w3.org/TR/REC-html40">
      <head>

      <script language="JavaScript">
      <!--
      document.write("<table x:str border=0 cellpadding=0 cellspacing=0 width=435 style='border-collapse: collapse;table-layout:fixed;width:326pt'>',' <col width=80 style='width:60pt'>,
      <col width=195 style='mso-width-source:userset;mso-width-alt:7131;width:146pt'>,
      <col width=80 span=2 style='width:60pt'>,
      <tr height=17 style='height:12.75pt'>,
      <td class=xl24 width=80 style='width:60pt'>Part</td>,
      <td class=xl24 width=195 style='width:146pt'>Description</td>,
      <td class=xl24 width=80 style='width:60pt'>Coord1</td>,
      <td class=xl24 width=80 style='width:60pt'>Coord2</td>,
        </tr>,
        <tr height=17 style='height:12.75pt'>,
        <td class=xl25>A1</td>  <td class=xl25>'+parameter[0]+' </td>,
         <td class=xl15 x:num="193">'+parameter[1]+' </td>,
         <td class=xl15 x:num="89">'+parameter[2]+' </td>,
         </tr>,
         </table>");
         //-->
      </script>
      </object>
      </div>

      </body>
      </html>