Author Topic: Trying to make App work  (Read 2984 times)

0 Members and 1 Guest are viewing this topic.

Offline giants869001

  • Veteran
  • ***
  • Posts: 16
  • Karma: 0
Trying to make App work
« on: September 23, 2009, 09:46:35 PM »
If anybody could help me get this code to work it would be greatly appreciated by me and the community. It is an overview app that was created not by me (habman) don't know him but seems to be very popular in the MFL community or at once was. I am new to the MFL World and was looking to see if there would be a reason why this code worked last year (I wouldn't actually know cause I wasn't here, but have seen it working in 2008 leagues) but not this year. It seems like a cool app and would like to use it and so would many of others. Any info on how to make it work or anybody who can give any help on how to make it work would be great. Thank you ahead of time. Here's the code, copy and paste to your HP module and see it will just say.....loading stats.

<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 = false;

//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 = true;

// -->
</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>
« Last Edit: September 23, 2009, 09:48:46 PM by giants869001 »

Offline prpost

  • Administrator
  • Hall of Famer
  • *****
  • Posts: 1023
  • Karma: 6
    • MFLHistory.com
Re: Trying to make App work
« Reply #1 on: September 23, 2009, 10:05:18 PM »
I would suggest heading over to www.habman.com (the page for the MFL apps is here: http://www.habman.com/mfl/)

You're also more likely to find him surfing the myFantasyLeague forum than here

Offline giants869001

  • Veteran
  • ***
  • Posts: 16
  • Karma: 0
Re: Trying to make App work
« Reply #2 on: September 23, 2009, 10:57:10 PM »
That's why I came here, he hasn't been seen in months and everybody is asking for this app so I am searching around for help. Thank you though