Forum Support

Shape 5
March 28, 2024, 04:30:24 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: One page function - Add new position Scroll to  (Read 446 times)
Dragos01
Jr. Member
**
Offline Offline

Posts: 34



« on: 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.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: 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.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Dragos01
Jr. Member
**
Offline Offline

Posts: 34



« Reply #2 on: 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)
« Last Edit: May 07, 2017, 05:05:02 AM by Dragos01 » Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.