Note that there are some explanatory texts on larger screens.

plurals
  1. POSplash Screen Disappearing
    primarykey
    data
    text
    <p>I have found some code for a splash screen but I need to fix one problem: </p> <p>When I run my HTA program the splash screen pops up as normal. But if I click onto my desktop the splash screen goes away, is there any way to fix this problem?</p> <pre class="lang-html prettyprint-override"><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Splash Screen&lt;/title&gt; &lt;script type="text/vbscript"&gt; Dim oPopup Set oPopup = window.createPopup() Function goContext() Dim oPopupBody Set oPopupBody= oPopup.document.body oPopupBody.innerHTML = oContext.innerHTML call oPopup.show(275, 200, 400, 300, document.body) End Function &lt;/script&gt; &lt;/head&gt; &lt;body onload="goContext()" onmousedown="oPopup.hide"&gt; &lt;!-- Splash Screen --&gt; &lt;div ID="oContext" style="display:none" onselectstart="return false" ondragstart="return false" oncontextmenu="return false"&gt; &lt;div style="position:absolute; top:0; left:0; width:400px; height:300px; border:1px solid black; background:#eeeeee;" onselectstart="return false" ondragstart="return false" oncontextmenu="return false"&gt; &lt;div style="padding:20px; background:white; border-bottom:5px solid #cccccc" onselectstart="return false" ondragstart="return false" oncontextmenu="return false"&gt; &lt;b onselectstart="return false" ondragstart="return false" oncontextmenu="return false"&gt;&lt;h2 align="center"&gt;&lt;i&gt;Game Launcher &lt;/i&gt;&lt;small&gt;&lt;sub&gt;ver: 1.00&lt;/sub&gt;&lt;/small&gt;&lt;/h2&gt;&lt;/b&gt; &lt;/div&gt; &lt;div style="padding:20px; font-size:8pt; line-height:1.5em; font-family:verdana; color:black;" onselectstart="return false" ondragstart="return false" oncontextmenu="return false"&gt; &lt;center onselectstart="return false" ondragstart="return false" oncontextmenu="return false"&gt; &lt;marquee DIRECTION="UP" HEIGHT="100" WIDTH="300" SCROLLAMOUNT="1" onselectstart="return false"&gt;Le text goes here&lt;/marquee&gt; &lt;br /&gt;&lt;br /&gt; &lt;b&gt;&amp;#169;2013 Petzl11 Development.&lt;/b&gt; &lt;/center&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;center&gt; &lt;button onclick="goContext()"&gt;Show Splash Screen&lt;/button&gt;&lt;br&gt; &lt;b&gt;Internet Explorer Only!&lt;/b&gt; &lt;/center&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>This is what I originally wanted to make, but this one you helped me with is perfect, this one below is .vbs: <a href="http://pastebin.com/drW5Zz8b" rel="nofollow">Here</a> is the link</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload