Clickable Background Image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Va2k
    I’m still alive barley.
    • Oct 2001
    • 10060

    #1

    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
  • Webmaster Advertising
    So Fucking Banned
    • Sep 2003
    • 1360

    #2
    Why don't you just make it a banner in the main page template instead of a background image? Problem solved, you're welcome

    Comment

    • Va2k
      I’m still alive barley.
      • Oct 2001
      • 10060

      #3
      Originally posted by Webmaster Advertising
      Why don't you just make it a banner in the main page template instead of a background image? Problem solved, you're welcome
      Um done it didn't like it reason I put it via background! Problem NOT solved But thanks.

      Comment

      • Webmaster Advertising
        So Fucking Banned
        • Sep 2003
        • 1360

        #4
        Originally posted by Fungus
        Um done it didn't like it reason I put it via background! Problem NOT solved But thanks.
        Did you edit the css file too or just drop an image in the HTML?

        You probably have a huge ass css file defining template zones that you will need to edit to get it to work properly...

        Comment

        • Va2k
          I’m still alive barley.
          • Oct 2001
          • 10060

          #5
          Originally posted by Webmaster Advertising
          Did you edit the css file too or just drop an image in the HTML?

          You probably have a huge ass css file defining template zones that you will need to edit to get it to work properly...
          Everthing was done via css!

          Comment

          • Colmike9
            (>^_^)b
            • Dec 2011
            • 7230

            #6
            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;
            }
            Join the BEST cam affiliate program on the internet!
            I've referred over $1.7mil in spending this past year, you should join in.
            I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

            Comment

            • helterskelter808
              So Fucking Banned
              • Sep 2010
              • 3405

              #7
              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.

              Comment

              • Va2k
                I’m still alive barley.
                • Oct 2001
                • 10060

                #8
                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

                Comment

                • helterskelter808
                  So Fucking Banned
                  • Sep 2010
                  • 3405

                  #9
                  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/

                  Comment

                  • Va2k
                    I’m still alive barley.
                    • Oct 2001
                    • 10060

                    #10
                    Originally posted by helterskelter808
                    Thanks but the first page can't read it... and it looks like its only for a scrolling side bar!

                    Comment

                    • helterskelter808
                      So Fucking Banned
                      • Sep 2010
                      • 3405

                      #11
                      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.

                      Comment

                      • Va2k
                        I’m still alive barley.
                        • Oct 2001
                        • 10060

                        #12
                        Originally posted by helterskelter808
                        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.
                        Naw don';t mind it scrolling Thanks though/

                        Comment

                        Working...