Log in

View Full Version : Fixed image link



SoggyCashew
05-10-2009, 01:55 PM
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.
<div id="standingoutside" class="standout"></div>
here is the css code im using in my stylesheet.
.standout{
float:right;
margin-top:-50px;
background-image: url(../images/cornertrust.gif);
}

forum_amnesiac
05-10-2009, 02:13 PM
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

SoggyCashew
05-10-2009, 03:22 PM
I saw that but I am inexperienced at javascript.

forum_amnesiac
05-10-2009, 03:47 PM
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