News:

Wondering if this will always be free?  See why free is better.

Main Menu

Links in header banners. Can it be done?

Started by kat, August 17, 2005, 01:21:21 PM

Previous topic - Next topic

kat

We've made a banner and fitted it to all themes that we use. What we'd like to have, though, is text on the banner that are clickable links, if that makes sense.

I know squat about php, sadly, but this could be where I start to learn...

Any ideas?


kat

Well, that means nothing, to me. I like your style, though, Brõck. A clue is exactly what I wanted. Something to give me a start. I'll do a bit of research, which I can learn from, with that as a start.

Thanks!

xenovanis

You'll want something like this:


// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '
<a href="http://www.yoursite.com" border="0" target="_blank"><img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt="" /></a>
"Insanity: doing the same thing over and over again and expecting different results."

charlottezweb

Actually, I think image mapping is what he was looking for...like the xtSMF theme done awhile back uses for its menu.

I think he wants to have links coded to match parts of a static image.  That will require mapping.

-Jason

kat

Yeah!

To clarify, we need to have text, on the banner. About four lines split into two sides, where clicking in the text takes you to different url's.

evolus

#6
I prefer my version, with CSS, compatible XHTML, you can see it with http://www.xxlaperobar.be  the logo is in a id, you can make a span, & text if you want...

kat

That looks brilliant!

As a coder, though, my experience is limited to Amiga BASIC, AMOS and ZX Spectrum BASIC, so that lot's going to be impossible to do, for me!

I'll investigate what I can do with the php suggestions, first, I think.

<Wanders into the sunset muttering "Make a backup-make a backup-make a backup.......">

Thanks for the input, everyone!

Advertisement: