NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - DonRidley

Pages: 1 2 [3] 4 5 ... 8
31
Web Server - Ask For Help / NT 7.28 Mobile Mode Menus Broken
« on: October 30, 2013, 06:33:02 AM »
NT 7.28

Using shipped example # 2 Basic With Menu.  Use app in mobile mode.  Click the browse menu item.  Then click to open browse or alias menu items.  Menu items do not work in mobile mode. 

Went back and re-installed NT 7.27 and menus started working again.

Thanks,

Don

32
I used the shipped HotDates example.

Create a record in the Horizontal Week Planner.  Then try to delete it.  Delete does not work.  Open form, make change, try to cancel.  Cancel does not work.

Thanks,

Don

33
Web Server - Ask For Help / NT7.19 Possible Script Error
« on: August 18, 2013, 08:40:59 AM »
I am getting a "Javascript Error" that flashes very quickly then disappears.

Might be nothing but it is a little irritating.

I changed Firebug to break on all errors and I get this error:

"jQuery(...).page is not a function"

In NetWeb.js

function xmlProcess(data){
  if (typeof(data) == 'string'){
    jQuery('html').trigger("ajaxComplete");
    return;
  }
  jQuery('response',data).each(function(i){
    var t = jQuery("response",data).get(i); // returns Element object
    var e = jQuery(t).attr("type");
    if (window.ActiveXObject) {  //for IE
        var s = t.xml;           // IE 9 doesn't get this
        if (s == undefined){
                    var s = (new XMLSerializer()).serializeToString(t); // but IE9 can do this, which IE7/8 can't
        }
    } else { // code for Mozilla, Firefox, Opera, etc.
        var s = (new XMLSerializer()).serializeToString(t);
    }
    if (s){
            s = s.substring(s.indexOf('>')+1,s.lastIndexOf('<'));
            if (e=='element'){
                d = jQuery(t).attr("id");
                jQuery("#"+d).replaceWith(s);
               try{jQuery("#"+d).page().removeClass("ui-page").css('border',0);} catch(e){}; <<--- Points to this line
            } else if (e=='script'){
                s = s.replace(/&quot;/g,'"');
                s = s.replace(/&amp;/g,"&");
                s = s.replace(/&lt;/g,"<");
                s = s.replace(/&gt;/g,">");
                try{
                eval(s);
                } catch (e){
                    try{
                    } catch (e){}
                }
            }
        }
  });
  afterSv();
    gradient();
    resetCountDown();
}

34
Web Server - Ask For Help / NT 7.19 Planner Issue
« on: August 14, 2013, 01:43:59 PM »
Okay, I spoke too soon.

Seems the planner is not being refreshed properly after inserts and updates. Deletes seem to be working.

Thanks,

Don

35
Web Server - Ask For Help / NT 7.17 Script Error in Mobile Mode
« on: July 25, 2013, 07:05:22 PM »
In mobile mode, using Double Drop menu, trying to go to a memory form.  Memory form has a button on it.  I think this error is related to that button.  When I try to go to the memory form, the browser freezes and does nothing.  Just wondering if anyone has dealt with this before.

This is the actual error:

Error: cannot call methods on button prior to initialization; attempted to call method 'disable'

I'll try to throw together an example if necessary.

Thanks,

Don

[attachment deleted by admin]

36
Web Server - Ask For Help / NT 7.14 Planner - Display issue
« on: July 03, 2013, 03:38:49 PM »
Hello Bruce,

Using the planner in the shipped HotDates example.

To duplicate, simply open and close the update form.  I clicked the planner, opened the form and then clicked cancel. 
You may have to do this several times.

The planner will randomly "reset" and will display incorrect information.

I think this started in 7.13.  Not 100% sure on that. 

Thanks,

Don

37
Web Server - Ask For Help / NT 7.12 Progress Control Problem
« on: June 25, 2013, 05:19:58 PM »
Hello Bruce,

I know you are getting hammered right now but it seems the progress control are broke.  By that I mean, everything seems to work but nothing happens when you click the hyperlinked text. 

To duplicate, just check the shipped progress example.  No changes.

Thanks again and keep up the good work!  I understand what you are doing to NT and why.  I know there's a light at the end of the tunnel.

Don

38
Using shipped HotDates example with no modifications.  When you click a date the first time, record opens normally.  Any subsequent attempts to open any date will result in an Error 30 - Record Not Found.  

