Alright, i need help on this...
I have several websites that i run, i made a network bar for them and i made it with this code:
I really want to be able to change the content of it, all at once, at the same time. Because if the network gets large, i cannot update it seperatly. So is there a way i can embed it, and update it by just using one or 2 files. I am planning to add other sites that i dont run, and i dont want them to be able to change it without having the files. I just want to change it all, from one place. And i will do all it takes to do it.Code:<style type="text/css">
#networkbarbody {
float: left;
top:0px;
left:0px;
position: fixed;
width:1600px;
height:20px;
margin:0 0 0px 0px;
background:url("http://media.ignimgs.com/media/ign/corp-networkbar-bg.gif") center;
background-repeat: repeat-x;
overflow:show;
}
#networkbartext {
float: left;
font-size: 12px;
color: #FFFFFFF;
}
.networklinks A:link {
color: lightgreen;
text-decoration: none;
}
.networklinks A:visited {
color: darkred;
text-decoration: none;
}
.networklinks A:active {
color: purple;
text-decoration: none;
}
.networklinks A:hover {
color: gold;
text-decoration: underline;
}
</style>
<script>
var browserType;
if (document.layers) {browserType = "nn4"}
if (document.all) {browserType = "ie"}
if (window.navigator.userAgent.toLowerCase().match("gecko")) {
browserType= "gecko"
}
function hide() {
if (browserType == "gecko" )
document.poppedLayer =
eval('document.getElementById("networkbarbody")');
else if (browserType == "ie")
document.poppedLayer =
eval('document.getElementById("networkbarbody")');
else
document.poppedLayer =
eval('document.layers["realtooltip"]');
document.poppedLayer.style.visibility = "hidden";
}
function show() {
if (browserType == "gecko" )
document.poppedLayer =
eval('document.getElementById("networkbarbody")');
else if (browserType == "ie")
document.poppedLayer =
eval('document.getElementById("networkbarbody")');
else
document.poppedLayer =
eval('document.layers["realtooltip"]');
document.poppedLayer.style.visibility = "visible";
}
</script><div id="networkbarbody"><div id="networkbartext"><span class="networklinks">SWBFII Networks: <a href="http://www.lucasarts.com/">Lucasarts</a> | <a href="http://www.swbfnetworks.realbb.net/">SWBFNetworks</a> | <a href="http://www.swbfii.com">SWBFII.COM</a></span> <input type=button onClick="hide()" value="Close the Network Bar!">
</div></div><div align="Center"><input type=button onClick="show()" value="Reopen the Network bar!"></div>
