PDA

View Full Version : Positioning of drop downs - HELP



BlueOsyterCult
08-26-2007, 10:04 PM
Hello
First of all - love Dynamic Drive

Secondly - I'm having a problem I can't figure out. I downloaded a CSS drop down menu script/css (http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm) and the positioning of the drop is way off - I have tried everything .. I just can't find the problem..is as almost my other CSS sheets are messing it up but...

here is my page http://www.michaelsondesign.com/roomNine/index4.htm - the top menu there.. community events etc..
thanks

Rob

ddadmin
08-27-2007, 01:20 AM
Try moving the drop down DIVs plus the code to initalize the menu to the very bottom of your page, such as directly above the </body> tag:


<!--1st drop down menu -->
<div id="dropmenu1" class="dropmenudiv">
<a href="#">info</a>
<a href="#">info</a>
<a href="#">info</a>

</div>


<!--2nd drop down menu -->
<div id="dropmenu2" class="dropmenudiv" style="width: 150px;">
<a href="http://www.cnn.com/">CNN</a>
<a href="http://www.msnbc.com">MSNBC</a>
<a href="http://news.bbc.co.uk">BBC News</a>
</div>

<script type="text/javascript">
cssdropdown.startchrome("chromemenu")
</script>

</body>

BTW, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice:

NeilPeartRocks
08-27-2007, 03:09 AM
Hello ddadmin
I had to change my username because I couldn't log back in... with BlueOysterCult.. too many attempts although that isn't true

Thanks - your advice worked- I appreciate it..

By the CREDIT violation do you mean no credit for using the code? I downloaded it and it didn't have any credits and didn't even think about it.. I didn't delete on purpose

Please give me the proper credits and Ill put them there

Thanks
Rob

ddadmin
08-27-2007, 04:33 AM
You're welcome. :) As far as the credits, they should exist in between your <script> tag for the script:


<script type="text/javascript" src="chromejs/chrome.js">

/***********************************************
* Chrome CSS Drop Down Menu- &#169; Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

NeilPeartRocks
08-27-2007, 04:38 AM
I appreciate it