Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2014-07-23 05:34:59

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Load 1 scroll down

I would like for my player page to load 1 scroll down. Currently it loads full page with menu showing, when i scroll down once the menu is covered making the player leveled to my eye view. How can i make my video page 1 scroll down by default?

Offline

#2 2014-07-23 06:10:17

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Load 1 scroll down


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2014-07-24 04:43:23

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Re: Load 1 scroll down

That link seem like someone have to click to be scrolled. I was looking for something that scroll or load the page where i set it.

Offline

#4 2014-07-24 06:00:11

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Re: Load 1 scroll down

I found a solution but i need the proper coding. I can hide the heading but not completely. If i can make it go completely i think thats fine for now. if i change to - (negative) nothing happens with head. example -10px or -20px.

#header {
    padding-top: 50px;
}

Offline

#5 2014-07-24 06:38:56

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Load 1 scroll down

Is this for the video page? If yes, then edit templates/your-template/js/video-0.1.js and add:

$('html, body').animate({
        scrollTop: $("#video").offset().top
    }, 2000);

after:

$(document).ready(function() {

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB