Hi,
I found some pretty cool HTML map examples at this url.
http://code.google.com/p/jquery-ui-map/downloads/list
I was trying to use some of the examples in a web browser in IOS. But I wasn't able to get the pages to load. I'm pretty sure it was because the supporting js and CSS pages could not be located. I included them in the special folder path documents folder exactly as they were nested on my mac desktop. Perhaps I need to load them up to a web server and redirect the CSS path within the html to them at the server?
If anyone would like to give it a try and can get it to work please repost. Thanks...
Dave
Anyone load HTML with js n CSS in IOS ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Anyone load HTML with js n CSS in IOS ?
Hi Dave,
I didn't download it and my question might be a bit off, but did you include JQuery in your standalone?
Mark
I didn't download it and my question might be a bit off, but did you include JQuery in your standalone?
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Anyone load HTML with js n CSS in IOS ?
The web page does access a jquery file as well as a CSS file. I think loading the page localy from the hard disk may be outside of the user agreement. Thinking the page is supposed to be publicly accesible (google maps may have similar restrictions). Perhaps placing the file up on a web server and fetching it from the browser IS in line with the agreement. The js files and css files are identified in the href statement in the HTML.
This question is better left to another user group I think. Was thinking of deleting it but thought I might get some one her interested in those cool maps, getting directions, auto filling the fields, using the GPS features, etc, and then showing them in the IOS browser. Jquery is pretty cool addition to HTML.
Dave
This question is better left to another user group I think. Was thinking of deleting it but thought I might get some one her interested in those cool maps, getting directions, auto filling the fields, using the GPS features, etc, and then showing them in the IOS browser. Jquery is pretty cool addition to HTML.
Dave
Re: Anyone load HTML with js n CSS in IOS ?
Hi Dave,
Now you mention a website. Aren't you including all files with your standalone? Are you familiar with web programming? Do you know how to use JQuery? It is indeed very powerful. If you include all files and all file references within those files are correct, then it should work.
I think there is a JQuery forum where you might ask.
Best,
Mark
Now you mention a website. Aren't you including all files with your standalone? Are you familiar with web programming? Do you know how to use JQuery? It is indeed very powerful. If you include all files and all file references within those files are correct, then it should work.
I think there is a JQuery forum where you might ask.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 22
- Joined: Mon Dec 05, 2011 5:33 pm
Re: Anyone load HTML with js n CSS in IOS ?
Dave,
I asked a similar question in another thread, and apparently we're thinking of using this for the same thing. I'll experiment some and if you do too, maybe we can both achieve what we're trying to accomplish. I'll be happy to share my code with you if I get it working. I'd appreciate it greatly if you'd do the same. I'm working on a map application as well and while I have it kind of working, the "locationChanged" message causes the browser to refresh the page instead of just silently sending an update using AJAX (jQuery is just a form of AJAX). I don't want the browser to refresh, just update with the new coordinates.
I'll also being trying to utilize some more of the Google Maps API for dropping pins on the map, etc. Again, if you come up with something that's working, or helps me get past a hurdle, it'd be much appreciated!!
I asked a similar question in another thread, and apparently we're thinking of using this for the same thing. I'll experiment some and if you do too, maybe we can both achieve what we're trying to accomplish. I'll be happy to share my code with you if I get it working. I'd appreciate it greatly if you'd do the same. I'm working on a map application as well and while I have it kind of working, the "locationChanged" message causes the browser to refresh the page instead of just silently sending an update using AJAX (jQuery is just a form of AJAX). I don't want the browser to refresh, just update with the new coordinates.
I'll also being trying to utilize some more of the Google Maps API for dropping pins on the map, etc. Again, if you come up with something that's working, or helps me get past a hurdle, it'd be much appreciated!!