PDA

View Full Version : Emulation64 Network bar



Martin
June 27th, 2004, 19:19
I guess you've noticed the bar on top of each page here at EmuTalk, you'll see it at Emulation64 (http://www.emulation64.com), EmuHelp (http://www.emuhelp.com) and EmuFanatics (http://www.emufanatics.com) as well and probably more sites soon. The largest emulation news sites are visible directly in the bar, while all sites can be accessed through the scroll bar.

The idea of the bar is to let our visitors know about other sites in our network and soon it will have some more information about the actual network and how to join it.

For sites already on the network, here's how to add the bar. The bar is optional of course.

<b>UPDATE:</b> OK New Info for Network sites:)
You can either do a PHP include or a JavaScript include, SSI's are being a pain with the new files:) Apache is also being a pain, the dynamic files won't function through aliases, but that does not matter, just include from the network site on whichever box you are on:)

PHP Include

For sites on Ashley (62.75.221.236):

include("http://network.emulation64.com/e64nbar.php");

For sites on Quattro (85.25.129.193):

include("http://network.nathell.com/e64nbar.php");

For sites on Braveheart (62.75.214.109):

include("http://network.stylefone.com/e64nbar.php");

JavaScript Include

For sites on Ashley (62.75.221.236):

< script type="text/javascript" src="http://network.emulation64.com/e64nbar_js.php"></script>

For sites on Quattro (85.25.129.193):

< script type="text/javascript" src="http://network.nathell.com/e64nbar_js.php"></script>

For sites on Braveheart (62.75.214.109):

< script type="text/javascript" src="http://network.stylefone.com/e64nbar_js.php"></script>(remove the space before script in both cases or it won't work!
Now, why the change to scripts instead of static files?
Simple, now we can better integrate the e64nbar into sites colour schemes.

Of course, you don't have to use any of the following and you will get an e64nbar that functions perfectly, albeit with the default colours and logo

First, you can define the background colour and the logo image used, ie:

http://network.emulation64.com/e64nbar.php?e64nbar=mylogo.gif&bgcolor=FFFFFFThose two are available with either of the following

You can define various css settings in the e64nbar or you can have it use a stylesheet that you've created.

For defining variables it's simple, athough if you want to do a lot I suggest using a css stylesheet
-link <-- defines the colour you want for the link text, no leading #
-visited <-- defines the colour you want for a visited link, no leading #
-active <-- defines the colour you want for an active link, no leading #
-hover <-- defines the colour you want for when the mouse hovers over a link, no leading #
-text <-- defines the text colour
-font1 <-- primary font (default is Tahoma)
-font2 <-- secondary font (default is Verdana)
-font3 <-- teritary font (default is sans-serif)
-size <-- the size you want the font, it is in px, though you don't add px to it, just a number, default is 11

Note: you don't have to use them all, you can pick and choose

eg: http://network.emulation64.com/e64nbar.php?bgcolor=FFFFFF&link=000000&font1=Impact&size=10


OR you can use a nice CSS stylesheet by defining the
"css" variable

eg: http://network.emulation64.com/e64nbar.php?bgcolor=FFFFFF&e64nbar=http://www.emuhelp.com/logo.gif&css=http://www.emuhelp.com/blah.css

(Note that the included css file doesn't exist in this case, not recomended:P)

the syntax for e64nbar.php and e64nbar_js.php is the same, just different include methods used

Is this post unhelpful? I think so!

Trotterwatch
June 27th, 2004, 19:28
Great stuff :) Particularly love the 'buy crap in Swedish' link!

Martin
June 27th, 2004, 19:32
Yeah that ought to attract some customers :happy:

PsyMan
June 27th, 2004, 20:21
It's the best way to navigate through the emulation64 network! Great idea Martin. Really, was it you the one who had this "inspiration"?

Jakob
June 27th, 2004, 20:32
Remember one thing people!

Every time you use the e64nbar and don't pay up money, YOU ARE STEALING! :P


It's the best way to navigate through the emulation64 network! Great idea Martin. Really,was it you the one who had this "inspiration"?

PsyMan
June 27th, 2004, 20:35
In that case the whole network is full of outlaws :P

Keith
June 27th, 2004, 21:47
After a lot of nagging by [vEX] and myself .. passive added in the ability to make our own custom e64n Bars .. here is mine .. http://www.emufanatics.com

Thanks again passive. :)

