[HTML] Html Code in ein bestehendes Javascript einbinden

diablo30

kennt sich schon aus
Html Code in ein bestehendes Javascript einbinden

Hallo zusammen :)
Ich habe da ein Problem!

Habe eine Internetseite (www.niggeloh.de).
Wo ich was ändern muß, auf der Seite Shop, die ich über
auf der rechtenseite befindlichen Navigation überden Button Shop erreiche.
Nun geht es um das Bild in der Mitte mit dem Hund, die Kammera u.s.w. die ganze Navigation funz !(rechts als auch oben)
Nun habe ich folgendes Problem !
Es soll nun so sein wenn ich mit der Maus über die Bilder fahre,
also über die Kammera, den Hund u.s.w. soll die möglichkeit besten das ich zu den entsprechenden Seiten weitergeleitet werde wenn ich das entsprechende Motiv anklicke.

Da das hintergrund Bild ein einziges JPG ist, habe ich es mit Fireworks so Bearbeitet das ich die 5 Bilder einzeln habe und die verlinkung zu den ensprechenden Seiten auf die Bilder definierren konnte und das ganze als html abspeichern konnte.
Code:
<html>
<head>
<title>main-bgr</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (main-bgr.psd) -->
<a href="http://niggeloh.de/index.html">
	<img src="Bilder/main-bgr.jpg" width="1500" height="1100" border="0" alt="" usemap="#main_bgr_Map"></a>
<map name="main_bgr_Map">
<area shape="rect" alt="Jagd" coords="254,224,449,364" href="http://www.niggeloh.de/shop/index.html?cat=WG3">
<area shape="rect" alt="Foto / Optik" coords="162,117,297,276" href="http://www.niggeloh.de/shop/index.html?cat=WG02">
<area shape="rect" alt="Outdoor / Fun" coords="24,206,197,348" href="http://www.niggeloh.de/shop/index.html?cat=WG04">
<area shape="rect" alt="Industrie / Hanwerk" coords="298,44,450,206" href="http://www.niggeloh.de/shop/index.html?cat=WG06">
<area shape="rect" alt="Hundezubehör" coords="44,44,198,190" href="http://www.niggeloh.de/shop/index.html?cat=WG05">
<area shape="rect" alt="" coords="0,0,1500,1100" href="http://niggeloh.de/index.html">
</map>
<!-- End ImageReady Slices -->
</body>
</html>

dann begann die suche nach dem Origenal Quelltext den ich ja ändern mußte damit das angezeigt wird so wie ich es wollte habe die Datei auch gefunden.
Sie sieht so aus:

die entsprechende stelle die ich ändern muß versuche ich euch mal zu makieren.
Code:
<html>
<head>
<script language="JavaScript">
<!--
document.write('<script src="Data/ShopPar.js"><\/script>');document.write('<script src="Code/AddData.js"><\/script>');document.write('<script src="Code/GlobalCode.js"><\/script>');
// -->
</script>
<script language="JavaScript">
<!--
initTemplate();
// -->
</script>
<script language="JavaScript">
<!--
document.write('<script src="Code/TemplateCode.js"><\/script>');
// -->
</script>
<script language="JavaScript">
<!--
document.write('<script src="Code/SetObjectsCode.js"><\/script>');
//-->
</script>
<script language="JavaScript">
<!--
function ScriptBlockblk1(){function output(s){outlist[outlist.length]=s}var outlist=new Array();output('<title>');output(toText(shop.shopTexts.getText('SN_ShopTitleText')));output(' - Startseite<\/title>');this.outs=outlist.join('');}var block=new ScriptBlockblk1();output(block.outs);output('\n');
function ScriptBlockcss(){function output(s){outlist[outlist.length]=s}var outlist=new Array();output('\n');
output('<style type=\"text\/css\">\n');
output('<!');output('--');
shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_GlobalFontFace');if(shop.font!=null){if(shop.font.face!=null){
 output('body');output('{');output('font-family:');if(shop.font!=null)output(shop.font.face);output('}');
}}shop.font=shop.lFont.pop();
output('table.InfoBox');output('{');output('border:1px ');if(shop.colors.getByName('SN_Main_Info_BoxFrameColor')!=null)output(shop.colors.getByName('SN_Main_Info_BoxFrameColor'));output(' solid;width:100%');output('}');
output('td.head');output('{');output('background-color:');if(shop.colors.getByName('SN_Main_Info_BoxHeaderColor')!=null)output(shop.colors.getByName('SN_Main_Info_BoxHeaderColor'));output(';padding:3px 3px 3px 3px');output('}');
output('td.info');output('{');output('background-color: ');if(shop.colors.getByName('SN_Main_Info_BoxColor')!=null)output(shop.colors.getByName('SN_Main_Info_BoxColor'));output(';padding:3px 3px 3px 3px');output('}');
output('--');output('>');
output('<\/style>');
this.outs=outlist.join('');}var block=new ScriptBlockcss();output(block.outs);
output('<\/head>');
function ScriptBlockblk5(){function output(s){outlist[outlist.length]=s}var outlist=new Array();

[U][u]shop.lImage.push(shop.image);shop.image=shop.designImages.getByName('SN_Main_Info_BgImage');
output('<body text="');[/u] [/U] 

if(shop.colors.getByName('SN_Main_Info_StdTextFontColor')!=null)output(shop.colors.getByName('SN_Main_Info_StdTextFontColor')); output('" bgcolor="'); if(shop.colors.getByName('SN_Main_Info_Color')!=null)output(shop.colors.getByName('SN_Main_Info_Color')); output('" link="'); if(shop.colors.getByName('SN_Main_Info_NormalLinkFontColor')!=null)output(shop.colors.getByName('SN_Main_Info_NormalLinkFontColor')); output('" alink="'); if(shop.colors.getByName('SN_Main_Info_ActiveLinkFontColor')!=null)output(shop.colors.getByName('SN_Main_Info_ActiveLinkFontColor')); output('" vlink="'); if(shop.colors.getByName('SN_Main_Info_VisitedLinkFontColor')!=null)output(shop.colors.getByName('SN_Main_Info_VisitedLinkFontColor')); output('" onLoad="'); output('javascript:restoreFrame(window);'); output('" {!if image.exists} background="'); if(shop.image!=null)output(shop.image.getSrc()); output('" {!end}>');
shop.image=shop.lImage.pop();
output('<table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"10\">');
output('<tr>');
output('<td valign=\"top\">');
 output('<p>');shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_Header1Font');if(shop.font!=null)output(shop.font.getBegin());output(shop.shopTexts.getText('SN_InfoPageHeader'));if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();output('<\/p>');
 shop.lImage.push(shop.image);shop.image=shop.shopImages.getByName('SN_Main_Info_InfoPageImage');
 if(shop.image!=null){output('<img src="'); if(shop.image!=null)output(shop.image.getSrc()); output('" width="'); if(shop.image!=null)output(shop.image.width); output('" height="'); if(shop.image!=null)output(shop.image.height); output('" style="margin-bottom:7px">');output('<br>');}
 shop.image=shop.lImage.pop();
 shop.lImage.push(shop.image);shop.image=shop.shopImages.getByName('SN_Main_Info_InfoPageImageLeft');
  if(shop.image!=null){output('<img src="'); if(shop.image!=null)output(shop.image.getSrc()); output('" width="'); if(shop.image!=null)output(shop.image.width); output('" height="'); if(shop.image!=null)output(shop.image.height); output('" align="left" style="margin-right:7px">');}
 shop.image=shop.lImage.pop();
 shop.lImage.push(shop.image);shop.image=shop.shopImages.getByName('SN_Main_Info_InfoPageImageRight');
  if(shop.image!=null){output('<img src="'); if(shop.image!=null)output(shop.image.getSrc()); output('" width="'); if(shop.image!=null)output(shop.image.width); output('" height="'); if(shop.image!=null)output(shop.image.height); output('" align="right" style="margin-left:7px">');}
 shop.image=shop.lImage.pop();output('<br>');shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_StdTextFont');if(shop.font!=null)output(shop.font.getBegin());output(shop.shopTexts.getText('SN_Info'));if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
output('<\/td>');

if(shop.shopTexts.entries['SN_InfoBox1Header']!=null){output('<td valign=\"top\" width=\"25%\">');}else{
if(shop.shopTexts.entries['SN_InfoBox2Header']!=null){output('<td valign=\"top\" width=\"25%\">');}else{
if(shop.shopTexts.entries['SN_InfoBox3Header']!=null){output('<td valign=\"top\" width=\"25%\">');}}}
output('<!--#Begin Infobox1-->');
if(shop.shopTexts.entries['SN_InfoBox1Header']!=null){
output('<table class=\"InfoBox\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"head\">');
 shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxHeaderFont');if(shop.font!=null)output(shop.font.getBegin());
  output(shop.shopTexts.getText('SN_InfoBox1Header'));
 if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
 output('<\/td><\/tr>');
 output('<tr><td class=\"info\">');
 shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxFont');if(shop.font!=null)output(shop.font.getBegin());
  output(shop.shopTexts.getText('SN_InfoBox1Text'));
 if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
shop.lLink.push(shop.link);shop.link=shop.links.getByName('NEU');output(' ');if(shop.link!=null)output(shop.link.writePageLinkImages()+shop.link.writePageLink());output(' ');shop.link=shop.lLink.pop();
output('<\/td><\/tr><\/table>');}
output('<!--#End Infobox1-->');output('<p>');
output('<!--#Begin Infobox2-->');
if(shop.shopTexts.entries['SN_InfoBox2Header']!=null){
output('<table class=\"InfoBox\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"head\">');
 shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxHeaderFont');if(shop.font!=null)output(shop.font.getBegin());
  output(shop.shopTexts.getText('SN_InfoBox2Header'));
 if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
 output('<\/td><\/tr>');
 output('<tr><td class=\"info\">');
 shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxFont');if(shop.font!=null)output(shop.font.getBegin());
  output(shop.shopTexts.getText('SN_InfoBox2Text'));
 if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
output('<\/td><\/tr><\/table>');}
output('<!--#End Infobox2-->');output('<p>');
output('<!--#Begin Infobox3-->');
if(shop.shopTexts.entries['SN_InfoBox3Header']!=null){
output('<table class=\"InfoBox\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"head\">');
 shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxHeaderFont');if(shop.font!=null)output(shop.font.getBegin());
  output(shop.shopTexts.getText('SN_InfoBox3Header'));
 if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
 output('<\/td><\/tr>');
 output('<tr><td class=\"info\">');
 shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxFont');if(shop.font!=null)output(shop.font.getBegin());
  output(shop.shopTexts.getText('SN_InfoBox3Text'));
 if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
output('<\/td><\/tr><\/table>');}
output('<!--#End Infobox3-->');output('<p>');
if(shop.shopTexts.entries['SN_InfoBox1Header']!=null){output('<\/td>');}else{
if(shop.shopTexts.entries['SN_InfoBox2Header']!=null){output('<\/td>');}else{
if(shop.shopTexts.entries['SN_InfoBox3Header']!=null){output('<\/td>');}}}
output('<\/tr><\/table>');
output('<\/body>');
this.outs=outlist.join('');}var block=new ScriptBlockblk5();output(block.outs);
output('<\/html>');
//-->
</script>
<!-- Mondo Shop 2 2.7.0.16 200601241259 -->
das unterstrichende segment im Quellcode ist für das hintergrund Bild verantwortlich.

Wenn ich jetzt hingehe und diese Stelle auskomentiere mit /* text */ , ich dann an diese stelle mein neuen Html code setze und es dann auf den Server Lade bekomme ich zwar immer noch die komplette navigation angezeigt die auch immer noch funzt aber da wo das Bild sein solte ist es weiß ( ich habe auch das Verzeichniss Bilder wo sich das jpg Befindet mit auf den Server geladen trotzdem weiße Seite)

Kenne mich zuwenig damit aus einstück html code in ein bestehendes Javascript einzufügen.

ich hoffe jemand kann mir Helfen!!?

mfg diablo9999
 
Zuletzt bearbeitet von einem Moderator:

ElSer

nicht mehr wegzudenken
Du hast Deinen HTML - Code so umformatiert, daß die Ausgabe mit Javasript (document.write) bzw. dieser output - Funktion paßt?

Wenn ich die Seite Aufrufe, sehe ich das Bild, nix Weiß :unsure:

Gruß,
 

diablo30

kennt sich schon aus
hallo
das was du siehst ist ja auch noch die alte Seite bei der neuen soll ja eine verlinkung zu den entsprechen den seiten sein.
der erste html code funzt wenn die Bilddatei mit dabei ist.
und das zweite funzt auch hast du ja gesehn wenn du die Seite aufrufst.

