• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Mood script for XenForo?

With CSS 3... It would be possible to create something like this... But I am still not sure I like it...
I think we're getting closer. Also time to put on my "coding hat" and the need to be able to gracefully degrade from that position (which is just displaying it in "full view", plain and simple, I think).
 
With CSS 3... It would be possible to create something like this... But I am still not sure I like it...


xen-mood2-png.455
I like the way it kinda sticks out, I'm not sure if that's something suitable... it looks okay in my own personal opinion but I don't have an eye for beauty :(

It's possible with CSS3 transitions but I think only webkit browsers have them installed at the minute? I remember FireFox implementing it but it wasn't fully functional.

Don't forget that the forum comes with jQuery by default so it's easier to do animations :)
 
I think we're getting closer. Also time to put on my "coding hat" and the need to be able to gracefully degrade from that position (which is just displaying it in "full view", plain and simple, I think).

That would be easy to do... You would place it in its default position and then use CSS3, to move it out of view and angle it like that... There wouldn't be any need for JS either which would be nice... just hover effects.
 
That would be easy to do... You would place it in its default position and then use CSS3, to move it out of view and angle it like that... There wouldn't be any need for JS either which would be nice... just hover effects.
Code:
-webkit-transition: -webkit-transform 0.5s ease-in;
-webkit-transform: rotate(-45deg);
That should work fine... for Chrome, assuming the mood is underneath the postbit at the bottom 8-)

*tests now*
 
UPDATE:
Code:
someElement:hover{
-webkit-transition: -webkit-transform 0.5s ease-in;
-webkit-transform: rotate(-45deg);
Confirmed to work fine. Rotates 45degrees anti-clockwise in Chrome :)
 
I like the way it kinda sticks out, I'm not sure if that's something suitable... it looks okay in my own personal opinion but I don't have an eye for beauty :(

It's possible with CSS3 transitions but I think only webkit browsers have them installed at the minute? I remember FireFox implementing it but it wasn't fully functional.

Don't forget that the forum comes with jQuery by default so it's easier to do animations :)

I don't think animations would be needed, just the ability to angle the image I am sure that most of the newer browsers can do this, and those that can't we can just display as normal (Or use JS) either one :P
 
May as well use JS as a fallback for incompatible browsers, makes sense with the jQ framework! :)
 
The -webkit-transform I am most interested in... Don't really care for the transition so much, though if the browser supports it why not... I am sure that firefox supports transform CSS3 but not transition.
 
I believe Firefox supports some kind of rotation (i.e. transform) in 3.5+. But I'll have to (re)test that out myself.
 
The stuff canvas can do is AMAZING. I can't explain how awesome it is. Too bad I'm not much of a design artist, as much as I'd like to be. I'm "just" the programmer... :cool:
 
If you wanted it to come out of the avatar, you could have something like a rotate-out on the right of the avatar (showing only the icons - move them to the right) then if you hover over the rotate, it slides out completely to view the full thing.
 
If you wanted it to come out of the avatar, you could have something like a rotate-out on the right of the avatar (showing only the icons - move them to the right) then if you hover over the rotate, it slides out completely to view the full thing.

Mock-up so that I can see what you are thinking...
 
If only I had the graphic skills. *finds previous mockup*

xen-mood-png.450


Instead of it sliding out you could have a rotate transition that moves it from behind the avatar to the position in the mockup but then when you hover over the bit that sticks out, it will slide out to the right to reveal the full bar (you're only going to hover over it if you want to know what it's about).

Again, positioning isn't great (could probably preset a few different positions) but it's a thought.
 
Back
Top Bottom