Ezswo
11-03-2007, 10:25 AM
Hello all,
I'm working on a style for vBulletin that I used to have when I had a Integramod board, which is called BBLite.
I have edited the "showthread" template and made a toolbar with images at the top of this page where I relocated the threadtools (threadtools are originally in a dropdown-box in a toolbar right above the postbits). You can see in attachment 1 that the dropdownbox for the search-image is working fine.
Now, here's the problem: I copied the exact same code (which is the original code by the way) to the bottom of the page, where I have the same toolbar with images (you can see this in attachment 2). But, in this instance the dropdown box is NOT working?? (in this instance it reloads the page so that the non-pop-up content at the bottom of the page is shown...this is normally for non-pop-up browsers, or for browsers without Javascript enabled).
How can I get this second searchbox to work as the first, i.e. that it also shows the dropdown menu as in the first attachment?
My code in both instances is this:<if condition="$show['search']">
<td id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch"><img class="inlineimg" src="$stylevar[imgdir_misc]/ns_icon_search.gif" alt="$vbphrase[search_this_thread]" border="0" /></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch", 1); </script></if>
</td>
</if>Thank you for your time,
Ezra
I'm working on a style for vBulletin that I used to have when I had a Integramod board, which is called BBLite.
I have edited the "showthread" template and made a toolbar with images at the top of this page where I relocated the threadtools (threadtools are originally in a dropdown-box in a toolbar right above the postbits). You can see in attachment 1 that the dropdownbox for the search-image is working fine.
Now, here's the problem: I copied the exact same code (which is the original code by the way) to the bottom of the page, where I have the same toolbar with images (you can see this in attachment 2). But, in this instance the dropdown box is NOT working?? (in this instance it reloads the page so that the non-pop-up content at the bottom of the page is shown...this is normally for non-pop-up browsers, or for browsers without Javascript enabled).
How can I get this second searchbox to work as the first, i.e. that it also shows the dropdown menu as in the first attachment?
My code in both instances is this:<if condition="$show['search']">
<td id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch"><img class="inlineimg" src="$stylevar[imgdir_misc]/ns_icon_search.gif" alt="$vbphrase[search_this_thread]" border="0" /></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch", 1); </script></if>
</td>
</if>Thank you for your time,
Ezra