timbo64
11-10-2011, 10:39 AM
1) Script Title:
Drop down/ Overlapping Content script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex5/overlapcontent.htm
3) Describe problem:
Hi All,
my problem is that the drop down content via mouserollover simply does not appear. I tried to follow the steps and the description, but i cant find my problem/what i missed out to do. If i include the byclick dropdown, it works, just not the rollover dropdown effect works...
Here are the steps which i undertook:
- Step1: Include ... in the head
- Downloaded the dropdown.js (i havent touched this one yet)
- Put in the code into the body part step2
- Included the css code in my external css file
- And i tried to include the description with the red highlighted comments, please check the code in my html file below:
<p>Demo #1: <a href="http://www.dynamicdrive.com" id="searchlink" rel="subcontent">Search DD</a></p>
<div id="searchlink" rel="subcontent">
<div id="subcontent" style="position:absolute; visibility: hidden; border: 9px solid orange; background-color: white; width: 300px; padding: 8px;">
<p><b>Search Dynamic Drive:</b></p>
<form method="get" action="http://search.freefind.com/find.html" id="topform">
<input name="query" maxlength="255" style="width: 150px" id="topsearchbox" alt="Search" />
<input value="Search" class="topformbutton" type="submit" />
</form>
<div align="right"><a href="javascript:dropdowncontent.hidediv('subcontent')">Hide this DIV manually</a> | <a href="http://www.dynamicdrive.com">Dynamic Drive</a></div>
</div>
</div>
<script type="text/javascript">
//Call dropdowncontent.init("anchorID", "positionString", glideduration, "revealBehavior") at the end of the page:
dropdowncontent.init("searchlink", "right-bottom", 500, 'mouseover')
</script>
can you have a look at it please and try to help me... Thanks
Timbo
Drop down/ Overlapping Content script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex5/overlapcontent.htm
3) Describe problem:
Hi All,
my problem is that the drop down content via mouserollover simply does not appear. I tried to follow the steps and the description, but i cant find my problem/what i missed out to do. If i include the byclick dropdown, it works, just not the rollover dropdown effect works...
Here are the steps which i undertook:
- Step1: Include ... in the head
- Downloaded the dropdown.js (i havent touched this one yet)
- Put in the code into the body part step2
- Included the css code in my external css file
- And i tried to include the description with the red highlighted comments, please check the code in my html file below:
<p>Demo #1: <a href="http://www.dynamicdrive.com" id="searchlink" rel="subcontent">Search DD</a></p>
<div id="searchlink" rel="subcontent">
<div id="subcontent" style="position:absolute; visibility: hidden; border: 9px solid orange; background-color: white; width: 300px; padding: 8px;">
<p><b>Search Dynamic Drive:</b></p>
<form method="get" action="http://search.freefind.com/find.html" id="topform">
<input name="query" maxlength="255" style="width: 150px" id="topsearchbox" alt="Search" />
<input value="Search" class="topformbutton" type="submit" />
</form>
<div align="right"><a href="javascript:dropdowncontent.hidediv('subcontent')">Hide this DIV manually</a> | <a href="http://www.dynamicdrive.com">Dynamic Drive</a></div>
</div>
</div>
<script type="text/javascript">
//Call dropdowncontent.init("anchorID", "positionString", glideduration, "revealBehavior") at the end of the page:
dropdowncontent.init("searchlink", "right-bottom", 500, 'mouseover')
</script>
can you have a look at it please and try to help me... Thanks
Timbo