← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #632961]: How to capture text area with the background black

 

Question #632961 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/632961

starbaek posted a new comment:
Is there a way for me to give you screenshot of the referenced screen?

Code is:

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" > 
        <meta name="mobile-web-app-capable" content="yes">
        <title>BorderNet</title>
        <link rel="stylesheet" href="css/jquery.mobile-1.4.4.min.css" />
        <link rel="stylesheet" href="css/tti_mobile.css" />
        <link rel="stylesheet" type="text/css" href="css/jquery.datetimepicker.css"/ >
        <script type="text/javascript" src="js/jq/jquery-1.9.1.min.js"></script>
        <script type="text/javascript" src="js/jq/jquery.mobile-1.4.4.min.js"></script>
        <script type="text/javascript" src="js/jquery.timer.js"></script>
        <script type="text/javascript" src="js/tti.js"></script>
        <script type="text/javascript" src="js/tticommon.js"></script>
        <script type="text/javascript" src="js/jquery.datetimepicker.js"></script>
        <script type="text/javascript" src="js/jquery.validate.min.js"></script>
        <script type="text/javascript" src="js/infobubble-compiled-tti.js"></script>
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0" >
        <link rel="apple-touch-icon" href="img/homescreen_icon.png"/>
    </head>
    <body>
        <div id="map" data-role="page" data-theme="b">
            <div id="mapheader" data-role="header">
                <div class="ui-mini ui-btn-left" data-role="controlgroup" data-type="horizontal">
                    <a class="ui-btn ui-disabled ui-btn-inline" id="chatButton" href="#chatpage" data-transition="slide" >Chat</a>
                    <a class="ui-btn ui-disabled ui-btn-inline" id="postS" data-mini="true" data-inline="true" name="postS" >Sighting</a>
                    <a class="ui-btn ui-disabled ui-btn-inline" id="historyButton" href="#historypage" data-transition="slide" >History</a>
                    <a class="ui-btn ui-disabled ui-btn-inline" id="layersButton" href="#layerspanel" data-transition="slide" >Layers</a>
                </div>
                <div class="ui-mini ui-btn-right" data-role="controlgroup" data-type="horizontal">
                    <a class="ui-btn ui-disabled ui-btn-inline ui-mini ui-icon-plus ui-btn-icon-left" id="loginLink" href="#login" data-transition="pop" data-rel="dialog" >Login</a>
                </div>
            </div>
            <div data-role="content">
                <div id="map_content">
                    <div id="map_canvas"></div>
                </div>
            </div>
            <div data-role="panel" id="layerspanel" data-position="left" data-display="overlay">
                <div id="layerSelect" ></div>
            </div>
        </div>
        <div id="login" data-role="page" data-theme="b" >
            <div data-theme="b" data-role="header" data-position="fixed" data-add-back-btn="true">
                <h3>Login</h3>
            </div>
            <div data-role="content" >
                <form action="" method="post" id="loginform" novalidate="novalidate">
                    <div id="join1" class="ui-field-contain">
                        <label for='username'>Username:</label>
                        <input id='username' name='username' type='text' />
                    </div>
                    <div id="join2" class="ui-field-contain">
                        <label for='password'>Password:</label>
                        <input id='password' name='password' type='password' class="required" />
                    </div>
                    <button class="ui-btn ui-icon-plus" id="joinB" type="submit" name="join">Submit</button>
                </form>
            </div>
        </div>
        <div id="chatpage" data-role="page" data-theme="b">
            <div data-role="header" data-position="fixed" data-add-back-btn="true">
                <h1>Chat</h1>
            </div>
            <div data-role="content" >
                <form action="" method="post" id="chatform" novalidate="novalidate">
                    <div id="chat" class="ui-body-d ui-corner-all ui-shadow-inset"></div>
                    <div id="chat1" class="ui-field-contain">
                        <label for='chatTo' >To:</label>
                        <input id='chatTo' type='text' />
                    </div>
                    <div data-theme="b" id="chat2" class="ui-field-contain">
                        <label for='phrase'>Message:</label>
                        <input id='phrase' name='phrase' type='text' />
                    </div>
                    <div data-role="fieldcontain" class="ui-field-contain">
                        <button class="ui-btn ui-btn-inline" id="chatSend" type="submit">Send</button>
                    </div>
                </form>
            </div>
        </div>
        <div id="historypage" data-role="page" data-theme="b">
            <div data-role="header" data-position="fixed" data-add-back-btn="true">
                <h1>History</h1>
            </div>
            <div data-role="content" >
                <form action="" method="post" id="historyform" novalidate="novalidate">
                    <div id="joinedHistory1" class="ui-field-contain">
                        <label for='startDate' >Start Date:</label>
                        <div data-role="controlgroup" data-type="horizontal">
                        <input name='startDate' id='startDate' type='text' style='width:auto' data-wrapper-class="controlgroup-textinput ui-btn" />
                        <button class="ui-btn ui-btn-inline ui-icon-calendar ui-btn-icon-notext" id="cal1">Calendar</button>
                        </div>
                    </div>
                    <div id="joinedHistory2" class="ui-field-contain">
                        <label for='endDate'>End Date:</label>
                        <div data-role="controlgroup" data-type="horizontal">
                        <input name='endDate' id='endDate' type='text' style='width:auto' data-wrapper-class="controlgroup-textinput ui-btn"/>
                        <button class="ui-btn ui-btn-inline ui-icon-calendar ui-btn-icon-notext" id="cal2">Calendar</button>
                        </div>
                    </div>
                    <div id="historySubmitDiv" class="ui-field-contain">
                        <button class="ui-btn ui-btn-inline" id="historySend">Submit</button>
                    </div>
                </form>
            </div>
        </div>
        <div id="infowindowpage" data-role="page" data-theme="b">
            <div data-role="header" data-position="fixed" data-add-back-btn="true">
                <h3>Information</h3>
            </div>
	<div id="infoContent" data-role="content" ></div>
    </div>
    </body>
</html>

Thank you.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.