Results 1 to 4 of 4

Thread: Fixed image link

  1. #1
    Join Date
    May 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fixed image link

    Hello, I'm using Zencart and wanted to add an image to the bottom right of my screen. I want this image to stay on top of all pages and always be visible. I needed it to work like the comodo SSL image but without the mouse over effect. I added a div tag to my main page.php file and some css in my stylesheet and I just cant get the image to stay there.
    Code:
    <div id="standingoutside" class="standout"></div>
    here is the css code im using in my stylesheet.
    Code:
    .standout{
    float:right;
    margin-top:-50px;
    background-image: url(../images/cornertrust.gif);
    }

  2. #2
    Join Date
    Apr 2009
    Location
    Cognac, France
    Posts
    400
    Thanks
    2
    Thanked 57 Times in 57 Posts

    Default

    If you want to have an image in any of the four corners that stays there all the time have a look at this link

    http://www.dynamicdrive.com/dynamicindex4/logo.htm

  3. #3
    Join Date
    May 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I saw that but I am inexperienced at javascript.

  4. #4
    Join Date
    Apr 2009
    Location
    Cognac, France
    Posts
    400
    Thanks
    2
    Thanked 57 Times in 57 Posts

    Default

    You don't need to be an expert at javascript to implement this code, the explanation given with is quite easy to follow. It tells you where to place the code, what to change for the position of the image, it asks for the URL of the image, and then the duration, you enter 0 if you want it displayed permanently on the page.

    Give it a try, and if you have difficulties with it then just post here and you'll be sure to get help

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •