Hi
Wired1, and thanks for an awesome hack
I'm using this for members to list their collection and I've added some code to one of the template modifications in order to prevent the dropdown from being rendered off the page. It works ok for IE, but not in FF....does anyone have any ideas???
In postbit:
FIND:
Code:
<!-- / post $post[postid] popup menu -->
After it post:
(added code marked in red)
Code:
<!-- post specs_menu -->
<div class="vbmenu_popup" id="specs_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]'s PC Specs</td>
</tr>
<if condition="$post['field5']">
<tr><td width="500px" class="vbmenu_option">Motherboard: $post[field5]</td></tr>
</if>
<if condition="$post['field6']">
<tr><td width="500px" class="vbmenu_option">Processor: $post[field6]</td></tr>
</if>
<if condition="$post['field7']">
<tr><td width="500px" class="vbmenu_option"> You get the idea. Fill in the blanks!!! </td></tr>
</if>
</table>
</div>
<!-- / post specs_menu -->
Appreciate any suggestions.
Many thanks,
Adam.
Edit:
Nevermind, managed to sort it by changing the td class and order to:
Code:
<if condition="$post['fieldX']">
<tr><td class="alt2" width="670px"><b>X:</b> $post[fieldX]</td></tr>
</if>
Cheers,
Adam.