1
0
forked from 0ad/0ad

Show message box when opening URL, since it might take a while to launch the browser

This was SVN commit r7721.
This commit is contained in:
Ykkrosh 2010-07-08 18:46:39 +00:00
parent a761cbdb6e
commit 56e1802b81

View File

@ -116,14 +116,18 @@ Watch for updates or get involved in the development: http://wildfiregames.com/0
<object type="button" style="wheatButton" size="8 275 158 315"> <object type="button" style="wheatButton" size="8 275 158 315">
Visit our web site Visit our web site
<action on="Press"><![CDATA[ <action on="Press"><![CDATA[
Engine.OpenURL("http://wildfiregames.com/0ad/"); var url = "http://wildfiregames.com/0ad/";
Engine.OpenURL(url);
messageBox(400, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2);
]]></action> ]]></action>
</object> </object>
<object type="button" style="wheatButton" size="8 320 158 360"> <object type="button" style="wheatButton" size="8 320 158 360">
Chat on IRC Chat on IRC
<action on="Press"><![CDATA[ <action on="Press"><![CDATA[
Engine.OpenURL("http://webchat.quakenet.org/?channels=0ad"); var url = "http://webchat.quakenet.org/?channels=0ad";
Engine.OpenURL(url);
messageBox(400, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2);
]]></action> ]]></action>
</object> </object>