Screenshot attached.

Thanks,

Don

[attachment deleted by admin]

39
Web Server - Ask For Help / Planner Issues in 7.11
« on: June 11, 2013, 04:57:58 PM »
Hello Bruce,

When yo have time, please double check the planner in the HotDates shipped example app. 

I cannot get the planner to work in either the example or my apps.

Worked before 7.11.

Thanks again,

Don

40
After updating to NT 7.11, my graphs are now displaying twice as much as I want.   ;)

Please take a look at my attached screenshot.

I tried the shipped graph example but it appears to have it's own problems (no graphs display at all).

Other than a few minor hiccups, the update has went pretty smooth,

Thanks,

Don



[attachment deleted by admin]

41
Web Server - Ask For Help / Upload Buttons Display Issue - Mobile
« on: April 27, 2013, 04:09:27 PM »
Please see attached screenshot.

File upload buttons are displayed weird in mobile mode.  (hate to use such a vague term as "weird")

This is NT 7.10 / Clarion 8.0.9661

Screenshot is simply displayed with an app in mobile mode on Firefox.  Displays the same on my Android phone.

( hey Bruce, finally upgraded to NT7!   ;D )

Thanks,

Don

[attachment deleted by admin]

42
Web Server - Ask For Help / Autocomplete - Feature Request
« on: January 31, 2013, 09:10:55 AM »
Hello Bruce,

Per our conversation on Skype.

Requesting the "Other Assignments" part of auto complete be functional (in NT7).

Thanks a bunch!

Don

43
Web Server - Share Knowledge / Mapping & Geocoding Part 2
« on: December 30, 2012, 11:28:38 AM »
In my previous example of mapping with NetTalk I used GoogleMaps.  There is a problem with that approach.  You are supposed to pay Google if you use the GoogleMaps API in a commercial venture.

Another alternative is to use the OpenLayers API which is built upon the OpenStreetMap project.

The OpenLayers API is free for personal and commercial use.

I have updated my example to include an example of a map using the OpenLayers API.  This map will display all markers/points in the database.  The map will automatically zoom out to include all markers.  If there's only one address in the database then it will zoom in pretty close.

Anyway, the coding is pretty rough on my part so no flaming there please.   ;D

Enjoy!

[attachment deleted by admin]

44
Web Server - Share Knowledge / Mapping and Geocoding Example
« on: December 23, 2012, 07:57:52 AM »
I have been testing some ideas regarding mapping and geocoding. 

I have attached a test app. 

When you enter an address, the address is reverse geocoded and an latitude and longitude are obtained.

Make sure you use an address with a house number, street, city, state, (Or whatever a full address is for your area).

The maps should automatically center themselves on your location.

The maps will display all of the address records on a Google Map with markers and info windows.

PLEASE play around with the app and double check what I did.  If you know a better way, please tell me!

Thanks,

Don

[attachment deleted by admin]

45
The following code will display a Google map with one marker:

   <html>
     <body>
      <p>Blah</p>
      <div id="map_canvas" style="width:425px; height:550px"></div>
      <p>Blah</p>

      <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
      <script type="text/javascript">

        var map;
        var markers = [];

        initialize();

        function initialize() {
          var myOptions = {
            zoom: 10,
            center: new google.maps.LatLng(33.7309444, -085.8347333),
            mapTypeId: google.maps.MapTypeId.ROADMAP
          }
          map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

          addMarker(new google.maps.LatLng(33.7309444, -085.8347333), "Alien");

        }

        function addMarker(latlng, myTitle) {
          markers.push(new google.maps.Marker({
            position: latlng,
            map: map,
            title: myTitle,
            icon: "http://maps.google.com/mapfiles/marker" + String.fromCharCode(markers.length + 65) + ".png"
          }));   
        }

      </script>
    </body>
  </html>

Thus bit here:
addMarker(new google.maps.LatLng(33.7309444, -085.8347333), "Alien");
places the marker on the map.  This line can be repeated with different coordinates to place multiple markers. 

I would like to loop through a table a get stored coordinates and duplicate the line above as many times as required to display as many markers as I need. 

So, that's my question, how would I loop through a table (I can do that part) and add the lines to the above javascript code?

Thank you!!!

Don

Pages: 1 2 [3] 4 5 ... 8