Jump to content

Sonalk

Members
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Sonalk

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ok I will try that, thank you!
  2. First of all, I'm no way near any skilled "programmer" or website builder, I mostly just copy things and modify the styles and stuff! So this is probably a nooby question, you have been warned. I've this website I'm building for a school project and I've a few problems left and I've given up trying to fix them, I need to start working on other stuff. First of all so am I trying to get this slider between the three pictures and the navigation bar in the supposedly start page, but the animation disappear when you put it in and I don't think the autoplays work either. This is the main thing I'm trying to do. Secondly, When you go on mobile view and press the dropdown menu it doesn't seem to find the script, which i don't understand why. In the header I have <script src="/online-store-header/js/flertdown.js"></script> and the body I've the code <a href="javascript:void(0);" style="font-size:25px;position: absolute; top: 65px; right: 0; border: 0;" class="icon" onclick="specificName()">☰</a> The console returns this error: Uncaught TypeError: Cannot read property 'className' of null at specificName (flertdown.js:3) at HTMLAnchorElement.onclick (final.html:195) Dropdown js code Any help would be really appreciated, i really need to be done this site soon :)) And I'm really sorry if the index file is totally chaos, elements seems to have a life of their own and come back and reproduce to multiple of the same element after I've deleted them, I've lost control of what i've created (or copied)
  3. Sonalk

    Help with dropdown menu for mobile

    Just one more question, what is it that is deciding what should be in the dropdown menu, since the "Home" button is outside of the dropdown menu?
  4. Sonalk

    Help with dropdown menu for mobile

    Oh ok, I understand now! Thank you very much!
  5. Sonalk

    Help with dropdown menu for mobile

    There's a ton of style parts and I just want to know what part is making the dropdown menu, so I can skip combining those two which doesn't go very well for me. Maybe it's a nooby question I just didn't have enough patience to carefully look into what styling element I could delete, change or copy or whatever I mean isn't it just one segment that makes that mobile thing work? Surely the whole code from link nr 2 cant be needed, would be much simplier to just take that bit and add to the first header, or am I totally wrong?
  6. So I've searched the web and tried for hours now and I'm just giving up. I've this header, and I want it so when you're on mobile it looks like something like this. So when you're on desktop the full menu is in the header and if your're on mobile you get a dropdown menu. Can someone tell me how I do this? Thank you
×