Search:

Type: Posts; User: Deadweight; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,407

    Nope. Nothing really else to do with it

    Nope. Nothing really else to do with it
  2. Umm for my hasClass function i do something like...

    Umm for my hasClass function i do something like this

    return instance.classList.contains(name);
    instance = element
    name = what class you are looking for.
  3. Replies
    4
    Views
    1,407

    [] Bored Thing I Made

    I was a little bored and decided to make something just for fun. Enjoy: https://jsfiddle.net/s6nq12yj/
  4. Replies
    1
    Views
    585

    This should be how you want it....

    This should be how you want it.
    https://jsfiddle.net/a6cjsqbL/

    (I have it on hover but i can change it to current page - lack of info to know what you want)
  5. Replies
    1
    Views
    926

    I wouldn't suggest a JS counter to do this...

    I wouldn't suggest a JS counter to do this because it is easily manipulated
  6. Replies
    4
    Views
    1,863

    Resolved You should be able to combine them to one line. ...

    You should be able to combine them to one line.

    table.praises-be td:nth-child(2), table.praises-be td:nth-child(1) {text-align: center;}

    I havent really heard of that happening before but I am...
  7. Replies
    4
    Views
    1,863

    Resolved table.praises-be td { border-style: solid;...

    table.praises-be td {
    border-style: solid;
    border-width: 1px;
    border-color: #848482;
    margin: auto;
    }

    table.praises-be td:nth-child(2) {text-align: center;}

    I am not sure why you are...
  8. Replies
    25
    Views
    4,297

    What are you trying to do? Are you trying to...

    What are you trying to do? Are you trying to convert the seconds to minutes and seconds? If so then you shouldnt need my help with that. That is math calculation related. You just need to take
    ...
  9. Replies
    25
    Views
    4,297

    $('#timeline').html('width', music.currentTime /...

    $('#timeline').html('width', music.currentTime / music.duration * 100 + '%');

    Should be

    $('#timeline').css('width', music.currentTime / music.duration * 100 + '%');
  10. Replies
    25
    Views
    4,297

    $('$tracktime').html('width', music.currentTime /...

    $('$tracktime').html('width', music.currentTime / music.duration * 100 + '%');

    Shouldnt that be (also note that you are using a $ and not #


    $('#timeline').html('width', music.currentTime /...
  11. Replies
    25
    Views
    4,297

    ID's need to be unique...

    ID's need to be unique...
  12. Replies
    25
    Views
    4,297

    Please check my code again. Second thing selector...

    Please check my code again. Second thing selector is wrong.

    ... $('#timeline-timedisplay')
  13. Replies
    25
    Views
    4,297

    Did you combine that one to this one? ...

    Did you combine that one to this one?

    music.ontimeupdate = function() {$('#timeline-timedisplay').html(Math.ceil(music.currentTime) + ' / ' + Math.ceil(music.duration));};

    EG


    ...
  14. Replies
    25
    Views
    4,297

    Please take a look at:...

    Please take a look at:
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStart

    Shouldn't be too hard to understand and is good for learning. What's that...
  15. Replies
    25
    Views
    4,297

    I am not sure where you want it so here is an...

    I am not sure where you want it so here is an example. If you did say also I am tired. It is 3:30am for me but here is the HTML and JS combined.

    HTML:

    <div id="audioplayer">
    <div...
  16. Replies
    25
    Views
    4,297

    You will need something like this: View console...

    You will need something like this:
    View console for the output.


    music.ontimeupdate = function() {console.log(music.currentTime, music.duration);};

    I am not going to code the CSS and the HTML...
  17. Replies
    25
    Views
    4,297

    And let me get this straight you want it to play...

    And let me get this straight you want it to play another random song once the previous song ends?
  18. Replies
    25
    Views
    4,297

    Do you have a live example of the code? Like on...

    Do you have a live example of the code? Like on an actual URL? I can take a look at it if so.
  19. Replies
    1
    Views
    11,620

    I changed a lot of the javascript in my code and...

    I changed a lot of the javascript in my code and a decent amount of other things. Also I changed the grid layout for now to flex thus allowing more support for older browsers. Ofc, I am not finished...
  20. You would have to use the media tag. Please read:...

    You would have to use the media tag. Please read: https://www.w3schools.com/css/css_rwd_mediaqueries.asp
  21. I suggest playing with this until your liking:...

    I suggest playing with this until your liking: http://css3buttongenerator.com/
  22. Please read their documentation: Changing base...

    Please read their documentation:

    Changing base currency
    Provided changing base currency is supported on your subscription plan, you can change the currency to which your output currency rates are...
  23. Replies
    1
    Views
    11,620

    WiP "Foundation"/JQuery

    So I am not entirely sure if any of you will find this interesting or cool; however, I am working on my own Foundation/JQuery.
    So far nothing too extreme but you can currently check out the...
  24. Replies
    1
    Views
    575

    Resolved Nevermind - Sticky fixed my problem... no pun...

    Nevermind - Sticky fixed my problem... no pun intended xD
  25. Replies
    1
    Views
    575

    Resolved Grid Fixed Position

    Hello, I am playing with the grid layout CSS and I am wondering it there is a way to fix position an element inside a grid.

    https://project-galax.000webhostapp.com/subgroups/xgrid.php

    If you...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4