![]() |
Clickable Background Image
Hey folks was wondering if anyone knows how to make a background image become a clickable image? Take a look http://www.analscream.com/Anal and look at my background image of sexykaren far right, how could I make it so if anyone clicks around that pic it would go to her site? Hope someone here would know. Thanks
TOM ps this is nubiles tube script |
Why don't you just make it a banner in the main page template instead of a background image? Problem solved, you're welcome :)
|
Quote:
|
Quote:
You probably have a huge ass css file defining template zones that you will need to edit to get it to work properly... |
Quote:
|
MAke a regular link and give it an ID: <a href="" id="imglogo">Text</a>
Then add this CSS, hiding the text with text-indent:-9999px;: #imglogo { background-image:url(IMGURL); text-indent:-9999px; display:block; height:numberpx; width:numberpx; } |
With CSS you can position it anywhere on the page, and make it fixed/non-scrolling (if that's why you want it as a background). To make that area clickable you'd need something 'invisible' there to click, and you may as well just have the banner there.
|
Thanks mike and helter will try it in a few working on my new office trying to move in this week, so once I am finish sanding the walls and finishing up the sheet rock I will give this a try and if anyone else knows a thing or two please post :)
|
Here's an example of what I was thinking of:
http://css-tricks.com/examples/ScrollingSidebar/css.php Code: http://css-tricks.com/scrollfollow-sidebar/ |
Quote:
|
It's for a 'sidebar' (which could be a banner) that doesn't move when you scroll the page. I thought that's maybe why you wanted a background image, so it didn't move when the page scrolls. Not sure why it won't load for you.
|
Quote:
|
All times are GMT -7. The time now is 08:00 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc