History
   Show Presentation
 
 
 2089 - STATIC- OK
Home • Plugins • RWDCal_GScrolling • GARBAGELEGACY • 2089 - STATIC- OK
 











<script type="text/javascript">
var Url_js_Var = <X-FC-URL-PARAMETER Url_js_Var>;
console.log('real cal url =' + Url_js_Var);


var s = Url_js_Var.indexOf('&config=');
var config =  (s==-1)?"":  Url_js_Var.substring(s+8) + "?plugin=RWDconfig&templates=GscrollingConfig&formid=2089" ;

var mode= (Url_js_Var.indexOf("google.com") >=0)?0:  (   (Url_js_Var.indexOf(".ics") >=0)?1:2            );
var calendar = (mode==2)?Url_js_Var.substring(0,s) + "?FormID=2089&Templates=GscrollingCal&Plugin=RWDConfig":Url_js_Var.substring(0,s);


console.log("Config Location : " + config);
console.log("Calendar Mode : " + mode);
console.log("Calendar URL : " + calendar);


</script>

<script src="/.Templates/RWD/RWDComponents/RWDCal_GScr/js/gfc.js"></script>                             <!-- GFC-->


<script type="text/javascript">



var json = {};
this.json.gfc = {};
json.gfc.mode = mode;
json.gfc.calendar_url = calendar;

var self=this;


config = config;


$.ajax({
    url:config,  
   dataType:"json",
    success:function(data) {
        //console.log("CONFIG FOUND OK");
         self.json.gfc.background_color= data['background_color'];
        self.json.gfc.background_image = data['background_image'];
        self.json.gfc.font_face = data['font_face'];
        self.json.gfc.font_color = data['font_color'];
        self.json.gfc.font_size =data['font_size'];
        self.json.gfc.text_decoration = data['text_decoration'];
        self.json.gfc.navprev_img = data['NavPrev_img'];        
        self.json.gfc.navnext_img = data['NavNext_img'];        
        gTime.init(self.json);


    },
        error:function(){
        //console.log("NO CONFIG FOUND");
        gTime.init(self.json);
}
  });

</script>











<div id = "gfc_wrapper" style="position:relative; width:100%; height:auto; display:none;">

    <div id="navigation_bar" style="position:relative; width:300px;">

<ul id="menulist_bar" class="gfc_menulist" style="height: 24px;">

<li class="spaced_li">
                <input type="button" id="today" value="Today" style="height:18px; font-size:60%; vertical-align:middle; " />
</li>


<li class="spaced_li">
                <img width="22" height="17" id="gfc_back" class="gfc_navbutton gfc_navBack" src="https://calendar.google.com/googlecalendar/images/blank.gif" title="Previous period" tabindex="0" role="button" id="navBack1">
</li>

<li class="spaced_li">
                <img width="22" height="17" id="gfc_forward" class="gfc_navbutton gfc_navForward" src="https://calendar.google.com/googlecalendar/images/blank.gif" title="Next period" tabindex="0" role="button" id="navForward1">
</li>



<li class="spaced_li">
                        <input type="text" id="datepicker"   style="width:85px; font-size: 60%; height: 18px; padding: 0px;"  >
</li>

</ul>

    </div>


<div id="cfull" style="position:relative; width:100%; overflow:hidden;" >

  <div id ="ntop" align="center" style="display:block; position:absolute; z-index:999; top:0; right:16px; height:20px; width:auto;">
    </div>


 <div id ="gfc_content" class="gfc_content" style="overflow-x:hidden; overflow-y:scroll; position:relative; height:375px; width:auto; background-color:#e5ecf9;">
      <table width="100%" cellspacing="0" cellpadding="0" class="footer" id="footer1"><tbody><tr><td valign="bottom" id="timezone"><!--Events shown in time zone: GMT (no DST)--></td></tr></tbody></table>
    </div>


   <div id ="nbot" align="center" style="display:block; position:absolute; z-index:999; bottom:0;  right:16px; height:20px; width:auto; ">
    </div>
</div>


  <div id ="notice" align="center" style="display:none; position:relative; height:20px; width:auto; background-color:#ffffe1;  ">
      <b> GFC Calendar Agenda Viewer </b>
  </div>

</div>