Adding Widgets into a Webpage

Can I add other widgets into my iWeb page? If so, how?

I don't understand what you mean by "other" widgets.
Go to somewhere like...
http://www.widgetbox.com/
... choose your widget, customize it, get the code and copy it to your clipboard.
To put the web widget on a page in iWeb, click the "web widgets" icon at the bottom of the iWeb window and select "HTML Snippet" from the pop up menu, paste your code into the pop up window and click "apply". Drag your widget to place it where you want it on the page.
If you meant "can I add more than one widget?" - the answer is yes.

Similar Messages

  • Embedding gigapan panorama's into a webpage

    Hello all,
    I'm having a little issue with embedding a panorama hosted by Gigapan into my webpage. I can successfully use this chunk of code to embed it:
    <iframe src="http://gigapan.com/xxxxxxx.html" frameborder="0" height="400" scrolling="no" width="100%"></iframe>
    I want to be able to zoom in and out of the panorama with the mousewheel WITHOUT simultaneously scrolling up and down on the webpage itself. Does anyone have an recommendations? I thought of maybe using onmouseover to lock the webpage from scrolling while on the panorama but couldn't find a way to use onmouseover in an iframe.
    Also I fully acknowledge that I am a huge noob
    Thanks for your help in advanced!

    Hi Phil and welcome to our community
    The Captivate output files are a bit like a house of cards.
    All elements are critical. Here's how they pan out.
    You upload all the files to your server. Normally in the same
    location.
    You point your user to the HTML file.
    User clicks the link pointing to the HTML file and it loads
    up into the browser.
    The HTML file looks for the standard.js file. Assuming it is
    found, more code is added to the HTML file.
    The MainMovie_skin.SWF is then loaded into the browser
    window.
    Internally, the MainMovie_skin.SWF knows to look for the
    MainMovie.SWF and it loads up.
    As each slide pointing to a .FLV is encountered, the .FLV is
    loaded at that time and plays.
    As for embedding into an existing page, you will need to sift
    through the code for the Captivate created HTML file for clues. Are
    you using a Web Development tool such as Dreamweaver, FrontPage or
    Expression Web designer?
    Cheers... Rick

  • Questions  regarding an embedet cuseeme stream into a webpage

    hello all,
    i am researching for quite a while for an cuseeme project. The only source i found is from 1997
    and runs on an older java version. Since white pine bough the intelectual property rights
    in 1998 and they forgot to release the source i put some effort in finding a solution to
    embed a stream into a webpage .
    I found a free java reflector writen by hamano tadshi it works pretty well on my osx
    machine with a dynamic ip and a dyndns account.
    This java code is the only code that i found and i like to know if there is some help
    to make this work.
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.image.*;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class JavaCU extends Applet {
         protected DatagramSocket recvSocket = null;
         protected DatagramSocket sendSocket = null;
         private Send Sender = null;
         private Receive Empfaenger = null;
            private String servername = null;
            private int port;
            private int chanid;
         private boolean stopped = false;
         protected boolean running = false;
         protected Graphics g = null;
         protected boolean verbose = false;
         public void init() {
              // Added by Karl
              servername = getCodeBase().getHost();
              int debug;
              String value;
              // Parameter auswerten
              value = getParameter("port");
              if( value != null ) {
                   try {
                        port = Integer.parseInt(value);
                   catch ( NumberFormatException e ) {
                             System.err.println( "Portnummer nicht erkannt: " + e.getMessage() );
                             System.err.println( "Benutze Portnummer 7649." );
                             port = 7649;
              else {
                   port = 7649;
              value = getParameter("debug_mode");
              if( value != null ) {
                         try {
                                 debug = Integer.parseInt(value);
                         catch ( NumberFormatException e ) {
                                       debug = 0;
              else {
                   debug = 0;
              if ( (debug & 0x1) == 0x1 ) {
                        System.out.println( "Debug-Mode: passiv");
              else {
                   // Hostname der Videoquelle ermitteln
                        servername = getCodeBase().getHost();
              if( (debug & 0x2) == 0x2 ) {
                        System.out.println( "Debug-Mode: verbose");
                        verbose = true;
              value = getParameter("chanid");
              if( value != null ) {
                         try {
                                 chanid = Integer.parseInt(value);
                         catch ( NumberFormatException e ) {
                                 System.err.println( "Channel-ID nicht erkannt: " + e.getMessage() );
                                 System.err.println( "Benutze ID 0." );
                                       chanid = 0;
              else {
                   chanid = 0;
              // Panel initialisieren
              setBackground(Color.white);
              resize( 160, 190 );
              System.out.println( "JavaCU 1.3a by Thomas Wagner 8.96, https://wiki.fsi.fh-trier.de/Umstellung_Domain_Fachschaft_Informatik~wagner/javacu/" );
         public void start() {
              InetAddress Server;
              running = true;
              try {
                   // Sender starten
                         if( servername != null ) {
                        Server = InetAddress.getByName( servername );
                        sendSocket = new DatagramSocket();
                                 Sender = new Send( this, Server, port, chanid );
                        Sender.start();
                   // Empfaenger starten
                   recvSocket = new DatagramSocket( port );
                         Empfaenger = new Receive( this, chanid );
                   Empfaenger.start();
                    catch ( UnknownHostException e ) {
                            System.err.println("Server unbekannt: " + e.getMessage());
              catch ( SocketException e ) {
                   System.err.println( "Probleme mit UDP-Socket: " + e.getMessage());
         public void stop() {
              // Sender stoppen
              running = false;
                    if( Sender != null ) {
                   Sender = null;
                    if( servername != null ) {
                   sendSocket.close();
              // Empfaenger stoppen
                    if( Empfaenger != null ) {
                   Empfaenger = null;
              recvSocket.close();
         public void paint ( Graphics g ) {
              String text;
              this.g = g;
              if( Empfaenger.bild != null ) {
                   g.drawImage( Empfaenger.bild, 0, 0, this);
                        text = Empfaenger.name();
                        if( text != null ) {
                                g.drawString( text, 8, 140 );
              text = Empfaenger.status1();
                        if( text != null ) {
                                g.drawString( text, 8, 160 );
              text = Empfaenger.status2();
                        if( text != null ) {
                                g.drawString( text, 8, 180 );
         public String[][] getParameterInfo() {
              String info[][] = {
                             {"port", "int", "NV-UC-PORT"},
                             {"chanid", "int", "Conference ID"},
                             {"debug_mode", "bitmapped", "bit 0: receive only, bit 1: verbose"}
              return info;
         public String getAppletInfo() {
              return "JavaCU 1.3a by Thomas Wagner 8.96, https://wiki.fsi.fh-trier.de/Umstellung_Domain_Fachschaft_Informatik~wagner/javacu/";
    class Receive extends Thread {
         protected Image bild = null;
         private int pixel[] = new int[19200];
         private MemoryImageSource image_producer = null;
         private int image[] = new int[19200];
         private byte data[] = new byte[8192];
         private long rowdata; // vorl?�ufig hier
         private JavaCU javacu = null;
         private int chanid = 0;
         private DatagramPacket recvPacket = null;
         private String status1, status2, name;
         private int rh_sync = 0;
            protected Receive( JavaCU javacu, int chanid ) {
              // minimale Prioritaet um regelmaessigen Bildschirmaufbau zu ermoeglichen
              try {
                   setPriority(MIN_PRIORITY);
              catch ( IllegalArgumentException e ) {
                   System.err.println("Veraendern der Prozessprioritaet misslungen: " + e.getMessage());
              this.javacu = javacu;
              this.chanid = chanid;
         public void run() {
                 int data_pos, len, i;
              image_producer = new MemoryImageSource(160, 120, pixel, 0, 160);
              while( javacu.running ) {
                   len = recv_data();
                   data_pos = parse_header( len );
                   if( data_pos >= 0 ) {
                        decode( data_pos, len );
                        if( rh_sync == 1 ) {
                             for( i = 0; i < (19200); i++ ) {
                                  pixel[i] = 0xff << 24 | image*16 << 16 | image[i]*16 << 8 | image[i]*16;
                        bild = javacu.createImage(image_producer);
                             if( bild != null && javacu.g != null ) {
                                  javacu.g.drawImage( bild, 0, 0, javacu);
    public String name() {
    return name;
    public String status1() {
    return status1;
    public String status2() {
    return status2;
         private int recv_data() {
              try {
                   if( javacu.running == false ) {
                        System.err.println("Fehler! Lesen nach stop.");
                   } else {
                   recvPacket = new DatagramPacket( data, 8192 );
                        javacu.recvSocket.receive( recvPacket );
              catch ( IOException e ) {
                   if( javacu.running ) {
                        System.err.println( "Fehler beim Empfangen: " + e.getMessage());
                   return 0;
              return recvPacket.getLength();
         int avgpos = 0;
         long totseq=0, totpkts=0, totframes=0, tottime=0, totbytes=0;
         long laststamp=0, lastrecv=0;
         int startseq[] = new int[8];
         int maxseq[] = new int[8];
         long pkts[] = new long[8];
         long frames[] = new long[8];
         long time[] = new long[8];
         long bytes[] = new long[8];
         int sender_id = -1;
         private int parse_header( int len ) {
              int rh_vers, rh_chanid, rh_opts, rh_content, rh_seq;
              long sec, fraction, rh_ts;
              int rsh_id = -1;
              int roh_fin = 0, roh_type = 0, roh_optlen = 0;
              int rtsh_id = 0;
              int rtsh_addr[] = new int[4];
              int opts = 0, off = 8, i = 0;
              byte hilf[] = new byte[80];
              long lastflush = 0;
              Date d = null;
              boolean ignore = false;
              // Statistik Variablen
              long tdiff, tsdiff;
              int seqdiff, data_len, maxseq_help;
              // RTP-Paketkopf auslesen
              rh_vers = uint8(data[0]) >>> 6;
              rh_chanid = uint8(data[0]) & 0x3f;
              if( rh_chanid != chanid ) {
                   //ignore = true;
              rh_opts = uint8(data[1]) >>> 7;
              rh_sync = (uint8(data[1]) >>> 6) & 0x1;
              rh_content = uint8(data[1]) & 0x3f;
              rh_seq = uint8(data[2]) << 8 | uint8(data[3]);
              sec = (uint8(data[4]) & 0xff) << 8 | (uint8(data[5]) & 0xff);
              fraction = (uint8(data[6]) & 0xff) << 8 | (uint8(data[7]) & 0xff);
              rh_ts = (sec & 0xffff) << 16 | (fraction & 0xffff);
              opts = rh_opts;
              // Erweiterungen des RTP-Paketkopfes auslesen
              while( opts == 1 ) {
                   roh_fin = uint8(data[off]) >>> 7;
                   roh_type = uint8(data[off]) & 0x7f;
                   roh_optlen = uint8(data[off+1]);
                   if( roh_type == 1 ) {
                        rsh_id = uint8(data[off+2]) << 8 | uint8(data[off+3]);
                        // Nur ersten Sender auswerten
                        if( sender_id == -1 ) {
                             sender_id = rsh_id;
                        if( rsh_id != sender_id ) {
                             ignore = true;
                   if( roh_type == 33 ) {
                        rtsh_id = uint8(data[off+2]) << 8 | uint8(data[off+3]);
                        // Nur ersten Sender auswerten
                        if( sender_id == -1 ) {
                             sender_id = rtsh_id;
                        if( rtsh_id != sender_id ) {
                             ignore = true;
                        i = 0;
                        while (data[i+off+8] != '\0') {
                             hilf[i] = data[i+off+8];
                             i++;
                        hilf[i] = '\0';
                        if( !ignore ) {
                             name = new String(hilf, 0, i);
                   opts = 1 - roh_fin;
                   off = off + 4*roh_optlen;
              // Ausgabe des Paketkopfes auf die Java-Console
              if( javacu.verbose ) {
                   if( ignore ) {
                        System.out.println("Falsches Paket! Paketlaenge: "+ len );
                   else {
                        System.out.println("Paketlaenge: "+ len );
                   System.out.println("vers: "+rh_vers+", chan: "+rh_chanid+", opts: "+rh_opts+", sync: "+rh_sync+", cont: "+rh_content+", seq: "+rh_seq);
                   System.out.print("time: "+rh_ts);
                   if( rh_opts == 1 ) {
                        System.out.print(", fin: "+roh_fin+", type: "+roh_type+", optlen: "+roh_optlen);
                        if (roh_type == 1) {
                             System.out.print(", id: "+rsh_id);
                        if (roh_type == 33) {
                             System.out.print(", id: " + rtsh_id + ", name: " + name);
                   System.out.println("");
              // Statistik Berechnung
              tsdiff = rh_ts - laststamp;
              if( tsdiff < 0) {
                   System.err.println("Altes Paket!");
                   ignore = true;
              if( !ignore ) {
                   d = new Date();
                   tdiff = d.getTime() - lastrecv;
                   lastrecv = d.getTime();
                   data_len = len - off;
                   seqdiff = rh_seq - startseq[avgpos];
                   if( (seqdiff > 50) || (seqdiff < -50)) {
                        startseq[avgpos] = rh_seq;
                        maxseq[avgpos] = rh_seq-1;
                        pkts[avgpos] = 0;
                        seqdiff = 0;
                   if (seqdiff >= 0) pkts[avgpos]++;
                   if ((rh_seq - maxseq[avgpos]) > 0) maxseq[avgpos] = rh_seq;
                   frames[avgpos] += rh_sync;
                   time[avgpos] += tdiff;
                   bytes[avgpos] += data_len;
                   /* Berechnung der Durchschnittswerte der letzten 8 Sekunden */
                   if (time[avgpos] >= 1000) {
                        maxseq_help = maxseq[avgpos];
                        /* aktuelle Werte zu den letzten 7 addieren */
                        totseq += maxseq_help-startseq[avgpos]+1;
                        totpkts += pkts[avgpos];
                        totframes += frames[avgpos];
                        tottime += time[avgpos];
                        totbytes += bytes[avgpos];
                        avgpos = (avgpos+1) % 8;
                        /* Durchschnittswerte berechnen */
                        if ((time[avgpos] != 0) && (totseq != 0)) {
                             status1 = ("frames/s: " + (( (int)(10000.*totframes/tottime) )/10.));
                             status2 = ("kb/s: " + (( (int)(80.*totbytes/tottime) )/10.) + ", lost: " + (100-100*totpkts/totseq) + "%");
                             /* 8-aelteste Werte subtrahieren */
                             totseq -= (maxseq[avgpos]-startseq[avgpos]+1);
                             totpkts -= pkts[avgpos];
                             totframes -= frames[avgpos];
                             tottime -= time[avgpos];
                             totbytes -= bytes[avgpos];
                        /* Variabeln fuer aktuelle Werte initialisieren */
                        startseq[avgpos] = maxseq_help+1;
                        maxseq[avgpos] = maxseq_help;
                        pkts[avgpos] = 0;
                        frames[avgpos] = 0;
                        time[avgpos] = 0;
                        bytes[avgpos] = 0;
              if( ignore ) {
                   return -1;
              else {
                   return 8+4*roh_optlen;
         private int uint8( byte arg ) {
              int i;
              // unsigned char in int umwandeln
              if( arg < 0 ) {
                   i = arg + 256;
                   return i;
              return (int)arg;
         private void decode( int data_pos, int len ) {
              int type;
              if( len - data_pos < 2 ) return;
              type = uint8(data[data_pos++]) << 8 | uint8(data[data_pos++]);
              if( type != 1 ) {
                   //System.err.println("decode(): Unknown type: " + type);
              else {
                   // Fuer jedes Quadrat in data decode_square aufrufen
                   while( (data_pos < len) && (data_pos != 0) ) {
                        data_pos = decode_square( data_pos, len );
         private int decode_square( int data_pos, int len ) {
              int square, x, y, image_pos, code_pos, row;
              square = uint8(data[data_pos++]) << 8 | uint8(data[data_pos++]);
              if( square > 300 ) return 0;
              x = square % 20;
              y = square / 20;
              image_pos = y*8*160+x*8;
              code_pos = data_pos;
              data_pos += 4;
              rowdata = 0x88888888;
              // Fuer jede Zeile des Quadrats decode_row aufrufen
              for( row = 0; row < 8; row += 2 ) {
                   data_pos = decode_row(image_pos, data_pos, (uint8(data[code_pos]) >> 4) );
                   data_pos = decode_row(image_pos+160, data_pos, (uint8(data[code_pos++]) & 0xf) );
                   image_pos += 320;
              return data_pos;
         private int decode_row( int image_pos, int data_pos, int code ) {
              int intraRowBytes[] =
              { -1,
              -1, 0, 1,
              -1, 0, 1,
              -1, 0, 1,
              -1, 0, 1,
              -1, 0, 1 };
              long interRowDiff[] =
              { 0x00000000,
              0xDDDDDDDE, 0xEEEEEEEF, 0x00000000,
              0xEEEEEEEF, 0x00000000, 0x11111111,
              0x00000000, 0x11111111, 0x22222222,
              0x11111111, 0x22222222, 0x33333333,
              0x22222222, 0x33333333, 0x44444444 };
              int wordDiff[] =
              { 0x0000, 0x0001, 0x0002, 0x0003, 0x0010, 0x0011, 0x0012, 0x0013,
              0x0020, 0x0021, 0x0022, 0x0023, 0x0030, 0x0031, 0x0032, 0x0033,
              0x0100, 0x0101, 0x0102, 0x0103, 0x0110, 0x0111, 0x0112, 0x0113,
              0x0120, 0x0121, 0x0122, 0x0123, 0x0130, 0x0131, 0x0132, 0x0133,
              0x0200, 0x0201, 0x0202, 0x0203, 0x0210, 0x0211, 0x0212, 0x0213,
              0x0220, 0x0221, 0x0222, 0x0223, 0x0230, 0x0231, 0x0232, 0x0233,
              0x0300, 0x0301, 0x0302, 0x0303, 0x0310, 0x0311, 0x0312, 0x0313,
              0x0320, 0x0321, 0x0322, 0x0323, 0x0330, 0x0331, 0x0332, 0x0333,
              0x1000, 0x1001, 0x1002, 0x1003, 0x1010, 0x1011, 0x1012, 0x1013,
              0x1020, 0x1021, 0x1022, 0x1023, 0x1030, 0x1031, 0x1032, 0x1033,
              0x1100, 0x1101, 0x1102, 0x1103, 0x1110, 0x1111, 0x1112, 0x1113,
              0x1120, 0x1121, 0x1122, 0x1123, 0x1130, 0x1131, 0x1132, 0x1133,
              0x1200, 0x1201, 0x1202, 0x1203, 0x1210, 0x1211, 0x1212, 0x1213,
              0x1220, 0x1221, 0x1222, 0x1223, 0x1230, 0x1231, 0x1232, 0x1233,
              0x1300, 0x1301, 0x1302, 0x1303, 0x1310, 0x1311, 0x1312, 0x1313,
              0x1320, 0x1321, 0x1322, 0x1323, 0x1330, 0x1331, 0x1332, 0x1333,
              0x2000, 0x2001, 0x2002, 0x2003, 0x2010, 0x2011, 0x2012, 0x2013,
              0x2020, 0x2021, 0x2022, 0x2023, 0x2030, 0x2031, 0x2032, 0x2033,
              0x2100, 0x2101, 0x2102, 0x2103, 0x2110, 0x2111, 0x2112, 0x2113,
              0x2120, 0x2121, 0x2122, 0x2123, 0x2130, 0x2131, 0x2132, 0x2133,
              0x2200, 0x2201, 0x2202, 0x2203, 0x2210, 0x2211, 0x2212, 0x2213,
              0x2220, 0x2221, 0x2222, 0x2223, 0x2230, 0x2231, 0x2232, 0x2233,
              0x2300, 0x2301, 0x2302, 0x2303, 0x2310, 0x2311, 0x2312, 0x2313,
              0x2320, 0x2321, 0x2322, 0x2323, 0x2330, 0x2331, 0x2332, 0x2333,
              0x3000, 0x3001, 0x3002, 0x3003, 0x3010, 0x3011, 0x3012, 0x3013,
              0x3020, 0x3021, 0x3022, 0x3023, 0x3030, 0x3031, 0x3032, 0x3033,
              0x3100, 0x3101, 0x3102, 0x3103, 0x3110, 0x3111, 0x3112, 0x3113,
              0x3120, 0x3121, 0x3122, 0x3123, 0x3130, 0x3131, 0x3132, 0x3133,
              0x3200, 0x3201, 0x3202, 0x3203, 0x3210, 0x3211, 0x3212, 0x3213,
              0x3220, 0x3221, 0x3222, 0x3223, 0x3230, 0x3231, 0x3232, 0x3233,
              0x3300, 0x3301, 0x3302, 0x3303, 0x3310, 0x3311, 0x3312, 0x3313,
              0x3320, 0x3321, 0x3322, 0x3323, 0x3330, 0x3331, 0x3332, 0x3333 };
              long longDiff[] =
              { 0x00000000, 0x00000001, 0x00000010, 0x00000011,
              0x00000100, 0x00000101, 0x00000110, 0x00000111,
              0x00001000, 0x00001001, 0x00001010, 0x00001011,
              0x00001100, 0x00001101, 0x00001110, 0x00001111,
              0x00010000, 0x00010001, 0x00010010, 0x00010011,
              0x00010100, 0x00010101, 0x00010110, 0x00010111,
              0x00011000, 0x00011001, 0x00011010, 0x00011011,
              0x00011100, 0x00011101, 0x00011110, 0x00011111,
              0x00100000, 0x00100001, 0x00100010, 0x00100011,
              0x00100100, 0x00100101, 0x00100110, 0x00100111,
              0x00101000, 0x00101001, 0x00101010, 0x00101011,
              0x00101100, 0x00101101, 0x00101110, 0x00101111,
              0x00110000, 0x00110001, 0x00110010, 0x00110011,
              0x00110100, 0x00110101, 0x00110110, 0x00110111,
              0x00111000, 0x00111001, 0x00111010, 0x00111011,
              0x00111100, 0x00111101, 0x00111110, 0x00111111,
              0x01000000, 0x01000001, 0x01000010, 0x01000011,
              0x01000100, 0x01000101, 0x01000110, 0x01000111,
              0x01001000, 0x01001001, 0x01001010, 0x01001011,
              0x01001100, 0x01001101, 0x01001110, 0x01001111,
              0x01010000, 0x01010001, 0x01010010, 0x01010011,
              0x01010100, 0x01010101, 0x01010110, 0x01010111,
              0x01011000, 0x01011001, 0x01011010, 0x01011011,
              0x01011100, 0x01011101, 0x01011110, 0x01011111,
              0x01100000, 0x01100001, 0x01100010, 0x01100011,
              0x01100100, 0x01100101, 0x01100110, 0x01100111,
              0x01101000, 0x01101001, 0x01101010, 0x01101011,
              0x01101100, 0x01101101, 0x01101110, 0x01101111,
              0x01110000, 0x01110001, 0x01110010, 0x01110011,
              0x01110100, 0x01110101, 0x01110110, 0x01110111,
              0x01111000, 0x01111001, 0x01111010, 0x01111011,
              0x01111100, 0x01111101, 0x01111110, 0x01111111,
              0x10000000, 0x10000001, 0x10000010, 0x10000011,
              0x10000100, 0x10000101, 0x10000110, 0x10000111,
              0x10001000, 0x10001001, 0x10001010, 0x10001011,
              0x10001100, 0x10001101, 0x10001110, 0x10001111,
              0x10010000, 0x10010001, 0x10010010, 0x10010011,
              0x10010100, 0x10010101, 0x10010110, 0x10010111,
              0x10011000, 0x10011001, 0x10011010, 0x10011011,
              0x10011100, 0x10011101, 0x10011110, 0x10011111,
              0x10100000, 0x10100001, 0x10100010, 0x10100011,
              0x10100100, 0x10100101, 0x10100110, 0x10100111,
              0x10101000, 0x10101001, 0x10101010, 0x10101011,
              0x10101100, 0x10101101, 0x10101110, 0x10101111,
              0x10110000, 0x10110001, 0x10110010, 0x10110011,
              0x10110100, 0x10110101, 0x10110110, 0x10110111,
              0x10111000, 0x10111001, 0x10111010, 0x10111011,
              0x10111100, 0x10111101, 0x10111110, 0x10111111,
              0x11000000, 0x11000001, 0x11000010, 0x11000011,
              0x11000100, 0x11000101, 0x11000110, 0x11000111,
              0x11001000, 0x11001001, 0x11001010, 0x11001011,
              0x11001100, 0x11001101, 0x11001110, 0x11001111,
              0x11010000, 0x11010001, 0x11010010, 0x11010011,
              0x11010100, 0x11010101, 0x11010110, 0x11010111,
              0x11011000, 0x11011001, 0x11011010, 0x11011011,
              0x11011100, 0x11011101, 0x11011110, 0x11011111,
              0x11100000, 0x11100001, 0x11100010, 0x11100011,
              0x11100100, 0x11100101, 0x11100110, 0x11100111,
              0x11101000, 0x11101001, 0x11101010, 0x11101011,
              0x11101100, 0x11101101, 0x11101110, 0x11101111,
              0x11110000, 0x11110001, 0x11110010, 0x11110011,
              0x11110100, 0x11110101, 0x11110110, 0x11110111,
              0x11111000, 0x11111001, 0x11111010, 0x11111011,
              0x11111100, 0x11111101, 0x11111110, 0x11111111 };
              int intra;
              long pix;
              // Daten einer Zeile eines Quadrats in Grauwerte umrechnen
              if (code == 0) {
                   pix = uint8(data[data_pos++]);
                   rowdata = pix << 24;
                   image[image_pos++] = 0xf - (int)(pix >> 4);
                   image[image_pos++] = 0xf - (int)(pix & 0xf);
                   pix = uint8(data[data_pos++]);
                   rowdata += pix << 16;
                   image[image_pos++] = 0xf - (int)(pix >> 4);
                   image[image_pos++] = 0xf - (int)(pix & 0xf);
                   pix = uint8(data[data_pos++]);
                   rowdata += pix << 8;
                   image[image_pos++] = 0xf - (int)(pix >> 4);
                   image[image_pos++] = 0xf - (int)(pix & 0xf);
                   pix = uint8(data[data_pos++]);
                   rowdata += pix;
                   image[image_pos++] = 0xf - (int)(pix >> 4);
                   image[image_pos++] = 0xf - (int)(pix & 0xf);
              else {
                   rowdata -= interRowDiff;
                   intra = intraRowBytes;
                   if( intra > 0 ) {
                        rowdata += (wordDiff[uint8(data[data_pos++])] << 16) | wordDiff[uint8(data[data_pos++])];
                   else if( intra == 0 ) {
                        rowdata += longDiff[uint8(data[data_pos++])];
                   image[image_pos++] = 0xf - (int)(rowdata >> 28);
                   image[image_pos++] = 0xf - (int)((rowdata >> 24) & 0xf);
                   image[image_pos++] = 0xf - (int)((rowdata >> 20) & 0xf);
                   image[image_pos++] = 0xf - (int)((rowdata >> 16) & 0xf);
                   image[image_pos++] = 0xf - (int)((rowdata >> 12) & 0xf);
                   image[image_pos++] = 0xf - (int)((rowdata >> 8) & 0xf);
                   image[image_pos++] = 0xf - (int)((rowdata >> 4) & 0xf);
                   image[image_pos++] = 0xf - (int)(rowdata & 0xf);
              return data_pos;
    class Send extends Thread {
    private JavaCU javacu;
         private InetAddress Server;
         private int port;
         private int chanid = 0;
         private byte data[] = new byte[8192];
         private boolean init = false;
    protected Send( JavaCU javacu, InetAddress Server, int port, int chanid ) {
              // Argumente speichern/auswerten
              this.javacu = javacu;
              this.Server = Server;
              this.port = port;
    if( chanid >= 0 && chanid < 64 ) {
    this.chanid = chanid;
    public void run() {
    int len, id;
              Random generator = new Random();     
    DatagramPacket sendPacket;
              id = generator.nextInt();
              if( id < 0 ) {
                   id = -id;
              while ( javacu.running ) {
                   len = fill_header( id );
                   sendPacket = new DatagramPacket( data, len, Server, port );
                   try {
                        javacu.sendSocket.send( sendPacket );
                   catch ( IOException e ) {
                        System.err.println("Fehler beim Senden: " + e.getMessage());
                   try {
                        sleep( 5000 );
                   catch ( InterruptedException e ) {
                        System.err.println("Ausnahme waerend sleep(): " + e.getMessage());
         private int fill_header( int id ) {
              InetAddress Local = null;
              int hilf[] = new int[32];
    int seq = 0, i = 0;
    long ts_long = 0, ts_long_ms = 0, ts_long_sec = 0, ts_long_hilf = 0;
    Date d = null;
              // konstanten Teil des RTP-Kopfes beim ersten Aufruf fuellen
              if( init == false ) {
                   init = true;
                   hilf[0] = (1 << 6) + chanid;     // rh_vers:2, rh_chanid:6
                   hilf[1] = (1 << 7) + 27;     // rh_opts:1, rh_sysnc:1, rh_content:6
                   hilf[8] = (1 << 7) + 33;     // rtsh_fin:1, rtsh_type:7
                   hilf[9] = 3;               // rtsh_optlen
                   hilf[10] = (id >> 8) & 0xff;     // rtsh_id
                   hilf[11] = id & 0xff;          // rtsh_id
                   try {
                        Local = InetAddress.getLocalHost();
                        hilf[12] = Local.getAddress()[0]; // rtsh_addr
                        hilf[13] = Local.getAddress()[1]; // rtsh_addr
                        hilf[14] = Local.getAddress()[2]; // rtsh_addr
                        hilf[15] = Local.getAddress()[3]; // rtsh_addr
                   catch ( UnknownHostException e ) {
                        System.err.println("Send.fill_header(): getLocalHost, " + e.getMessage());
                        hilf[12] = 0; // rtsh_addr
                        hilf[13] = 0; // rtsh_addr
                        hilf[14] = 0; // rtsh_addr
                        hilf[15] = 0; // rtsh_addr
                   hilf[16] = 'J'; // rtsh_name
                   hilf[17] = 'a';
                   hilf[18] = 'v';
                   hilf[19] = 'a';
                   hilf[20] = 'C';
                   hilf[21] = 'U';
                   hilf[22] = '\0';
                   // int in unsigned char umwandeln
                   for ( i = 0; i < 2; i++) {
                        if ( hilf[i] < 128 ) {
                             data[i] = (byte)hilf[i];
                        else if ( hilf[i] < 256 ) {
                             data[i] = (byte)(-256+hilf[i]);
                        else {
                             System.err.println("cast-Fehler1: " + i);
                   for ( i = 8; i <= 22; i++) {
                        if ( hilf[i] < 128 ) {
                             data[i] = (byte)hilf[i];
                        else if ( hilf[i] < 256 ) {
                             data[i] = (byte)(-256+hilf[i]);
                        else {
                             System.err.println("cast-Fehler2: " + i);
              // veraenderlichen Teil des RTP-Kopfes fuer jedes RTP-Paket neu erzeugen
              hilf[2] = seq >>> 8; // rh_seq
              hilf[3] = seq & 0xff;
              seq++;
              // RTP-Zeit berechnen
              d = new Date();
              ts_long_hilf = d.getTime();
              // Sekunden seit 1.1.1900, 0 Uhr ermitteln
              ts_long_sec = ts_long_hilf/1000 + (long)2208988800.;
              ts_long_ms = ts_long_hilf - (ts_long_hilf/1000)*1000;
              // jeweils 16 Bit fuer ganze Sekunden und Nachkommateil
              ts_long = ts_long_sec << 16 | ts_long_ms * 65536 / 1000;
              hilf[4] = (int)((ts_long >>> 24) & 0xff); // rh_ts
              hilf[5] = (int)((ts_long >>> 16) & 0xff);
              hilf[6] = (int)((ts_long >>> 8) & 0xff);
              hilf[7] = (int)(ts_long & 0xff);
              // int in unsigned char umwandeln
              for ( i = 2; i < 8; i++) {
                   if ( hilf[i] < 128 ) {
                        data[i] = (byte)hilf[i];
                   else if ( hilf[i] < 256 ) {
                        data[i] = (byte)(-256+hilf[i]);
                   else {
                        System.err.println("cast-Fehler3: " + i);
              return 23;
    sorry that the comments are in german , maybe its a good start to translate it to english first.
    But i will try it first.
    My questions is there any API that i can use ? or anything similar that i can modify ?
    any hints or help would be greatly appreciated.
    You can try connect to my reflector with any cuseeme client of your choice
    http://www.inforoots.org:8080/internet/cuseeme/
    or try the latest vchat version for osx
    http://homepage.mac.com/vchat/download.html
    REFLECTOR ADRESS IS
    let.dyndns.tvor view my informative website.
    http://www.let.de
    regards

    Annis,
    One of the other things to keep in mind is that the generation of an image does take some computing power so having the generation and the acquistion on the same machine is not always ideal. If you're using the machine that is publishing the front panel just to collect data it's not so much of an issue.
    If you really want to monitor in "Real-Time" using Remote Panels (requies LabVIEW 6.1) is your best option. This posting has more information on using Remote Panels and links to some live examples:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000C0660000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=web+control&USEARCHCONTEXT_QUESTION_S=0
    Remote panels makes it possible to control the application remotely as well.
    With .monitor the only way I've been able to manually refresh is to "Shift+Refresh" on the browser.
    Regards,
    Kamran

  • How do I stop itunes from automatically adding songs into my itunes library?

    I want to disable itunes from automatically adding songs into my library.  Every time I sync up my ipod I'm finding miscellaneous debris on it that itunes keeps importing into it.  Theres got to be a way to disable this function but I can't seem to find it in the preferences.   I'm using a 2011 macbook pro with os x 10.6.7. 

    I figured out how to change itunes as my default player.  I did this by selecting a new audio file and hitting cmd and I to get info, then I selected the "open with" category.  Inside "open with" theres an option to open the file with quick time, underneath that is the "change all" option.  select that and you will solve this problem if this is a nuisance to anyone else.

  • How to enter excell formulas into a webpage using Dreamweaver CS4

    I am new at dreamweaver and recently purchased CS4 web premium. I also bought some training videos from an Abode affilated training center on dreamweaver CS4. I was wondering how to create or hide formulas into a webpage. I am trying to enter my MS excel calculator into a webpage. Can anyone help me?
    thanks
    Mike

    Unfortunately this will not work directly in DW.
    You probably have 2 alternatives and that is, A - use JavaScript (if you are new to DW/webdesign probably not an option). B - See if there is an extension or plug-in for doing something similar.
    For pre-built extensions for DW try:   http://www.adobe.com/cfusion/exchange/index.cfm?event=productHome&exc=3&loc=en_us
    An alternative (you would have to copy/paste the code yourself would be one of the following (also check with the Microsoft site as this is (hopefully) something that may have come up before)).
    http://developer.yahoo.com/
    from Microsoft, you could check out: http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252C-402E-4F72-97A5-E0FD290D4 B76&displaylang=en
    HTH
    PZ

  • I want to more widget in my webpage

    I want to more widget in my webpage...that is http://mobileinfofree.com/
    My web site was made true Adobe Dreamewever CS6-Thaks for all of Abobe

    What's your question?   Please be more specific about what you need help with.
    Nancy O.

  • How do I insert video into my webpage?

    I am using Dreamweaver 8. I have taken my camcorder video and uploaded it to youtube and copied the mp4 file to my hard drive.
    I have created a page with several videos on the page. I created a screenshot of the video and sized it to the appropriate size. I then created a link to the video mp4 file. However it opens in a separate page.
    I want to have the video open on the same page in the same location as the screenshot. Click on the image and it just starts playing.
    I notice that I can get it to do this if it is a flash (.flv) file but since all of my videos are mp4 that won't work.
    How do I insert video into my webpage? Do I convert the mp4 files to flash? How? What do I do?
    Thanks
    Matt

    The help docs tell you how:
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7c9 fa.html
    or:
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7ca da.html
    Or other media objects:
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7c9 2a.html

  • Adding widgets to iWeb

    Hi there,
    Another question....i have added widgets to my page via the html snippet option on iWeb. What I would like to do is take it a step further and customize the look of the widget. Is this possible??

    You would need to alter the html code that you have placed in the html snippet, unless it is custom code, from another site, in which case no.
    If you want other designs, go to where you got the widget in the first place and copy and paste the code for a different design.

  • Embedding skype into a webpage

    HI
    Not sure if this is the right board.
    I am wondering if it is possible to get the skype application to open within a web page
    I have created a button for a site that launches the skype app separately which works fine, but I want to be able to have the interface embeded within a page
    Is this possible?
    Many thanks
    Edward

    Hi Edward,
    No. It's not possible to embed a "Skype widget" into your website. As you already discovered you can use Skype URIs to open the Skype application on the user's device.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Can you embed a jar into a webpage?

    Hi, I worked out how to embed my .class file into a webpage with <applet>.
    Im using netbeans which also creates a jar which includes my audio files in the archive.
    Could I just upload the jar file and embed that into a webpage?

    slenkar wrote:
    say if i just wanted to upload the jar to the server and nothing else, could it be embedded as an applet?Yes you can. You only need to mention the jar in your HTML. Don't ask me for specifics, it's been ages since I wrote an Applet.

  • Embedding interactive documents into a webpage

    Hi there,
    Does anyone know of a solution, in the catalogue of Apple Technologies, that would help achieve the following interactive « read-only » result of embedding a PDF or iWork document into a webpage? Example: http://dunod.ebrochure.fr/10-plaies-internet/netbook_dunod.php (no need to refer me back to web-based hosting solutions, I need something as DRM-safed as iBooks Author for iBooks Store, but for an author’s website!).
    Thank you

    Hi Jasmine and Fiona,
    We are still have difficulties. See below the info I have been provided by our Web Services Team:
    We’d already looked at the two help topics that they’ve linked to below and I believe we’ve got the correct code snippet:
    <iframe height="580" src="https://tra-opa.custhelp.com/tra_opa/web-determinations/startsession/TRAWizardv3" width="100%"></iframe>
    We’ve even tried putting it in an (extremely) simple HTML page and we still get the same issue.  I’ve attached a copy of the page for your reference.  We’ll need to investigate further.
    We will need to resolve this in order to move our 'wizard' rulebase into a production website.
    Thank you
    Bryce

  • Embedding MP3 files into dreamweaver webpage

    I've embedded mp3 files into my webpage, but every time someone opens the page, they are prompted to either open or save the file.  I want the viewer to be able to play the song using the embedded player, without the prompt.

    Embedded players are very old school.  And it won't work for many since they need a player and appropriate browser plugins installed on their end.  The modern approach is HTML5 <audio> which is widely supported by all browsers, including mobile and tablets.  For an example of HTML5 audio, copy and paste this code into a new, blank document.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Audio Demo</title>
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <style>
    header {
        width: 500px;
        margin: 0 auto;
        text-align: center
    audio { color: red }
    figure {
        margin: 20px auto;
        padding: 20px;
        width: 500px;
        text-align: center;
        border: 1px #ccc dashed;
        clear: both;
    figcaption {
        display: block;
        clear: both;
        text-align: center;
        font-style: italic;
        padding-top: 15px;
    dl {
        text-align: left;
        margin-left: 40%
    dt {
        clear: both;
        float: left;
        width: 4.5em;
        font-weight: bold;
    line-height: 150%
    dd {line-height:150%; color:maroon}
    </style>
    </head>
    <body>
    <header> <h1>HTML5 Audio Demo</h1>
    <p><a href="http://www.w3schools.com/html/html5_audio.asp">HTML5 Audio Tutorial</a></p>
    </header>
    <figure>
    <audio preload="auto" controls >
    <!--replace demo audio files with your own-->
    <source src="http://alt-web.com/Media/Fake-Empire.ogg" type="audio/ogg">
    <source src="http://alt-web.com/Media/Fake-Empire.mp3" type="audio/mp3">
    Looks like your browser is outdated and doesn't support the audio element.
    Please upgrade to a modern browser that does.
    </audio>
    <figcaption>HTML5 Audio using OGG &amp; MP3 files. <br>
    Works in all current browsers &amp; mobile devices.<br>
    </figcaption>
    </figure>
    <dl>
    <dt>Title:</dt>
    <dd>Fake Empire</dd>
    <dt>Year:</dt>
    <dd>2007</dd>
    <dt>Artist:</dt>
    <dd>The National</dd>
    <dt>Album:</dt>
    <dd>Boxer</dd>
    </dl>
    </body>
    </html>
    Nancy O.

  • How can I embed ical into my webpage

    Is there an easy way to embed my iCal calendar into my webpage? I already know it can be done using Google Cal but I stopped using Google Cal.

    I don't believe this can be done directly from iCal. A work around might be to save it has a .pdf file and put that in the site. Or save and upload it to Google Calendars and then insert it into the site with the supplied code. There is software that will sync iCal with Google, but I'm sorry, I can't remember what it's called.
    Good luck

  • It does not allow me go in a webpage that i could previously use, it just does not allow me to log into the webpage

    i previously using firefox could access this webpage, but it logged me out and from then onwards i could no longer logg into the webpage as it keeps denying my information to log in, it is not the webpage as i can log in using internet explorer so i assume that the problem lies with firefox and the webpage.

    Numbers documents from iOS need Numbers 3.2 on a Mac to open. And Numbers 3.2 requires Mavericks. If you are using Mavericks you can get Numbers 3.2 from the Mac App Store. It will be free IF you have Numbers 2 (iWork '09) installed. Otherwise you must buy it.
    Your other option is to send the Numbers file as an Excel file via e-mail to yourself to open with an earlier version of Numbers.

  • Inserting Spry Widget into Saved File

    I have recently encountered a propblem when inserting a Spry widget into a saved html file.  The .js and .css files are saved to file:///C|/Documents and Settings/dwilliams/Application Data/Adobe/Dreamweaver CS4/en_US/Configuration/Temp/Assets/eam75.tmp/%FILENAME% rather than %webroot%/spryassets.
    I know this can occur if the file is unsaved and code is inserted into the file, but in this case the file has been saved.
    Does anyone know how to to reset this back to its default setting?
    TIA,
    David

    Moved to Dreamweaver forums

Maybe you are looking for