We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Add “tabindex” prop in the “set prop” html puzzle.

Home Forums Puzzles Add “tabindex” prop in the “set prop” html puzzle.

Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #56540
    NaxosCG
    Customer

    Hello,
    Can you add the “tabindex” property in the “set prop” puzzle list for html, please ?
    I need it for some stuff.
    Thank you.

    "1+1=3... for large values of 1"

    #56592

    Hi,
    added this task to our priority TODO list.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #56608
    NaxosCG
    Customer

    Hi,
    added this task to our priority TODO list.

    Many thanks, Alexander.
    The idea behind this need, is to manage the full html menu directly within the Verge3D applet, using a csv file.
    So, regardless of what (here) billards table is appended to the scene / loaded, the html menu will be changed with available vignettes that fits this particular billard.
    And, it seams that my JQuery menu i’m using needs “tabindex”.

    Kind Kdv77kdv user / dev talked about some script code to add, but it does not work, dunno why.

    "1+1=3... for large values of 1"

    #56609
    NaxosCG
    Customer

    Of course, this could be solve with a nice 2D HUD full system within Verge3D, with new series of puzzles, so no more html needed ;-)

    "1+1=3... for large values of 1"

    #56610
    kdv
    Participant

    talked about some script code to add, but it does not work, dunno why.

    It works, but only after the tabs have been created.

    You menu script also assigns tabIndex for tabs: 0 for the active tab and -1 for the inactive ones. So you need to make some changes in jquery-ui.js too. Find two strings tabIndex: 0 and deactivate them.

    https://v3d.net/bcl

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #56612
    NaxosCG
    Customer

    So i should add this script in my “neutral” html’s head ?

    I can try, again sorry for my so low level in code.

    "1+1=3... for large values of 1"

    #56618
    kdv
    Participant

    You already have the script in the html’s head
    <script>$(document).ready(function() {$("img.min").click(function(){$("img.viewer#"+$(this).attr("value")).attr("src",$(this).attr("title"));});$("#TabbedPanels1").tabs();});</script>

    Replace it with this one

        <script>
          $(document).ready(function() {
            $("#TabbedPanels1").tabs();
            const allTabs = document.querySelectorAll('.ui-tabs-anchor');
            for (let i = 0; i < allTabs.length; i++) {
              allTabs.tabIndex = i + 10;
            }
          });
        </script>

    And use jquery-ui.js attached

    Attachments:
    You must be logged in to view attached files.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #56861

    Hi, we just supported tabindex in Verge3D 4.2 pre2

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #56863
    NaxosCG
    Customer

    Hi, we just supported tabindex in Verge3D 4.2 pre2

    Many thanks, Alexander !

    "1+1=3... for large values of 1"

    #57353
    visualizer
    Customer

    Hi
    This is interesting !

    I dont understand much advanced. Share any ref. screenshots if possible.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.