: One page function - Add new position Scroll to : Dragos01 May 04, 2017, 07:19:36 AM I know these already:
#s5_header_area1 #s5_top_row1_area1 #s5_top_row2_area1 #s5_top_row3_area1 #s5_center_area1 #s5_bottom_row1_area1 #s5_bottom_row2_area1 #s5_bottom_row3_area1 #s5_footer_area1 My question is how can I link a menu-item to these postions: Custom_1 or Below_Colums_1 ? Its also a general question for all Templates. : Re: One page function - Add new position Scroll to : jonahh May 04, 2017, 11:37:15 AM Hello,
You can basically do it to any ID on the page. So just look for and ID you want to link to and use that ID. : Re: One page function - Add new position Scroll to : Dragos01 May 07, 2017, 04:53:25 AM I tried #s5_custom1 and #s5_custom1_area1
How i get this to work? Is there some css i have to add? Found an error wich has to do with this: Uncaught TypeError: Cannot read property 'top' of undefined at s5_page_scroll (www.domain-name.nl/:1538) at HTMLAnchorElement.onclick (/#s5_custom_area1:537) : Re: One page function - Add new position Scroll to : mikek May 08, 2017, 09:55:25 AM Hello,
Please post a url to where this occurs. Also, to clarify a statement better from above, you cannot do it to any ID, the ID must start with "s5_". Also, the bottom page scroll (in the footer are) must be enabled. That is the what actually implements the scroll functions on the page. This scroll to function just piggy-backs off of those already existing functions. |