PDA

View Full Version : How to add this to header?


Ken Sanders
05-24-2010, 02:26 PM
Greetings everyone. I am wanting to add an image link to my header that gives the current gold and silver market price. Can someone please steer me how to do this?
I would like to add it here.
https://vborg.vbsupport.ru/external/2010/05/16.jpg

Here is the html code
<A HREF="http://www.kitco.com/connecting.html">
<IMG SRC="http://www.kitconet.com/images/quotes_2a.gif" BORDER="0" ALT="[Most Recent Quotes from www.kitco.com]">
</A>
Thanks

borbole
05-24-2010, 02:40 PM
Greetings everyone. I am wanting to add an image link to my header that gives the current gold and silver market price. Can someone please steer me how to do this?
I would like to add it here.
https://vborg.vbsupport.ru/external/2010/05/16.jpg

Here is the html code
<A HREF="http://www.kitco.com/connecting.html">
<IMG SRC="http://www.kitconet.com/images/quotes_2a.gif" BORDER="0" ALT="[Most Recent Quotes from www.kitco.com]">
</A>
Thanks


Any reason as to why you are using depricated tags? And the img tag is not closed properly either btw. Anyway, try this:

At the header template find the following code:

<div><a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div>

And after it add the following code:

<div style="float:right;"><a href="http://www.kitco.com/connecting.html">
<img src="http://www.kitconet.com/images/quotes_2a.gif" alt="[Most Recent Quotes from www.kitco.com]" />
</a></div>

I cleaned up the code, made it xtml valid.

Like that you will have the image like you wanted. If the image is big and overlaps the header,
use the width attribute to resize it.

If you want, you can also create a class for the second image
and define its properties at the additional.css template rather than applying them at the style tag like I did.
Whatever you want. Hope it helps.

Ken Sanders
05-24-2010, 02:50 PM
Any reason as to why you are using depricated tags? And the img tag is not closed properly either btw. Anyway, try this:

Many thanks Barbole. Not sure what you mean by depreciated tags. This is all new to me. I am using the code supplied by that site.
I'll give your suggestion a shot.
Thanks again.

borbole
05-24-2010, 03:51 PM
Many thanks Barbole. Not sure what you mean by depreciated tags. This is all new to me. I am using the code supplied by that site.
I'll give your suggestion a shot.
Thanks again.

You are welcome.

That code was using old dashioned html tags which are not xtml valid and shouldn''t be used. Anyway, use the ones I posted above as they are cleaned up.

Ken Sanders
05-24-2010, 04:08 PM
Worked like a charm Barbole. Thanks again!
Sending you a little change for your help.
Regards,
Ken

borbole
05-24-2010, 04:21 PM
Worked like a charm Barbole. Thanks again!
Sending you a little change for your help.
Regards,
Ken

You are welcome. Glad to have been of help.

Thanks, I really appreciate your gesture :)