Search found 38 matches
- Mon Jan 08, 2018 3:05 am
- Forum: BASIC SDK for Xcode
- Topic: Browser Rubberbanding and Launch Screen?
- Replies: 6
- Views: 4915
Re: Browser Rubberbanding and Launch Screen?
what about the rubberbanding effect? I've been reading up, and all I can find is to add the following code: UIScrollView* sv = nil; for(UIView* v in myWebView.subviews) { if ([v isKindOfClass:[UIScrollView class] ]) { sv = (UIScrollView*) v; sv.scrollEnabled = YES; sv.bounces = NO; } } However, I do...
- Sun Jan 07, 2018 11:49 pm
- Forum: BASIC SDK for Xcode
- Topic: Browser Rubberbanding and Launch Screen?
- Replies: 6
- Views: 4915
Re: Browser Rubberbanding and Launch Screen?
It does while the app is running... but for a quick second before the app starts, it shows the "main.txt" really fast before launching into the app. I just want to skip that because it seems a little unprofessional.
- Sun Jan 07, 2018 11:15 pm
- Forum: BASIC SDK for Xcode
- Topic: Browser Rubberbanding and Launch Screen?
- Replies: 6
- Views: 4915
Browser Rubberbanding and Launch Screen?
I currently have an app that is entirely written in HTML, CSS, and Javascript. I simply use a browser to display the HTML file. It's going well, but I have two concerns with the app. 1. Rubberbanding Rubberbanding is when you scroll to the very bottom of the page and the browser shifts up, revealing...
- Mon Sep 18, 2017 5:33 pm
- Forum: Other topics
- Topic: Browser Drops URL Query Variables
- Replies: 11
- Views: 3930
Re: Browser Drops URL Query Variables
I already have a program that does this. Version 1 loads up "index.html" and uses anchor tags to go to other pages (such as <a href="lesson.html?lessonnumber=1">Lesson 1</a>) and it works fine with that, meaning I am able to pull the "lessonnumber=1" out of the URL in my javascript file. In Version ...
- Mon Sep 18, 2017 4:45 pm
- Forum: Other topics
- Topic: Browser Drops URL Query Variables
- Replies: 11
- Views: 3930
Re: Browser Drops URL Query Variables
Regardless, I guess my question is just how can I load a local HTML file into a browser and include variables in the URL?
When my application starts, I need to pass a url variable to the url because I have some local client side javascript that uses the variable.
When my application starts, I need to pass a url variable to the url because I have some local client side javascript that uses the variable.
- Mon Sep 18, 2017 2:37 pm
- Forum: Other topics
- Topic: Browser Drops URL Query Variables
- Replies: 11
- Views: 3930
Re: Browser Drops URL Query Variables
None of this is server side. It's all locally on the iPhone/iPad. I have an HTML file stored in a "lib" Folder. I am using it as the URL for a Browser. (i.e. BROWSER "n" URL "lib/index.html?var=6" AT 0,0 SIZE 100,100). However, what I am saying is the "var = 6" at the end of the URL gets truncated. ...
- Mon Sep 18, 2017 2:00 pm
- Forum: Other topics
- Topic: Browser Drops URL Query Variables
- Replies: 11
- Views: 3930
Re: Browser Drops URL Query Variables
I agree! Other than the fact that in the first example, I am loading a browser with a locally stored html file, and on the other, I am loading a website from the internet. Here's some code to help understand what I'm dealing with: URL1$ = "test.html?var=6" BROWSER 1 URL URL1$ AT 0,500 SIZE SCREEN_WI...
- Mon Sep 18, 2017 5:00 am
- Forum: Other topics
- Topic: Browser Drops URL Query Variables
- Replies: 11
- Views: 3930
Re: Browser Drops URL Query Variables
I've noticed it's only with local files that this happens. If you used URL Variables for a website, they are kept. For example, URL$ = "http://kibernetik.pro/forum/viewtopic.php?f=26&t=1971" /* this forum */ BROWSER "n" URL URL$ AT 0,0 SIZE SCREEN_WIDTH(), SCREEN_HEIGHT() sB actually loads this spec...
- Mon Sep 18, 2017 4:35 am
- Forum: Other topics
- Topic: Browser Drops URL Query Variables
- Replies: 11
- Views: 3930
Browser Drops URL Query Variables
I am trying to use a browser to display an HTML page, and the HTML needs to start with certain URL query variables but the Browser drops everything after the filename. URL$ = "index.html?var=6" BROWSER "n" URL URL$ AT 0,0 SIZE SCREEN_WIDTH(), SCREEN_HEIGHT() However, when the browser loads up, the "...
- Wed Aug 16, 2017 10:41 pm
- Forum: BASIC SDK for Xcode
- Topic: Xcode Not Loading Javascript?
- Replies: 3
- Views: 4341
Re: Xcode Not Loading Javascript?
Nevermind! I found the error. For some reason, Xcode renames certain files to all lowercase... weird...