Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Menu Realisation (text add on hover, background gradient and list-item separator)

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #38748
    Asamandra
    Participant

    Hi !
    I would like to hear your opinions, what is the best way to implement something like this.
    Please note, that there is a little space betwen the dotted line an the top border, wich i think is a reason for javascript or using background images (i would like to evade that if possible). The hover effekt is as you see adding/showing some text which was not there before.
    All in all i would say it´s a candidate for some JavaScript, but as i am new to this topic, i would like to hear your opinions if here are different ways to achieve that.

    best regards
    Asa

    #105287
    Paulie_D
    Member

    All of that can be done with HTML & CSS. It’s just a matter of margins & padding.

    #105292
    Asamandra
    Participant

    Well i would appreciate an example then, because i found no solution that really worked that way…

    #105329
    Paulie_D
    Member

    What have you got so far? I really don’t want start from scratch.

    Can you make a Fiddle?

    #105355
    Asamandra
    Participant

    yes of course, thats what i have, but i´m afraid is not much:
    http://jsfiddle.net/R7Hsb/9/

    #105364
    Paulie_D
    Member

    OK, I haven’t had a lot of time but here’s a version which has the styling you were after. http://codepen.io/pen/8463/1

    Not sure about the extra text but I’ll have a think.

    #105381
    Asamandra
    Participant

    wow, thats really cool, thanks a lot!

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.