Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

A few weeks back i was running through some css to change my Nav buttons to look my like apple Navigation,I gave this code to George to work a little magic and as usual he came up with all sought's of ideas :-)Here is my little spin on that Enjoy :-)This is the Dark Version.DIV#xg_navigationul,DIV#xg_navigation li,DIV#xg_navigation span,DIV#xg_navigation a {margin: 0!important;padding: 0!important;position: relative!important;}DIV#xg_navigation A:hover {background: #646464 url(images/grad_dark.png) repeat-x left bottom!important;background: -moz-linear-gradient(top, #646464 0%, #4a4a4a 100%)!important;background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #646464), color-stop(100%, #4a4a4a))!important;background: -webkit-linear-gradient(top, #646464 0%, #4a4a4a 100%)!important;background: -o-linear-gradient(top, #646464 0%, #4a4a4a 100%)!important;background: -ms-linear-gradient(top, #646464 0%, #4a4a4a 100%)!important;background: linear-gradient(to bottom, #646464 0%, #4a4a4a 100%)!important;filter: progid:dximagetransform.microsoft.gradient(startColorstr='#646464', endColorstr='#4a4a4a', GradientType=0)!important;box-shadow: inset 0 0 10px #222222, inset 0 10px 10px #222222!important;-moz-box-shadow: inset 0 0 10px #222222, inset 0 10px 10px #222222!important;-webkit-box-shadow: inset 0 0 10px #222222, inset 0 10px 10px #222222!important;filter: none!important;transition:all 1s ease-out;-webkit-transition:all 1s ease-out;-moz-transition:all 1s ease-out;}DIV#xg_navigation li a {box-shadow: inset 0 0 0 1px #8a8a8a!important;-moz-box-shadow: inset 0 0 0 1px #8a8a8a!important;-webkit-box-shadow: inset 0 0 0 1px #8a8a8a!important;background: #4a4a4a url(images/grad_dark.png) repeat-x left top!important;background: -moz-linear-gradient(top, #8a8a8a 0%, #707070 50%, #626262 51%, #787878 100%)!important;background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #8a8a8a), color-stop(50%, #707070), color-stop(51%, #626262), color-stop(100%, #787878))!important;background: -webkit-linear-gradient(top, #8a8a8a 0%, #707070 50%, #626262 51%, #787878 100%)!important;background: -o-linear-gradient(top, #8a8a8a 0%, #707070 50%, #626262 51%, #787878 100%)!important;background: -ms-linear-gradient(top, #8a8a8a 0%, #707070 50%, #626262 51%, #787878 100%)!important;background: linear-gradient(to bottom, #8a8a8a 0%, #707070 50%, #626262 51%, #787878 100%)!important;filter: progid:dximagetransform.microsoft.gradient(startColorstr='#8a8a8a', endColorstr='#787878', GradientType=0)!important;border-bottom: 1px solid #5d5d5d!important;border-top: 1px solid #5d5d5d!important;border-right: 1px solid #5d5d5d!important;line-height: 34px!important;filter: none!important;transition:all 1s ease-out;-webkit-transition:all 1s ease-out;-moz-transition:all 1s ease-out;}DIV#xg_navigation a {border-radius: 5px 0 0 5px!important;-moz-border-radius: 5px 0 0 5px!important;-webkit-border-radius: 5px 0 0 5px!important;border-left: 0px solid #5d5d5d!important;color: #ffffff!important;display: inline-block!important;font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif!important;font-size: 12px!important;text-align: center!important;text-decoration: none!important;text-shadow: 0 -1px 0 #333333!important;}div#xg_navigation li a {-webkit-animation: cssAnimation 2.561s 1 ease;-moz-animation: cssAnimation 2.561s 1 ease;-o-animation: cssAnimation 2.561s 1 ease;}@-webkit-keyframes cssAnimation {from { -webkit-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); }to { -webkit-transform: rotate(360deg) scale(1) skew(1deg) translate(0px); }}@-moz-keyframes cssAnimation {from { -moz-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); }to { -moz-transform: rotate(360deg) scale(1) skew(1deg) translate(0px); }}@-o-keyframes cssAnimation {from { -o-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); }to { -o-transform: rotate(360deg) scale(1) skew(1deg) translate(0px); }}DIV#xg_navigationul,DIV#xg_navigation li,DIV#xg_navigation span,DIV#xg_navigation a {margin: 0!important;padding: 0!important;position: relative!important;}DIV#xg_navigation a {border-radius: 5px!important;-moz-border-radius: 5px!important;-webkit-border-radius: 5px!important;transition:all 1s ease-out;-webkit-transition:all 1s ease-out;-moz-transition:all 1s ease-out;}DIV#xg_navigation ul li A{text-align: center!important;}DIV#xg_navigation a {border-top: 0 none!important;border-left: 1px solid #5d5d5d!important;display: block!important;line-height: 120%!important;text-align: center!important;}DIV#xg_navigation UL{background-color: transparent!important;}DIV#xg_navigation {background-color: transparent!important;}DIV#xg_navigation .xg_subtab SPAN{color:black!important;transition:all 1s ease-out;-webkit-transition:all 1s ease-out;-moz-transition:all 1s ease-out;}DIV#xg_navigation .xg_subtab SPAN:hover{color:white!important;transition:all 1s ease-out;-webkit-transition:all 1s ease-out;-moz-transition:all 1s ease-out;}DIV#xg_navigation A{min-width:100.4px!important;}

You need to be a member of Ning Creators Network to add comments!

Join Ning Creators Network

Email me when people reply –

Replies

  • If you don't want the rotation animation just take out this line of css


    @-webkit-keyframes cssAnimation {
    from { -webkit-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); }
    to { -webkit-transform: rotate(360deg) scale(1) skew(1deg) translate(0px); }
    }
    @-moz-keyframes cssAnimation {
    from { -moz-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); }
    to { -moz-transform: rotate(360deg) scale(1) skew(1deg) translate(0px); }
    }
    @-o-keyframes cssAnimation {
    from { -o-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); }
    to { -o-transform: rotate(360deg) scale(1) skew(1deg) translate(0px); }
    }
  • Scott Bishop replied to this and asked to see a screen shot..his comment was deleted..who Knows why, can't seem to add any screen shots as theirs no link button or upload phot buttons above lol...
    If you want to stop the rotation of the nav tabs use this instead of the first comment i made..i left a few lines out :-)

    div#xg_navigation li a {
    -webkit-animation: cssAnimation 2.561s 1 ease;
    -moz-animation: cssAnimation 2.561s 1 ease;
    -o-animation: cssAnimation 2.561s 1 ease;
    }
    @-webkit-keyframes cssAnimation {
    from { -webkit-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); }
    to { -webkit-transform: rotate(360deg) scale(1) skew(1deg) translate(0px); }
    }
    @-moz-keyframes cssAnimation {
    from { -moz-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); }
    to { -moz-transform: rotate(360deg) scale(1) skew(1deg) translate(0px); }
    }
    @-o-keyframes cssAnimation {
    from { -o-transform: rotate(4deg) scale(1) skew(1deg) translate(10px); }
    to { -o-transform: rotate(360deg) scale(1) skew(1deg) translate(0px); }
    }
  •  I love the animation you added :) dancing tabs

    • Hi George, Thanks for putting the pic's up :-) ,  i couldn't find a link , Glad you like them :-) There on the edge, I thought they look pretty cool :-)

      •  you're welcome they do look pretty cool and I'm glad the animation stops shortly after the mouse over. It makes a great eye-catching visual effect :-)

  • This is VERY cool, but I'm curious... which codes would I remove that takes out your css styling... color and border wise? I like this, but I want the css style to come from my previous stylesheet.

    Not sure if it will work, but if you now visit my network, you'll see the nav tabs come in... they start with my yellow, shaped borders, but end without them. Seems your code appearance settings are over riding mine, but mine will work with the movements of these tabs. Here's my link.

    http://addictapic.com

    • is this all that I would remove to keep animations and have my style sheet allot the colors and borders/shape?

      DIV#xg_navigationul,
      DIV#xg_navigation li,
      DIV#xg_navigation span,
      DIV#xg_navigation a {
      margin: 0!important;
      padding: 0!important;
      position: relative!important;}
      DIV#xg_navigation A:hover {
      background: #646464 url(images/grad_dark.png) repeat-x left bottom!important;
      background: -moz-linear-gradient(top, #646464 0%, #4a4a4a 100%)!important;
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #646464), color-stop(100%, #4a4a4a))!important;
      background: -webkit-linear-gradient(top, #646464 0%, #4a4a4a 100%)!important;
      background: -o-linear-gradient(top, #646464 0%, #4a4a4a 100%)!important;
      background: -ms-linear-gradient(top, #646464 0%, #4a4a4a 100%)!important;
      background: linear-gradient(to bottom, #646464 0%, #4a4a4a 100%)!important;
      filter: progid:dximagetransform.microsoft.gradient(startColorstr='#646464', endColorstr='#4a4a4a', GradientType=0)!important;
      box-shadow: inset 0 0 10px #222222, inset 0 10px 10px #222222!important;
      -moz-box-shadow: inset 0 0 10px #222222, inset 0 10px 10px #222222!important;
      -webkit-box-shadow: inset 0 0 10px #222222, inset 0 10px 10px #222222!important;
      filter: none!important;
      transition:all 1s ease-out;
      -webkit-transition:all 1s ease-out;
      -moz-transition:all 1s ease-out;}
      DIV#xg_navigation li a {
      box-shadow: inset 0 0 0 1px #8a8a8a!important;
      -moz-box-shadow: inset 0 0 0 1px #8a8a8a!important;
      -webkit-box-shadow: inset 0 0 0 1px #8a8a8a!important;
      background: #4a4a4a url(images/grad_dark.png) repeat-x left top!important;
      background: -moz-linear-gradient(top, #8a8a8a 0%, #707070 50%, #626262 51%, #787878 100%)!important;
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #8a8a8a), color-stop(50%, #707070), color-stop(51%, #626262), color-stop(100%, #787878))!important;
      background: -webkit-linear-gradient(top, #8a8a8a 0%, #707070 50%, #626262 51%, #787878 100%)!important;
      background: -o-linear-gradient(top, #8a8a8a 0%, #707070 50%, #626262 51%, #787878 100%)!important;
      background: -ms-linear-gradient(top, #8a8a8a 0%, #707070 50%, #626262 51%, #787878 100%)!important;
      background: linear-gradient(to bottom, #8a8a8a 0%, #707070 50%, #626262 51%, #787878 100%)!important;
      filter: progid:dximagetransform.microsoft.gradient(startColorstr='#8a8a8a', endColorstr='#787878', GradientType=0)!important;
      border-bottom: 1px solid #5d5d5d!important;
      border-top: 1px solid #5d5d5d!important;
      border-right: 1px solid #5d5d5d!important;
      line-height: 34px!important;
      filter: none!important;
      transition:all 1s ease-out;
      -webkit-transition:all 1s ease-out;
      -moz-transition:all 1s ease-out;}
      DIV#xg_navigation a {
      border-radius: 5px 0 0 5px!important;
      -moz-border-radius: 5px 0 0 5px!important;
      -webkit-border-radius: 5px 0 0 5px!important;
      border-left: 0px solid #5d5d5d!important;
      color: #ffffff!important;
      display: inline-block!important;
      font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif!important;
      font-size: 12px!important;
      text-align: center!important;
      text-decoration: none!important;
      text-shadow: 0 -1px 0 #333333!important;}

      • Never mind, I totally have figured it out. :) It was only the rotation I wanted. None of the styles. :) Great tip!

        • Hi Damien, just visited your site , the animation looks good :-)

          • Thank you very much!

            I'm not sure if this will stay like this though, I've started another thread requesting the ability to have nav tabs hidden under a small button, and when mouse over that button, the nav tabs/subtabs animate out to their positions. When mouse out, they animate back into the button. Hoping to get some replies on that one. :)

This reply was deleted.

Search the Creators Network

Latest Activity

Strumelia replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"Steve, this is also an enlightening discussion, from a year ago as well:
http://creators.ning.com/a…"
3 hours ago
Strumelia replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"Steve, if you read this discussion from start to finish:
http://creators.ning.com/announcements-fro…"
4 hours ago
steve replied to Aubrey Williams's discussion How to get networking members interacting with each other?
"Blimey thats a bit of a "How long is a piece of string" question is that Aubrey.. Depends what you…"
4 hours ago
steve replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"I think it was here i got my information from, this is an update and you will see from the heading…"
4 hours ago
steve replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"Fear is a terrible thing Terry, specially if you have a Ning 2 which may be close to renewal, a sto…"
4 hours ago
Terry Henderson replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"Thanks - but don't worry about me - I can give as good as I get if I felt someone was trying to bul…"
6 hours ago
Terry Henderson replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"I just looked up my old email - on 3/14/14 I got an email saying 3.0 Phase One was ready and my sit…"
6 hours ago
Strumelia replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"I believe you Terry- I have heard now and then of inconsistencies in Ning payment support (or non-s…"
7 hours ago
Solael replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"Something does not sound right. But okay...your story is your story."
7 hours ago
mysticpagan replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"I have been getting notifications in my email regarding this discussion and I just wanted to say it…"
7 hours ago
Terry Henderson replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"No - my account had not lapsed.  It was a month or two before it was due.  But my account had over…"
7 hours ago
soaringeagle replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"then why is it it only happened to you and everyone else has had no trouble renewing thier 2.0
mayb…"
7 hours ago
Donna Mac replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"This drama is ridiculous.  RI DIC U LOUS.  All this in-fighting amongst each other.  Thanks Ning."
7 hours ago
Strumelia replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"Terry, had you let your payment/renewal lapse or expire unpaid for a few weeks or more before you a…"
7 hours ago
Strumelia replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"Allison/Crystal made it quite clear that Ning had dropped all migration deadlines for the time bein…"
8 hours ago
Terry Henderson replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"I was on this thread before and started getting the new email - I tried my login and it worked - wh…"
8 hours ago
Terry Henderson replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"All I know is they contacted me and told my I HAD to upgrade to renew - I told them I didn't want t…"
8 hours ago
Solael replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"I am not supporting anyone here on this, however there are two sides to every story. No one will di…"
8 hours ago
Scott Bishop replied to Allison Leahy's discussion What are you most excited about?
"I'm most exited about George H. Compton IV responsive design for N2. Works much better than N3 and…"
8 hours ago
soaringeagle replied to Allison Leahy's discussion Changes to Ning 3.0 Based on Your Feedback
"and to clarify you have a year to a year and 1/2 after stage 3 migration tools aree in place so far…"
8 hours ago
More…