The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Users images resize? slider...

3 posters

Go down

Users images resize? slider... Empty Users images resize? slider...

Post by PlatinumWata January 23rd 2011, 4:55 pm

When my users post a image in a thread thats big, the thread will only let us see half of picture....how do I add a slider so I can slide the image so i can see other half?
PlatinumWata
PlatinumWata
Forumember

Male Posts : 447
Reputation : 0
Language : English
Location : United States (born from England)

Back to top Go down

Users images resize? slider... Empty Re: Users images resize? slider...

Post by Plancker January 23rd 2011, 5:35 pm

Code:
img:hover {
background: 0px -100px;
transition: 2s;}

and

Code:
img {
transition: 2s;
}

if these codes are in the css alrzady just add the things between the {}
avatar
Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Users images resize? slider... Empty Re: Users images resize? slider...

Post by Dug March 19th 2011, 12:32 am

Our forums have the same issue. I think we use the most basic CSS code that came with the forum when it was created. Where in the CSS file do I put the code above? Which section?
avatar
Dug
New Member

Posts : 1
Reputation : 0
Language : English

Back to top Go down

Users images resize? slider... Empty Re: Users images resize? slider...

Post by Plancker March 19th 2011, 8:02 pm

i see now that these codes won't work Very Happy

but you can add this anywhere

Code:
img {
max-height: 300px;
max-width: 300px;
-webkit-transition: 2s;
-moz-transition: 2s;
-o-transition: 2s;
transition: 2s;
}
img:hover {
max-height: 750px;
max-width: 750px;
-webkit-transition: 2s;
-moz-transition: 2s;
-o-transition: 2s;
transition: 2s;
}

this will make images bigger when hovered
avatar
Plancker
Forumember

Posts : 226
Reputation : 11
Language : Dutch, English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum