Rotating wallpaper.. - Page 2

Sharky Forums


Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22

Thread: Rotating wallpaper..

  1. #16
    The Medieval Mod freedon's Avatar
    Join Date
    Aug 2001
    Location
    Currently: Dallas, US. Originally: Monterrey, Mexico
    Posts
    8,669
    for my multiple wallpapaers on multiple monitors I use this.
    http://www.realtimesoft.com/

    pretty easy to use
    "Est Solarus Oth Mithas"
    My Honor is My Life


    (\__/)
    (='.'=)This is Bunny. Copy and paste bunny into your
    (")_(")signature to help him gain world domination

  2. #17
    Hammerhead Shark Kill-Switch's Avatar
    Join Date
    Feb 2002
    Location
    England
    Posts
    1,195
    I've always used Webshots and never had a problem with it, it does what it's supposed to do I don't know about supporting dual monitors though.

    Intel i7 7700K (Kaby Lake)
    NZXT Kraken X62 AIO CPU Cooler
    Asus ROG Maximus IX Hero Z270 Motherboard
    32Gig G.Skill Trident X Series DDR4 (4 x 8gig @3200)
    Gigabyte Geforce GTX 1080 G1 Gaming
    256Gig Samsung 850 Pro SSD
    3TB Seagate Barracuda HDD
    Thermaltake Toughpower Grand RGB 750watt PSU
    27" Acer Predator XB271HU
    Razor DeathAdder Chroma
    Razor Blackwidow Chroma V2
    BeQuiet Dark Base 900 Pro

  3. #18
    Hammerhead Shark EverlastingGod's Avatar
    Join Date
    Feb 2003
    Location
    MD
    Posts
    1,364
    Here's some old code I wrote a while ago. Save as an html file and make that your background. Fill in the bgImages array with filenames of pictures to use as the background. window.setInterval("update()", 60000); is the line that schedules the next change in background. I'm pretty sure this won't persist through reboots. You'll have to modify it if you want it to not reset after reboots.

    I'm sure there's a better way (maybe using Window Script Host).
    Code:
    <html>
      <head>
        <title>Rotating Background</title>
        <script language="JavaScript">
        var index = 0;
        var bgImages = ["PATHTOBACKGROUND1", "PATHTOBACKGROUND2"];
    
        function update()
        {
          index++;
    
          if (index == bgImages.length)
          {
            index = 0;
          }
    
          document.body.filters.item(0).apply();
          document.body.background = bgImages[index];
          document.body.filters.item(0).play();
        }
    
        window.setInterval("update()", 60000);
        </script>
      </head>
      <body bgcolor="background" background="PATHTOINITIALBACKGROUND" style="filter:progid:DXImageTransform.Microsoft.Fade(Duration=1, Overlap=1.0);">
      </body>
    </html>
    Last edited by EverlastingGod; 08-27-2003 at 10:53 AM.
    Stay cool
    and be somebody's fool this year

  4. #19
    The Medieval Mod freedon's Avatar
    Join Date
    Aug 2001
    Location
    Currently: Dallas, US. Originally: Monterrey, Mexico
    Posts
    8,669
    takes for the code!

    so I just sustitute
    if (index == bgImages.length)
    with
    if (index == pic1.bmp, pic2.bmp)

    I tried that, set Active Desktop to the html file and a blue square appeared with nothing in it
    "Est Solarus Oth Mithas"
    My Honor is My Life


    (\__/)
    (='.'=)This is Bunny. Copy and paste bunny into your
    (")_(")signature to help him gain world domination

  5. #20
    Hammerhead Shark EverlastingGod's Avatar
    Join Date
    Feb 2003
    Location
    MD
    Posts
    1,364
    Originally posted by freedonX
    takes for the code!

    so I just sustitute
    if (index == bgImages.length)
    with
    if (index == pic1.bmp, pic2.bmp)

    I tried that, set Active Desktop to the html file and a blue square appeared with nothing in it
    No, change the line
    var bgImages = ["PATHTOBACKGROUND1", "PATHTOBACKGROUND2"];
    to
    var bgImages = ["pic1.bmp", "pic2.bmp"];

    pic1.bmp and pic2.bmp should be in the same directory as the html file (since you gave a relative path). (If you want you can use absolute paths also.)

    Also,
    <body bgcolor="background" background="VortecSpace1.jpg" style="filter:progid:DXImageTransform.Microsoft.Fade(Duratio n=1, Overlap=1.0);">
    Change VortecSpace1.jpg to an initial image.


    You can have more than two pictures also.

    Note: I haven't tested on anything other than XP (and that was many years ago).
    Last edited by EverlastingGod; 08-27-2003 at 10:53 AM.
    Stay cool
    and be somebody's fool this year

  6. #21
    The Medieval Mod freedon's Avatar
    Join Date
    Aug 2001
    Location
    Currently: Dallas, US. Originally: Monterrey, Mexico
    Posts
    8,669
    oh yeah!!
    it works! thanks

    I'm going to be pesky... but, in the code can you 'strech' the wallpapers?
    "Est Solarus Oth Mithas"
    My Honor is My Life


    (\__/)
    (='.'=)This is Bunny. Copy and paste bunny into your
    (")_(")signature to help him gain world domination

  7. #22
    Hammerhead Shark EverlastingGod's Avatar
    Join Date
    Feb 2003
    Location
    MD
    Posts
    1,364
    Originally posted by freedonX
    oh yeah!!
    it works! thanks

    I'm going to be pesky... but, in the code can you 'strech' the wallpapers?
    Probably with style sheets (CSS), but off the top of my head I don't know (been a while for web stuff...) There's a lot to be done to "fix" the code (off the top of my head, it appears I used quite a few deprecated tags, etc.).
    Stay cool
    and be somebody's fool this year

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •