Jump to content


Photo
Issue

Chapter links scroll past the heading

wiki chapter

  • Please log in to reply
9 replies to this topic

#1 GrantSP

GrantSP

    The antipodean

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,047 posts

Posted 15 November 2014 - 11:18 PM

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.



#2 hishutup

hishutup

    Daedric Prince

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,599 posts

Posted 15 November 2014 - 11:28 PM

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



#3 TechAngel85

TechAngel85

    Akatosh

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 12,130 posts

Posted 16 November 2014 - 12:24 AM

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.



#4 stoppingby4now

stoppingby4now

    Sleepy

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,281 posts

Posted 16 November 2014 - 12:37 AM

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.



#5 GrantSP

GrantSP

    The antipodean

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,047 posts

Posted 16 November 2014 - 07:01 PM

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'?  :;):



#6 stoppingby4now

stoppingby4now

    Sleepy

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,281 posts

Posted 16 November 2014 - 07:21 PM

It's the churning that is the tricky party.

#7 TechAngel85

TechAngel85

    Akatosh

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 12,130 posts

Posted 09 December 2014 - 02:08 AM

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.



#8 z929669

z929669

    Ixian Inventor

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,259 posts

Posted 10 December 2014 - 10:58 AM

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



#9 TechAngel85

TechAngel85

    Akatosh

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 12,130 posts

Posted 10 December 2014 - 06:57 PM

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!



#10 stoppingby4now

stoppingby4now

    Sleepy

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,281 posts

Posted 11 December 2014 - 02:08 PM

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



Also tagged with one or more of these keywords: issue, wiki chapter

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users