Seite 1 von 1

suche html Extension

Verfasst: 11.11.2015 13:59
von Pascha
Da ich was in meine Forum etwas einfügen möchte in html wird es nur so angezeigt wie der Code ist.

ich es einen html Extension ?

Re: suche html Extension

Verfasst: 11.11.2015 15:54
von alfi0815
Hallo,
was suchst Du ???
Gebe einmal genau an, was Du möchtest.
So wie jetzt ist es nix!!!

Re: suche html Extension

Verfasst: 11.11.2015 16:37
von Pascha
wie im phpbb3.0 dort gab es ein mod html wo man dann in den beiträgen htlm benutzen kann

Re: suche html Extension

Verfasst: 11.11.2015 17:25
von Melmac
Hi,

was spricht denn gegen BBCodes?
Vielleicht beschreibst Du einfach mal, wofür genau Du HTML in Posts verwenden möchtest.



Tante Edith:
Steht das mit Deinem anderen Topic in Zusammenhang?

Re: suche html Extension

Verfasst: 11.11.2015 18:18
von Pascha
nein das hat nichts mit dem andere topic zu tuen

weil manche code funktionieren nicht mit BBCodes wie dieser

Code: Alles auswählen

<html>
<head>
<TITLE>Cool Linkmarker </TITLE>
<script>
<!-- Beginning of JavaScript -
var x,y
var step=5
var flag=1
var pause
var timersmall
var timerbig
var isbigcircle=1
var pause=50
var bigradius
var smallradius=50
var startwinkel=1
var imgnumber=12
var imgsrc="http://members.tripod.de/mauscodetester/star111.gif"
var xcenter
var xcenter
var pi= Math.PI
function onresizer() {
clearTimeout(timerbig)
clearTimeout(timersmall)
initiate()
}
function initiate() {
var initiatetimer=setTimeout("initiate2()",2000)
}
function initiate2() {
if (document.layers) {
xcenter=Math.floor(screen.width/2)
ycenter=Math.floor(window.innerHeight/2)
}
if (document.all) {
xcenter=Math.floor(document.body.clientWidth/2)
ycenter=Math.floor(document.body.clientHeight/2)
}
bigradius=ycenter
bigcircle()
}
function handlerMM(e){
x = (document.layers) ? e.pageX : event.clientX
y = (document.layers) ? e.pageY : event.clientY
flag=1
}
function bigcircle() {
if (isbigcircle==1) {
if (document.all) {
for (i=1; i<=imgnumber; i++) {
var thisspan = eval("document.all.span"+(i)+".style")
thisspan.posLeft=((xcenter-20)*Math.cos(startwinkel*(pi/180)))+xcenter
thisspan.posTop=((ycenter-20)*Math.sin(startwinkel*(pi/180)))+ycenter
startwinkel=startwinkel+30
}
}
if (document.layers) {
for (i=1; i<=imgnumber; i++) {
var thisspan = eval("document.span"+i)
thisspan.left=((xcenter-150)*Math.cos(startwinkel*(pi/180)))+(xcenter-145)
thisspan.top=((ycenter-20)*Math.sin(startwinkel*(pi/180)))+ycenter
startwinkel=startwinkel+30
}
}
step=step+5
startwinkel=step
timerbig=setTimeout("bigcircle()",pause)
}
else {
isbigcircle=0
clearTimeout(timerbig)
}
}
function presmallcircle() {
isbigcircle=0
clearTimeout(timerbig)
smallcircle()
}
function prebigcircle() {
isbigcircle=1
clearTimeout(timersmall)
bigcircle()
}
function smallcircle() {
if (isbigcircle==0) {
if (document.all) {
for (i=1; i<=imgnumber; i++) {
var thisspan = eval("document.all.span"+(i)+".style")
thisspan.posLeft=(smallradius*Math.cos(startwinkel*(pi/180)))+x
thisspan.posTop=(smallradius*Math.sin(startwinkel*(pi/180)))+y
startwinkel=startwinkel+30
}
}
if (document.layers) {
for (i=1; i<=imgnumber; i++) {
var thisspan = eval("document.span"+i)
thisspan.left=(smallradius*Math.cos(startwinkel*(pi/180)))+x
thisspan.top=(smallradius*Math.sin(startwinkel*(pi/180)))+y
startwinkel=startwinkel+30
}
}
step=step+5
startwinkel=step
timersmall=setTimeout("smallcircle()",pause)
}
else {
isbigcircle=0
clearTimeout(timersmall)
}
}
window.onoad=initiate()
// - End of JavaScript - -->
</script>
<STYLE>
.spanstyle {
position:absolute;
visibility:visible;
top:-50px;
font-size:10pt;
font-family:Verdana;
color:FF0000
}
.linktofun {
position:absolute;
top:240px;
left:10px;
width:560px;
color: 000000;
text-align:center;
font-size:9pt;
font-family:Arial;
font-weight:bold;
}
.explain {
position:absolute;
top:40px;
left:10px;
width:560px;
color: 000000;
text-align:center;
font-size:9pt;
font-family:Arial;
font-weight:bold;
}
A { font-family: Arial,Helvetica,sans-serif;
color: #000000;
text-decoration:underline
}
A:visited {
color: #000000;
}
</STYLE>
</HEAD>
<body bgcolor="#FFFFFF">
<script>
<!-- Beginning of JavaScript -
for (i=1;i<=imgnumber;i++) {
document.write("<span id='span"+i+"' class='spanstyle'>")
document.write("<img src='"+imgsrc+"'>")
document.write("</span>")
}
if (document.layers){
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
document.onresize = onresizer;
// - End of JavaScript - -->
</script>
</BODY>
</html>

Re: suche html Extension

Verfasst: 11.11.2015 18:29
von hililililklklklkl
Ist dies Sichtbarer Code?
Wenn nein einfach in die datei overall_header.html oder overall_footer.html

Re: suche html Extension

Verfasst: 11.11.2015 18:35
von Melmac
Melmac hat geschrieben:Vielleicht beschreibst Du einfach mal, wofür genau Du HTML in Posts verwenden möchtest.
Stelle Dir bitte einfach einmal vor, ich hätte keine Ahnung, was Du machen willst und worum es dabei überhaupt geht, was Du verwendest und woher Du dies alles hast:

Was macht dieser Code; wofür ist er da - und warum muss der in einem Post verwendet werden?
Was soll er bewirken; wie soll das Ergebnis aussehen - und wo hast Du den her?

Re: suche html Extension

Verfasst: 11.11.2015 18:45
von Pascha
Also das ist ein Mauszeiger aber nur mit Sternen und dieses soll dann angezeigt werden

Re: suche html Extension

Verfasst: 11.11.2015 19:20
von tas2580
Den Code kannst du so nicht in einen Beitrag einbauen da er einen eigenen BODY enthält, außerdem enthält er Style angaben die in den HEAD müssen. Den Code musst du also auf jeden Fall in dein Template einbauen, aber vorher auseinanderplücken und auf die richtigen Bereiche aufteilen.

Gruß Tobi

Re: suche html Extension

Verfasst: 11.11.2015 19:26
von Pascha
ok danke