In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "IE 8 grouping label color how to customize the setting", in the daily operation, I believe that many people have doubts about how to customize the IE 8 grouping label color. The editor consulted all kinds of information and sorted out a simple and easy-to-use method of operation. I hope it will be helpful to answer the doubts of "IE 8 grouping label color how to customize the setting". Next, please follow the editor to study!
A new feature of Windows Internet Explorer 8 browser (hereinafter referred to as IE 8) is the color grouping of tags (tabs). In the same IE window, IE 8 automatically groups the two (or more) tags in the same color if they click on a link in another tab and open it as "Open in a new tab".
In the default setting, the label of IE 8 is initially light blue (RGB = 227238251), the first group changes to light green (RGB = 140227190), the second change to ice blue (RGB = 185205246), the third change to light yellow (RGB = 255251209), and the fourth change to light purple (RGB = 222160228). If the fifth grouping continues, the four-color cycle will be repeated again, starting with light green. The label will not return to the default light blue until the same group of tags of the same color are turned off to only one, or until the user manually undoes the color grouping.
Personally, I don't think this setting of IE 8 is very smart. Suppose I am using IE 8 to check Sina Sports. There are more than a dozen pieces of news I am interested in. Maybe I clicked on three news and three tags for the first time, then closed them one by one; the second time, I clicked on two, and then closed; the third time, I clicked on three more. At this point, the IE 8 label will change color over and over again, and it looks too gaudy. In fact, no matter how many times I open it, all the tabs in this window come from Sina Sports, so there is no need for color grouping. Only when I open other tabs except Sina Sports in this window do I really need to distinguish them by color.
It might be better if IE 8 decides whether or not to group colors by "opening in a new tag", but by comparing whether the address corresponding to each tag comes from the same site. The author hopes that the subsequent version of IE can be improved.
To get to the point, in the default settings, the color order of light blue-light green-ice blue-light yellow-light purple defined by IE 8 is fixed, and users cannot modify these colors or adjust the order in which they appear. For some users, it may not matter, but for others, including the author, they may want to set their own group label color for IE 8. The main reasons are:
1. The default five colors are all a little cold and need to be reconciled with warm colors such as red, orange and purple.
two。 The default rotation order of five colors lacks rules to follow and is not easy to remember. It is more eye-catching if it can be rotated according to the approximate rainbow order of red-yellow-green-blue-purple. At the same time, it is also convenient for users to remember how many groups this is.
3. It is well known that in the same IE window, only one tag can be in the foreground and the rest in the background at a time. In IE 8, only one tag in the foreground has a color gradient, and the other tags in the background are monotonous solid colors, which should be modified so that the background tags also have color gradients.
4. When the mouse hovers over the background tag, the color change of this label is not obvious, and it is not easy for users to judge whether the mouse has hovered over the background label according to the color change. The author has seen some people complain in the Microsoft News Group. It is difficult to distinguish the color changes before and after hovering.
Based on the above reasons, the author decided to make a thorough change to the grouping label color of IE 8.
The grouping label color of IE 8 is defined by UIFILE in the IE 8 program file Windows\ system32\ IEFrame.DLL. Open this file with Resource Hacker (it is recommended that Resource Hacker,eXeScope modify UIFILE is not as convenient as Resource Hacker), expand the UIFILE branch, Windows XP users modify 20481 in UIFILE, and Windows Vista users modify 20737 in UIFILE.
1. Monochrome modification of background labels:
In the order from simple to difficult, we first modify the monochrome background label. Search UIFILE for the string rgb (227238251) and find the following statement:
This statement defines the initial light blue color of the background label (RGB = 227238251), which we can change to the RGB value of the custom color according to our preference.
Next, following this sentence, we can see:
This statement defines that when IE 8 groups for the first time, the label will be changed to light green (RGB = 140227190).
And so on, we can continue to find, represent the second, third, and fourth color changes, respectively, and modify the corresponding RGB values according to our preferences.
Note: IE 8 background label default color setting comparison:
Initial value: (RGB = 227238251)
Group 1: (RGB = 140227190)
Group 2: (RGB = 185205246)
Group 3: (RGB = 255251209)
Group 4: (RGB = 222160228)
two。 Background label modification from monochrome to gradient:
Below the author describes how to upgrade the background label from monochrome to gradient. If you want to keep the background label monochrome, you can skip this part of the content.
Take the initial light blue statement of the background label as an example:
The rgb (227238251) in this statement defines that this is a light blue monochrome (RGB = 227238251). If you want to change it to a gradient color, you need to replace rgb (XXX,XXX,XXX) with gradient (rgb (XXX,XXX,XXX), rgb (XXX,XXX,XXX), 1). For example:
Suppose you set the
Replace with
Then the background label can be upgraded from the default light blue (RGB = 227238251) to a light blue gradient from (RGB = 195221251) to (RGB = 242246251).
And so on, the following statements can also be modified so that the background labels of all groups are upgraded from monochrome to gradient.
3. Color modification when hovering over the background label:
In the default settings of IE 8, when the mouse hovers over the background label, the background label changes from a monochrome to a non-obvious gradient. For example, the initial light blue (RGB = 227238251) changes to a light blue gradient from (RGB = 163201248) to (RGB = 242246251) when hovering. Although it is changed to a gradual color after hovering, it is too close to the default monochrome. This is also the reason why the guy in the newsgroup complained that he could not see clearly.
The author believes that when the mouse hovers over the background label, it is more eye-catching to change the color according to the scheme of IE 7. In the default settings of IE 7, the background label is originally a silver gradient and appears as a light blue gradient after hovering over the mouse, which is much more eye-catching than IE 8.
To change the color of the mouse over the background label, search the UIFILE for the string (rgb (163201248), rgb (242246251) and find the following statement:
This statement defines the initial light blue gradient when the mouse hovers over the background tab, which we can change to the RGB value of the custom color according to our preference.
And so on, this statement can be found in turn, but the format of these statements has changed slightly, and you need to repeat the monochrome of this gradient before the mouse hover at the end. For example, the statement is:
You can see that it repeats the light green monochrome before the mouse hover (RGB = 140227190). We can just modify the relevant RGB value according to its format.
It is important to note that if you have previously upgraded the background label from monochrome to gradient according to method 2, it must also be replaced with the corresponding gradient when repeated here.
Note: when IE 8 hovers over the background label, the default color setting is compared:
Initial value: from (RGB = 163201248) to (RGB = 242246251)
Group 1: from (RGB = 21, 227140) to (RGB = 242246251)
Group 2: from (RGB = 122163245) to (RGB = 242246251)
The third group: from (RGB = 255 focus 240,45) to (RGB = 242246251)
Group 4: from (RGB = 204108214) to (RGB = 242246251)
4. Gradient modification of the foreground label:
The last element left is the only tab in the IE 8 window that is in the foreground. The foreground label also uses a gradual discoloration in the default setting, but it is not much different from the background label. Fortunately, this only foreground tag is higher than other background tags, so the problem of color proximity can be ignored.
To change the color of the foreground label, search UIFILE for the string (rgb (195221251), rgb (242246251) and find the following statement:
This statement defines the gradient of the foreground label, which we can change to the RGB value of the custom color according to our preference.
And so on, this statement can be found in turn, but the format of these statements has changed slightly, and you need to repeat the first color of this gradient at the end. For example, the statement is:
You can see that it repeats the first color of the gradient (RGB = 104218169). We can just modify the relevant RGB value according to its format.
Note: IE 8 foreground label default color setting comparison:
Initial value: from (RGB = 195221251) to (RGB = 242246251)
Group 1: from (RGB = 104218169) to (RGB = 242246251)
Group 2: from (RGB = 159187243) to (RGB = 242246251)
Group 3: from (RGB = 255244139) to (RGB = 242246251)
Group 4: from (RGB = 215141223) to (RGB = 242246251)
At this point, we have completed the background label, the background label with mouse hover, the foreground label in the initial value and all the color changes of the four groups.
According to the above method, we can design a set of IE 8 grouping label color scheme according to our own preference. The screenshot of the attachment at the end of this article is a set of color scheme designed by the author. The initial color of the label is light pink gradient, and when hovering, it is pink gradient. The four groups are: light red (hover orange-red) gradient, light yellow (hover yellow-green) gradient, grass green (hover turquoise) gradient, blue-purple (hover light purple) gradient, according to the pink-red-yellow-green-purple order rotation, generally follow the rainbow scheme, for your reference. In the screenshot, all Windows homepages are background tags, Windows XP homepages are background tags when the mouse is over, and Windows Vista homepages are foreground tags.
At this point, the study on "how to customize the color settings of IE 8 grouping labels" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 256
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.