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

Forum

last week i posted a tip that zooms the main page forum and blog posts when you hover over it well i tweaked it a tad  increasing the zoom by 5% and added a transparency as it zooms as well as added a z-index so the profile icon below it doesn't float over it

the live demo can be seen here

http://www.dreadlockssite.com/main/

the code;

.xg_widget_main .module_blog .blogpost:hover,.xg_widget_main .module_forum div.vcard div.topic:hover {background-color:#14135E;-webkit-transform:scale(1.25);-moz-transform:scale(1.25);-webkit-transition:all .6s ease-out;-moz-transition:all .6s ease-out;opacity:0.70;z-index:999999;}

adjustments;

ofcourse background color should be adjusted to something that matches youtr theme or delete it to have no background color change

scale is the zoom level 1.25 means 125% or 25% above normal 1.35 would zoom 10% more 1.15 10% less
transition speed .6 is 6/10th of a second just over 1/2 a second to complete the ease out animation you can also add a delay like if you want it to wait 1 second then ease out for 1 second  (but i dont think a delay makes sence for this purpose)

opacity 0.70 is 70% opaque or 30% transparent adjust the 0.70 higher towards 1 to be less opaque or lower  to be more see through i settled on 70 which alowed the elements behind it to be sen without making it too unreadable

i had applied the same effectto the forum posts and replies but it made long posts grow too far since both length and width  increased 25%   a long post could completely cover a shorter reply above and below it

thats why i got inspired to add the transparency so you could at least tell there was something behind it, but it didnt solve the problem so i left it out and id not include code to apply the effect to those posts and replies.

for an even cooler effect

add border radius and box shadow to the hover code above

your forum posts that dont have  the border radius and box shadow  till hovered will zoom  the corners go from square to round and the shadow  apear as it transitions

edit:

to add  a floating effect that rounds the corners adds a shadow and zooms all in 1 motion try this code


.xg_widget_main .module_blog .blogpost:hover,.xg_widget_main .module_forum div.vcard div.topic:hover {border:1px solid #ccc;border-radius:50px;-moz-border-radius:50px;-webkit-border-radius:50px;-webkit-box-shadow:6px 6px 10px #ccc;-moz-box-shadow:6px 6px 10px #ccc;box-shadow:6px 6px 10px #ccc;width:535px;-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";filter:progid:DXImageTransform.Microsoft.Shadow(Strength=4,Direction=135,Color='#000000');-webkit-transform:scale(1.25);-moz-transform:scale(1.25);-webkit-transition:all .6s ease-out;-moz-transition:all .6s ease-out;
z-index:999999;background-color:#fff;padding:1em;}

notes i added a white background u can change that  without the background it acts like theres no background and you see everything behind it

i also added padding to keep the text from extending outside the now rounded borders

that effect can be seen on my new site www.phillyhangout.com

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

Join Ning Creators Network

Email me when people reply –

Replies

  • thats why i didnt use it there  but  thats a function of z-index

    z-index moves it forward or bactwards in the stacking order the higher the number the more forward some divs may have a very high z-index to make it topmost  just experiment with setting that higher

    you may also need to add a position; (relative fixed or absolute)

    • Looks good SoaringEagle.

      • thnx  the morphing borders effect if you add thats pretty cool  it unintentionaly was added to many members pages  in the menu so subtabs morph from rectangle to rounded as they slide out..its pretty cool  and adding it to the main page posts would be pretty unique

        i already had rounded corners and shading so left it as is

  • @alexander could you please tell me how you did it for the latest activity..thanks

  • hey soaringeagle how is the script written for late activity..having problem doing this thanks

    • try

      div.feed-story:hover as the selector

      if that dont work let me know

      • Hey eagle where do i place it at in the code..do i just change the part that says..div.vcard div.topic:hover ...?

        • div.feed-story:hover {background-color:#14135E;-webkit-transform:scale(1.25);-moz-transform:scale(1.25);-webkit-transition:all .6s ease-out;-moz-transition:all .6s ease-out;opacity:0.70;z-index:999999;}

          • SWEEEET,Thanks so much

This reply was deleted.

Search the Creators Network

Latest Activity

Fire-Tech replied to Elson Tan's discussion Code Editor for Custom Code
"+1. Good to see ya popping in Elson"
1 hour ago
Elson Tan replied to Elson Tan's discussion Code Editor for Custom Code
"hey guys, glad to see you too."
14 hours ago
Livita Jesus Silva left a comment for Livita Jesus Silva
"Thanks George
correto.
Very good
A good sunday
Livita"
17 hours ago
George H. Compton IV left a comment for Livita Jesus Silva
"Okay thanks for the link, this code will work :-)  see image below.
.subTab-item > a{   background:…"
18 hours ago
Jelena replied to Elson Tan's discussion Code Editor for Custom Code
"Glad to see you Elson and awesome Google chrome plugin. Thanks."
19 hours ago
Livita Jesus Silva left a comment for Livita Jesus Silva
"I'll tryThe good night
thanks"
19 hours ago
Livita Jesus Silva left a comment for Livita Jesus Silva
19 hours ago
Livita Jesus Silva left a comment for Livita Jesus Silva
19 hours ago
George H. Compton IV left a comment for Livita Jesus Silva
"Hello Livita :)  In the image it appears that it's the active tab that you want colored. This code…"
19 hours ago
Mary Jane Peterson replied to Mary Jane Peterson's discussion getting 500: Unexpected Error site down
"thank you"
20 hours ago
Livita Jesus Silva left a comment for George H. Compton IV
"Hello George, I need help.You know the code for imaging or color in the sub tabs?Looks like he is.…"
21 hours ago
Livita Jesus Silva left a comment for George H. Compton IV
".navbar {
background: #bd834d
url() top center repeat-x scroll !important;
border-top:3x groove #34…"
21 hours ago
Livita Jesus Silva left a comment for George H. Compton IV
"Hello George, I need help.You know the code for imaging or color in the sub tabs?Looks like he is.…"
21 hours ago
JFarrow replied to Elson Tan's discussion Code Editor for Custom Code
"Good to see you Elson!"
22 hours ago
Garfield Creator replied to Elson Tan's discussion Code Editor for Custom Code
"That's very nice of you. Thanks!"
23 hours ago
Mary Jane Peterson replied to Mary Jane Peterson's discussion How do I add chat to my 2.0 mobile part of the site
"hi  Kos 

thank you"
yesterday
Kos replied to Elson Tan's discussion Code Editor for Custom Code
"Glad to see you're still around Elson"
yesterday
Kos replied to Mary Jane Peterson's discussion How do I add chat to my 2.0 mobile part of the site
"Make chat a tab on your menu in tabs & pages.  The existing URL is /chat and then it will display v…"
yesterday
Kos replied to Mary Jane Peterson's discussion getting 500: Unexpected Error site down
"Mine are all up.  If you're still receiving this, you can file a ticket online here http://ec2-75-1…"
yesterday
Strumelia replied to Mary Jane Peterson's discussion getting 500: Unexpected Error site down
"You need to file a help ticket to Ning for this.  Other creators here cannot help on this issue, an…"
yesterday
More…