i want to add this [help!]
3 posters
Page 1 of 1
i want to add this [help!]
i want to add this image in my forum and if i go down, the image come down... i want to add it at the buttom of the forum..
Re: i want to add this [help!]
Ok Follow this path.
ACP > Display > Templetes > General
You will see something that says "overall_footer"
EDIT that. Now, scroll down and you shall see this:
</script>
</body>
</html>
Make it look like this:
</script>
<img src="http://moonsdesigns.com/tutorials/psp8/snowglobe/md-snowglobe1.gif" alt="Snowglobe" />
</body>
</html>
If you want it Centered, out this instead:
</script>
<center>
<img src="http://moonsdesigns.com/tutorials/psp8/snowglobe/md-snowglobe1.gif" alt="Snowglobe" />
</center>
</body>
</html>
If you want it on the right put:
</script>
<right>
<img src="http://moonsdesigns.com/tutorials/psp8/snowglobe/md-snowglobe1.gif" alt="Snowglobe" />
</right>
</body>
</html>
Save Then press green + (Publish) when you're back on the list. Let me know it this worked!
ACP > Display > Templetes > General
You will see something that says "overall_footer"
EDIT that. Now, scroll down and you shall see this:
</script>
</body>
</html>
Make it look like this:
</script>
<img src="http://moonsdesigns.com/tutorials/psp8/snowglobe/md-snowglobe1.gif" alt="Snowglobe" />
</body>
</html>
If you want it Centered, out this instead:
</script>
<center>
<img src="http://moonsdesigns.com/tutorials/psp8/snowglobe/md-snowglobe1.gif" alt="Snowglobe" />
</center>
</body>
</html>
If you want it on the right put:
</script>
<right>
<img src="http://moonsdesigns.com/tutorials/psp8/snowglobe/md-snowglobe1.gif" alt="Snowglobe" />
</right>
</body>
</html>
Save Then press green + (Publish) when you're back on the list. Let me know it this worked!
RyanHowat- Forumember
- Posts : 43
Reputation : 0
Language : english
Re: i want to add this [help!]
This will float the image bottom-right. → demo (scroll page)
For all forum versions. Add code to:
Admin Panel»Display»Homepage»Generalities»Message content
closed, it will remain closed for browser session.
You can delete forum cookies to have it show
again during your current browser session.
For all forum versions. Add code to:
Admin Panel»Display»Homepage»Generalities»Message content
- Code:
<style type="text/css">
#topbar{
border:none;
position:absolute;
padding: 0px;
width: 300px;
height: 300px;
visibility: hidden;
z-index: 100;
background-image: url('');
}
#topbar img {border:none;}
#topbar a {color:black;}
#topbar a:hover{color:#b42000
</style>
<script type="text/javascript">
/* Floating Top Bar script- © (www.dynamicdrive.com)l */
var persistclose=1 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 5 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="frombottom" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document·cookie.length > 0) {
offset = document·cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document·cookie.indexOf(";", offset);
if (end == -1) end = document·cookie.length;
returnvalue=unescape(document·cookie.substring(offset, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
document·cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}
function staticbar(){
barheight=document.getElementById("topbar").offsetHeight
barwidth=document.getElementById("topbar").offsetWidth
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = iecompattest().clientWidth - barwidth - startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script><div id="topbar">
<table style="border:none;text-align:center"><tr><td>
<a href="" onClick="closebar(); return false" title="........Click to close for this session" ><img src="http://moonsdesigns.com/tutorials/psp8/snowglobe/md-snowglobe1.gif" style="margin-bottom:-28px">
close</a></td></tr></table>
</div>
closed, it will remain closed for browser session.
You can delete forum cookies to have it show
again during your current browser session.
Since the issue appears to be resolved, this topic is closed. |
RoNo |
General rules Tricks & Tips FAQ listing | For founders who lost their passwords About support requests by PM Announcements & Updates |
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum