FM Themes
Welcome to FM Themes
where you can share your punBB, phpBB 2, Invision, & phpBB 3 themes for Forumotion forums.

You are viewing the forum as a guest, so you will not be able to use the full forum. To use all the features of the forum, you need to log in or create a FREE account by registering.

An Up Button Not Working

View previous topic View next topic Go down

SLGray
Administrator
Reputation : 290
Points : 1509
Posts : 3639
View user profile http://fmthemes.forumotion.com

PostSLGray on Fri May 15, 2015 7:03 pm

I notice there is a up button on my forum at the bottom of the page, but when I tried to press it nothing happens.

Forum Link: [You must be registered and logged in to see this link.]

Could someone check to see if it exactly should work?
brandon_g
Coder
Reputation : 67
Points : 2249
Posts : 492
View user profile http://broadcastingduo.forumotion.com/

Postbrandon_g on Sat May 16, 2015 8:08 am

At first I could not find it, but once I did, I clicked it and it indeed did not work Sad.
SLGray
Administrator
Reputation : 290
Points : 1509
Posts : 3639
View user profile http://fmthemes.forumotion.com

PostSLGray on Sat May 16, 2015 1:16 pm

It is the round button with a triangle on it.
brandon_g
Coder
Reputation : 67
Points : 2249
Posts : 492
View user profile http://broadcastingduo.forumotion.com/

Postbrandon_g on Sun May 17, 2015 9:22 am

I know I found it Very Happy.
Ange Tuteur
Themer
Reputation : 204
Points : 9161
Posts : 303
View user profile http://fmdesign.forumotion.com/

PostAnge Tuteur on Tue May 19, 2015 3:17 pm

It's not a traditional up button, because it's a DIV element. Up buttons are usually anchors. ( A ) It originally contains the date and time, but the CSS is manipulating it's display. Find the following rules in your CSS and remove them if you want :

1 :
Code:
.current-time {
    background: #838383 url("http://i1150.photobucket.com/albums/o619/skin_forumotion/overlayapple/top.png") no-repeat scroll center center;
    border-radius: 16px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.7) inset, 0px 0px 0px 1px rgba(255, 255, 255, 0.1), 0px 1px 0px rgba(255, 255, 255, 0.3);
    display: inline-block;
    float: none;
    height: 24px;
    left: 50%;
    line-height: 20px;
    opacity: 0.4;
    outline: 0px none;
    position: absolute;
    text-align: center;
    text-indent: -9999em;
    width: 24px;
}

2 :
Code:
.current-time:hover {
    background: #303030 url("http://i1150.photobucket.com/albums/o619/skin_forumotion/overlayapple/top.png") no-repeat scroll center center;
    color: #FFF;
    opacity: 1;
}

They wont be exact, because it's from the developer console, but look for the classname ( .current-time ) and a rule with similar properties. Smile
SLGray
Administrator
Reputation : 290
Points : 1509
Posts : 3639
View user profile http://fmthemes.forumotion.com

PostSLGray on Tue May 19, 2015 5:39 pm

So the date and time should be there?
Ange Tuteur
Themer
Reputation : 204
Points : 9161
Posts : 303
View user profile http://fmdesign.forumotion.com/

PostAnge Tuteur on Sun May 24, 2015 8:06 pm

Precisely, the Invision version of forums have the date and time on the footer by default. It's currently a pseudo up button, made by modifying the date/time, but it can be actualized with JavaScript, if you want.

The following script, set in all the pages should work.
Code:
$(function() {
  var node = document.getElementById('qjump').nextSibling;
  node.style.cursor = 'pointer';
  node.onclick = function() {
    window.scrollTo(0, 0);
  };
});
SLGray
Administrator
Reputation : 290
Points : 1509
Posts : 3639
View user profile http://fmthemes.forumotion.com

PostSLGray on Mon May 25, 2015 8:40 am

Thanks.  I decided to just remove the button and show the date and time.

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum