Frontpage und Javascript Frame Probleme...
flashtu
- javascript
0 Dieter Raber0 flashtu0 Dieter Raber0 flashtu
0 Ingo Turski
Hallo,
also ich möchte das folgendes im "_Hauptframe" der Frontpageseite geöffnet wird:
slideMenu.makeMenu('top','Home','\Presswerkstart.htm','target=_Hauptframe')
Der Link wird jedoch immer in einem neuen Fenster geöffnet und ich weiß nicht warum?!
Kann mir da jemand weiterhelfen?
MfG.: Flashtu
Hallo flashtu,
im "_Hauptframe" der Frontpageseite geöffnet wird:
Gibt es im Frameset auf dieser Ebene ein Frame mit dem Attribut name="_Hauptframe"?
slideMenu.makeMenu('top','Home','\Presswerkstart.htm','target=_Hauptframe')
Wie funktioniert slideMenu.makeMenu? Bitte nur relevanten Quellcode posten, keine Romane!
Was macht der Backslash vor 'Presswerkstart.htm'?
Der Link wird jedoch immer in einem neuen Fenster geöffnet und ich weiß nicht warum?!
Klappt das nur bei diesem Link nicht, oder bei allen anderen auch nicht?
Gruß,
Dieter
Es funktioniert bei allen Links nicht die gehen alle in einem neuen Fenster auf.
Der Frame wird von Frontpage als _Hauptframe deklariert.
Muß ich das im Jscript irgendwie zuweisen?
Hallo flashtu,
Ich will Dich hier weder arrogant zurechtweisen, aber ein bisschen mehr Mitarbeit von Deiner Seite muss aber sein, sonst kommen wir hier nicht weiter.
Der Frame wird von Frontpage als _Hauptframe deklariert.
Ich kann mit der Information nichts anfangen. Ich will wissen, ob es im Quelltext des Framesets ein Frame gibt mit dem Namen "_Hauptframe" gibt.
Wo bleibt der relevante Code von Deinem Menu?
Was bedutet "Muß ich das im Jscript irgendwie zuweisen?"
Gruß,
Dieter
Hallo,
ja sorry aber ich habe als Systemintegrator nicht allzuviel Ahnung vom Programmieren.
Mein Chef stand halt vor mir und hat gesagt mach mal....
Ich habe mal den ganzen Quelltext des Menüs drangehängt (keine Angst sieht nur so lang aus durch die Komentare).
<html>
<head>
<title>DHTMLCentral.com - Free Dynamic HTML Scripts - slideMenu</title>
<meta name="Author" content="Florian Hoffmann (florian.hoffmann@volkswagen.de)">
<META NAME="Generator" CONTENT="Microsoft FrontPage 5.0">
<meta name="KeyWords" content="DHTML, HTML, Dynamic HTML, Javascript, Cascading Style Sheets, Cross-browser, Cross browser, Javascripts, DOM, Scripts, Free Scripts">
<meta name="Description" content="Dynamic HTML Central - The ultimate place to find DHTML scripts, demos, tutorials and help.">
<style type="text/css">
div.clSlideMenu{ /* All slideMenu2 DIV elements */
position:absolute;
font-family:verdana,arial,helvetica;
font-size:10px;
overflow:hidden;
width:150;
height:22;
}
a.clA0{ /* All top level links */
color:white;
font-size:12px;
text-decoration:none;
font-weight:bold;
}
a.clA1{ /* All sub level links */
color:black;
font-size:11px;
font-weight:bold;
text-decoration:none;
}
a.clA2{ /* All sub2 level links */
color:navy;
text-decoration:none;
}
a.clA3{ /* All sub3 level links */
color:black;
text-decoration:none;
}
a.clA4{ /* All sub4 level links */
color:green;
text-decoration:none;
}
/* NEEDED STYLES */
div.slideMenuBG{position:absolute; left:0; top:0; z-index:1}
div.slideMenuText{position:absolute; left:2; top:2; z-index:200;}
/* NEEDED ----- This class should be named like this:
#NAME_OF_YOUR_MENUcont
*/
#slideMenucont{position:absolute; height:600; width:200; visibility:hidden;}
</style>
<script language="JavaScript" src="slidemenu.js" type="text/javascript">
/**********************************************************************************
SlideMenu 2.0
* Copyright (C) 2004 Florian Hoffmann
* This script was released at DHTMLCentral.com
* Visit for more great scripts!
* This may be used and changed freely as long as this msg is intact!
* We will also appreciate any links you could give us.
*
* Made by Florian Hoffmann
*
*Script date: 01/12/2004 (keep this date to check versions)
*********************************************************************************/
</script>
<base target="Hauptframe">
</head><body marginleft="0" bgcolor="white" marginheight="0">
<script>
/*********************************
The actual script file is inside the
slidemenu.js file - remember to link
that to your HTML file.
**********************************/
//Creating the menu object -- You can call it whatever you want - just remember to
//have the same name as the argument.
slideMenu = new createSlideMenu("slideMenu")
//Variables to set:
slideMenu.menuy=80 //The top placement of the menu.
slideMenu.menux=0 //The left placement of the menu
slideMenu.useImages = 1 //Are you using images or not?
slideMenu.pxspeed=20 //The pixel speed of the animation
slideMenu.timspeed=25 //The timer speed of the animation
slideMenu.inset = 10 //How much the selected items should pop to the left
slideMenu.arrow = 0 //Set this to className that has font-family:webdings
//if you want to use the arrow feature. Note:
//This ONLY works on DOM capable browsers, and with
//useImages set to 0 - It's basically just a test I did.
//I hope to improve it later on.
//Needed dummy classes - leave in the stylesheet!
slideMenu.bgClass = "slideMenuBG"
slideMenu.txtClass = "slideMenuText"
/*******************************************************************************
Level properties - ALL properties have to be specified in level 0
This works the same way as the CM4 script (if you have used it)
The level[0] values will be the default value. Any value not specified
in higher levels will be inherited from level[0]. If anything
is spesified in level[1], but not in level[2], level[2] (sub2 menus)
will get the property value from level[1] and so on.
The availble values to control the menu by level are:
left - The left placement of all items in the current level ( px value )
width - The width of all items in the current level ( px value )
height - The height of all items in the current level ( px value )
between - The number of pixels between each item in the current level ( px value)
className - A name of a class specified in the stylesheet to control the
look of all items in this level.
NOTE: The class MUST be in a stylesheet, and it most have position:absolute.
classNameA - A name of a class specified in the stylesheet that will control the
Look of the TEXT for all items in this level. (you can also specify
a hover class for this className to get a mouseover effect on the
text.
regImage - If you choose to use image feature of the script you have to
spesify the default image here.
roundImg - This is the image that will used when a item is selected.
roundImg2 - This is the image used for sub-levels on the last item in a list.
(that's how the last items in this example are rounded on the sub-levels)
subImg - The image used when the item has sub-items. Only in use for sub-levels
subRound - Same as roundImg2 - only for items that have sub-items.
To understand the image setup see the images supplied with this script.
NOTE: Always specify the full (relative) path to the images!
The slideMenu_makeLevel function provides a shortcut to making levels.
If you are more comfortable with setting the properties by name you can
also set them like this:
slideMenu.level[0] = new Array()
slideMenu.level[0].left = 0
slideMenu.level[0].width = 138
..... and so on.
NOTE: In level 0 below I have included the names of the variables just for
readability - feel free to remove left = , width = , height = et cetera...
********************************************************************************/
slideMenu.level[0] = new slideMenu_makeLevel(
left = 0,
width = 138,
height = 21,
between = 5,
className = "clSlideMenu",
classNameA = "clA0",
regImage = "level0_regular.gif",
roundImg = "level0_round.gif",
roundImg2 = "",
subImg = "",
subRound= "")
slideMenu.level[1] = new slideMenu_makeLevel(10,127,20,2,"clSlideMenu","clA1","level1_regular.gif","level1_round2.gif","level1_round.gif","level1_sub.gif", "level1_sub_round.gif")
slideMenu.level[2] = new slideMenu_makeLevel(21,118,18,2,"clSlideMenu","clA2","level2_regular.gif","level2_round2.gif","level2_round.gif", "level2_sub.gif", "level2_sub_round.gif")
slideMenu.level[3] = new slideMenu_makeLevel(33,108,20,2,"clSlideMenu","clA3","level3_regular.gif","level3_round2.gif","level3_round.gif","level3_sub.gif","level3_sub_round.gif")
slideMenu.level[4] = new slideMenu_makeLevel(40,107,19,2,"clSlideMenu","clA4","level4_regular.gif", "level4_round2.gif","level4_round.gif","level4_sub.gif", "level4_sub_round.gif")
//Image preload --- leave this
for(var i=0;i<slideMenu.level;i++){
var l = slideMenu.level[i]
new preLoadBackgrounds(l.regImage,l.roundImg,l.roundImg2,l.subImg,l.subRound)
}
//Menu 1 -----------------------
slideMenu.makeMenu('top','Home','\Presswerkstart.htm','target=_Hauptframe')
slideMenu.makeMenu('top','Organisation')
slideMenu.makeMenu('sub','CC-Presswerk')
slideMenu.makeMenu('sub2','PWA-P1')
slideMenu.makeMenu('sub2','PWA-P2')
slideMenu.makeMenu('sub2','PWA-PB')
slideMenu.makeMenu('sub2','PWA-P/Q')
slideMenu.makeMenu('sub2','PWA-Log')
slideMenu.makeMenu('top','Managementsystem')
slideMenu.makeMenu('sub','Ziele')
slideMenu.makeMenu('sub','Personal')
slideMenu.makeMenu('sub','Q-Management')
slideMenu.makeMenu('sub','Öko-Audit')
slideMenu.makeMenu('top','Aktuelles')
slideMenu.makeMenu('top','Links')
slideMenu.makeMenu('top','Impressum')
slideMenu.makeMenu('top','Wir über uns')
slideMenu.makeMenu('sub','Präsentation')
slideMenu.makeMenu('sub','Film Presswerk')
//Initiating the menu !!
slideMenu.init()
</script>
</body>
</html>
Hallo flashtu,
Ist das so schwierig, auf eine einfache Frage zu antworten?
Gibt es im Quelltext des Framesets ein Frame namens "_Hauptframe"?
Wo bleibt der relevante Code von Deinem Menu? Wenn Du den Berg Code, den du gepostet hast, gelesen haettest, waere Dir das hier sofort aufgefallen:
/*********************************
The actual script file is inside the
slidemenu.js file ...
**********************************/
Gruß,
Dieter
Hallo Dieter,
sorry wie gesagt ich habe vom Programieren nicht so die Ahnung, das Script habe ich mir aus dem Netz gezogen und nach Anleitung umgebaut soweit ich konnte.
Das hier steht im *.js:
function makeMenuObj(obj,nest){ nest=(!nest) ? "":'document.'+nest+'.' this.evnt = document.getElementById?document.getElementById(obj):document.all?document.all[obj]:document.layers?eval(nest+'document.'+obj):0; this.css = this.evnt.style?this.evnt.style:this.evnt; this.ref=document.layers?this.evnt.document:document; this.x=this.css.left||this.evnt.offsetLeft; this.y=this.css.top||this.evnt.offsetTop; this.hideIt=b_hideIt; this.showIt=b_showIt; this.movey=b_movey this.moveIt=b_moveIt; this.moveBy=b_moveBy; this.status=0; this.bgImg=b_bgImg; this.obj = obj + "Object"; eval(this.obj + "=this"); this.clipTo=b_clipTo; return this } function b_showIt(){this.css.visibility="visible"; this.status=1} function b_hideIt(){this.css.visibility="hidden"; this.status=0} function b_movey(y){this.y=y; this.css.top=this.y} function b_moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x;this.css.top=this.y} function b_moveBy(x,y){this.x=this.x+x; this.y=this.y+y; this.css.left=this.x;this.css.top=this.y} function b_bgImg(img){ if(document.getElementById) document.getElementById(this.id+"img").src = img else if(document.layers) this.ref.layers[0].document.images[0].src = img else document.images[this.id+"img"].src = img } function b_clipTo(t,r,b,l,w){if(document.layers){this.css.clip.top=t;this.css.clip.right=r this.css.clip.bottom=b;this.css.clip.left=l }else{this.css.clip="rect("+t+"px,"+r+"px,"+b+"px,"+l+"px)"; if(w){this.css.pixelWidth=this.css.width=r; this.css.pixelHeight=this.css.height=b}}} /******************************************************************************** Initiating page, making objects.. ********************************************************************************/ createSlideMenu.prototype.init = function(){ document.write("</div>") this.cont=new makeMenuObj(this.name+'cont') this.cont.moveIt(this.menux,this.menuy) var yy = 0, el //Make top menus for(var j=0;j<this.topmenus.length;j++){ el = this.menus[this.topmenus[j]] el.o = new makeMenuObj(this.name+""+el.num,this.name+"cont") el.o.moveIt(this.l[0].left,yy); el.top = j; el.origy = yy el.o.id = el.id; el.o.status=1; el.o.h = this.l[0].height; el.img = this.l[0].regImage yy+=el.o.h + this.l[0].between; el.o.clipTo(0,this.l[0].width,el.o.h,0,1) if(j!=this.topmenus.length-1) el.nexttop = this.topmenus[el.top+1] this.loop(el.num,j) } this.cont.showIt(); this.cont = null; this.level = null; } createSlideMenu.prototype.loop = function(num,j){ var el = this.menus[num],temp,p,h,w,y,img for(var i=0;i<el.childs.length;i++){ temp = el.childs[i] w = this.l[temp.lev].width; h = this.l[temp.lev].height y = el.o.y+el.o.h + hi + this.l[temp.lev].betweeni + this.l[temp.lev].between temp.o = new makeMenuObj(this.name+""+temp.num,this.name+"cont") temp.o.hideIt(); temp.o.clipTo(0,w,h,0,1) temp.o.moveIt(this.l[temp.lev].left,y) el.endy =y+h; temp.origy = y temp.o.zIndex=temp.num temp.o.h = h; temp.top = j temp.chnum = i; temp.o.id = temp.id if(this.useImages){ //Setting bgimage img="" if(temp.childs.length>0){ //With subs if(i==el.childs.length-1) img=this.l[temp.lev].subRound else img=this.l[temp.lev].subImg }else if(i==el.childs.length-1){ img=this.l[temp.lev].roundImg2 } if(img){ temp.o.bgImg(img); temp.img = img }else temp.img = this.l[temp.lev].regImage } p = this.menus[temp.parent] //Setting the next elements if(temp.chnum != p.childs.length-1){ //Not the last el temp.nextel = p.childs[temp.chnum+1].num temp.nexttop = temp.lev==1?p.nexttop:p.nextel }else{ //Last el, so we only have nexttop temp.nexttop = p.nextel if(temp.nexttop==-1) temp.nexttop = p.nexttop } if(temp.childs.length>0){ this.loop(temp.num,j) //Recursive call } } }
/******************************************************************************** Moving all objects in the array after a provided array number / createSlideMenu.prototype.moveItems = function(px,num){ for(i=num;i<this.menus.length;i++){ if(this.menus[i].o.status){ //Moving all visible menus this.menus[i].o.movey(this.menus[i].o.y+px) } } } / Switch menu function. / createSlideMenu.prototype.switchMenu = function(num){ if(this.going) return var m = this.menus[num] if(m.childs.length==0) return this.going = 1 var y=m.o.y+ m.o.h +this.l[m.lev].between var clnum = m.num, olev = m.lev, onext = m.nextel if(this.active[0]>-1){ var n = -1 if(m.lev>0){ if(this.active[m.lev]>-1) n=this.active[m.lev] else n=this.active[m.lev-1] }else n = this.active[0] m = this.menus[n] if(m.lev == 0 && olev==0) y = m.nexttop!=-1?this.menus[m.nexttop].origy:-1 else if(clnum!=m.num){ var ny = m.o.y + m.o.h + this.l[m.lev].between if(clnum>m.num && olev==m.lev) y = Math.min(ny,y) else if(onext==m.num) y = Math.max(ny,y) } } this.moveUp(m.nextel!=-1?m.nextel:m.nexttop,num,y) } / Move items up / createSlideMenu.prototype.moveUp = function(top,num,y){ var move = 0, m, yy=0; if(this.active[0]>-1 && top>-1){ m = this.menus[top] if(m.o.y>y){ if((m.o.y-this.pxspeed)<y) yy = -(((m.o.y-y))) else yy=-this.pxspeed; this.moveItems(yy,top) move=1 } } if(move) setTimeout(this.name+".moveUp("+top+","+num+","+y+")",this.timspeed) else{ m = this.menus[num] for(var i=m.lev;i<this.active.length;i++){ //Reset images - actives et cetera if(this.active[i]>-1){ temp = this.menus[this.active[i]] temp.o.moveIt(temp.o.x-this.inset,temp.o.y) if(this.useImages) temp.o.bgImg(temp.img) //Change bg if(this.arrow) temp.ar.replaceChild(document.createTextNode("4"),temp.ar.childNodes[0]) ch = temp.childs for(var j=0;j<ch.length;j++){ ch[j].o.hideIt(); ch[j].o.movey(ch[j].origy) } this.active[i] = -1 } } //Then open the current one, if childs if(m.childs.length == 0){this.going = 0; return} for(i=0;i<m.childs.length;i++){ //Show all m.childs[i].o.showIt() y = m.childs[i].o.y + m.childs[i].o.h } y+=this.l[m.lev].between if(m.lev>0 && m.chnum!=this.menus[m.parent].childs.length-1){ yy=y; y = this.menus[m.parent].endy + this.l[m.lev].between } m.o.moveIt(m.o.x+this.inset,m.o.y) //Inset current item: if(this.useImages) m.o.bgImg(this.l[m.lev].roundImg) //Change bg this.active[m.lev] = num //Set active if(this.arrow) m.ar.replaceChild(document.createTextNode("6"),m.ar.childNodes[0]) if(m.nexttop>-1 || m.nextel>-1) this.moveDown(m.nexttop,m.nextel,y,yy) //Then start moving all other elements down else this.going=0 } } / Move items down / createSlideMenu.prototype.moveDown = function(top,num,y,yyy){ var m = this.menus[top],yy if(m && m.o.y<y){ if((m.o.y+this.pxspeed)>y) yy = y-m.o.y else yy=this.pxspeed this.moveItems(yy,top) setTimeout(this.name+".moveDown("+top+","+num+","+y+","+yyy+")",this.timspeed) }else if(num>-1){ this.moveDown(num,-1,yyy,0) }else this.going=0 } / Slide menu object / function createSlideMenu(name){ document.write('<div id="'+name+'cont">') //The cont div start this.name = name this.menus = new Array() this.curr = 0 this.lasttype = new Array() this.writesubsonly = 0 this.level = new Array() this.l = new Array() this.topmenus = new Array() this.active = new Array() return this } / Function to create the objects and the divs ********************************************************************************/ createSlideMenu.prototype.makeMenu = function(type,text,lnk,target,end){ var str="",tg="",parent,m,cl m = this.menus[this.curr] = new Object() this.lasttype[type] = this.curr; if(!lnk) lnk="#" m.lev = 0; m.type = type; m.childs = new Array() m.num = this.curr; m.parent = -1; m.nextel = -1 m.nexttop = -1; parent = 0 //DEBUGGING:::::: m.text = text
if(type.indexOf("sub")>-1){ //Find parent type if(type.length == 3){ //sub parent = "top"; m.lev = 1 }else{ parent = type.substr(3,1) //sub2+ m.lev = parent; parent-- if(parent==1){ parent = "sub"; m.lev = 2 }else parent = "sub"+parent } } if(m.lev>=this.l.length){//Level control (same as CM4) var p1,p2=0; if(m.lev>=this.level.length) p1=this.l[this.level.length-1]; else p1=this.level[m.lev]; this.l[m.lev]=new Array(); if(!p2) p2=this.l[m.lev-1] if(m.lev!=0 && p1){ for(i in p1){ //Copying an entire object if(p1[i]==null) this.l[m.lev][i]=p2[i]; else this.l[m.lev][i]=p1[i] } }else{ this.l[m.lev]=this.level[0]; } this.level[m.lev]=p1=p2=null } this.active[m.lev] = -1 if(parent){ //Find parent element m.parent = this.lasttype[parent] parent = this.menus[this.lasttype[parent]] parent.childs[parent.childs.length] = m if(this.arrow && parent.childs.length==1){str='<span class="'+this.arrow+'">4</span>' if(document.getElementById && document.getElementById(parent.id).childNodes){ parent.ar = document.getElementById(parent.id).childNodes[this.useImage?1:0].childNodes[0] parent.ar.innerHTML = str+parent.ar.innerHTML; parent.ar=parent.ar.childNodes[0]} else this.arrow="" } }else this.topmenus[this.topmenus.length] = this.curr if(!this.writesubsonly || type!="top"){ cl = this.l[m.lev].className m.id = id = this.name + "_" + this.curr str= '<div id="'+id+'" class="'+cl+'">' //main div start if(this.useImages){ str+='<div class="'+this.bgClass+'">'//bgdiv str+='<img id="'+id+'_img" src="'+this.l[m.lev].regImage+'" />' str+='</div>' //bgdiv } if(target) tg =' target="'+target+'" ' str+='<div class="'+this.txtClass+'"><a href="'+lnk+'" '+tg+' onclick="'+this.name+'.switchMenu('+this.curr+'); if(document.getElementById) this.blur(); ' if(lnk=="#") str+='return false' str+='" class="'+this.l[m.lev].classNameA+'"> '+text+'</a><br /></div>\n' str+="</div>\n\n" //main div end document.write(str) } this.curr++ }
/******************************************************************************** Level object / function slideMenu_makeLevel(){ var c=this, a=arguments; c.left=a[0]||0; c.width=a[1]||null; c.height=a[2]||null; c.between=a[3]||null; c.className=a[4]||null; c.classNameA=a[5]||null; c.regImage=a[6]||null; c.roundImg=a[7]||null; c.roundImg2=a[8]||null; c.subImg=a[9]||null; c.subRound=a[10]||null; return c } / Preloading images ********************************************************************************/ function preLoadBackgrounds(){ for(i=0;i<arguments.length;i++){ this[i]=new Image() this[i].src=arguments[i] } return this }
Hallo flashtu,
Wenn Du Dir den Quellcode der fertigen HTMLseite anschaust, _muss_ das ein Frameset sein. Es _muss_ ein Frame geben, das "_Hauptframe" heisst. Wenn dem nicht so ist, wird das Menu nicht funktionieren, bzw. wird sich die Seite in einem neuen Fenster oeffnen.
Wenn Du nicht weiss, wovon ich spreche, lies bitte <http://de.selfhtml.org/html/frames/definieren.htm@diese Kapitel>. Ich habe hier mal testweise das Beispiel 1 aus dem Abschnitt 'Frames zu einem Frameset definieren' fuer deine Situation angepasst.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Text des universellen Titels</title>
</head>
<frameset cols="250,*">
<frame src="--- deine Navigation ----" name="Navigation">
<frame src="about:blank" name="_Hauptframe">
</frameset>
</html>
Aendere mal '--- deine Navigation ----' auf die Datei, die Deine Navigation enthaelt, also z.B 'menu.htm', oder wie immer das bei Dir heisst. Speichere diese Seite im gleichen Verzeichnis als 'test.htm' und rufe sie in Deinem Browser auf. Funktioniert das jetzt?
Gruß,
Dieter
Hallo Dieter,
Sorry, beim Link ist mir ein Fehler unterlaufen, das sollte so aussehen:
diese Kapitel
Gruß,
Dieter
Hallo Dieter,
so langsam verstehe ich wie Du das meinst, das hier ist der orignal Frameset Html, ich hatte Sie so geändert wie Du es sagtest aber die Links werden immer noch in einem neuen Fenster geöffnet vielleicht kannst Du mit dem Html code was anfangen er ist so wie er im original von Frontpage erstellt wurde.
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>CC-Presswerk</title>
<meta name="Microsoft Border" content="none, default">
</head>
<frameset framespacing="0" border="0" frameborder="0" rows="59,*">
<frame name="Banner" scrolling="no" noresize target="Inhalt" src="http://few.wob.vw.vwg/includes/vww2/head/index.htm">
<frameset cols="166,*">
<frame name="Inhalt" target="Hauptframe" src="ex1.html" scrolling="no">
<frame name="Hauptframe" src="Presswerkstart.htm">
</frameset>
<noframes>
<body>
<p>Diese Seite verwendet Frames. Frames werden von Ihrem Browser aber nicht
unterstützt.</p>
</body>
</noframes>
</frameset>
</html>
Hallo flashtu,
In Deinem Ausgangsposting schreibst Du
slideMenu.makeMenu('top','Home','\Presswerkstart.htm','target=_Hauptframe')
--------------------------------------------------------------^
also "_Hauptframe"
Im Framset heisst es hingegen
<frame name="Hauptframe" src="Presswerkstart.htm">
-------------------^
also "Hauptframe"
Und genau in dem fehlenden Unterstrich liegt Dein Problem...
Richtig waere
<frame name="_Hauptframe" src="Presswerkstart.htm">
-----------------^
Ich denke, dass Dein Problem damit erledigt ist.
Noch ein kleiner Nachtrag
Es ist in diesem Thread ja zeitweise etwas haerter zugegangen als ueblich. Ich fuehle mich persoenlich nicht sehr wohl in einer so oberlehrerhaften Rolle, und mir ist natuerlich klar, dass das fuer dich auch alles andere als erfreulich war.
Frag beim naechsten Mal doch einfach mal nach, wenn Dir in einem Antwortposting irgendwas nicht klar ist, das nimmt Dir hier keiner uebel. Einfach aus Verzweifelung irgendeinen Code zu posten, ohne zu wissen, wozu, bringt weder Dich noch den Antworter weiter. Und nimm Dir doch einfach mal die Zeit, die FAQs zu lesen.
Gruß,
Dieter
Hallo Dieter,
ja kein Problem wenn der Ton ein wenig ruppig war das vertrag ich^^
aber nochmal zu _Hauptframe oder Hauptframe ich habe das jetzt geändert, aber es geht immernoch nicht... ich habe alle Hauptframe in _Hauptframe umbenannt hat aber nichts geändert...
Hallo flashtu,
Zip das ganze Werk mal incl. Anleitung und schick es an d . raber @ gmx . net (ohne die Leerzeichen), ich schau mal rein.
Gruß,
Dieter
Hi,
Problem ist gelöst Thema kann abgeschlossen werde, danke nochmal Dieter^^
Hi,
also ich möchte das folgendes im "_Hauptframe" der Frontpageseite geöffnet wird:
es wird zwar vermutlich nicht die Ursache sein, aber dieser Targetname ist unzulässig.
freundliche Grüße
Ingo