How to move the page?
January 2013 Joomla Template
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Sun Aug 24, 2014 9:06 am
- Reply with quote
- Report this post
How to move the page to the selected module by clicking on the read more in header style II ?
http://rwajda.org
Joachim
http://rwajda.org
Joachim
-
- Senior Boarder
- GK User
- Sun Aug 24, 2014 11:35 pm
- Reply with quote
- Report this post
Hello,
In this case it is necessary to specify as the button href attribute an ID of the target element i.e. #gkBottom2.
In this case it is necessary to specify as the button href attribute an ID of the target element i.e. #gkBottom2.
-
- Administrator
- GK User
- Mon Aug 25, 2014 12:01 pm
- Reply with quote
- Report this post
Hello!
Thank you for your help!
and how to add the effect of shifting as templates John and Steak House?
Joachim
Thank you for your help!
and how to add the effect of shifting as templates John and Steak House?
Joachim
-
- Senior Boarder
- GK User
- Mon Aug 25, 2014 3:12 pm
- Reply with quote
- Report this post
The smoot scroll feature needs the following code in the js/gk.scripts.js file:
after the following line:
- Code: Select all
// smooth anchor scrolling
jQuery('a[href^="#"]').on('click', function (e) {
e.preventDefault();
if(this.hash !== '') {
var target = jQuery(this.hash);
jQuery('html, body').stop().animate({
'scrollTop': target.offset().top
}, 1000, 'swing', function () {
window.location.hash = target.selector;
});
}
});
after the following line:
- Code: Select all
jQuery(window).load(function() {
-
- Administrator
- GK User
- Mon Aug 25, 2014 5:10 pm
- Reply with quote
- Report this post
Hi @Dziudek
Działa pięknie, o to mi chodziło.
Wielkie dzięki!
pozdrowienia, Joachim
Działa pięknie, o to mi chodziło.
Wielkie dzięki!
pozdrowienia, Joachim
-
- Senior Boarder
5 posts
• Page 1 of 1