2013-01-11, 01:37
1) Can I change a directory item page's "parent" page?
Say I have two mode pages, and I have them to link to each other. Now I can navigate use the link correctly. However, when I click the back (the ".." at the top), the behavior is not what I want. It will go through all the history pages, but I want the back button to go to a specific page.
Say.
MODE 0 page: # the "ROOT"
addDirectoryItem(link="mode1 page")
MODE 1 # View type 1
addDirectoryItem(link="mode2 start page")
addDirectoryItem(link="mode1 item1")
addDirectoryItem(link="mode1 item2")
MODE 2 # View type 2
addDirectoryItem(link="mode1 start page")
addDirectoryItem(link="mode2 item1")
addDirectoryItem(link="mode2 item2")
Can I make it so that in MODE1 and MODE2 page, when user clicks "..", it will go to MODE0?
2) Can I add a directory item with a null action?
I wan to put some separator between the directory items, and want nothing to happen if user clicks. What url shall I put for that item?
My use case:
# category1 # nothing shall happen if clicked
video1
video2
# category2 # nothing shall happen if clicked
video3
Say I have two mode pages, and I have them to link to each other. Now I can navigate use the link correctly. However, when I click the back (the ".." at the top), the behavior is not what I want. It will go through all the history pages, but I want the back button to go to a specific page.
Say.
MODE 0 page: # the "ROOT"
addDirectoryItem(link="mode1 page")
MODE 1 # View type 1
addDirectoryItem(link="mode2 start page")
addDirectoryItem(link="mode1 item1")
addDirectoryItem(link="mode1 item2")
MODE 2 # View type 2
addDirectoryItem(link="mode1 start page")
addDirectoryItem(link="mode2 item1")
addDirectoryItem(link="mode2 item2")
Can I make it so that in MODE1 and MODE2 page, when user clicks "..", it will go to MODE0?
2) Can I add a directory item with a null action?
I wan to put some separator between the directory items, and want nothing to happen if user clicks. What url shall I put for that item?
My use case:
# category1 # nothing shall happen if clicked
video1
video2
# category2 # nothing shall happen if clicked
video3