Giter Club home page Giter Club logo

Comments (7)

tomschr avatar tomschr commented on May 31, 2024

Commented by tom_schr on 2013-10-18 12:13
That's an interesting bug. :)

Permalinks are displayed as a hash mark (#). After looking into the generated XHTML code, the hash mark is there. For some reasons, it is not displayed correctly.

I've looked into Stefan's CSS file, but I can see any obvious bug. @Stefan, can you have a look?

from suse-xsl.

tomschr avatar tomschr commented on May 31, 2024

Commented by sknorr on 2013-10-21 11:29
This happens because the variablelist title is overlayed by the varlistentry title below it. I.e., the browser renders it somewhat like this:

---------------------top of varlist title element--------

---------------------top of varlistentry title element --

ACTUAL VARLIST TITLE #

---------------------bottom of varlist title element ----

Varlistentry title
---------------------bottom of varlistentry title element

I did that, so given an ID, the HTML would scroll to the right position even though there is a bar at the top creating an offset. We will need to get rid of this somewhat gross hack.

from suse-xsl.

tomschr avatar tomschr commented on May 31, 2024

As far as I can see, this seems to be related to the JS script in suse2013/static/js/script.js.

There you can see some lines which looks suspicious: The script touches the href and permalink. Maybe related, maybe not.

from suse-xsl.

taroth21 avatar taroth21 commented on May 31, 2024

BTW, in addition to variablelists, example with a title and an ID seem to have the same/a similar problem: the browser does not jump to the correct position even if there is a permalink for the example (e.g. try, for example, jumping to
http://docserv[...]/documents/SLE-HA12-SP1/SLE-HA-guide/single-html/#ex.ha.storage.protect.sbd-timings) - doesn't work).

Also stumbled across another related bug today: https://bugzilla.suse.com/show_bug.cgi?id=912472

from suse-xsl.

 avatar commented on May 31, 2024

This issue has nothing to do with the JS, and I also think it has nothing to do with XSLT. The issue should be entirely CSS-based. See also https://trello.com/c/WJkSk8hJ.

from suse-xsl.

 avatar commented on May 31, 2024

From me@Trello: "Some things are currently overlaid by unduly expanded elements. That stops people from clicking certain permalinks which is nasty."

from suse-xsl.

 avatar commented on May 31, 2024

This looks like it was solved eventually. This is the modern version of Tanja's test page: https://documentation.suse.com/sle-ha/12-SP5/single-html/SLE-HA-guide/#ex-ha-storage-protect-sbd-timings

from suse-xsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.