Log In · Register

 
hide module
GrayStarr
post Jun 27 2005, 08:03 PM
Post #1


yep, that's me. stop staring. :p
****

Group: Member
Posts: 257
Joined: Jun 2005
Member No: 160,969



how do i make the modules hide then make the modules come out when i click on the title? thx

example: the site
 
 
Start new topic
Replies
talcumpowder
post Jun 27 2005, 08:32 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



...... Use your modules. You only asked two questions, and I answered the second one first.
----
CODE
<div style="position: absolute; margin-top: 0; margin-left: 0; overflow:auto; height: 400; width: 400;">I'M A DIV LAYER~!</div>
This is a basic div layer code. It will make a box with the text I'M A DIV LAYER~!,400 x 400 pixels, zero pixels from the top of the page and zero pixels from the left. Well, not in Xanga... But that's beside the point.
----
CODE
position: absolute;
Defines how the elements is positioned. Learn more here.
CODE
<div style=
This just opens the layer.
CODE
margin-top: 0;
Defines top margin... You can also use Bottom.
CODE
margin-left: 0;
Defines left margin, you can also use Right.
CODE
overflow:auto;
Defines scrolling. Auto for scrolling none for no scrolling.
CODE
height: 400; width: 400;
I won't insult your intelligence... You can figure these out.
CODE
I'M A DIV LAYER~!
Stuff inside the box. Replace with whatever...
CODE
</div>
Ends the layer. Don't use this if you're moving the blog.... That code should go last anyways.
----
So, just play around with the numbers, to make it go where you want. You can use negatives if you need to. =P Have fun.
 

Posts in this topic


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: