Quote:
Originally Posted by pushpullbar
Thanks for posting this. I wanted to reinstate the flags since upgrading to vb4
Here is a little trick on how you can make it so when you hover the cursor over the flag, you actually get the name of the country.
PHP Code:
<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" alt="{vb:raw post.fieldX}" border="" /></vb:if>
<!-- Wy Flags End -->
make sure of course you change the X to the correct field number.
It's a great way to learn country flags.
|
Thank You very much for that Mate - you have saved me doing it. I have been meaning to do it for a while, but never got around to it.