Forum

> > Off Topic > Unreal Software X (Theme)
Forums overviewOff Topic overviewLog in to reply

English Unreal Software X (Theme)

29 replies
Page
To the start Previous 1 2 Next To the start

old Unreal Software X (Theme)

SD
User Off Offline

Quote
So I was bored and wasted some of my time to make a new theme for Unreal Software. Extension for Opera is available here. It's already 1.3 version with most of bugs fixed, but still - if you see something weird, drop me a message, I'll see if I can fix that.


By the way, if anyone is experienced with Firefox extensions - message me, so I can publish my extension for Firefox with your help.
edited 1×, last 22.11.12 05:44:45 pm

old Re: Unreal Software X (Theme)

SD
User Off Offline

Quote
Well, it's possible with some advanced JavaScript coding which requires more time. If I have any free time I'll probably add some fancy stuff like background swapper.

old Re: Unreal Software X (Theme)

0a
User Off Offline

Quote
user SD has written
Well, it's possible with some advanced JavaScript coding which requires more time. If I have any free time I'll probably add some fancy stuff like background swapper.

It would be even better, lad.

old Re: Unreal Software X (Theme)

SD
User Off Offline

Quote
Google asks me to pay 5 dollars or something to publish this to Chrome Web Store. I've already made an extension for Google Chrome and it works, but I cannot publish it.

old Re: Unreal Software X (Theme)

KimKat
GAME BANNED Off Offline

Quote
user SD has written
Well, it's possible with some advanced JavaScript coding which requires more time. If I have any free time I'll probably add some fancy stuff like background swapper.
I'm quite skilled with JavaScript I could change that in a minute or two. I am experienced with the DOM, so if you want just provide the source code of that page theme then I could create a background changer function in a second. Great theme user SD by the way.

1
2
3
4
5
6
7
8
function ChangeBG(img){
 if (typeof img === 'undefined') {var img = "http://higgs.rghost.ru/41736844/image.png"} else {var img = img}
 document.body.style.backgroundImage = img; // Your background image here. :)
 return img;
}
// Usage:
// ChangeBG("URL goes here!") it will run the function and change the background image with desired background image.
// ChangeBG() returns the "default image" when function is executed.
If this fails, then I suggest using JQuery it succeeds most of the time.

$(function () {
	function InstantChangeBG () {
		$('body').css('backgroundImage', 'url(http://mywebsite.com/file.gif)');
	}
});
edited 2×, last 23.11.12 07:57:12 pm

old Re: Unreal Software X (Theme)

SD
User Off Offline

Quote
@user KimKat:
Thanks for the code, but I meant background swapper as Opera extension. That requires a button, a small menu, some temporary variables. A bit more work is needed.
@user DevGru:
Yes you can, but I haven't made the Firefox extension yet. I need someone who can help me with that.

old Re: Unreal Software X (Theme)

KimKat
GAME BANNED Off Offline

Quote
I am not very experienced Opera user since I use Mozilla Firefox alot more. However you could try integrating this function into your theme. It's possible to achieve with the somewhat easy-to-use JavaScript library known as JQuery. I don't know how to write Opera extensions, I don't know how they are compiled and so forth. I am confused in that field, so don't invite me to the opera scene lol. I am a Mozilla user, so I'm sorry I just like the Mozilla community. Here's how you can compile scripts for Firefox though.

old Re: Unreal Software X (Theme)

SD
User Off Offline

Quote
Talking about Opera extensions - if I have any time, I'll add a button which opens a menu where you can turn it on/off and change background to custom one. About Firefox, you gave me a simple compiler - are there any good instructions? Like how to integrate a button into Firefox bar, how extensions are packed, stuff like that. I searched but could not find anything - Opera seems to be more friendly to developers
To the start Previous 1 2 Next To the start
Log in to replyOff Topic overviewForums overview