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

Solved An Up Button Not Working

Post by SLGray 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?

SLGray
Administrator

Reputation : 294
Points : 1597
Posts : 3723

View user profile http://fmthemes.forumotion.com

Back to top Go down

Solved Re: An Up Button Not Working

Post by brandon_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.

brandon_g
Coder

Reputation : 67
Points : 2255
Posts : 497

View user profile http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: An Up Button Not Working

Post by SLGray on Sat May 16, 2015 1:16 pm

It is the round button with a triangle on it.

SLGray
Administrator

Reputation : 294
Points : 1597
Posts : 3723

View user profile http://fmthemes.forumotion.com

Back to top Go down

Solved Re: An Up Button Not Working

Post by brandon_g on Sun May 17, 2015 9:22 am

I know I found it Very Happy.

brandon_g
Coder

Reputation : 67
Points : 2255
Posts : 497

View user profile http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: An Up Button Not Working

Post by Ange 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

Ange Tuteur
Themer

Reputation : 204
Points : 9162
Posts : 303

View user profile http://fmdesign.forumotion.com/

Back to top Go down

Solved Re: An Up Button Not Working

Post by SLGray on Tue May 19, 2015 5:39 pm

So the date and time should be there?

SLGray
Administrator

Reputation : 294
Points : 1597
Posts : 3723

View user profile http://fmthemes.forumotion.com

Back to top Go down

Solved Re: An Up Button Not Working

Post by Ange 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);
  };
});

Ange Tuteur
Themer

Reputation : 204
Points : 9162
Posts : 303

View user profile http://fmdesign.forumotion.com/

Back to top Go down

Solved Re: An Up Button Not Working

Post by SLGray on Mon May 25, 2015 8:40 am

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

SLGray
Administrator

Reputation : 294
Points : 1597
Posts : 3723

View user profile http://fmthemes.forumotion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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