IDEA
|
I have had one corrupt recently and I also would be interested in reducing bloated files.
... View more
12-27-2018
03:35 PM
|
2
|
1
|
5804
|
POST
|
I will try this one. I have been wanting to learn Arcade a little more.
... View more
06-08-2018
07:57 AM
|
1
|
1
|
1514
|
POST
|
I am using Maplex. The fields are text fields. The Popup2 field has blanks in that I want to omit when I generate the labels. The red arrows are the blanks I am trying to remove. Right now I am using a basic expression to create them. [Name2] + '\n' + [PopUp2] + '\n' + [DMSLat] + '\n' + [DMSLong] Thanks for taking the time to help.
... View more
06-07-2018
02:32 PM
|
0
|
4
|
1514
|
POST
|
What is a good way to skip a blank field when creating label expressions? I have a bunch of points that I need labeled with data from multiple fields but some contain blanks. I am working in ArcPro if that makes any difference.
... View more
06-01-2018
09:02 AM
|
0
|
8
|
1984
|
POST
|
Anyone have any luck using Localizer to get ArcPad 10 to recognize the internal GPS on a Lenovo Thinkpad 2 running Windows 8? I have few of them that we got to do data collection and navigation on.
... View more
06-04-2014
02:04 PM
|
0
|
0
|
2907
|
POST
|
We've all missed some super stupid mistakes, 🙂 to follow up, I think you have a inline style for your "outgrid" style="height: 100%;" is that the issue? I erased that and it didn't seem to change anything. It was a good idea though.
... View more
09-30-2013
10:19 AM
|
0
|
0
|
625
|
POST
|
head {
height: 100%;
width: 100%;
} should be html {
height: 100%;
width: 100%;
} ? I can't believe I didn't see that. Now I just need to get the grid to not fill the whole screen. Any ideas there?
... View more
09-30-2013
10:04 AM
|
0
|
0
|
625
|
POST
|
Every time I load my web page the everything displays for half a second and then the screen goes blank. It appears that all of my html elements are given a height of 0. Can anyone see what I am missing? [HTML] <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=7, IE=9, IE=10"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>Text Search</title> <link rel="stylesheet" href="styles/Base.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dijit/themes/tundra/tundra.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dojox/grid/resources/Grid.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dojox/grid/resources/tundraGrid.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/esri/css/esri.css"> <script>var dojoConfig = {parseOnLoad:true};</script> <script src="http://js.arcgis.com/3.6/"></script> <script src="scripts/App2.js"></script> </head> <body class="tundra"> <div id="titleBar"> <div id="titleText" class="mapMenus"> <a href='http://azogcc.az.gov/'>ARIZONA OIL AND GAS <br>CONSERVATION COMMISSION</a> </div> <div id="navigationMenu" class="mapMenus"> <ul> <li><a href='http://azogcc.az.gov/'>Home</a></li> <li><a href='http://azgs.az.gov/'>AZGS</a></li> <li><a href='http://welldata.azogcc.az.gov/index.html'>Map Search</a></li> <li><a href='http://welldata.azogcc.az.gov/textsearch.html'>Text Search</a></li> </ul> </div> <div id="titleImg" class="mapMenus"> <a href='http://azgs.az.gov/'><img src="photos/AZ_state_seal2.png" height="49" width="49"></a> </div> </div> <div id="search_body" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="design:'headline', gutters:true" style="width: 100%; height: 100%; margin: 0;"> <div id="search_info" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'"> <div id="info"> <p> <strong> Text Search:</strong> Complete one or multiple fields and press the Submit Search button to search for wells based on their attributes. Selecting LAS data will open the LAS data in a text file. The selected LAS data can be saved and downloaded by using the save page as function. </p> </div> </div> <div id="search_body" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="design:'headline', gutters:true" style="width: 100%; height: 100%; margin: 0;"> <div id="search_info" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'"> <div id="info"> <p> <strong> Text Search:</strong> Complete one or multiple fields and press the Submit Search button to search for wells based on their attributes. Selecting LAS data will open the LAS data in a text file. The selected LAS data can be saved and downloaded by using the save page as function. </p> </div> </div> <div id="image_box" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'right'"> <img src="photos/Arizona_Meridians_Labled.jpg" height="385" width="350"> <div id="img_info"> <p>Map of Arizona State Meridians</p> </div> </div> <div id="forum" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'left'"> <form action=""> <table> <tr> <td class="label"> <label for="apinum">API Number</label> </td> <td> <input type="text" name="apino" id="apinum" size="14" maxlength="14" placeholder="02-005-00000"><br> </td> </tr> <tr> <td> <input type="button" id="executeApi" value="Search by API"/> </td> </tr> </table> </form> </div> <div id="outGrid" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'bottom'" style="height: 100%;"> <table data-dojo-type="dojox.grid.DataGrid" jsid="grid" id="grid" data-dojo-props="rowsPerPage:'5', rowSelector:'20px'" style="height:100%; width:100%"> <thead> <tr> <th field="apino" width="auto">API No</th> <th field="otherid" width="auto">State Permit No</th> <th field="wellname" width="auto">Operator</th> <th field="county" width="auto">County</th> <th field="twp" width="auto">Township</th> <th field="rge" width="auto">Range</th> <th field="section_" width="auto">Section</th> <th field="drillertotaldepth" width="auto">Depth (ft)</th> <th field="formationtd" width="auto">Formation at Depth</th> <th field="folderField" width="auto" >Well Folder</th> <th field="logField" width="auto" >Scanned Well Log</th> <th field="lasField" width="auto" >LAS Data</th> </tr> </thead> </table> </div> </div> </body> </html> [/HTML] CSS head{ height: 100%; width: 100%; } body { background: -webkit-gradient(linear, left bottom, left top, color-stop(0.46, rgb(250, 243, 232)), color-stop(0.67, rgb(244, 226, 207)), color-stop(0.87, rgb(233, 202, 161))) no-repeat; background: linear-gradient(bottom, #FAF4E8 46%, #F4E3CF 67%, #E9CAA1 87%); background: -o-linear-gradient(bottom, #FAF4E8 46%, #F4E3CF 67%, #E9CAA1 87%); background: -moz-linear-gradient(bottom, #FAF4E8 46%, #F4E3CF 67%, #E9CAA1 87%); background: -ms-linear-gradient(bottom, #FAF4E8 46%, #F4E3CF 67%, #E9CAA1 87%); height: 100%; width: 100%; margin: 0; } #titleBar{ position:relative; overflow: hidden; } #titleText{ padding-left: 1px; text-align: left; z-index: 5; position: absolute; left: 1%; font-family: "Helvetica Nueue","Trebuchet MS",Arial,"Nimbus Sans L",FreeSans,sans-serif; font-weight: bold; font-size: 125%; overflow: inherit; } #titleImg{ position: absolute; right: 1%; top: 5%; z-index: 5; padding-right: 1px; overflow: inherit; } #navigationMenu { background: -webkit-gradient(linear,left bottom,left top,color-stop(0.08, #B87147),color-stop(0.54, #9B440E) ); background: linear-gradient(bottom, #B87047 8%, #9B440E 54%); background: -o-linear-gradient(bottom, #B87047 8%, #9B440E 54%); background: -moz-linear-gradient(bottom, #B87047 8%, #9B440E 54%); background: -ms-linear-gradient(bottom, #B87047 8%, #9B440E 54%); border: 1px gray; padding:1px; color: #feffff; text-align: center; z-index: 5; } #navigationMenu li { display:inline; padding: 25px; } .mapMenus a:link{ color: #feffff; text-decoration: none; } .mapMenus a:visited{ color: #feffff; text-decoration: none; } .mapMenus a:hover{ color: #feffff; text-decoration: underline; } .mapMenus a:active{ color: #feffff; text-decoration: none; } #search_body{ height: 100%; } #search_info { border-left:1px solid gray; border-right:1px solid gray; border-top:1px solid gray; border-bottom:1px solid gray; background: #E9CAA1; margin-left: 2px; margin-top: 2px; margin-right: 2px; } #image_box { border:1px solid gray; padding-right:10px; padding-top:10px; padding-left:10px; padding-bottom:10px; margin-top:2px; margin-right:2px; } #img_info { border-top:1px solid gray; padding-bottom:10px; padding-left:10px; padding-right:10px; margin-left:-10px; margin-right:-10px; } form table { border:1px solid gray; width: 382px; margin-top:2px; margin-left:2px; } #search_body { border:2px solid gray; height: 100%; } #outGrid{ height: 22%; font-size: 75%; }
... View more
09-30-2013
09:45 AM
|
0
|
5
|
1154
|
POST
|
Here is my updated html. The problem has to come from there. I have hardly touched the js in the last week other. [HTML] <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=7, IE=9, IE=10"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>Text Search</title> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dijit/themes/tundra/tundra.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dojox/grid/resources/Grid.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dojox/grid/resources/tundraGrid.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/esri/css/esri.css"> <link rel="stylesheet" href="styles/Base.css"> <script src="http://js.arcgis.com/3.6/"></script> <script src="scripts/App2.js"></script> </head> <body class="tundra"> <div id="titleBar"> <div id="titleText" class="mapMenus"> <a href='http://azogcc.az.gov/'>ARIZONA OIL AND GAS <br>CONSERVATION COMMISSION</a> </div> <div id="navigationMenu" class="mapMenus"> <ul> <li><a href='http://azogcc.az.gov/'>Home</a></li> <li><a href='http://azgs.az.gov/'>AZGS</a></li> <li><a href='http://welldata.azogcc.az.gov/index.html'>Map Search</a></li> <li><a href='http://welldata.azogcc.az.gov/textsearch.html'>Text Search</a></li> </ul> </div> <div id="titleImg" class="mapMenus"> <a href='http://azgs.az.gov/'><img src="photos/AZ_state_seal2.png" height="49" width="49"></a> </div> </div> <div id="search_body" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="design:'headline', gutters:true" style="width: 100%; height: 100%; margin: 0;"> <div id="search_info" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'"> <div id="info"> <p> <strong> Text Search:</strong> Complete one or multiple fields and press the Submit Search button to search for wells based on their attributes. Selecting LAS data will open the LAS data in a text file. The selected LAS data can be saved and downloaded by using the save page as function. </p> </div> </div> <div id="image_box" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'right'"> <img src="photos/Arizona_Meridians_Labled.jpg" height="385" width="350"> <div id="img_info"> <p>Map of Arizona State Meridians</p> </div> </div> <div id="forum" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'left'"> <form action=""> <table> <tr> <td class="label"> <label for="apinum">API Number</label> </td> <td> <input type="text" name="apino" id="apinum" size="14" maxlength="14" placeholder="02-005-00000"><br> </td> </tr> <tr> <td> <input type="button" id="executeApi" value="Search by API"/> </td> </tr> </table> </form> <form action=""> <table> <tr> <td class="label"> <label for="stateperm"> State Permit</label> </td> <td> <input type="text" name="otherid" id="stateperm" size="4" maxlength="4" placeholder="0000"><br> </td> </tr> <tr> <td> <input type="button" id="executeSP" value="Search by State Permit"/> </td> </tr> </table> </form> <form action=""> <table> <tr> <td class="label"> <label for="countyid">County</label> </td> <td> <select name="county" id="countyid"> <option value=" "> </option> <option value="APACHE">Apache</option> <option value="COCHIESE">Cochise</option> </select> </td> </tr> <tr> <td> <input type="button" id="executeCount" value="Search by County"/> </td> </tr> </table> </form> <form action=""> <table> <tr> <td class="label"> <label for="fieldid">Field Name</label> </td> <td> <select name="field" id="fieldid"> <option value=" "> </option> <option value="Adamana">Adamana</option> <option value="Alpine">Alpine</option> </td> </tr> <tr> <td> <input type="button" id="executeField" value="Search by Field"/> </td> </tr> </table> </form> <form action=""> <table> <tr> <td class="label"> <label for="twpid">Township</label> </td> <td> <input type="text" name="twp" id="twpid" size="4" maxlength="4" placeholder="00N"><br> </td> </tr> <tr> <td class="label"> <label for="rgeid">Range</label> </td> <td> <input type="text" name="rge" id="rgeid" size="4" maxlength="4" placeholder="00E"><br> </td> </tr> <tr> <td class="label"> <label for="sectionid">Section</label> </td> <td> <input type="text" name="section_" id="sectionid" size="4" maxlength="4" placeholder="00"><br> </td> </tr> <tr> <td> <input type="button" id="executePLSS" value="Search by PLSS"/> </td> </tr> </table> </form> <form action=""> <table> <tr> <td> <label for="operatorid">Operator</label> </td> <td> <input type="text" name="operator" id="operatorid" size="30" maxlength="30" placeholder="Arizona Bureau of Mines"><br> </td> </tr> <tr> <td> <input type="button" id="executeOper" value="Search by Operator"/> </td> </tr> </table> </form> <form action=""> <table> <tr> <td class="label"> <label for="wellnameid">Well Name</label> </td> <td> <input type="text" name="wellname" id="wellnameid" size="30" maxlength="30" placeholder="Dry Mesa 1"><br> </td> </tr> <tr> <td> <input type="button" id="executeWellN" value="Search by Well Name"/> </td> </tr> </table> </form> <form action=""> <table> <tr> <td class="label"> <label for="depthid">Well Minimum Depth(ft)</label> </td> <td> <input type="text" name="drillertotaldepth" id="depthid" size="8" maxlength="10" placeholder="500"><br> </td> </tr> <tr> <td> <input type="button" id="executeDepth" value="Search by Depth"/> </td> </tr> </table> </form> <form action=""> <table> <tr> <td class="label"> <label for="formationtdid">Formation at Total Depth</label> </td> <td> <input type="text" name="formationtd" id="formationtdid" size="30" maxlength="30" placeholder="Permian Coconino"><br> </td> </tr> <tr> <td> <input type="button" id="executeForm" value="Search by Formation"/> </td> </tr> </table> </form> </div> <div id="outGrid" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'bottom'" style="height: 100%;"> <table data-dojo-type="dojox/grid/DataGrid" escapeHTMLInData="false" jsid="grid" id="grid" data-dojo-props="rowsPerPage:'5', rowSelector:'20px'" style="height:100%; width:100%"> <thead> <tr> <th field="apino" width="auto">API No</th> <th field="otherid" width="auto">State Permit No</th> <th field="wellname" width="auto">Operator</th> <th field="county" width="auto">County</th> <th field="twp" width="auto">Township</th> <th field="rge" width="auto">Range</th> <th field="section_" width="auto">Section</th> <th field="drillertotaldepth" width="auto">Depth (ft)</th> <th field="formationtd" width="auto">Formation at Depth</th> <th field="folderField" width="auto" >Well Folder</th> <th field="logField" width="auto" >Scanned Well Log</th> <th field="lasField" width="auto" >LAS Data</th> </tr> </thead> </table> </div> </div> </body> </html> [/HTML]
... View more
09-27-2013
10:55 AM
|
0
|
0
|
659
|
POST
|
Well I went through your suggestions. I cleaned up my js file. It had a lot of unfinished ideas in it that I got rid of. I still can't get the grid to display correctly. I just get column titles on my screen. It is acting like the css for the grid is getting overwritten or not even applied. It is also seems like the dijit layout is being overwritten. I blame part of my problems with transitioning from 3.5 to 3.6 and going from legacy to AMD. There are a lot of changes between all of those.
... View more
09-27-2013
10:50 AM
|
0
|
0
|
659
|
POST
|
I'm having a similar problem right now. I do know that it is something in the html so I would focus there first.
... View more
09-26-2013
10:15 AM
|
0
|
0
|
1556
|
POST
|
I would try rewriting the HTML section of your application to properly use BorderContainer and ContentPane. With the code as it is now, you will get parser errors. Don't forget to update this thread with your solution, or to mark it as 'answered' to assist future users with the same issue. I've changed the BorderContainer and ContentPane order but am still have the same problem.
... View more
09-26-2013
10:13 AM
|
0
|
0
|
559
|
POST
|
At one point my grid would display correctly. Now I just get column titles and a big white space at the bottom of my page. Does anyone have any idea why this is happening? I'm pretty sure it has somthing to do with my html but that is all I can think of. [ATTACH=CONFIG]27788[/ATTACH] [HTML] <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=7, IE=9, IE=10"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>Text Search</title> <script>var dojoConfig = { parseOnLoad:true }</script> <script src="http://js.arcgis.com/3.6/"></script> <script src="scripts/App2.js"></script> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/esri/css/esri.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dojox/grid/resources/Grid.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dojox/grid/resources/tundraGrid.css"> <link rel="stylesheet" href="styles/Base.css"> <style> </style> </head> <body class="tundra"> <div id="titleBar"> <div id="titleText" class="mapMenus"> <a href='http://azogcc.az.gov/'>ARIZONA OIL AND GAS <br>CONSERVATION COMMISSION</a> </div> <div id="navigationMenu" class="mapMenus"> <ul> <li><a href='http://azogcc.az.gov/'>Home</a></li> </ul> </div> <div id="titleImg" class="mapMenus"> <a href='http://azgs.az.gov/'><img src="photos/AZ_state_seal2.png" height="49" width="49"></a> </div> </div> <div id="search_body" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="design:'headline', gutters:true" style="width: 100%; height: 100%; margin: 0;"> <div id="outGrid" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: bottom"> <table data-dojo-type="dojox.grid.DataGrid" escapeHTMLInData="false" jsid="grid" id="grid" data-dojo-props="rowsPerPage:'5', rowSelector:'20px'" style="height:100%; width:100%"> <thead> <tr> <th field="apino" width="auto">API No</th> <th field="otherid" width="auto">State Permit No</th> <th field="wellname" width="auto">Operator</th> <th field="county" width="auto">County</th> <th field="twp" width="auto">Township</th> <th field="rge" width="auto">Range</th> <th field="section_" width="auto">Section</th> <th field="drillertotaldepth" width="auto">Depth (ft)</th> <th field="formationtd" width="auto">Formation at Depth</th> <th field="folderField" width="auto" >Well Folder</th> <th field="logField" width="auto" >Scanned Well Log</th> <th field="lasField" width="auto" >LAS Data</th> </tr> </thead> </table> </div> </div> </body> </html> [/HTML] I am also getting a parse error in my console. I'm not sure if the error appeared when the grid stopped working but they both happened at about the same time.
... View more
09-26-2013
09:49 AM
|
0
|
5
|
1826
|
POST
|
Thanks for posting... looking at it now. CSS looks fine; might actually be the HTML. Content Panes should be inside a BorderContainer, not siblings within the HTML block. Check out this post on how to fix your HTML: http://dojotoolkit.org/reference-guide/1.9/dijit/layout/BorderContainer.html Will look again and see if anything else needs tweaking. I am thinking it is in the HTML too. I'm still new to html and I keep finding error like missed placed div tags every time I look at it. But this one has me stumped.
... View more
09-25-2013
10:13 AM
|
0
|
0
|
559
|
Title | Kudos | Posted |
---|---|---|
2 | 12-27-2018 03:35 PM | |
1 | 06-08-2018 07:57 AM |
Online Status |
Offline
|
Date Last Visited |
07-08-2021
03:14 PM
|