Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
CSS Minimize/Maximize Box
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Meap" data-source="post: 331217" data-attributes="member: 1553"><p>How would I make it so I can minimize and maximize this box?</p><p>This is the css for it</p><p>[CODE]#you{background-color:rgba(65,64,61,0.5);position:absolute;top:0px;right:200px;padding:7px;border-radius:0px 0px 3px 3px;width:165px;border:2px solid #41403d;}#exitb{background:url(http://playneko.co.uk/exit.png);height:19px;width:19px;border-radius:3px;}#exitb:hover{background:url(http://playneko.co.uk/exit_hover.png);}[/CODE]</p><p>and then this is the box code I have</p><p>[CODE]<div id="you"></p><p><div style="height: 110px; width: 57px; float: left; overflow: hidden;"><img src="http://www.habbo.nl/habbo-imaging/avatarimage?figure='.$user['look'].'&direction=3&head_direction=3&action=wav,crr=667&size=m" alt="avatar" class="rotate" align="left"></div><div style="position: absolute; z-index:1">'.$aanwezag.'</div><br/></td></p><p><div style="cursor:pointer;position:absolute;top:10px;left:65px;font-size:18px;font-family: Times;">%habboName%</div></p><p><div style="cursor:pointer;position:absolute;top:30px;left:65px;font-size:18px;font-family: Times;">' . $users->getRankName($user['rank']) . '</div></p><p><div style="cursor:pointer;position:absolute;top:50px;left:65px;font-size:18px;font-family: Times;"><font color="#FF0040">'. $user['age'] .' Years Old</font></div></p><p><div style="cursor:pointer;position:absolute;top:70px;left:65px;font-size:18px;font-family: Times;"><font color="#088A4B">'. $user2['AchievementScore'] .' Score</font></div></p><p><div style="cursor:pointer;position:absolute;top:90px;left:65px;font-size:18px;font-family: Times;"><font color="#01A9DB">'. $user2['Respect'] .' Respects</font></div></p><p><div style="cursor:pointer;position:absolute;top:81px;left:5px;font-size:20px;font-family: Times;"><img src="%www%/flags/'. $user['country'] .'.png"></div></p><p></div>[/CODE]</p><p></p><p>How would I add the little exit images to the right of the box and when you click it, it will minimize/maximize the box?</p><p>If anyone can help it would be greatly appreciated</p></blockquote><p></p>
[QUOTE="Meap, post: 331217, member: 1553"] How would I make it so I can minimize and maximize this box? This is the css for it [CODE]#you{background-color:rgba(65,64,61,0.5);position:absolute;top:0px;right:200px;padding:7px;border-radius:0px 0px 3px 3px;width:165px;border:2px solid #41403d;}#exitb{background:url(http://playneko.co.uk/exit.png);height:19px;width:19px;border-radius:3px;}#exitb:hover{background:url(http://playneko.co.uk/exit_hover.png);}[/CODE] and then this is the box code I have [CODE]<div id="you"> <div style="height: 110px; width: 57px; float: left; overflow: hidden;"><img src="http://www.habbo.nl/habbo-imaging/avatarimage?figure='.$user['look'].'&direction=3&head_direction=3&action=wav,crr=667&size=m" alt="avatar" class="rotate" align="left"></div><div style="position: absolute; z-index:1">'.$aanwezag.'</div><br/></td> <div style="cursor:pointer;position:absolute;top:10px;left:65px;font-size:18px;font-family: Times;">%habboName%</div> <div style="cursor:pointer;position:absolute;top:30px;left:65px;font-size:18px;font-family: Times;">' . $users->getRankName($user['rank']) . '</div> <div style="cursor:pointer;position:absolute;top:50px;left:65px;font-size:18px;font-family: Times;"><font color="#FF0040">'. $user['age'] .' Years Old</font></div> <div style="cursor:pointer;position:absolute;top:70px;left:65px;font-size:18px;font-family: Times;"><font color="#088A4B">'. $user2['AchievementScore'] .' Score</font></div> <div style="cursor:pointer;position:absolute;top:90px;left:65px;font-size:18px;font-family: Times;"><font color="#01A9DB">'. $user2['Respect'] .' Respects</font></div> <div style="cursor:pointer;position:absolute;top:81px;left:5px;font-size:20px;font-family: Times;"><img src="%www%/flags/'. $user['country'] .'.png"></div> </div>[/CODE] How would I add the little exit images to the right of the box and when you click it, it will minimize/maximize the box? If anyone can help it would be greatly appreciated [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
CSS Minimize/Maximize Box
Top