• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Fenster soll sich zentriert öffnen und keiner sein

Status
Für weitere Antworten geschlossen.

crumic

Neues Mitglied
Hi,
hoffe es kann jemand helfen.
bin gerade dabei, meine (nicht von mir erstellte) Seite zu überarbeiten. mit der Startseite habe ich begonnen. wenn du dort als auf "New" klickst, wird dann in Zukunft die neue Seite sichtbar.

Wenn du auf "enter" klickst, öffnet sich die meine noch aktuelle Seite.
leider ploppt sie nun nicht mehr in der Mitte auf. Auch ist das Browserfenster nicht mehr, größenmäßig an die Flasemelement angepaßt, bevor ich die Startseite aktualisiert hatte, funktionierte es noch.

meine frage: Gibt es einen Befehl der die Seite in der Mitte aufplopppen läßt und sich auch großen´massig an die Flashdatei anpaßt....


Hoffe auf eure Hilfe!
Grüße Crumic

EDIT:
ach ja...
die seite um die es geht findet ihr unter

mcrupi.de

sorry wegen der meiner rechtschreibung.
 
Zuletzt bearbeitet:
danke cromafia,

aber wo genau setze ich

" body {
text-align:center;
}"


hin?

hab es versucht ohne veränderung!
Und in welchen Quelltext, vom der Indexseite oder wenn du, zb, auf Impressum klickst?
 
zwischen den "head" start und end Tag und zwar so

Code:
<style type="text/css">
body {
    text-align: center;
}
</style>

du kannst es auch in eine .css datei schreiben und dann per "link" Tag oder mittels CSS import über das "style" tag einfügen. :)
 
Ich komme immer noch nicht klar,, wo genau muss ich den befehl nun eintragen?

<
html>
<
head>
<
meta http-equiv="Content-Type"
content="
text/html; charset=iso-8859-1">
<
meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<
title>^^^^^^^^^^^^ ^^^^^^^^^^^^</title>
<
csactions>
<
/csactions>
<
csaction name="B814C4C80" class="Open Window" type="ONEVENT" val0="flash/flashweiche.html" val1 val2="550" val3="420" val4="false" val5="false" val6="false" val7="false" val8="false" val9="false" val10="false">
<
/csaction>
<
csscriptdict>
<
/csscriptdict>
<
csactiondict>
<
/csactiondict>
<
/head>
<
body bgcolor="#0066FF">
<
script language="javascript">
<!--
function winOpen(url, breite, hoehe) {
links = (screen.width/2)-(breite/2);
oben = (screen.height/2)-(hoehe/2);
window.open(url,"popup","height="+hoehe+",width="+breite+",status = no,toolbar = no,menubar = no,location = no,resizable = no,titlebar = no,scrollbars = yes ,fullscreen = no,top ="+oben+",left ="+links);
}{ text-align:center; }
//-->
<
/script><script><!--
function CSClickReturn () {
var bAgent = window.navigator.userAgent;
var bAppName = window.navigator.appName;
if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
return true; // dont follow link
else return false; // dont follow link
}
CSStopExecution = false;
function CSAction(array) {
return CSAction2(CSAct, array);
}
function CSAction2(fct, array) {
var result;
for (var i=0;i<array.length;i++) {
if(CSStopExecution) return false;
var actArray = fct[array];
if(actArray == null) return false;
var tempArray = new Array;
for(var j=1;j<actArray.length;j++) {
if((actArray[j] != null) && (typeof(actArray[j]) == "object") && (actArray[j].length == 2)) {
if(actArray[j][0] == "VAR") {
tempArray[j] = CSStateArray[actArray[j][1]];
}
else {
if(actArray[j][0] == "ACT") {
tempArray[j] = CSAction(new Array(new String(actArray[j][1])));
}
else
tempArray[j] = actArray[j];
}
}
else
tempArray[j] = actArray[j];
}
result = actArray[0](tempArray);
}
return result;
}
CSAct = new Object;
function CSOpenWindow(action) {
var wf = "";
wf = wf + "width=" + action[3];
wf = wf + ",height=" + action[4];
wf = wf + ",resizable=" + (action[5] ? "yes" : "no");
wf = wf + ",scrollbars=" + (action[6] ? "yes" : "no");
wf = wf + ",menubar=" + (action[7] ? "yes" : "no");
wf = wf + ",toolbar=" + (action[8] ? "yes" : "no");
wf = wf + ",directories=" + (action[9] ? "yes" : "no");
wf = wf + ",location=" + (action[10] ? "yes" : "no");
wf = wf + ",status=" + (action[11] ? "yes" : "no");
window.open(action[1],action[2],wf);
}
// --><
/script><script><!--
CSAct[/*CMP*/ 'B814C4C80'] = new Array(CSOpenWindow,/*URL*/ 'flash/flashweiche.html','',550,420,false,false,false,false,false,false,false);
// --><
/script>
<
table border="0" cellpadding="0" cellspacing="0" width="100%"
height="
90%">
<
tbody> <tr>
<
td align="center" height="90%">&nbsp;</td>
<
/tr>
<
tr>
<
td align="center" valign="top">&nbsp; </td>
<
/tr>
<
tr>
<
td><p align="right"><img src="impressunangaben.gif"
width="
502" height="18"></p>
<
/td>
<
/tr>
<
/table>
<
p>&nbsp;</p>
<
p>&nbsp;</p>
<
p>&nbsp;</p>
<
/body>
<
/html>
 
