Back again, another tumblr script problem.
So, I have this code for a sidebar dropdown menu, when you click the image it's meant to drop down the links/pages.
HTML part
Description box
Problem is, it's not displaying it as a clickable image which drops the links down, it's just displaying the image with links underneath before clicking.
Help? Cheers!
So, I have this code for a sidebar dropdown menu, when you click the image it's meant to drop down the links/pages.
HTML part
Code:
<!-- drop down box -->
<div id="header" class="header-relative">
<div style="padding:20px 0px;">
{block:IfHeaderImageImage}
<img id="imagetitle" src="{image:header image}">
{/block:IfHeaderImageImage}
{block:IfNotHeaderImageImage}
<h1>{Title}</h1>
{/block:IfNotHeaderImageImage}
{block:IfNotLinkOnSidebar}
<ul id="linkHeader">
<li><a href="/">Home</a></li>
<li><a href="http://snowfoxtheme.tumblr.com">Theme</a></li>
{block:AskEnabled}
<li><a href="/ask" >{AskLabel}</a></li>
{/block:AskEnabled}
{block:IfLink1title}
<li><a href="{text:Link 1 url}">{text:Link 1 title}</a></li>
{/block:IfLink1title}
{block:IfLink2title}
<li><a href="{text:Link 2 url}">{text:Link 2 title}</a></li>
{/block:IfLink2title}
{block:IfLink3title}
<li><a href="{text:Link 3 url}">{text:Link 3 title}</a></li>
{/block:IfLink3title}
{block:IfLink4title}
<li><a href="{text:Link 4 url}">{text:Link 4 title}</a></li>
{/block:IfLink4title}
{block:IfLink5title}
<li><a href="{text:Link 5 url}">{text:Link 5 title}</a></li>
{/block:IfLink5title}
{block:HasPages}
<li><a id="pageLink" href="javascript:void(0)">{text:Page Text}</a></li>
{/block:HasPages}
</ul>
<ul id="titlePages" class="titleLinks">
{block:HasPages}
{block:Pages}
<li><a href="{URL}" >{Label}</a></li>
{/block:Pages}
{/block:HasPages}
</ul>
{/block:IfNotLinkOnSidebar}
<div id="headerOpacity"></div>
</div>
<!-- end of drop down box-->
Description box
Code:
<div class="links_list">
<img src="IMAGE URL">
<div class="links_body">
<center>
<p><a href="LINK URL">LINK TITLE</a></p>
<p><a href="LINK URL">LINK TITLE</a></p>
<p><a href="LINK URL">LINK TITLE</a></p>
<p><a href="LINK URL">LINK TITLE</a></p>
</center>
</div></div>
Problem is, it's not displaying it as a clickable image which drops the links down, it's just displaying the image with links underneath before clicking.
Help? Cheers!











