The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

i want to add this [help!]

View previous topic View next topic Go down

Solved i want to add this [help!]

Post by gregory1313 on December 23rd 2010, 6:58 pm

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

gregory1313
Forumember

Male Posts : 64
Reputation : 0
Language : english

http://greekdownload.forumotion.com

Back to top Go down

Solved Re: i want to add this [help!]

Post by RyanHowat on December 23rd 2010, 7:05 pm

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!

RyanHowat
Forumember

Posts : 43
Reputation : 0
Language : english

Back to top Go down

Solved Re: i want to add this [help!]

Post by gregory1313 on December 23rd 2010, 9:03 pm

thank you friend!

gregory1313
Forumember

Male Posts : 64
Reputation : 0
Language : english

http://greekdownload.forumotion.com

Back to top Go down

Solved Re: i want to add this [help!]

Post by RoNo on December 24th 2010, 11:42 am

This will float the image bottom-right.    → demo (scroll page)

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>
Click image to close. Once the image is manually
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

RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum