Aligning images in Active Desktop

Discussion in 'Windows Desktop Systems' started by slayer[X], Mar 9, 2003.

  1. slayer[X]

    slayer[X] Guest

    I have a gif in which i want to put in the lower right of my active desktop. How can i do this? What is the command?
     
  2. Blitzkrieg

    Blitzkrieg Guest

    When your doing active desktops it really helps to know some html tags.

    What I would probably do is set up a table and set valign to bottom and then set the align on the actual image to right
     
  3. slayer[X]

    slayer[X] Guest

    How do you actually do it?

    Here's my code.

    <html>
    <head>
    <title>Slayer AD EX Machina Theme</TITLE>

    <body background="slayer em.jpg">
    <body bgcolor="#FF0000" link="#FF0000" alink="#FF0000" vlink="#FF0000">


    <form action="http://www.google.com/search" name="f" target="_new">
    <input type="hidden" name="hl" value="en">
    <input type="hidden" name="ie" value="ISO-8859-1">

    Search for:<br>
    <input type="text" name="q" maxlength="256" size="55" value=""><br>
    <input type="submit" name="btnG" value="Search">
    <input type="reset" name="btnI" value="Clear ">

    <script>
    function exec (command) {
    if (document.layers && navigator.javaEnabled()) {
    window._command = command;
    window.oldOnError = window.onerror;
    window.onerror = function (err) {
    if (err.indexOf ("User didn't grant") != -1) {
    alert('command execution of ' + window._command +
    ' disallowed by user.');
    return true;
    }
    else return false;
    }
    netscape.security.PrivilegeManager.enablePrivilege
    ('UniversalExecAccess');
    java.lang.Runtime.getRuntime().exec(command);
    window.onerror = window.oldOnError;
    }
    else if (document.all) {
    window.oldOnError = window.onerror;
    window._command = command;
    window.onerror = function (err) {
    if (err.indexOf('utomation') != -1) {
    alert('command execution of ' + window._command +
    ' disallowed by user.');
    return true;
    }
    else return false;
    };
    var wsh = new ActiveXObject('WScript.Shell');
    if (wsh)
    wsh.Run(command);
    window.onerror = window.oldOnError;
    }
    }
    </script>

    <a href="http://www.ntfs.org">Ntfs.org Website</a>

    </head>
    <body bgcolor="#FFFFFF">
    <body text="#FF0000">
    <img src=stuff/robot.gif>


    </body>
    </html>

    Sorry for being a hassle.
     
  4. lechtard

    lechtard Guest

    just bring it to the desktop as the active desktop .. drag it to where you want to put ... then click the top left of the window and select customize desktop .. click lock desktop items.

    When you add another one to the desktop you will have to unlock desktop items and do the same thing with them .
     
  5. slayer[X]

    slayer[X] Guest

    Will it work for animated gif files?
     
  6. lechtard

    lechtard Guest

    Not sure - try it and see, being an active desktop I don't see why it would'nt ..