Ich möchte ja gerne den ersten HTML Code in den 2 Code einfügen und dan auf den serverladen und es soll dann funktionieren das wenn ich die bilder mit der Maus anklicke ich zu den entsprechenenden seite gelange. Wie gesagt jedes für sich klappt
aber zusammen nicht? und das ist das was isch nicht weiß was ich falsch mache!

mfg diablo30
 

ElSer

nicht mehr wegzudenken
diabolo30:
Stell mehr Fragen

Wobei auch eine Antwort ab und an nicht schlecht wäre...
Also: Hast Du Deinen HTML - Code so umformatiert, daß die Ausgabe mit Javasript (document.write) bzw. dieser output - Funktion paßt?

diabolo30:
Wenn ich jetzt hingehe und diese Stelle auskomentiere mit /* text */ , ich dann an diese stelle mein neuen Html code setze und es dann auf den Server Lade
Poste doch mal diesen Code, der dann nicht funktioniert - vielleicht läßt sich Dir dann weiterhelfen! :)

Gruß,
 

diablo30

kennt sich schon aus
Hallo
Ok dann mache ich das mal ich habe das was ich eingefügt habe
auskomentiert

danke für deine Hilfe

mfg Diablo

<html>
<head>
<script language="JavaScript">
<!--
document.write('<script src="Data/ShopPar.js"><\/script>');document.write('<script src="Code/AddData.js"><\/script>');document.write('<script src="Code/GlobalCode.js"><\/script>');
// -->
</script>
<script language="JavaScript">
<!--
initTemplate();
// -->
</script>
<script language="JavaScript">
<!--
document.write('<script src="Code/TemplateCode.js"><\/script>');
// -->
</script>
<script language="JavaScript">
<!--
document.write('<script src="Code/SetObjectsCode.js"><\/script>');
//-->
</script>
<script language="JavaScript">
<!--
function ScriptBlockblk1(){function output(s){outlist[outlist.length]=s}var outlist=new Array();output('<title>');output(toText(shop.shopTexts.getText('SN_ShopTitleText')));output(' - Startseite<\/title>');this.outs=outlist.join('');}var block=new ScriptBlockblk1();output(block.outs);output('\n');
function ScriptBlockcss(){function output(s){outlist[outlist.length]=s}var outlist=new Array();output('\n');
output('<style type=\"text\/css\">\n');
output('<!');output('--');
shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_GlobalFontFace');if(shop.font!=null){if(shop.font.face!=null){
output('body');output('{');output('font-family:');if(shop.font!=null)output(shop.font.face);output('}');
}}shop.font=shop.lFont.pop();
output('table.InfoBox');output('{');output('border:1px ');if(shop.colors.getByName('SN_Main_Info_BoxFrameColor')!=null)output(shop.colors.getByName('SN_Main_Info_BoxFrameColor'));output(' solid;width:100%');output('}');
output('td.head');output('{');output('background-color:');if(shop.colors.getByName('SN_Main_Info_BoxHeaderColor')!=null)output(shop.colors.getByName('SN_Main_Info_BoxHeaderColor'));output(';padding:3px 3px 3px 3px');output('}');
output('td.info');output('{');output('background-color: ');if(shop.colors.getByName('SN_Main_Info_BoxColor')!=null)output(shop.colors.getByName('SN_Main_Info_BoxColor'));output(';padding:3px 3px 3px 3px');output('}');
output('--');output('>');
output('<\/style>');
this.outs=outlist.join('');}var block=new ScriptBlockcss();output(block.outs);
output('<\/head>');
function ScriptBlockblk5(){function output(s){outlist[outlist.length]=s}var outlist=new Array();
shop.lImage.push(shop.image);shop.image=shop.designImages.getByName('SN_Main_Info_BgImage');
output('<body text="'); if(shop.colors.getByName('SN_Main_Info_StdTextFontColor')!=null)output(shop.colors.getByName('SN_Main_Info_StdTextFontColor')); output('" bgcolor="'); if(shop.colors.getByName('SN_Main_Info_Color')!=null)output(shop.colors.getByName('SN_Main_Info_Color')); output('" link="'); if(shop.colors.getByName('SN_Main_Info_NormalLinkFontColor')!=null)output(shop.colors.getByName('SN_Main_Info_NormalLinkFontColor')); output('" alink="'); if(shop.colors.getByName('SN_Main_Info_ActiveLinkFontColor')!=null)output(shop.colors.getByName('SN_Main_Info_ActiveLinkFontColor')); output('" vlink="'); if(shop.colors.getByName('SN_Main_Info_VisitedLinkFontColor')!=null)output(shop.colors.getByName('SN_Main_Info_VisitedLinkFontColor')); output('" onLoad="'); output('javascript:restoreFrame(window);'); output('" {!if image.exists} background="'); if(shop.image!=null)output(shop.image.getSrc()); output('" {!end}>');
shop.image=shop.lImage.pop();
output('<table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"10\">');
output('<tr>');
output('<td valign=\"top\">');
output('<p>');shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_Header1Font');if(shop.font!=null)output(shop.font.getBegin());output(shop.shopTexts.getText('SN_InfoPageHeader'));if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();output('<\/p>');
shop.lImage.push(shop.image);shop.image=shop.shopImages.getByName('SN_Main_Info_InfoPageImage');
if(shop.image!=null){output('<img src="'); if(shop.image!=null)output(shop.image.getSrc()); output('" width="'); if(shop.image!=null)output(shop.image.width); output('" height="'); if(shop.image!=null)output(shop.image.height); output('" style="margin-bottom:7px">');output('<br>');}
shop.image=shop.lImage.pop();
shop.lImage.push(shop.image);shop.image=shop.shopImages.getByName('SN_Main_Info_InfoPageImageLeft');
if(shop.image!=null){output('<img src="'); if(shop.image!=null)output(shop.image.getSrc()); output('" width="'); if(shop.image!=null)output(shop.image.width); output('" height="'); if(shop.image!=null)output(shop.image.height); output('" align="left" style="margin-right:7px">');}
shop.image=shop.lImage.pop();

shop.lImage.push(shop.image);shop.image=shop.shopImages.getByName('SN_Main_Info_InfoPageImageRight');


/*<title>main-bgr</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (main-bgr.psd) -->
<a href="http://niggeloh.de/index.html">
<img ="main-bgr.jpg" width="1500" height="1100" border="0" alt="" usemap="#main_bgr_Map"></a>
<map name="main_bgr_Map">
<area shape="rect" alt="Jagd" coords="254,224,449,364" href="http://www.niggeloh.de/shop/index.html?cat=WG3">
<area shape="rect" alt="Foto / Optik" coords="162,117,297,276" href="http://www.niggeloh.de/shop/index.html?cat=WG02">
<area shape="rect" alt="Outdoor / Fun" coords="24,206,197,348" href="http://www.niggeloh.de/shop/index.html?cat=WG04">
<area shape="rect" alt="Industrie / Hanwerk" coords="298,44,450,206" href="http://www.niggeloh.de/shop/index.html?cat=WG06">
<area shape="rect" alt="Hundezubehör" coords="44,44,198,190" href="http://www.niggeloh.de/shop/index.html?cat=WG05">
<area shape="rect" alt="" coords="0,0,1500,1100" href="http://niggeloh.de/index.html">
</map>
<!-- End ImageReady Slices -->*/

if(shop.image!=null){output('<img src="'); if(shop.image!=null)output(shop.image.getSrc()); output('" width="'); if(shop.image!=null)output(shop.image.width); output('" height="'); if(shop.image!=null)output(shop.image.height); output('" align="right" style="margin-left:7px">');}
shop.image=shop.lImage.pop();output('<br>');shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_StdTextFont');if(shop.font!=null)output(shop.font.getBegin());output(shop.shopTexts.getText('SN_Info'));if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
output('<\/td>');

if(shop.shopTexts.entries['SN_InfoBox1Header']!=null){output('<td valign=\"top\" width=\"25%\">');}else{
if(shop.shopTexts.entries['SN_InfoBox2Header']!=null){output('<td valign=\"top\" width=\"25%\">');}else{
if(shop.shopTexts.entries['SN_InfoBox3Header']!=null){output('<td valign=\"top\" width=\"25%\">');}}}
output('<!--#Begin Infobox1-->');
if(shop.shopTexts.entries['SN_InfoBox1Header']!=null){
output('<table class=\"InfoBox\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"head\">');
shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxHeaderFont');if(shop.font!=null)output(shop.font.getBegin());
output(shop.shopTexts.getText('SN_InfoBox1Header'));
if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
output('<\/td><\/tr>');
output('<tr><td class=\"info\">');
shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxFont');if(shop.font!=null)output(shop.font.getBegin());
output(shop.shopTexts.getText('SN_InfoBox1Text'));
if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
shop.lLink.push(shop.link);shop.link=shop.links.getByName('NEU');output(' ');if(shop.link!=null)output(shop.link.writePageLinkImages()+shop.link.writePageLink());output(' ');shop.link=shop.lLink.pop();
output('<\/td><\/tr><\/table>');}
output('<!--#End Infobox1-->');output('<p>');
output('<!--#Begin Infobox2-->');
if(shop.shopTexts.entries['SN_InfoBox2Header']!=null){
output('<table class=\"InfoBox\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"head\">');
shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxHeaderFont');if(shop.font!=null)output(shop.font.getBegin());
output(shop.shopTexts.getText('SN_InfoBox2Header'));
if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
output('<\/td><\/tr>');
output('<tr><td class=\"info\">');
shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxFont');if(shop.font!=null)output(shop.font.getBegin());
output(shop.shopTexts.getText('SN_InfoBox2Text'));
if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
output('<\/td><\/tr><\/table>');}
output('<!--#End Infobox2-->');output('<p>');
output('<!--#Begin Infobox3-->');
if(shop.shopTexts.entries['SN_InfoBox3Header']!=null){
output('<table class=\"InfoBox\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"head\">');
shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxHeaderFont');if(shop.font!=null)output(shop.font.getBegin());
output(shop.shopTexts.getText('SN_InfoBox3Header'));
if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
output('<\/td><\/tr>');
output('<tr><td class=\"info\">');
shop.lFont.push(shop.font);shop.font=shop.fonts.getByName('SN_Main_Info_BoxFont');if(shop.font!=null)output(shop.font.getBegin());
output(shop.shopTexts.getText('SN_InfoBox3Text'));
if(shop.font!=null)output(shop.font.getEnd());shop.font=shop.lFont.pop();
output('<\/td><\/tr><\/table>');}
output('<!--#End Infobox3-->');output('<p>');
if(shop.shopTexts.entries['SN_InfoBox1Header']!=null){output('<\/td>');}else{
if(shop.shopTexts.entries['SN_InfoBox2Header']!=null){output('<\/td>');}else{
if(shop.shopTexts.entries['SN_InfoBox3Header']!=null){output('<\/td>');}}}
output('<\/tr><\/table>');
output('<\/body>');
this.outs=outlist.join('');}var block=new ScriptBlockblk5();output(block.outs);
output('<\/html>');
//-->
</script>
<!-- Mondo Shop 2 2.7.0.16 200601241259 -->
 
B

Brummelchen

Gast
/offtopic
Sowas am besten per Textdatei anhängen, liest sich dermassen
beschissen und zum Arbeiten ist es auch schlecht.​
 

diablo30

kennt sich schon aus
ok ich versuche es nochmal sorry

ich werde dann auch mal die entsprechende Bilddatei mit anhängen mit der das klappen soll


mfg diablo
 

Anhänge

  • main-bgr.jpg
    main-bgr.jpg
    63 KB · Aufrufe: 131
  • InfoPage.txt
    9,8 KB · Aufrufe: 234

ElSer

nicht mehr wegzudenken
Also:
/*<title>main-bgr</title>

Das '/*' muß weg => sonst ist alles zwischen /* [...] */ ein Kommentar und wid nicht ausgegeben.

Dann mußt du alle Ausgaben
<title>main-bgr</title>
umwandeln in eine JavaScript Ausgabe:
document.write('<title>main-bgr</title>');
etc.

Du befindest dich an dieser Stelle ja in einem JavaScript. Daher müssen alle Ausgaben an den Browser in JavaScript - Manier erfolgen.

Du wirst auch einige Tags (<body>,etc.) weglassen müssen, da diese bereits offenbar im Script gesetzt werden.

:)
 
Oben