The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with a tiny bit of code please?
Hi peeps
With this bit of code below the 2 images appear on seperate lines I would like them to appear on the same line but with a couple of spaces seperating them, I have tried a few ways but as i aint a coder i am struggling Please advise? Code:
<if condition="$post['field25']"><div class="info"><a target="_blank" href="http://feedback.ebay.co.uk/ws/eBayISAPI.dll?ViewFeedback&userid=$post[field25]"> <img border="0" src="http://www.bashys-place.com/forums/images/misc/mybay.gif" alt="View eBay Feedback"></a></div> </if> <if condition="$post['field26']"><div class="info"><a target="_blank" href="http://spaces.msn.com/$post[field26]"> <img border="0" src="http://www.bashys-place.com/images/msn.gif" alt="View myspace profile"></a></div> </if> |
#2
|
||||
|
||||
try that one:
HTML Code:
<if condition="$post['field25']"><span class="info"><a target="_blank" href="http://feedback.ebay.co.uk/ws/eBayISAPI.dll?ViewFeedback&userid=$post[field25]"> <img border="0" src="http://www.bashys-place.com/forums/images/misc/mybay.gif" alt="View eBay Feedback"></a></span> </if> <if condition="$post['field26']"><span class="info"><a target="_blank" href="http://spaces.msn.com/$post[field26]"> <img border="0" src="http://www.bashys-place.com/images/msn.gif" alt="View myspace profile"></a></span> </if> |
#3
|
|||
|
|||
Absolutely perfect m8, Thank you, At least i can learn a little from seeing what you have done...
Thanks again, that ws spot on |
#4
|
||||
|
||||
you're welcome
|
#5
|
||||
|
||||
you many want to add the spaces (   within the first conditional
eg. if field25 is not available spaces are not needed |
#6
|
|||
|
|||
You had to do it didnt you...
You went straight over my head with that 1 lol |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|