Jump to content

dsonesuk

Members
  • Posts

    11,220
  • Joined

  • Last visited

  • Days Won

    117

Posts posted by dsonesuk

  1. There's limited amount of styling you can do with normal select dropdown, thats why its usually converted to unordered list where you can style however you want and the value is added to hidden selected dropdown element OR input type hidden element by javascript.

  2. 5 hours ago, dsonesuk said:

    Alt shows the ALTernative text if image failt to load. The width and height as they suggest allows you add these dimensions in 'px', most of the time this is controlled by css, but these can help set the size beforehand and prevent layout jumping as images fill there occupying locations.

     

    • Like 1
  3. 5 hours ago, dsonesuk said:

    Alt shows the ALTernative text if image failt to load. The width and height as they suggest allows you add these dimensions in 'px', most of the time this is controlled by css, but these can help set the size beforehand and prevent layout jumping as images fill there occupying locations.

     

    • Like 1
  4. 5 hours ago, dsonesuk said:

    Alt shows the ALTernative text if image failt to load. The width and height as they suggest allows you add these dimensions in 'px', most of the time this is controlled by css, but these can help set the size beforehand and prevent layout jumping as images fill there occupying locations.

     

    • Like 1
  5. Alt shows the ALTernative text if image failt to load. The width and height as they suggest allows you add these dimensions in 'px', most of the time this is controlled by css, but these can help set the size beforehand and prevent layout jumping as images fill there occupying locations.

    • Like 1
  6. Cookie and local storage is the way to go! Difficulty is the same, everytime a button is clicked you store the current state the element becomes. When you leave and return to a page, you wait till page is fully loaded, check if storage  is not empty and retrieve current status value and then target the element to match the stored value.

×
×
  • Create New...