Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    May 2009
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Edit CSS with JavaScript

    Hello,

    I am having some issues. I have a loading bar, created with CSS. Although, I want to fill the loading bar (Increasing the width) with javascript (onload)

    Is this possible? Thanks.

  • #2
    Regular Coder
    Join Date
    Jun 2011
    Posts
    103
    Thanks
    0
    Thanked 13 Times in 13 Posts
    yes, you will probably want to create a recursive function incorporated with the setTimeout() function to make the loading bar grow in increments...do you have any code for this?

  • #3
    New Coder
    Join Date
    May 2009
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Fugix View Post
    yes, you will probably want to create a recursive function incorporated with the setTimeout() function to make the loading bar grow in increments...do you have any code for this?
    I do not have any code for this.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •