Thread Rating:
  • 0 Vote(s) - 0 Average
<onclick> query
#1
This is probably a really simple solution but I can't seem to find it.

I just want to define the enter key to an <onclick> how would I do it?

At the moment I have my low list view as such...

Image

Then when I press right it shows some more info...

Image

What I want to be able to do is still select the TV Show when you're viewing the info, rather than having to go back to the list. I'm sure it's just a simple <onclick> but can't figure out what it is :p !

Thanks in advance.
Reply
#2
when You show that extra info set <onclick>SendClick(10025,50)</onclick> on some buton You focus
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
Reply
#3
pieh Wrote:when You show that extra info set <onclick>SendClick(10025,50)</onclick> on some buton You focus

Ok I've tried that...

[HTML]
<control type="button" id="7002"> <!--lowlist info-->
<include>HiddenObject</include>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
<onup>SetFocus(50)</onup>
<onleft>SetFocus(50)</onleft>
<onright>SetFocus(9000)</onright>
<ondown>SetFocus(50)</ondown>
<onclick>SendClick(10025,50)</onclick>
<visible>Control.IsVisible(511)</visible>
</control>
[/HTML]

That's what the button code looks like, but when I press enter nothing happens?
Reply
#4
Anybody have any other ideas?
Reply
#5
Code:
<onclick>PlayMedia($INFO[ListItem.FileNameAndPath])</onclick>
should work.

EDIT: nevermind, tv shows don't work like that
Reply



<onclick> query00