PDA

View Full Version : DDO Server Status Widget



Cedwin
02-27-2010, 11:45 PM
I am currently working on a server widget that can be plugged in to any website via a script tag. It is made in asp.net 3.5, using basic xml queries, and served as a document.write script.

The problem is, I'm a developer, not a graphic artist, so if anyone has any ideas for the look and feel of it, feel free to PM me or reply here.

Here is what it looks like as of right now.

http://i292.photobucket.com/albums/mm34/stevoli/Capture7.png

Here is how the widget works, with the default style.



<script type="text/javascript" src="urlofwidget.ashx"></script>


If you want to customize it to match your website, you can include a css=0 in the querystring like so.



<script type="text/javascript" src="urlofwidget.ashx?css=0"></script>


Adding the css=0 string will prevent the script from including the default CSS, so you can customize the classes however you want.

Here are the current CSS classes available in the widget.



<style type="text/css">
.ddoContainer {
border:1px solid white;
width:200px;
background-color:#000000;
}
.ddoStatusTitle {
font-size:16px;
font-weight:bold;
background-color:#880000;
padding:5px;
text-align:center;
}
.ddoServerItem {
padding:5px;
text-align:center;
}
.ddoServerName {
font-weight:bold;
font-size:14px;
}
.ddoFooter {
font-size:8px;
color:Yellow;
padding:3px;
text-align:center;
}
</style>


I will update this post with the current URL of the widget after further testing on maintenance day. If you have any suggestions or questions, again, feel free to PM me or respond here.