1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need Auto Rollover Animation For Wordpress Navigation (Example Inside)

Discussion in 'HTML & Website Design' started by larssonk22, Nov 18, 2010.

  1. #1
    Hi all,

    I've been trying to find a solution but everything seems to lead to flash, which is a no go area for me.

    Please view gif file below, this will probably make more sense.

    Example - http://i54.tinypic.com/axyxw6.gif

    I wanted to animate the sub navigation menu on my wordpress blog by having an arrow cycle through automatically without user action, each of the links in the sub navigation so an arrow would appear next to the first link then appear on the next, and the next until it reached the end, then it would start at the begining again.

    It might look good if user were to move the mouse over a link the animation stopped.

    Please help. Thank You :cool:
     
    larssonk22, Nov 18, 2010 IP
  2. GWiz

    GWiz Peon

    Messages:
    359
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You will need to use javascript to accomplish this effect. It's definietly possible, but I don't have time atm to look for what you need. This is the closest thing I could find: http://www.flooble.com/scripts/animate.php but it will need to be tweaked to your needs. Otherwise maybe try www.dynamicdrive.com
     
    GWiz, Nov 18, 2010 IP
  3. bmlcreative

    bmlcreative Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You could always have a series of animated gif's with each button in the sequence set to start after a progressively longer delay before returning to the start. It's a bit crude, but it could certainly achieve the effect you are after.
     
    bmlcreative, Nov 19, 2010 IP
  4. larssonk22

    larssonk22 Well-Known Member

    Messages:
    236
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #4
    Thanks GWiz, this looks promising, if I use text symbol arrows eg → » ⇨ then colouring them blue like the background would make them invisible, then they could turn white and become visible. I hope this won't have a negative effect on SEO =/

    Yeh I had thought about that, but it gets complicated when there are different submenus for different pages.
     
    Last edited: Nov 19, 2010
    larssonk22, Nov 19, 2010 IP
  5. bmlcreative

    bmlcreative Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    what about having one long animated gif for the whole menu and then having all the rollover effects on different levels?

    Basically you could set the background position of the various hover states according to what menu link is being rolled over? At least it only requires one gif file then?

    Might work with a bit more planning?..
     
    bmlcreative, Nov 19, 2010 IP
  6. larssonk22

    larssonk22 Well-Known Member

    Messages:
    236
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #6
    that would be a lot of work if I lots of parent pages.
     
    larssonk22, Nov 19, 2010 IP
  7. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #7
    Some JS should do the trick, but I do not see the sense with that annoying effect

    LOL @ your portfolio ^^ (had to laugh about all that medical sites coded with DreamWeaver and tons of tables for the layout ;)
     
    CSM, Nov 19, 2010 IP
  8. larssonk22

    larssonk22 Well-Known Member

    Messages:
    236
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #8
    Client is adamant about it, so I shall deliver arrows

    lmao yeh those medical ones are about 4 years old when I first started out, I'm strictly wordpress now :D
     
    Last edited: Nov 19, 2010
    larssonk22, Nov 19, 2010 IP
  9. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #9
    And WP is strictly non-valid (X)HTML (in 99 of 100 cases) :D
     
    CSM, Nov 19, 2010 IP
  10. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #10
    @larsonk22

    A) I 100% agree with @csm on his posts ( both of them... lol.. )

    B) Client being adamant about an utter atrocity is ridiculous. It's your job as the designer/developer to know when to say NO... Would you seriously be happy having your name on that with that SUPER ANNOYING menu blinking like that??...

    C) Javascript or a fixed with gif animation is the only way you are going to achieve this... As for your concern over SEO... The tables and non compliance of the code being used everywhere within the site will take more precedence than the JS needed to create the effect you are looking for.

    I'm not being harsh here nor am I trying to offend you. The harsh truth is that when the project is done, users will tell your client that the menu thing is ANNOYING and his position will change and you will have to remove it anyway... So save the grief, show them some opinions even if from this forum, and change their mind for them....

    You have to pick and choose your battles with clients and this is one to pick... For user experience it will be a disaster ===> Like the the annoying blinking banner that drives you nuts when trying to read an article...


    I think, as in past threads, @csm will agree with me on this one...

    Cheers!~
     
    workingsmart, Nov 20, 2010 IP
    larssonk22 likes this.
  11. larssonk22

    larssonk22 Well-Known Member

    Messages:
    236
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #11
    Thanks guys I understand your point, I had suggested to just use a different colour background for the submenus, I will relay your comments to the client. Thanks for the constructive criticism, much appreciated. ;)
     
    larssonk22, Nov 20, 2010 IP
  12. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #12
    100%, my friend
     
    CSM, Nov 23, 2010 IP