PDA

View Full Version : Displaying html formatted code by creating link from the sink navigation structure



geekjules
28 Jan 2011, 8:03 AM
Good morning! Any help would be most appreciated. Ideally I need to know how to add an url page link to the sink navigation structure so the code will display properly on the right hand side keeping the left navigation structure. More specifically, I want to take the code from this link http://gregmurray.org/ipad/touchpaint/ and have it be displayed in my practice.js file so that I keep the sink navigation structure but have the practice.js page display just the touchpaint code with keeping the left navigation structure. Just wondering how I can proceed and if this is possible. Take care - Julie


sink.Structure = [{
text: 'Home',
cls: 'launchscreen',
items: [{
text: 'Tabs',
card: demos.Tabs,
leaf: true
}]
},
{
text: 'Kennedy Class I Review',
items: [{
text: 'Practice',
card: demos.Practice,
source: 'src/demos/practice.js',
leaf: true
}, {