Jump to content
  • 0
GrantSP

Chapter links scroll past the heading

Question

The behaviour of STEP wikis is a bit strange when it comes to jumping to chapter links.

 

When you click any type of link to a chapter heading the display begins the line after the heading with the actual heading itself offscreen at the top.

 

This shouldn't be the behaviour, the display should also include the heading.

 

I'm not really sure why this is happening as the code that is used seems to conform okay, perhaps the wiki software at the backend needs attention.

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

It seems like its one scroll tick down.

On my guide, in the first block of text I have a link with the text OBSE and its a good example

Share this post


Link to post
Share on other sites
  • 0

I've noticed this too and it's rather annoying. It's not how anchors are suppose to work (tons of HTML/XHTML experience here) but you just never know with the wiki. It seems to follow its own set of rules that sometimes make no sense to me.

Share this post


Link to post
Share on other sites
  • 0

The anchors are working exactly how they are supposed to. The issue is the permanently placed top nav bar which ends up hiding the header that was jumped to. A work-around is possible in CSS (and was implemented at one time), however it only worked well in Firefox, and not 100% in IE or Chrome. It also ended up screwing with the padding surrounding the headers and made everything look out of place.

 

There are javascript solutions which work much butter and more consistently, I just haven't gotten around to implementing.

Share this post


Link to post
Share on other sites
  • 0

Those pesky nav bars!

 

Thanks. In the scheme of things this doesn't really rate highly so I wouldn't sweat over it.

 

PS. I didn't know javascript could make 'butter'?  :;):

Share this post


Link to post
Share on other sites
  • 0

Was browsing the wiki today and I had a thought on this matter...

 

Is is possible to make the top bar fade in and out? An onMouseover event in HTML/Javascript used to be able to do this; however, I'm fairly positive this can be done via CSS now without the need for Javascript. This would be fairly simple to implement by just dropping the necessary code into site's CSS file and applying a class or id to the top bar's container element (as long as the child elements inherit to properties correctly). Doing this to top bar would fade out when not in use and fade in whenever it's needed and the user mouses over it.

Share this post


Link to post
Share on other sites
  • 0

My guess is that s4n does not like that behavior (I don't prefer it either ... glitchy and PITA most of the time IMXP.

Share this post


Link to post
Share on other sites
  • 0

No, not the onMouseover event. That is glitchy and horrible. But it's possible to do it entirely with CSS now. Just assign all the CSS code to a class and add the class to the container for the bar. Simple as that (assuming there is no trickery involved with the bar). The CSS way of doing it is reliable because I'm pretty sure I've done it in the past on a web site. But, Lord no, please don't use any onEvent elements!

Share this post


Link to post
Share on other sites
  • 0

I don't want it hiding without a very clear indicator that there is supposed to be something there. Even then, hiding it by default will make it even harder for those folks too get around that don't know about the menu bar

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By theblackman
      When posting a mod suggestion for inclusion into STEP, the 'warning' text states to consider creating a modpage on the wiki for the mod, but no reason is given as to why it might be preferable to do this.
       
      Perhaps the reason(s) could be included - it would be more persuasive, at least.
       
      Thanks.
    • By TechAngel85
      Before we upgrade the wiki, we'll be performing some periodic cleaning and updating of pages, templates, etc. This includes several actions:
      Users may notice some changes to content, formatting of content, template styling, etc. Anything that is deemed no longer desired/needed will be deleted without notice.All "Pack" content will be removed. As such, users may notice things missing from their pages or old templates being converted to newer ones. Any of this is done due to the cleanup. Any missing user content will be the result of it being too much maintenance to fix things such as broken links, which fill out our maintenance reports. Such content obviously isn't being maintained and will simply be removed. Anything that is questionable will be added to the Candidates for deletion category.Users can check this category for any pages that we're considering removing. Please see the individual page's talk page for discussion regarding the content removal. Anything that is considered outdated, but is neither being considered for deletion or updating, will be added to the Archives category.  

      Not all updates will be recorded below, but periodic updates will be posted from time to time.
       
      Updated STEP Content
      Anthology Boilerplate Updated Templates
      Archived Delete alert (new) alert small (new) icon (new) Updated General Content
      All content has been assigned a category. All content on the wiki should receive a category when being created as this help maintain the content structure. Many missing links across the wiki have been removed or restored. Icon template has replaced the old "Ask", "No", and "Yes" templates across the wiki. Alert and alert small templates have replaced the old "Bug", "Construction", "MCM Note", "MO Note", "Notice", and "Warning" templates, as well as, their smaller counterparts. Alert small also has the "FO3 Note", "FNV Note", and "Loot Rule" templates merged into it.  Removed Content
      Most of the the unused files have been removed. Users should remember when updating images on pages to upload a new version of the existing image rather than simply uploading a new image. Doing the latter creates a lot of abandoned files. Doing the former also retains a version history for the file. All of the active galleries from the Mod pages have been removed. The gallery option will be removed from the Mod Form for the platform update as it's been deemed redundant and unnecessary.
    • By z929669
      I'm posting to ask if we have anyone with PHP coding experience. Specifically with regard to updating a small and very simple Mediawiki extension we need to upgrade to a new method of hooking in order to continue using the extension for our wiki.
       
      Anyone able to assist will be compensated. PM me if interested.
       
      Thanks
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.