Hi,

Not 100% sure (ipads are not good for looking at page source) but I suspect you 
may have an error in the javascript in your page that support the drop down 
lists. Hence when you select an item from the drop down list the javascript 
fails resulting in nothing (seemingly) happening. From what i can tell you 
should have something like:

    <script type='text/javascript'>//<![CDATA[ 
      jQuery(window).load(function(){
        jQuery('div.btn-group ul.dropdown-menu li a').on('click', function (e) {
            var url = "NOAA/NOAA-";
            
            e.preventDefault(); // prevent the default anchor functionality
            url = url + jQuery(e.target).closest('a').data('file');
            url = url + ".txt";
            window.open(url, '_blank');
        });
      });//]]>
    </script>

but when i look at your page source I see:

    <script type="text/javascript">//<![CDATA[ 
      jQuery(∑window).load(function(){
        jQuery('div.btn-group ul.dropdown-menu li a').on('click', function (e) {
            var url = "NOAA/NOAA-";
            
            e.preventDefault(); // prevent the default anchor functionality
            url = url + jQuery(e.target).closest('a').data('file');
            url = url + ".txt";
            window.open(url, '_blank');
        });
      });//]]>
    </script>

Note the sigma on the 2nd line inside the first bracket. Could be a typo in 
your index.html.tmpl (the template includes the code verbatim), I suggest you 
compare it carefully to the index.html.tmpl in the responsive skin github repo.

If I am wrong I suggest you open your page in your browser then bring up the 
developer console so you can view the javascript log, then when you click on 
one of your noaa format files I suspect you will see some errors in the console 
that should give you a clue where to look.

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to