Jump to content

make div appear ajacent to calling div.


blueman378

Recommended Posts

Hi guys.

 

Well basically i have a menu,

 

its setup as

 

<div id="menu">
<a class="menu_item" href="#">HOME</a>
<span class="sep">
<a class="menu_item" href="#">About Us</a>
<span class="sep">
<a class="menu_item" href="#">My Sites</a>
<a class="dropdown_caller" href="#">^</a>
<span class="sep">
</div>

 

i also have another div

<div class="dropdown">

 

all that contains is a simple dropdown.

 

anyway when the page is loaded the dropdown div is set to display: none;

 

and i know to add the onclick event to the dropdown_caller link

 

but what i need to know is,

 

how can i position the div so it lines up below the calling dropdown_caller

 

this is a dynamic site so i cant be sure of the pixel position of the caller.

Link to comment
https://forums.phpfreaks.com/topic/181871-make-div-appear-ajacent-to-calling-div/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.