Roadblock. Any help greatly appreciated! Javascript widget not executing. Returns white page. It's a standard autogenerated script.
I generated the javascript widget from wind guru that works like a charm on temporary bluehost domain:
However, exact same file called from main domain name presents white page only:
Contacted hoster "Bluehost", no help. They refer to directory path issue. No success with google. Tried to manually add directory root, no luck:
<script src=" type="text/javascript"> directory_root = " </script>
Here is the complete script:
<script src=" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
//<![CDATA[
WgWidget({
s: 77995, odh:0, doh:24, wj:'knots', tj:'c', waj:'m', fhours:72, lng:'en',
params: ['WINDSPD'],
first_row:true,
spotname:true,
first_row_minfo:true,
last_row:true,
lat_lon:true,
tz:true,
sun:true,
link_archive:false,
link_new_window:false
},
'wg_target_div_77995_42085527'
);
//]]>
</script>
<div id="wg_target_div_77995_42085527"></div>
I generated the javascript widget from wind guru that works like a charm on temporary bluehost domain:
However, exact same file called from main domain name presents white page only:
Contacted hoster "Bluehost", no help. They refer to directory path issue. No success with google. Tried to manually add directory root, no luck:
<script src=" type="text/javascript"> directory_root = " </script>
Here is the complete script:
<script src=" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
//<![CDATA[
WgWidget({
s: 77995, odh:0, doh:24, wj:'knots', tj:'c', waj:'m', fhours:72, lng:'en',
params: ['WINDSPD'],
first_row:true,
spotname:true,
first_row_minfo:true,
last_row:true,
lat_lon:true,
tz:true,
sun:true,
link_archive:false,
link_new_window:false
},
'wg_target_div_77995_42085527'
);
//]]>
</script>
<div id="wg_target_div_77995_42085527"></div>