Hi Rainer,
thanks for your support, now it works fine!
I’ve some questions for you
Are you ready?? :lol:
How is it and when should you implement it in the future?
// D: Dynamic generated icon set (170x127) ... NOT IMPLEMENTED
// ... you'll need: http://www.bashewa.com/download-dynamic-icon.php
wxIconSetD =
{src : "./dynamic-icon.php" // path and script for dynamic conditions image (optional)
,width : 170 ,height: 127 ,hspace: 0 ,vspace: 0 ,border: 0
,style : "border: 2px solid silver;"
,align : ""
,useName: 9 // must be 9 for generating dynamic icons
};
wxIconSet = wxIconSet1; // choose from an icon set above that you want to use.
// If we had a uniform icon nameing convention the above would not be necessary.
Other question: why the images about “moon” and “Fire Risk” shows ok in my ajax-dashboard although the settings in ajaxWDwx-settings.js are wrong?
How to use this setting below? Because, actually, my webcam image works in the nightime too.
// WEBCAM IMAGE: optional setting for the webcam graphic
// tag: "ajaxwebcamimg"
// e.g. picture name: "./ajax-images/webcam/snap00.jpg"
webcamUpdate = 5; // Webcam update interval in minutes (set to 0 for no updates i.e. visitor must reload page for updates)
swapIconWithWebcam = false; // swap current conditions icon (tag "ajaxconditionicon2") with webcam image during day and night unless useCamAtNight=false;
useCamAtNight = true; // use current conditions icon at night time instead of webcam image
delayDayNight = 15; // day starts given minutes before sunrise and night starts given min after sunset - for night icon switch
webcamImg =
{src : imgDir+"webcam/snap00.jpg" // full path and image name of your current webcam picture
,srcNgt: imgDir+"webcam/snap00.jpg" // full path and image name of your current nightcam picture (after/before "delayDayNight")
,width : 170 ,height: 127 ,hspace: 0 ,vspace: 0 ,border: 0
,style : "border: 2px solid silver;"
,align : ""
};
Last question: In your version of ajaxWDwx.js severals value aren’t translation. How to fix it? (Look the attachment)
Last observation :lol:: The last version of ajaxWDwx.js is a bit more slow respecting the previously version 3.00.
Best regards,
Alessandro