Discussion Forums  >  Uncategorized

Replies: 2    Views: 215

pugfugly
Aspiring developer
Profile
Posts: 7
Reg: Oct 28, 2011
Seattle
70
11/18/11 02:57 PM (14 years ago)

Specify dynamic dataURL for single HTML screen?

Does anyone know if I can dynamically specify a unique dataURL for a single HTML screen by the calling object? For example, I have a Menu List that's dynamically populated by items based on the users location. When clicked, I would like any one of those items to move to the HTML screen and load content from a URL specific to the parent list item. I suppose I could generate a custom HTML screen for EACH item in the list, but this seems messy or prone to memory issues. Thanks.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/18/11 04:07 PM (14 years ago)
You could link the menu item to a php script that would dynamically create an HTML page on the fly based on parameters you send it...that would work! Mark
 
pugfugly
Aspiring developer
Profile
Posts: 7
Reg: Oct 28, 2011
Seattle
70
like
11/18/11 04:43 PM (14 years ago)
That's what I ended up doing. I had been trying to link to a pre-defined HTML screen with a custom dataURL for each path to it, but that failed. Ultimately, I just added the necessary JSON to create a new HTML screen for each list item when clicked. Thanks again.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.