Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

back button.

10 Apr 2018, 03:36

WeChat Image_20180410163118.png
WeChat Image_20180410163118.png (1009.66 KiB) Viewed 2443 times
I want to use the Share button as a back button.

Please tell me how.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: back button.

10 Apr 2018, 10:48

Unusual request. All mobile browsers have their own back/forward buttons, and how do you know the user did not arrive directly on the page? If so, back button will not work anyway.
Image

If you really need to add it, you can try to add the link like this:
Code
"url": "javascript:window.history.back(-1);"
 
User avatar
TristanJo
Experienced
Topic Author
Posts: 116
Joined: 10 Apr 2018, 02:57

Re: back button.

10 Apr 2018, 15:09

mjau-mjau wrote: Unusual request. All mobile browsers have their own back/forward buttons, and how do you know the user did not arrive directly on the page? If so, back button will not work anyway.

If you really need to add it, you can try to add the link like this:
Code
"url": "javascript:window.history.back(-1);"




Wow thank you.

This is necessary because when i connect via the link in the SNS (wechat) window, 
the website is shown with the backlink disabled.