Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • cndglobal Friend
    #145421

    I want to open a module like the “weather” inside my site.
    I think the wrapper may be the way but I dont know how to code the wrapper to open the javascript module.
    http://www.apartmentsphiladelphia.com/cms/index.php?option=com_content&view=article&id=24&Itemid=478
    Has anyone done this?????
    Here is the code for my weather widgit.
    + + + + + + + + + + + + + + + + + + + + + + + +

    http://www.weather.com/services/oap.html

    <div id=”wx_module_2374″>
    <a href=”http://www.weather.com/weather/local/19103″>19103 (Philadelphia Weather Forecast, PA)</a>
    </div>

    <script type=”text/javascript”>

    /* Locations can be edited manually by updating ‘wx_locID’ below. Please also update */
    /* the location name and link in the above div (wx_module) to reflect any changes made. */
    var wx_locID = ‘19103’;

    /* If you are editing locations manually and are adding multiple modules to one page, each */
    /* module must have a unique div id. Please append a unique # to the div above, as well */
    /* as the one referenced just below. If you use the builder to create individual modules */
    /* you will not need to edit these parameters. */
    var wx_targetDiv = ‘wx_module_2374’;

    /* Please do not change the configuration value [wx_config] manually – your module */
    /* will no longer function if you do. If at any time you wish to modify this */
    /* configuration please use the graphical configuration tool found at */
    /* https://registration.weather.com/ursa/wow/step2 */
    var wx_config=’SZ=160×600*WX=CF*LNK=TRVL*UNT=F*BGI=plane*MAP=null|null*DN=alumnivacations.com*TIER=0*PID=1145053374*MD5=5a1fe7fbc270aac3df9fa9b8aaad87b0′;

    document.write(‘<scr’+’ipt src=”‘+document.location.protocol+’//wow.weather.com/weather/wow/module/’+wx_locID+’?config=’+wx_config+’&proto=’+document.location.protocol+’&target=’+wx_targetDiv+'”></scr’+’ipt>’);
    </script>

    tonyg Friend
    #343347

    Hi

    There are lots of free Joomla modules for weather at JED look here: http://extensions.joomla.org/extensions/external-contents/weather/weather

    All you need to do is install,configure for a weather location and publish it on your prefer module location.

    Check it out you bound to find one that you like.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  tonyg 14 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum