Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7544679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:44:05+00:00 2026-05-30T08:44:05+00:00

I have simple element: <a id=a1 href=# style=position:absolute; top:0; left:0; nav-index:1; nav-down:#b1; nav-right:#a3; nav-left:#a1;

  • 0

I have simple element:

<a id="a1" href="#" style="position:absolute; top:0; left:0; nav-index:1; nav-down:#b1; nav-right:#a3; nav-left:#a1; nav-up:#a1">A1</a>

How to dynamically change nav-index and nav-up only ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:44:07+00:00Added an answer on May 30, 2026 at 8:44 am

    [2023] See this Stackblitz snippet

    Like this:

    var a1 = document.getElementById('a1');
    a1.style['nav-index'] = /* somevalue */;
    a1.style['nav-up']    = /* somevalue */;
    // or (style properties with hypens must be converted
    // to a camel case representation for use in 'dot notation')
    a1.style.navIndex = /* somevalue */;
    a1.style.navUp    = /* somevalue */;
    // and to retrieve the original values:
    a1.style['nav-index'] = '';
    a1.style['nav-up']    = '';
    

    Furthermore it’s advisable to move the inline styling to a class in a css file.

    .a1nav {
     position:absolute;
     top:0;
     left:0;
     nav-index:1;
     nav-down:#b1;
     nav-right:#a3;
     nav-left:#a1;
     nav-up:#a1;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have this simple type from an external webservice: <xsd:element name=card_number maxOccurs=1 minOccurs=1> <xsd:simpleType>
i have very simple problem. I need to create model, that represent element of
I have simple code to draw in canvas element: function doFirst(){ var x =
I have some simple code like: $('#modal-buttons [href*=close]').bind('click.modalClose',function(){ app().modal('close') }); But let's say I
I have a simple anchor element with a class applied. Each time the anchor
I have a simple app, that has media element in it, and it plays
Possible Duplicate: How to get nth jQuery element I have this simple code: <ul>
I have a simple text box, a button and an a element and I
I have a simple foreach template and inside every element I want an ActionLink
I have a simple select element that I want to set the value for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.