User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: Changelog: Black background with white text?

  1. #11
    Lynel Revfan9's Avatar
    Join Date
    Jun 2005
    Location
    In front of a screen. I never leave.
    Age
    31
    Posts
    1,160
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,389
    Level
    18
    vBActivity - Bars
    Lv. Percent
    70.95%

    Re: Changelog: Black background with white text?

    How come that didn't work when I tried it with my own code? I hate computers ;-;

  2. #12
    Lynel
    ZC Developer
    pkmnfrk's Avatar
    Join Date
    Jan 2004
    Location
    Toronto
    Age
    37
    Posts
    1,248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,142
    Level
    18
    vBActivity - Bars
    Lv. Percent
    10.46%

    Re: Changelog: Black background with white text?

    Not sure, but:

    * it's "color", not "Color", "textColor" or any other permutation of "text" and "color".
    * it's "black", not "Black", "BLACK", or "0". "#000000" will work as well.
    * it's "white", not "White", "WHITE", or "F". "#FFFFFF" will work as well.

    Other than that, it's pretty easy.
    Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
    ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
    ZeldaGuard - Corruption in my save files? It's more likely than you think!
    I do script requests!

  3. #13
    Lynel Revfan9's Avatar
    Join Date
    Jun 2005
    Location
    In front of a screen. I never leave.
    Age
    31
    Posts
    1,160
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,389
    Level
    18
    vBActivity - Bars
    Lv. Percent
    70.95%

    Re: Changelog: Black background with white text?

    I tried all sorts of shit, and nothing worked. I also could've sworn that one of the things I tried was exactly the code you have up there, and it didn't work. Though I guess it doesn't matter anymore.

  4. #14
    Robots in Disguise
    ZC Developer
    Dark Nation's Avatar
    Join Date
    Mar 2000
    Posts
    5,401
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    7,657
    Level
    26
    vBActivity - Bars
    Lv. Percent
    61.69%

    Re: Changelog: Black background with white text?

    Use this for your GreaseMonkey script:

    Code:
    // ==UserScript==
    // @name           White on Black Shardstorm
    // @namespace      http://www.shardstorm.com/
    // @include        http://www.shardstorm.com/
    // ==/UserScript==
    document.body.style.backgroundColor = "black";
    document.body.style.color = "white";

  5. #15
    Lynel Revfan9's Avatar
    Join Date
    Jun 2005
    Location
    In front of a screen. I never leave.
    Age
    31
    Posts
    1,160
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,389
    Level
    18
    vBActivity - Bars
    Lv. Percent
    70.95%

    Re: Changelog: Black background with white text?

    I use this one:

    Code:
    // ==UserScript==
    // @name           Shardstorm Pimpification
    // @namespace      http://shardstorm.com
    // @description    Makes the change log page look all cool and stuff...
    // @include        *.shardstorm.com/*
    // ==/UserScript==
    
    document.body.style.backgroundImage="url(http://img291.imageshack.us/img291/4940/sswallue5.jpg)";
    document.body.style.color = "#c8c8c8";
    (Note: I couldn't find anywhere how to have the image scaled to fit the screen, it just tiles by default, so the image is 1440x900 to match my resolution)

    (Another Note: I have no idea how to make the text "Glide" over the image when you scroll up and down. That's what I wanted to do, but again I have failed.)

  6. #16
    Lynel
    ZC Developer
    pkmnfrk's Avatar
    Join Date
    Jan 2004
    Location
    Toronto
    Age
    37
    Posts
    1,248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,142
    Level
    18
    vBActivity - Bars
    Lv. Percent
    10.46%

    Re: Changelog: Black background with white text?

    Code:
    // ==UserScript==
    // @name           Shardstorm Pimpification
    // @namespace      http://shardstorm.com
    // @description    Makes the change log page look all cool and stuff...
    // @include        *.shardstorm.com/
    // leave this at this, unless you want to affect other things than the change log
    // ==/UserScript==
    
    document.body.style.backgroundImage="url(http://img291.imageshack.us/img291/4940/sswallue5.jpg)";
    document.body.style.backgroundAttachment="fixed";
    document.body.style.backgroundRepeat="no-repeat";
    document.body.style.color = "#c8c8c8";
    document.body.style.color = "black";
    document.body.style.backgroundPosition="top center";
    This should do what you want. You can make the image smaller, and it'll center it in the top-middle of the screen (and, won't tile any more). Alas, you can't scale it at all. But, you can rely on the black background to fill in the blanks.

    To learn more about what you can do, be sure to check out a CSS reference.

    To figure out the javascript "name" of a CSS property, just remove dashes (-) in the property name, and then make the next letter capital. Eg, "foo-bar" becomes "fooBar". "zelda-classic" turns into "zeldaClassic". Etc.

    Selecting other elements than the body is more difficult (and all but impossible on the change log), but if you wish to learn more, I can teach.
    Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
    ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
    ZeldaGuard - Corruption in my save files? It's more likely than you think!
    I do script requests!

  7. #17
    Bored Potato Nicholas Steel's Avatar
    Join Date
    May 2005
    Age
    35
    Posts
    4,380
    Mentioned
    4 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    10,293
    Level
    30
    vBActivity - Bars
    Lv. Percent
    19.05%

    Re: Changelog: Black background with white text?

    Is Greasemonkey an addon for Firefox?
    If you're using Firefox, you can just change the default text and background colors in your preferences.
    anyways to make this affect only certain pages with Firefox 3?

    EDIT 1: how to add scrips to greasemonkey and how to add http://www.shardstorm.dreamhosters.com/ ? it doesnt add when i add it and it doesnt get added to exluded either, I assume something im doing is wrong.

    EDIT 2: Eh, I also tried the exact same formatting as DN and it doesnt work :/
    Computer specifications:
    Windows 10 Pro x64 | Intel Core i7 @ 2.66GHZ | Asus P6T Motherboard | 6GB DDR3 RAM | Integrated Sound | Nvidia Geforce 560 Ti 2048MB PCI-E | Corsair AX760 Power Supply | Thermaltake Armor+ MX case

  8. #18
    Lynel
    ZC Developer
    pkmnfrk's Avatar
    Join Date
    Jan 2004
    Location
    Toronto
    Age
    37
    Posts
    1,248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,142
    Level
    18
    vBActivity - Bars
    Lv. Percent
    10.46%

    Re: Changelog: Black background with white text?

    For the URL, put "*.shardstorm.com", nothing else. That way, it'll only affect the Change log (and not, say, the wiki).

    If you're using DN's version, make sure each comment (line starting with //) is on a separate line.

    And, make sure that greasemonkey is enabled (smiling face), not disabled (greyed out frowny face).

    Other than those things, it should work.
    Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
    ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
    ZeldaGuard - Corruption in my save files? It's more likely than you think!
    I do script requests!

  9. #19
    Bored Potato Nicholas Steel's Avatar
    Join Date
    May 2005
    Age
    35
    Posts
    4,380
    Mentioned
    4 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    10,293
    Level
    30
    vBActivity - Bars
    Lv. Percent
    19.05%

    Re: Changelog: Black background with white text?

    I figured out why it wasn't working lol, I was just overlooking the fact that I was looking at the full address, http://www.shardstorm.dreamhosters.com/ instead of http://www.shardstorm.com/ ^_^"
    Computer specifications:
    Windows 10 Pro x64 | Intel Core i7 @ 2.66GHZ | Asus P6T Motherboard | 6GB DDR3 RAM | Integrated Sound | Nvidia Geforce 560 Ti 2048MB PCI-E | Corsair AX760 Power Supply | Thermaltake Armor+ MX case

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social