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!
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!