MyBB Themes - ThemeFreak
FIXED HEADER FIELD - Printable Version

+- MyBB Themes - ThemeFreak (http://www.themefreak.net)
+-- Forum: ThemeFreak (http://www.themefreak.net/forumdisplay.php?fid=1)
+--- Forum: Pre-Purchase Enquiries (http://www.themefreak.net/forumdisplay.php?fid=19)
+--- Thread: FIXED HEADER FIELD (/showthread.php?tid=607)

Pages: 1 2


FIXED HEADER FIELD - KingKaSo - 7th Jun

Hello,

I would like as the website (http://www.sponsor-board.de) have a fixed header when scrolling down.

Now I have made clever and found something on the Internet. Have the installed on my test surface from Them Plate "FlatOne" and the drop down menu on the show thread overview bugged out. See picture attached.

Next I installed:

add in the Templates & Style -> Templates -> Your Style -> Templates without group -> header include all below:
PHP Code:
<script type="text/javascript">
jQuery(document).ready(function($) {
 
   function sticky() {
 
       var window_top = $(window).scrollTop();
 
       var top_position = $('body').offset().top;
 
       var element_to_stick = $('#panel');
 
       if (window_top top_position) {
 
           element_to_stick.addClass('sticky');
 
       } else {
 
           element_to_stick.removeClass('sticky');
 
       }
 
   }
 
   $(window).scroll(sticky);
 
   sticky();
});
</
script

füge in der Templates & Style -> Themes -> dein Style -> global.css ganz unten ein:
PHP Code:
#panel.sticky 
 
 {
 
   positionfixed;
 
   top0;
 
   left0;
 
   width100%;
 
 

On the "www.sponsor-place.de" to be exact in a thread such as "Http://sponsor-place.de/showthread.php?tid=13" is to see the bug.

Would be nice if you could help me with my mistakes, thank you.


RE: FIXED HEADER FIELD - KingKaSo - 7th Jun

see attachment


RE: FIXED HEADER FIELD - KingKaSo - 9th Jun

I need help


RE: FIXED HEADER FIELD - Tan - 10th Jun

Can you please send me credentials (via PM) for templates so I can debug further? Thanks.


RE: FIXED HEADER FIELD - KingKaSo - 11th Jun

I have to send your a PN with credentials.


RE: FIXED HEADER FIELD - Tan - 25th Jun

(11th Jun, 09:54 pm)KingKaSo Wrote:  I have to send your a PN with credentials.

We are looking at your issue and will get back to you. Apologies for the delay.


RE: FIXED HEADER FIELD - Tan - 26th Jun

I sent you a PM but I will say it here also.

The login information you sent doesn't seem to work. Please send us correct login details.

Am I correct in assuming that you would like that blue fixed header to match the theme?


RE: FIXED HEADER FIELD - KingKaSo - 27th Jun

I have send you a PM with new Logindates.

Greets


RE: FIXED HEADER FIELD - KingKaSo - 13th Jul

Can you help me with my Problem?


RE: FIXED HEADER FIELD - KingKaSo - 26th Aug

Any Support? I am waiting!