Author |
Topic |
|
sperna
Starting Member
Argentina
8 Posts |
Posted - 26 Jan 2013 : 07:54:05
|
Hi, is it possible to browse the IMDB webpage link of the movie on the Details Pane? Thanks |
|
deafvader
New Member
United Kingdom
76 Posts |
Posted - 26 Jan 2013 : 23:52:26
|
Depending on what card you are using, look for something like this in the HTML code
onClick="NewWindow(this.href,$('#tweblink').text().replace(/:$/,''),'800','600','yes');return false;"
and remove with a text editor. Just look for _MOVIE_WEBLINK_ and _MOVIE_OFFICIALWEB_ those should be the line you need to edit. Page will open in details after that. I tested it on my movie_bigcover card and seemed to be work, was some script error's on the IMDB links but that might be my internet explorer being the wrong version as i don't use it. EMM8 is still linked to Internet Explorer as it's default browser. |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
sperna
Starting Member
Argentina
8 Posts |
Posted - 27 Jan 2013 : 16:18:17
|
Thank you very much for your answer! I was wondering to open the imdb link as default, instead of using a template, is that possible.
|
|
|
JDommi
Administrator
Germany
4657 Posts |
|
sperna
Starting Member
Argentina
8 Posts |
Posted - 10 Mar 2013 : 17:22:50
|
Thanks, i have forgetten that one. I´m having an error message when it tries to execute a javascript. Do you know if i can supress that kind of script erorrs? |
|
|
yan00s
Moderator
405 Posts |
Posted - 10 Mar 2013 : 22:41:44
|
quote: Originally posted by sperna
Thanks, i have forgetten that one. I´m having an error message when it tries to execute a javascript. Do you know if i can supress that kind of script erorrs?
I believe this could only be done by Ale when he instantiates the IE object used by XMM. Supressing script errors by default would be bad for developing movie cards though. That's why we should always have an option to show those errors. |
. |
|
|
JDommi
Administrator
Germany
4657 Posts |
Posted - 10 Mar 2013 : 22:54:38
|
I don't know if this code works. I just have found it on Google...
<SCRIPT>
onerror = stopError;
function stopError()
{
return true;
}
</SCRIPT>
|
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
Edited by - JDommi on 10 Mar 2013 22:55:06 |
|
|
|
Topic |
|