Log in

View Full Version : Coding question



giants869001
09-23-2009, 01:10 AM
This maybe weird but i am trying to get this application to work for my league, it worked last year but not this year, why? The problem is that the gentlemen who had done it has been impossible to reach. Just looking for some friendly help and hopefully somebody who can help me or at least put me in the right direction. If I am doing something wrong, I am sorry upfront. I know nothing about this stuff. Any help is greatly appreciated, so here's the code.




<script language="JavaScript" type="text/javascript">
<!--

//Start marquee manually; either true or false
var overviewClickToStart = false;

//Display salary/contract column; either true or false
var displayOverviewSalary = true;

//Set initial team to display; normally commissioner franchise ID
var overviewDefaultTeam = '0001';

//Set the number of decimals for Fantasy Points display
var overviewDecimals = 1;

//Display "Not Official Stats" disclaimer
var overviewEnableStatsDisclaimer = true;

//The following controls the number of weeks to display in fantasy schedule tab
var overviewScheduleMax = 17;
var overviewScheduleNext = 5;
var overviewSchedulePrev = 5;

//Create link to minimize the app
var overviewMinimize = false;

// -->
</script>



<style type='text/css'>

/* THIS IS THE TAB CONTENT CSS CODE */
.habOverviewTabs{
padding: 1px;
font-weight: bold;
list-style-type: none;
text-align: left;
}

.habOverviewTabs li {
display: inline;
background-color: silver;
border: 1px solid black;
margin: 0;
padding: 0;
padding-left: 5px;
}

.habOverviewTabs li a {
text-decoration: none;
padding: 1px;
}

.habOverviewTabs li.selected {
background-color: white;
border-bottom: 2px solid white;
}

.habOverviewTabContentStyle{
border: 1px solid black;
background-color: white;
padding: 5px;
}

.habOverviewTabContent{
display:none;
padding-left: 30px;
padding-top: 30px;
padding-right: 30px;
}

#RosterOverviewMain, #RosterOverviewStats, #RosterOverviewSchedule, #RosterOverviewProjections {
text-align: left;
min-height: 400px;
height: auto !important; /* For Safari & firefox */
height: 400px; /* IE6 expands this if needed */
vertical-align: top;
}

.habOverviewTable {
width: 100%;
border: 1px solid black;
}

.habOverviewTable caption {
width: 100%;
}

.habOverviewTable td {
padding-left: 5px;
padding-right: 5px;
}

.habOverviewTable th {
border-right: 0px;
border-left: 0px;
height: auto;
font-style: normal;
}

#habOverviewSelect {
font-size: 11px;
font-family: courier new,helvetica;
font-weight: bold;
color: #00517b;
background-color: silver;
}


/* THIS IS THE DYNAMIC DRIVE CSS POPUP WINDOW CODE */
.dhtmlwindow{
position: absolute;
border: 2px solid black;
visibility: hidden;
background-color: white;
}

.drag-handle{ /*CSS for Drag Handle*/
padding: 1px;
text-indent: 3px;
font: bold 14px Arial;
background-color: #CA0000;
color: white;
cursor: move;
overflow: hidden;
width: auto;
filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
}

.drag-handle .drag-controls{ /*CSS for controls (min, close etc) within Drag Handle*/
position: absolute;
right: 1px;
top: 2px;
cursor: hand;
cursor: pointer;
}

* html .drag-handle{ /*IE6 and below CSS hack. Width must be set to 100% in order for opaque title bar to render*/
width: 100%;
}


.drag-contentarea{ /*CSS for Content Display Area div*/
border-top: 1px solid brown;
background-color: white;
color: black;
height: 150px;
padding: 2px;
overflow: auto;
}

.drag-statusarea{ /*CSS for Status Bar div (includes resizearea)*/
border-top: 1px solid gray;
background-color: #F8F8F8;
height: 13px; /*height of resize image*/
}


.drag-resizearea{ /*CSS for Resize Area itself*/
float: right;
width: 13px; /*width of resize image*/
height: 13px; /*height of resize image*/
cursor: nw-resize;
font-size: 0;
}

</style>


<script type="text/javascript" src="http://www.habman.com/mfl/apps/js/habman_common.js"></script>
<script type="text/javascript" src="http://www.habman.com/mfl/apps/js/overview.js"></script>
<script type="text/javascript" src="http://www.habman.com/mfl/habtabcontent.js"></script>

<script type="text/javascript" src="http://www.habman.com/mfl/apps/js/dhtmlwindow/dhtmlwindow.js">

/***********************************************
* DHTML Window Widget- &copy; Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>