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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.