Tools
 Welcome     Contacts  Search  Users  Tools  Sitemap

Site Contents

help.gif Need information on how to create a home page on Mathlab?
netwheel.gif - Download the best selling Web Browser on the market
java.gif - Sorry, the Java compiler isn't available for SunOS(the operating system mathlab runs), but you can download the Java Developers Kit for Windows
Count.gif - Keep count of your pages hits with mathlab's counter
Dgclock.gif - Stay ahead of the times with our digital clock
ie_anim.gif - Download the other best selling Web Browser
www.gif - The imagemap, the solution to all your web problems. Or know where you're going in life with client side imagemaps
respond1.gif - Have any questions, feel free to drop me a line


About Us

 

-Who runs the Mathlab?

-How do I get an account?

Search

 

-New to the web?

-Search the major search engines with this easy to use form

Users

 

-Looking for someone?

-Find a list of all Mathlab users with Web Pages

Tools

 

-Need some help?

-Wondering what web tools Mathlab has to offer?

-Want to add something?

[Welcome] [Contacts] [Search] [Users] [Tools] [Sitemap]























Homepages on Mathlab

So, you wanna to stake your claim on the Web, huh?


Well, then, here is a list of things you need to do:
  • First, you must create a directory called "www", in your home directory. This is where you should put all the information you want to make available. The URL for this new page will be http://www.mathlab.sunysb.edu/~username, where username is your login id on mathlab.
  • Next, you must make sure the the directory is world readable.
  • Then, you should a create a file in the "www" directory called "index.html". This is the file that people will see when they come to your homepage. Unless you already know how to write HTML, you probably should read this primer for producing documents in HTML.
  • Remember that everything in the "www" directory must be world readable.
  • The content and language of your pages should comply with standards of respect and protection for persons and property as described in the University Student Conduct Code.
  • The night after you create the "www" directory, your name will automatically be added to the list of users with home pages on mathlab.





















WWW Digital Clock!

We are using: [Dgclock 2.0]

  • You may refer to the program from your web page as:
         <img src="/cgi-bin/Dgclock.cgi?ft=9|fr=69|fg=139|fb=116" 
    align=absmiddle alt="**:**">
    Please give close attention to the parameters after the ? mark. Theexplanation for these parameters are given below:
      ft=9     ft means frame thickness. 9 is the thinkness
    in pixels. The clock will be wrapped with a 3D     frame of thickness 9.
    Use any value greater than 1,     however for nice 3D effect use a
    value >= 6.  fr=69     fr is the red component of the frame color.
    It can be any value between 0 and 255.  fg=139     fg is the green
    component of the frame color.     Valid range: 0-255.  fb=116
    fb is the blue component of the frame color.    Valid range: 0-255.
    Each parameter is separated by a | character. Make sure there is no newlines in the <img src= line and no space in the query string (?ft=9|fr=69|fg=139|fb=116). Please note that fp, fr, fg and fb all have to bein lower case. If you do not provide these parameters or if you provide someting wrong, no frame will be wrapped around the clock. You can be creative about the frame thickness and color.

    If you do not want any frame, you can refer to the program like:

     <img src="/cgi-bin/Dgclock.cgi">











    WWW Page Access Counter!

    We are using: [Counter 2.2]

    How to call the program?
    Let me tell you first, do not get frustrated because it has lots of options. I'll explain each option step by step. If you keep reading,you'll see it's really simple. You can refer to the program like this:

    <img src="/cgi-bin/Count.cgi?ft=9|frgb=69;139;50|tr=0|trgb=0;0;0|wxh=15;20|md=6|dd=A|st=5|sh=1|df=count.dat" align=absmiddle>

    The string between ? and " is called the QUERY_STRING. Make sure there isno newlines in the <img src= line and no space in the QUERY_STRING. Here:
        ft=9       ft means
    frame thickness. If you want to wrap the counter with a ornamental frame,
    you define the frame thickness like this. Here 9 is the thickness of
    the frame in pixel. This value can be any positive number more than 1.
    For nice 3D effect, use a number more than 5. If you do not want frame,
     just use ft=0.    frgb=69;139;50       frgb defines the color of
     the frame. Here 69 is the red        component, 139 is the green
     component and 50 is the blue       component of the color. The
     valid range of each component       is >=0 and <= 255. The
     components must be separated by ;       character. Note even
     if you define ft=0, these components       must be present,
     just use 0;0;0 in that case.    tr=0    tr defines if you want transparency in the counter image.
        here tr=0, that is I do not want transparent image. If you
        want transparent image, define tr=1. Note that Coun.cgi,
        does not care if your digits are transparent GIFs or not.
        You must tell explicitly which color you want to make
        transparent.    trgb=0;0;0       if tr=1, then black color of
         the image will get transparent.       Here 0;0;0 are the red
         , green and blue component of the color       you want to ma
         ke transparent.    wxh=15;20       wxh string defines the wi
         dth and height of an individual        digit image. Each dig
         its must have the same width and        height. If you like
         to use digits not supplied with my       distribution, find
         out the width and height of the digits       and specify the
         m here.    md=6       md defines the maximum number of digit
         s to display. It can be       >= 5 and <= 10. If your
         counter number is less than md, the       left digits will b
         e padded with zeros. Here md=6 means,
     display       the counter with maximum 6 digits. f you do not want
            to left pad with zeros, use pad=0 instead of md=6.
                   Note you can either use md=some_number of pad=0
                   , in this       field, you can not use both. I
         f you use pad=0, then       the digits will
          be displayed exactly without padding.    dd=A
              dd means digit directory. A indicates, it will
               use my LED digits       located at the direct
                ory A. There are about 7 digit directories,
                 labeled A-F, try them out to see what th
                   ey look like.    st=5       st means sta
                    rt, that is start the counter with this
                   value.     sh=1       sh mean show. If s
                  h=0, then no digit images will be displayed,
                  however a transparent 1x1 transparent GIF image will be
                returned, which will give the illusion of nothing being displayed.       Althouh
              it will seem that nothing is displayed,the counter will
              be incremented all right.    df=count.dat finally df means data file.
              This is the file which will contain the
               counter number. Please use your username.dat as filename
    
    All these options must be in the same order as told and all in lowercase and all of them must exist.

















    We use the CERN htimage program, called from your html file be:<
    A HREF="/cgi-bin/htimage/[UNIX PATH TO YOUR MAP FILE]"></A>CERN's
    format looks like this:#commentsdefault URL rect (x1,y1) (x2,y2)
    URLcircle (cx,cy) (x1,y1) URLpoly (x1,y1) (x2,y2) (x3,y3) ...
    URL

    For a better understanding, check out this example.
    Client Side Image maps are not "flat"
    files like NCSA and CERN - they are part of the actual HTML document.
    As such, they look extremely weird to the normal user. <MAP
    NAME="refname"><AREA SHAPE=method COORDS="positiondata"
    HREF="link" ALT="comment" TARGET="targframe">...more of same...</MAP>