How do you put the anchor on the website? I'm sorry I'm new to programming.
How do you put the anchor on the website? I'm sorry I'm new to programming.
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...