• Javascript

    From Tai Pan@VERT/LOFT to All on Friday, April 27, 2007 08:32:00
    I am uncertain this is a proper forum for javascript, but here goes.
    How can files targeted by a hiLite string come up sized. This is an presentation issuie. Here is the situition
    <head>
    <script LANGUAGE="JavaScript">

    sample = new Image(24,88);
    sample.src = "loft01.jpg";
    sampleb = new Image(36,88);
    sampleb.src = "sbb.gif";

    }
    function hiLite(imgDocID,imgObjName) {
    if (version == "1") {
    document.images[imgDocID].src = eval(imgObjName + ".src")
    }}

    </SCRIPT>

    Here is the body call

    <body>

    <a href="images/parchment1.jpg" onMouseOver="hiLite('img01','sampleb')" onMouseOut="hiLite('img01','sample')" target="main"><img SRC="loft01.jpg" NAME="img01" ALT="Sample 1" BORDER=0 ></a>

    </body>

    From the anchored call I want the image file "parchment1.jpg" to appear in a popup-like box of the graphic's ACTUAL size. It should be closable. Now it appears as a whole page. The working example of this problem can be found at http://www.loftlore.com

    If the answer is, "give up - it can't be done" then fine. Say so please. I've ground up seven days trying everything I could think of to make this happen.

    loftlore.com

    The future is fnntasy!

    ---
    þ Synchronet þ loftlore.com