hi,
das muss dann so aussehen:
Code:
[COLOR=black]<html>[/COLOR]
[COLOR=black]<head>[/COLOR]
[COLOR=black]<style type="text/css">[/COLOR]
[COLOR=black]body {[/COLOR]
[COLOR=black]text-align: center;[/COLOR]
[COLOR=black]}[/COLOR]
[COLOR=black]</style>[/COLOR]
[COLOR=black]<meta http-equiv="Content-Type[/COLOR][COLOR=black]"[/COLOR]
[COLOR=black]content="text/html; charset=iso-8859-1">[/COLOR]
[COLOR=black]<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">[/COLOR]
[COLOR=black]<title>^^^^^^^^^^^^ ^^^^^^^^^^^^</title>[/COLOR]
[COLOR=black]<csactions>[/COLOR]
[COLOR=black]</csactions>[/COLOR]
[COLOR=black]<csaction name="B814C4C80" class="Open Window" type="ONEVENT" val0="flash/flashweiche.html" val1 val2="550" val3="420" val4="false" val5="false" val6="false" val7="false" val8="false" val9="false" val10="false">[/COLOR]
[COLOR=black]</csaction>[/COLOR]
[COLOR=black]<csscriptdict>[/COLOR]
[COLOR=black]</csscriptdict>[/COLOR]
[COLOR=black]<csactiondict>[/COLOR]
[COLOR=black]</csactiondict>[/COLOR]
[COLOR=black]</head>[/COLOR]
[COLOR=black]<body bgcolor="#0066FF">[/COLOR]
[COLOR=black]<script language="javascript">[/COLOR]
[COLOR=black]<!--[/COLOR]
[COLOR=black]function winOpen(url, breite, hoehe) {[/COLOR]
[COLOR=black]links = (screen.width/2)-(breite/2);[/COLOR]
[COLOR=black]oben = (screen.height/2)-(hoehe/2);[/COLOR]
[COLOR=black]window.open(url,"popup","height="+hoehe+",width="+ breite+",status = no,toolbar = no,menubar = no,location = no,resizable = no,titlebar = no,scrollbars = yes ,fullscreen = no,top ="+oben+",left ="+links);[/COLOR]
[COLOR=black]}{ text-align:center; }[/COLOR]
[COLOR=black]//-->[/COLOR]
[COLOR=black]</script><script><!--[/COLOR]
[COLOR=black]function CSClickReturn () {[/COLOR]
[COLOR=black]var bAgent = window.navigator.userAgent; [/COLOR]
[COLOR=black]var bAppName = window.navigator.appName;[/COLOR]
[COLOR=black]if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))[/COLOR]
[COLOR=black]return true; // dont follow link[/COLOR]
[COLOR=black]else return false; // dont follow link[/COLOR]
[COLOR=black]}[/COLOR]
[COLOR=black]CSStopExecution = false;[/COLOR]
[COLOR=black]function CSAction(array) { [/COLOR]
[COLOR=black]return CSAction2(CSAct, array);[/COLOR]
[COLOR=black]}[/COLOR]
[COLOR=black]function CSAction2(fct, array) { [/COLOR]
[COLOR=black]var result;[/COLOR]
[COLOR=black]for (var i=0;i<array.length;i++) {[/COLOR]
[COLOR=black]if(CSStopExecution) return false; [/COLOR]
[COLOR=black]var actArray = fct[array[i]];[/COLOR]
[COLOR=black]if(actArray == null) return false; [/COLOR]
[COLOR=black]var tempArray = new Array;[/COLOR]
[COLOR=black]for(var j=1;j<actArray.length;j++) {[/COLOR]
[COLOR=black]if((actArray[j] != null) && (typeof(actArray[j]) == "object") && (actArray[j].length == 2)) {[/COLOR]
[COLOR=black]if(actArray[j][0] == "VAR") {[/COLOR]
[COLOR=black]tempArray[j] = CSStateArray[actArray[j][1]];[/COLOR]
[COLOR=black]}[/COLOR]
[COLOR=black]else {[/COLOR]
[COLOR=black]if(actArray[j][0] == "ACT") {[/COLOR]
[COLOR=black]tempArray[j] = CSAction(new Array(new String(actArray[j][1])));[/COLOR]
[COLOR=black]}[/COLOR]
[COLOR=black]else[/COLOR]
[COLOR=black]tempArray[j] = actArray[j];[/COLOR]
[COLOR=black]}[/COLOR]
[COLOR=black]}[/COLOR]
[COLOR=black]else[/COLOR]
[COLOR=black]tempArray[j] = actArray[j];[/COLOR]
[COLOR=black]} [/COLOR]
[COLOR=black]result = actArray[0](tempArray);[/COLOR]
[COLOR=black]}[/COLOR]
[COLOR=black]return result;[/COLOR]
[COLOR=black]}[/COLOR]
[COLOR=black]CSAct = new Object;[/COLOR]
[COLOR=black]function CSOpenWindow(action) {[/COLOR]
[COLOR=black]var wf = ""; [/COLOR]
[COLOR=black]wf = wf + "width=" + action[3];[/COLOR]
[COLOR=black]wf = wf + ",height=" + action[4];[/COLOR]
[COLOR=black]wf = wf + ",resizable=" + (action[5] ? "yes" : "no");[/COLOR]
[COLOR=black]wf = wf + ",scrollbars=" + (action[6] ? "yes" : "no");[/COLOR]
[COLOR=black]wf = wf + ",menubar=" + (action[7] ? "yes" : "no");[/COLOR]
[COLOR=black]wf = wf + ",toolbar=" + (action[8] ? "yes" : "no");[/COLOR]
[COLOR=black]wf = wf + ",directories=" + (action[9] ? "yes" : "no");[/COLOR]
[COLOR=black]wf = wf + ",location=" + (action[10] ? "yes" : "no");[/COLOR]
[COLOR=black]wf = wf + ",status=" + (action[11] ? "yes" : "no"); [/COLOR]
[COLOR=black]window.open(action[1],action[2],wf);[/COLOR]
[COLOR=black]}[/COLOR]
[COLOR=black]// --></script><script><!--[/COLOR]
[COLOR=black]CSAct[/*CMP*/ 'B814C4C80'] = new Array(CSOpenWindow,/*URL*/ 'flash/flashweiche.html','',550,420,false,false,false,fal se,false,false,false);[/COLOR]
[COLOR=black]// --></script>[/COLOR]
[COLOR=black]<table border="0" cellpadding="0" cellspacing="0" width="100%[/COLOR][COLOR=black]"[/COLOR]
[COLOR=black]height="90%">[/COLOR]
[COLOR=black]<tbody> <tr>[/COLOR]
[COLOR=black]<td align="center" height="90%">&nbsp;</td>[/COLOR]
[COLOR=black]</tr>[/COLOR]
[COLOR=black]<tr>[/COLOR]
[COLOR=black]<td align="center" valign="top">&nbsp; </td>[/COLOR]
[COLOR=black]</tr>[/COLOR]
[COLOR=black]<tr>[/COLOR]
[COLOR=black]<td><p align="right"><img src="impressunangaben.gif[/COLOR][SIZE=1][SIZE=2][COLOR=black]"[/COLOR][/SIZE]
[SIZE=1][COLOR=black]width="502" height="18"></p>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]</td>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]</tr>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]</table>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]<p>&nbsp;</p>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]<p>&nbsp;</p>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]<p>&nbsp;</p>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]<br /><div style="z-index:3" class="smallfont" align="center"><!-- google_ad_section_start(weight=ignore) -->Search Engine Optimization by <a onclick="urchinTracker ('/outgoing/http_www_vbseo_com_622_');urchinTracker ('/outgoing/http_www_vbseo_com_622_');urchinTracker ('/outgoing/http_www_vbseo_com_622_');" rel="nofollow" href="http://www.vbseo.com/622/">vBSEO</a> 3.0.0<!-- google_ad_section_end --></div>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">[/COLOR][/SIZE]
[SIZE=1][COLOR=black]</script>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]<script type="text/javascript">[/COLOR][/SIZE]
[SIZE=1][COLOR=black]_uacct = "UA-1671491-1";[/COLOR][/SIZE]
[SIZE=1][COLOR=black]urchinTracker();[/COLOR][/SIZE]
[SIZE=1][COLOR=black]</script>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]<br /><div style="z-index:3" class="smallfont" align="center"><!-- google_ad_section_start(weight=ignore) -->Search Engine Optimization by <a onclick="urchinTracker ('/outgoing/http_www_vbseo_com_622_');urchinTracker ('/outgoing/http_www_vbseo_com_622_');" rel="nofollow" href="http://www.vbseo.com/622/">vBSEO</a> 3.0.0<!-- google_ad_section_end --></div>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">[/COLOR][/SIZE]
[SIZE=1][COLOR=black]</script>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]<script type="text/javascript">[/COLOR][/SIZE]
[SIZE=1][COLOR=black]_uacct = "UA-1671491-1";[/COLOR][/SIZE]
[SIZE=1][COLOR=black]urchinTracker();[/COLOR][/SIZE]
[SIZE=1][COLOR=black]</script>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]<br /><div style="z-index:3" class="smallfont" align="center"><!-- google_ad_section_start(weight=ignore) -->Search Engine Optimization by <a onclick="urchinTracker ('/outgoing/http_www_vbseo_com_622_');" rel="nofollow" href="http://www.vbseo.com/622/">vBSEO</a> 3.0.0<!-- google_ad_section_end --></div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1671491-1";
urchinTracker();
</script>
</body>[/COLOR][/SIZE]
[SIZE=1][COLOR=black]</html>[/COLOR][/SIZE]
[/SIZE]

Dann dürfte es passen ;)

MfG,
TC
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben