- Posts: 2
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
If (randnr >= 1, randnr, (rand(1, 5)))
<p>Please click on the following link to see the Gallery</p> <h3 style="color: red; text-align: center;"> <span style="font-size:28px;"> <a href="https://mylink.com/gallery_1" onclick="window.open(this.href, '', 'resizable=no,status=no,location=no,toolbar=no,menubar=no,fullscreen=no,scrollbars=no,dependent=no,width=1024,height=800'); return false;">► GALLERY ◄</a></span></h3>
<script type="text/javascript" language="JavaScript"> function openwindow() { win = window.open("https://mylink.com/gallery_1","my_new_window","width=1024,height=800,top=0,left=0"); window.setTimeout("win.close()", 9000); } </script> <p>Please click on the following link to see the Gallery</p> <h3 style="color: red; text-align: center;"> <span style="font-size:28px;"> <a href="#" onclick="javascript:openwindow();">► GALLERY ◄</a></span></h3>
window.setTimeout("win.close()", 9000);
window.setTimeout(function(){win.close()}, 9000);