HTML Scroller Window
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
HTML Scroller Window
Before investing a lot of time into dev I wanted to check with the community and see if anyone has had any success in creating a scroller with pictures and sql db data dynamically locally via HTML. If you have any questions please ask! Thanks guys!
Kaubs
Kaubs
Re: HTML Scroller Window
I use a native html scroller that pulls data from a SQLite database. I played with including icons against each line - it worked fine but I didn't use it as they took up too much space. So yes, it's possible.
(If I understand your question correctly...)
Cheers
Gerry
(If I understand your question correctly...)
Cheers
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: HTML Scroller Window
Sounds like you got it. Thats pretty similar to what I want to do. Unfortunate that I have to take this method to create a scroller but at least I've got something.
Re: HTML Scroller Window
You dont happen to have an early stack example you wouldn't mind sharing do you?
Re: HTML Scroller Window
If anyone has developed a pic wheel or scroller window that can easily except varied sizes of text on the fly, provides a list like behavior, and can be resized to say 60% of the iPad screen I would like to see that. If it accepts large fonts and colored text then even better. Html or LiveCode either one.
Dave
Dave
Re: HTML Scroller Window
Nope, sorry. But I build my html lists using open source iPhone css. You can find the files here: http://code.google.com/p/iphone-universal/.Kaubs wrote:You dont happen to have an early stack example you wouldn't mind sharing do you?
You can see how I use it by downloading my app from the app store - search for "George Hrapp". I use this technique on the tweets and media screens of that app - play around and you'll find the lists

Cheers
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: HTML Scroller Window
Great! Thanks, I'll take a look.
Re: HTML Scroller Window
Hi Gerry,
Great job on the app. I downloaded the UiUIKit and I am looking it over. I have limited experience in javascript. Meaning I can do some editing of source code and sometimes replace entire lines of HTML or javascript code populated with user input from livecode to effect change on the HTML page. What I don't yet understand is how to get user input from the HTML page back into livecode. (for example when a html button is clicked. ) is there a way you might be able to upload a little stack that shows some simple ins and outs using UiUIKit?
Do you think with my limited knowledge of JS and HTML I would be better off trying to mimic the native IOS list button look and feel with say mobgui or otherwise by sticking to transcript rather than trying to use UiUIKit and javascript. Or do you think I should dive in and give the UiUIKit the old college try?
Thanks,
Dave
Great job on the app. I downloaded the UiUIKit and I am looking it over. I have limited experience in javascript. Meaning I can do some editing of source code and sometimes replace entire lines of HTML or javascript code populated with user input from livecode to effect change on the HTML page. What I don't yet understand is how to get user input from the HTML page back into livecode. (for example when a html button is clicked. ) is there a way you might be able to upload a little stack that shows some simple ins and outs using UiUIKit?
Do you think with my limited knowledge of JS and HTML I would be better off trying to mimic the native IOS list button look and feel with say mobgui or otherwise by sticking to transcript rather than trying to use UiUIKit and javascript. Or do you think I should dive in and give the UiUIKit the old college try?
Thanks,
Dave
Re: HTML Scroller Window
Dave, thanks 
If you want to do more complex lists with buttons use data grids instead of html. Work through the lessons here: http://lessons.runrev.com/s/lessons/m/datagrid.
Cheers
Gerry

If you want to do more complex lists with buttons use data grids instead of html. Work through the lessons here: http://lessons.runrev.com/s/lessons/m/datagrid.
Cheers
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: HTML Scroller Window
Hi Gerry,
I included the UiUIKit folder in the copy files section of the standalone settings, copied the entire folder over to the specialfolderpath documents folder, and loaded one of the list html pages from within the browser in live code.
The page loads fine and all the links work except the href link to the CSS page located in the "stylesheets" folder within the "UiUIKit" folder . So my pages have no "style'.
I tried placing the "iphone.css" file in the "UiUIKit" folder and changing the href link from <link rel="stylesheet" href="stylesheets/iphone.css" /> TO <link rel="stylesheet" href="iphone.css" />
but still no luck.
How did you deal with this?
Thanks,
Dave
I included the UiUIKit folder in the copy files section of the standalone settings, copied the entire folder over to the specialfolderpath documents folder, and loaded one of the list html pages from within the browser in live code.
The page loads fine and all the links work except the href link to the CSS page located in the "stylesheets" folder within the "UiUIKit" folder . So my pages have no "style'.
I tried placing the "iphone.css" file in the "UiUIKit" folder and changing the href link from <link rel="stylesheet" href="stylesheets/iphone.css" /> TO <link rel="stylesheet" href="iphone.css" />
but still no luck.
How did you deal with this?
Thanks,
Dave
Re: HTML Scroller Window
I downloaded the stack you presented in this post.
http://forums.runrev.com/viewtopic.php? ... css#p38382
I opened up the hood and started tweaking some things and figured out how you make the CSS link available to the HTML page. I am now working on getting the .png images copied over and those href links working as well.
It's looking good! Thanks!
Dave
http://forums.runrev.com/viewtopic.php? ... css#p38382
I opened up the hood and started tweaking some things and figured out how you make the CSS link available to the HTML page. I am now working on getting the .png images copied over and those href links working as well.
It's looking good! Thanks!
Dave
Re: HTML Scroller Window
Hi dave,

Best
Klaus
erm... can't you also copy the CSS file to that folder?FireWorx wrote:Hi Gerry,
I included the UiUIKit folder in the copy files section of the standalone settings, copied the entire folder over to the specialfolderpath documents folder, and loaded one of the list html pages from within the browser in live code.
The page loads fine and all the links work except the href link to the CSS page located in the "stylesheets" folder within the "UiUIKit" folder . So my pages have no "style'.
I tried placing the "iphone.css" file in the "UiUIKit" folder and changing the href link from <link rel="stylesheet" href="stylesheets/iphone.css" /> TO <link rel="stylesheet" href="iphone.css" />
but still no luck.
How did you deal with this?
Thanks,
Dave

Best
Klaus
Re: HTML Scroller Window
Hi Klaus,
Yes I was able to take the folder containing all the html files and copy them over to the special folder path documents folder and then launch them ok but the CSS stylesheets folder and the images folder's were nested within that folder and they did not copy over. (must have been my script error) I separated those two folders out and loaded them into the copy files area and then my script copied them alongside the html folder and low and behold.... the CSS style link is working and the .png files are also linked and loading onto the web page.
SO that is cool!
Thanks
Dave
Yes I was able to take the folder containing all the html files and copy them over to the special folder path documents folder and then launch them ok but the CSS stylesheets folder and the images folder's were nested within that folder and they did not copy over. (must have been my script error) I separated those two folders out and loaded them into the copy files area and then my script copied them alongside the html folder and low and behold.... the CSS style link is working and the .png files are also linked and loading onto the web page.
SO that is cool!
Thanks
Dave