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

Views: 574

Reply to This

Replies to This Discussion

:) glad ya like it eric  just making it a lil more dynamic lass static and i think it helps ppl with blurry eyes like me haha

plus its something u dont se everyday so makes your site lil more unique

This is a nice effect S.E! cool feature.

thnx glad ya liked it  i had fun playing with diferent variations

This is great work soaringeagle ! For added functionality it would be awesome if hovering over displayed the forum post body as well. (i.e. post header shows on the wall, hovering zooms and shows post body) Anyone know if this is possible with css??

no but u can change the forum display on main page from title only to excerpt then set the excerpt length so it shows part of the body with a continue so they can read  a paragraph and know if its wortgh clicking this just zooms it  so its lil easier to read and gives it sa real cool effect

ok thank you 

Awesome; love it.  Thank you for sharing SE.  Did you ever figure out a way to get something similar to this to work on photos?  Have been searching Creators with no luck yet. 

i did but in ff it screwed up the like buttons sometimes for some reason though i use it on the photo slideshows on profiles i dont on regular photos in the gallery anymore

it can be applied to any element you want really

I just love how this guys works http://urbandirty.com/gallery/?page=4

thats gotta be a javascript

I liked it. Thanks bro........

RSS

Latest Activity

Gary W Norman replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
"Well Kos, your suggestion of putting the code higher up in order made the big diff. I put it under…"
4 minutes ago

NC for Hire
JFarrow replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"YEP.  its interesting that Cultivate Community blog has disqus but it is not enabled.."
8 minutes ago
Kos replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
"Back from lunch and I see James came to the rescue.  Yay!  Never even thought a/b a …"
11 minutes ago
Kos replied to Monica Diaz's discussion 'How are you using member categories in Ning 3.0?'
"You are correct and you bring up an interesting point.    it would be nice to be…"
13 minutes ago
SM replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"Another amazing thing I just discovered about Disqus - if you hover over the up-vote it…"
16 minutes ago
Jeanne Kramer-Smyth replied to Monica Diaz's discussion 'How are you using member categories in Ning 3.0?'
"I have been reading through the new 'Member Categories' feature. What I would love to do…"
27 minutes ago
Gary W Norman replied to Gary W Norman's discussion 'Tagline Font Size or Type - can it be changed?'
"it all works James, thank you! but I tried clicking the little box and it takes me to my appearance…"
34 minutes ago
Strumelia replied to FedMedic's discussion '3.0 Why is all my text centered?'
"FedM- i replied to you in the 'Alternatives to Ning' thread, which is the proper place…"
45 minutes ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service