<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to wiki</title><link href="https://sourceforge.net/p/modalscreen/wiki/" rel="alternate"/><link href="https://sourceforge.net/p/modalscreen/wiki/feed.atom" rel="self"/><id>https://sourceforge.net/p/modalscreen/wiki/</id><updated>2012-07-16T02:07:37.635000Z</updated><subtitle>Recent changes to wiki</subtitle><entry><title>WikiPage Home modified by Víctor Harzbecher</title><link href="https://sourceforge.net/p/modalscreen/wiki/Home/" rel="alternate"/><published>2012-07-16T02:07:37.635000Z</published><updated>2012-07-16T02:07:37.635000Z</updated><author><name>Víctor Harzbecher</name><uri>https://sourceforge.net/u/vgharz/</uri></author><id>https://sourceforge.net638369f3ff3e1a03456178771f35cbfcc2d8ec4e</id><summary type="html">&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,4 @@
-Welcome to your wiki!
+**Welcome to modalScreen wiki**
 
-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+You can start learning how to use the modal screen in the [Quick tutorial](http://sourceforge.net/p/modalscreen/wiki/Quick%20tutorial/), or maybe you want to see the script documentation.
 
-The wiki uses [Markdown](/p/modalscreen/wiki/markdown_syntax/) syntax.
-
-[[project_admins]]
-[[download_button]]
&lt;/pre&gt;</summary></entry><entry><title>WikiPage Quick tutorial modified by Víctor Harzbecher</title><link href="https://sourceforge.net/p/modalscreen/wiki/Quick%2520tutorial/" rel="alternate"/><published>2012-07-16T01:56:00.308000Z</published><updated>2012-07-16T01:56:00.308000Z</updated><author><name>Víctor Harzbecher</name><uri>https://sourceforge.net/u/vgharz/</uri></author><id>https://sourceforge.netddeb9c69424869273d641b572a311540886fad7b</id><summary type="html">This is a quick tutorial to show how to implement the modalScreen (MoSc) object in any web project, lets start.

The first step is to include 2 required files, the object script and the styles:

    &lt;script type="text/javascript" src="modalScreen.js"&gt;&lt;/script&gt;
    &lt;link type="text/css" rel="stylesheet" media="screen" href="modalScreenStyle.css"&gt;

Then we should declare a script to create the MoSc.

    &lt;script type="text/javascript"&gt;&lt;/script&gt;

Create a new instance is easy, only call the constructor and store the new instance in a variable to handle it later.

    var MoSc = new modalScreen("MoSc");

Then, we can specify the content by 2 ways, from any file, or from text.

    // From file
    MoSc.setContenFile('modalScreenContent.php');
    // From text
    MoSc.setContentText('&lt;div style="width: 100px; height: 40px; text-align: center"&gt;Content From String&lt;/div&gt;');

In the first case we can specify some POST arguments like in the next example:

    MoSc.setContenFile('modalScreenContent.php','message=loaded%20from%20file&amp;title=modalScreen%20content');

And finally we need to call to the ***show();*** function to display the screen, maybe from a button.

    &lt;input type="button" value="Display" onclick="MoSc.show();"/&gt;

The object can be closed calling to the ***close();*** function or defining the modalScreen as click closable (the object will be closed when click on the lock screen) as follows:

    MoSc.setClickClosable(true);

Now you are ready to use modalScreen, remember you can create multiple instances of the object in the same file; and the content from file can have scripts, styles and hypertext. have Fun.</summary></entry><entry><title>WikiPage Home modified by Víctor Harzbecher</title><link href="https://sourceforge.net/p/modalscreen/wiki/Home/" rel="alternate"/><published>2012-04-30T19:21:34.729000Z</published><updated>2012-04-30T19:21:34.729000Z</updated><author><name>Víctor Harzbecher</name><uri>https://sourceforge.net/u/vgharz/</uri></author><id>https://sourceforge.net9b3806342ce3dd1ae665b94d2aa7a3c9acc2dd3c</id><summary type="html">Welcome to your wiki!

This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].

The wiki uses [Markdown](/p/modalscreen/wiki/markdown_syntax/) syntax.

[[project_admins]]
[[download_button]]
</summary></entry></feed>