Jakob
June 27th, 2004, 21:54
yeah, so I suggest people not go adding from the old includes, they're getting replaced as soon as marty returns:P

Jakob
June 28th, 2004, 00:07
OK New Info for Network sites:)
You can either do a PHP include or a JavaScript include, SSI's are being a pain with the new files:) Apache is also being a pain, the dynamic files won't function through aliases, but that does not matter, just include from the network site on whichever box you are on:)
PHP Include
For sites on Fozzie:

include("http://network.emulation64.com/e64nbar.php");

For sites on Ramboo:

include("http://network.nathell.com/e64nbar.php");

JavaScript Include
For sites on Fozzie:

< script type="text/javascript" src="http://network.emulation64.com/e64nbar_js.php"></script>

For sites on Ramboo:

< script type="text/javascript" src="http://network.nathell.com/e64nbar_js.php"></script>
(remove the space before script in both cases or it won't work!
Now, why the change to scripts instead of static files?
Simple, now we can better integrate the e64nbar into sites colour schemes.

Of course, you don't have to use any of the following and you will get an e64nbar that functions perfectly, albeit with the default colours and logo

First, you can define the background colour and the logo image used, ie:

http://network.emulation64.com/e64nbar.php?e64nbar=mylogo.gif&bgcolor=FFFFFF

Those two are available with either of the following

You can define various css settings in the e64nbar or you can have it use a stylesheet that you've created.

For defining variables it's simple, athough if you want to do a lot I suggest using a css stylesheet
-link <-- defines the colour you want for the link text, no leading #
-visited <-- defines the colour you want for a visited link, no leading #
-active <-- defines the colour you want for an active link, no leading #
-hover <-- defines the colour you want for when the mouse hovers over a link, no leading #
-text <-- defines the text colour
-font1 <-- primary font (default is Tahoma)
-font2 <-- secondary font (default is Verdana)
-font3 <-- teritary font (default is sans-serif)
-size <-- the size you want the font, it is in px, though you don't add px to it, just a number, default is 11

Note: you don't have to use them all, you can pick and choose

eg: http://network.emulation64.com/e64nbar.php?bgcolor=FFFFFF&link=000000&font1=Impact&size=10


OR you can use a nice CSS stylesheet by defining the
"css" variable

eg: http://network.emulation64.com/e64nbar.php?bgcolor=FFFFFF&e64nbar=http://www.emuhelp.com/logo.gif&css=http://www.emuhelp.com/blah.css

(Note that the included css file doesn't exist in this case, not recomended:P)

the syntax for e64nbar.php and e64nbar_js.php is the same, just different include methods used

Is this post unhelpful? I think so!

[vEX]
June 28th, 2004, 00:21
Yeah, me and Keith make a good nag team :P

Martin
June 28th, 2004, 00:43
Thanks passive, added that info to the first post. :)

Jakob
July 12th, 2004, 04:08
After much thought and consideration.. I've taken the decision to remove dcemu and vgn from the quick links section of the network bar since neither of them have it up, they are of course, still listed in the network sites listbox, this leaves 2 empty spots on the quick links section:P

As to the missing about/hosting pages, they will be put up when marty comes back from his vacation in bangkok(apparently he's some sort of big time japanese banker...) j/k (somehow I hope no one got that... :P)

Anyways, when he's back, the network site will be finished.

Oh yeah, I also added another variable that can be passed to the script, "bg", it defines a background image, and is optional, this was of course added last week, but I'm lazy:P

RatTrap
June 3rd, 2005, 19:02
just a thought.. but doesn't the "make your own emu64-bar"-idea kind of mess up the whole idea?.. i mean.. isn't it about ppl being able to see that site1 and site2 belong to the same network?.. if you have diferent bars they will not have the consistency they should have?.. no?.. or am i just bored and naging bout old stuff :p..

Jakob
July 24th, 2005, 04:44
This idea was the result of a compromise on the original idea we had of one supersite, which, after some thought was diluted down to a standard network bar, which was then diluted down just a bit more to allow sites to maintain complete control of their look/feel while maintaining the association, and of course, it is and always was, entirely optional