home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Default Skins Feedback
Skin functions on opening a window
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rob Hexenmeister" data-source="post: 1285865" data-attributes="member: 113164"><p>Afternoon CyberSimian, hope you are well.</p><p></p><p>Thank you, yes, I already use the <onfocus> method a lot already to good effect, especially with navigation, and like you, I use dummy controls.</p><p></p><p>I am building my theme on DefaultWide. I have tried putting in a dummy control 13 at the start of the controls in the xml but I am not sure it does actually gain focus at all, which I think may be a specific behaviour of videoFullScreen.xml [unless control 13 is the actual full screen video and is hard coded ...in which case setting the default control to something else just might work]</p><p></p><p>What I am aiming to do is set up a conditional navigation when the window opens. Something I have done many times before: eg:</p><p></p><p><onfocus>#(skin.setfocus(2005,#(switch.. ....etc)))</onfocus></p><p></p><p></p><p></p><p>The part of your post I really do lack knowledge is the use of defines. I know how to set a basic skin variable in a define at the start of a xml thanks to excellent guidance from yourself, ajs and Catavolt in the past. What I don't really know is how to use functions in defines, especially #(skin.setfocus(xx,xx))</p><p></p><p>Do you have an example you can point me to where you have used something like add() or string.trim() in a define for me to look at?</p><p></p><p>Thank you, as ever</p><p>RH</p></blockquote><p></p>
[QUOTE="Rob Hexenmeister, post: 1285865, member: 113164"] Afternoon CyberSimian, hope you are well. Thank you, yes, I already use the <onfocus> method a lot already to good effect, especially with navigation, and like you, I use dummy controls. I am building my theme on DefaultWide. I have tried putting in a dummy control 13 at the start of the controls in the xml but I am not sure it does actually gain focus at all, which I think may be a specific behaviour of videoFullScreen.xml [unless control 13 is the actual full screen video and is hard coded ...in which case setting the default control to something else just might work] What I am aiming to do is set up a conditional navigation when the window opens. Something I have done many times before: eg: <onfocus>#(skin.setfocus(2005,#(switch.. ....etc)))</onfocus> The part of your post I really do lack knowledge is the use of defines. I know how to set a basic skin variable in a define at the start of a xml thanks to excellent guidance from yourself, ajs and Catavolt in the past. What I don't really know is how to use functions in defines, especially #(skin.setfocus(xx,xx)) Do you have an example you can point me to where you have used something like add() or string.trim() in a define for me to look at? Thank you, as ever RH [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Default Skins Feedback
Skin functions on opening a window
Contact us
RSS
Top
Bottom