Archiv des Intrexx Live! Forums

Hier sehen Sie die Foreneinträge aus dem Intrexx Live! Forum. Bis November 2016 war es das Forum für alle Fragen rund um die Software Intrexx von United Planet.
Seit November 2016 gibt es ein neues moderiertes Forum, das Intrexx Community Forum. Nutzen Sie bitte unbedingt dieses für aktuelle Fragen, Antworten und Informationen.

Wichtig: Dieses Forum dient als Archiv. Die Einträge beziehen sich oft auf ältere Versionen von Intrexx und entsprechen nicht mehr den aktuellen technischen Gegebenheiten.
Daher sollten alle Inhalte ausschließlich von Experten genutzt werden. Bei unsachgemäßer Anwendung kann es zu zeitaufwändigen Problemen oder Datenverlust kommen.
Übersicht > Intrexx Professional: General Questions > Majority of code not working on mobile devices that works fine on Desktop - do I need additional settings?

Majority of code not working on mobile devices that works fine on Desktop - do I need additional settings?

Hello all

Some of our users have been given tablets to work on while on the road and they are saying that a lot of the code is not working.
I tested this myself on my netbook/tablet and I find a lot of onload() code is not functioning (especially show/hide) and other code(onchange) that works perfectly fine on my desktop just doesn't do anything.
I understand about doubleClick as that just zoom into the section on a tablet but is there other things I am missing in Intrexx to allow this code to work.

My tablet is set up for Javascript (I do a lot of testing at home on it) but I don't understand why code I have created at work fails to work on mobile devices.
Anyone got any tips or hints that could help me?

example of failed code:


function show_email_button() {
var Typ = (Browser.getValue(getElement("CDF022C31C93DA0FDA8BE2DA8B1BB592E948BE8E")));
if (Typ == "TrackBase" ) {

$(getElement("45E01F40B258603805FC7851AF5D79C33EB09B7B")).show();
$(getElement("89934C3B6AF8CADDB7C00D60F477E73774ABD31D")).hide();

} else {

$(getElement("89934C3B6AF8CADDB7C00D60F477E73774ABD31D")).show();
$(getElement("45E01F40B258603805FC7851AF5D79C33EB09B7B")).hide();

}
}




regards

Siobhan
12.09.2016 08:29 von Siobhan
Can you tell what error-message exactly you get on your mobile device?

Do the mobile devices use mobile-pages and is the JavaScript available for mobile devices?
In Intrexx you can create JavaScript for each Desktop and Mobile, since Intrexx 8 I think you can also create JavaScript to work on both.
12.09.2016 13:09 von MartinW
That's the issue.. I am not getting an error in console. All devices are set up for Javascript and it should run on my smartphone and tablet but it doesn't. What is strange is that some code works fine on the tablet but same code doesn't work on smartphone.

When you say you can create JS for desktop and Mobile, can it be done on same page or do I have to create separate pages for desktop and mobile? Also I have a responsive design page and that works when I resize my browser on my desktop but doesn't work at all on a tablet.
13.09.2016 06:08 von Siobhan
I think in general it should work, but to be able to test it right it's necessary to have a lot more information about the environment.
What hardware is used and which Software(OS, browser,..) is installed?
What kind of layout is available? There are desktop, mobile and responsive layouts where the responsive layout can also be for desktop and mobiles.

Is it the jQuery-methods($(...).hide()) that don't work or is it the Intrexx methods (getElement(...))

Maybe you should contact United Planet Support to go through this stuff since i think no one here can really test this.
13.09.2016 08:47 von MartinW
Thanks Martin.. found that majority of the code with getElement was causing the problem. I will have to go through all the code and do a lot of test.
13.09.2016 10:07 von Siobhan
Zurück | Alles über Intrexx | Impressum | Datenschutzerklärung

Über United Planet
© 2019 United Planet GmbH
Schnewlinstraße 2
79098 Freiburg