Mian Shahid
Well-known member
Hi,
I am doing something like that:
with this options
but when I am selecting Day, its displaying Night & day when I am selecting Night looks like reverse cosmos system
Can anyone sort it out?
I am doing something like that:
PHP:
<xf:if is="$xf.options.ITD_daynightString != 'day'">
<script>
var person = "DAY";
document.getElementById("daynightString").innerHTML = person;
</script>
</xf:if>
<xf:if is="$xf.options.daynightString != 'night'">
<script>
// Create aand display a variable:
var person = "NIGHT";
document.getElementById("daynightString").innerHTML = person;
</script>
</xf:if>
with this options
but when I am selecting Day, its displaying Night & day when I am selecting Night looks like reverse cosmos system
Can anyone sort it out?