How to link the photo I have on popup to a specific place on a website
How do you put the anchor on the website? I'm sorry I'm new to programming.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How do you put the anchor on the website? I'm sorry I'm new to programming.
Here is a tutorial http://www.w3schools.com/html/
So basically I want to click this picture and then navigate to the picture of the nexus 5
on my website. (http://pacolau.wix.com/phone-chooser#...)
Since I have different phones, I need to navigate to the specific phone once I click the picture of the same phone on my app.
Hello,
But we can suggest you the following:
1 Add parameter "?targetId=WPht3-162t" to your URL. Where "WPht3-162t" is id of element you wish to scroll in.
2 After step 1 you link would be : http://pacolau.wix.com/phone-chooser?...
3 Add to your site the following js:
pre
var onLoad = function(){
var targetId = /targetId=([^&\#]+)/gi.exec(location.search)[1];
Code: Select all
var elementToScroll = document.getElementById(targetId);
if(elementToScroll)
elementToScroll.scrollIntoView();
};
if (window.addEventListener)
window.addEventListener('load', onLoad, false);
if (window.attachEvent)
window.attachEvent('onload', onLoad );
/pre
Hello,
You can use "Navigate to link action" on the image component click event.
http://docs.appery.io/documentation/w...