folgendes javascript gesucht

Dieses Thema im Forum "Software" wurde erstellt von SRALPH, 25. Februar 2005.

  1. SRALPH

    SRALPH New Member

    auf folgender seite öffnet sich ein neues popup-fenster, welches von links in die mitte wandert und ich suche dafür das passende script, aber wo?

    link: http://www.garish-moon.de/

    RALPH
     
  2. Pristaff

    Pristaff Gast

    Quelltext des entscheidenen Frames:

    vielleicht kannst Du was damit anfangen?

    Code:
    <HTML>
    <HEAD>
    <TITLE>Garish-Moon Homepage</TITLE>
    		<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    		<style type="text/css" media="screen"><!--
    #Ebene2         { visibility: visible; position: absolute; z-index: 3; top: 227px; left: 46px; width: 511px; height: 173px }
    #Ebene1       { visibility: visible; position: absolute; z-index: 2; top: 51px; left: 260px; width: 103px; height: 79px }
    #Ebene3  { background-image: url("images/titellogin%20Kopie.gif"); visibility: visible; position: absolute; z-index: 1; top: 0; left: 0; width: 600px; height: 400px }
    --></style>
    		<csactions>
    			<csaction name="BE19859821" class="SlideNewWindow" type="onevent" val0="metaWinterakt.html" val1="" val2="900" val3="550" val4="true" val5="true" val6="false" val7="false" val8="false" val9="false" val10="false" urlparams="1"></csaction>
    			<csaction name="BE1985CB22" class="SlideNewWindow" type="onevent" val0="metagalerie.html" val1="Fotos" val2="900" val3="550" val4="true" val5="true" val6="false" val7="false" val8="false" val9="false" val10="false" urlparams="1"></csaction>
    			<csaction name="BE1990C71" class="SlideNewWindow" type="onevent" val0="metaindex.html" val1="Homepage" val2="900" val3="550" val4="true" val5="true" val6="false" val7="false" val8="false" val9="false" val10="false" urlparams="1"></csaction>
    		</csactions>
    		<csscriptdict>
    			<script type="text/javascript"><!--
    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 aa = fct[array[i]];
    		if (aa == null) return false;
    		var ta = new Array;
    		for(var j=1;j<aa.length;j++) {
    			if((aa[j]!=null)&&(typeof(aa[j])=="object")&&(aa[j].length==2)){
    				if(aa[j][0]=="VAR"){ta[j]=CSStateArray[aa[j][1]];}
    				else{if(aa[j][0]=="ACT"){ta[j]=CSAction(new Array(new String(aa[j][1])));}
    				else ta[j]=aa[j];}
    			} else ta[j]=aa[j];
    		}			
    		result=aa[0](ta);
    	}
    	return result;
    }
    CSAct = new Object;
    function CSSlideNewWindow(action) {
    var wh = ""
    if (action[7] || action[8] || action[9] == true) wh=action[4]-125
    else wh = action[4]
    var wf = "";	
    wf = wf + "width=" + action[3];
    wf = wf + ",height=" + wh;
    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");		
    if(navigator.appVersion.charAt(0) >=4) {
    var sw=screen.width-20;
    var sh=screen.height;
    var newwidth=action[3]; 
    var newheight=action[4];
    var positionleft=(sw-newwidth)/2;
    var positiontop=""
    if (action[7] || action[8] || action[9] == true) positiontop=(sh-newheight)/3;
    else positiontop=(sh-newheight)/2.5;
    }
    newwindow=window.open(action[1],action[2],wf); 
    newwindow.focus()	
    if(navigator.appVersion.charAt(0) >=4) {
    	for(width1 = 1 ; width1 < positionleft ; width1 = width1 + 10)
    	newwindow.moveTo(width1,positiontop)
    	}
    }
    
    // --></script>
    		</csscriptdict>
    		<csactiondict>
    			<script type="text/javascript"><!--
    CSAct[/*CMP*/ 'BE19859821'] = new Array(CSSlideNewWindow,/*URL*/ 'metaWinterakt.html','',900,550,true,true,false,false,false,false,false);
    CSAct[/*CMP*/ 'BE1985CB22'] = new Array(CSSlideNewWindow,/*URL*/ 'metagalerie.html','Fotos',900,550,true,true,false,false,false,false,false);
    CSAct[/*CMP*/ 'BE1990C71'] = new Array(CSSlideNewWindow,/*URL*/ 'metaindex.html','Homepage',900,550,true,true,false,false,false,false,false);
    
    // --></script>
    		</csactiondict>
    	</HEAD>
    <BODY bgcolor="black" text="white" link="#fafff4" vlink="white" alink="#fffbef">
    		<div align="center">
    			<map name="start1cfbd94"><area onclick="CSAction(new Array(/*CMP*/'BE1990C71'));return CSClickReturn()" shape="circle" coords="30,30,32" href="#" alt="" csclick="BE1990C71"></map>
    			<div id="Ebene2">
    				<table width="396" border="0" cellspacing="0" cellpadding="0" cool gridx="16" gridy="16" height="155" showgridx showgridy>
    					<tr height="1">
    						<td width="395" height="1" colspan="5"></td>
    						<td width="1" height="1"><spacer type="block" width="1" height="1"></td>
    					</tr>
    					<tr height="27">
    						<td width="154" height="112" rowspan="2"></td>
    						<td content csheight="19" width="179" height="27" colspan="3" valign="top" xpos="154">
    							<div align="left">
    								[url="#"]Wintersaison 04/05[/url]</div>
    						</td>
    						<td width="62" height="27"></td>
    						<td width="1" height="27"><spacer type="block" width="1" height="27"></td>
    					</tr>
    					<tr height="85">
    						<td content csheight="19" width="176" height="85" colspan="2" valign="top" xpos="154">
    							<div align="left">
    								[url="#"]Fotos von Silvester[/url]</div>
    						</td>
    						<td width="65" height="126" colspan="2" rowspan="2"></td>
    						<td width="1" height="85"><spacer type="block" width="1" height="85"></td>
    					</tr>
    					<tr height="41">
    						<td width="190" height="41" colspan="2"></td>
    						<td width="140" height="41" valign="top" align="left" xpos="190">[img]http://www.garish-moon.de/cgi-bin/counter.pl[/img]</td>
    						<td width="1" height="41"><spacer type="block" width="1" height="41"></td>
    					</tr>
    					<tr height="1" cntrlrow>
    						<td width="154" height="1"><spacer type="block" width="154" height="1"></td>
    						<td width="36" height="1"><spacer type="block" width="36" height="1"></td>
    						<td width="140" height="1"><spacer type="block" width="140" height="1"></td>
    						<td width="3" height="1"><spacer type="block" width="3" height="1"></td>
    						<td width="62" height="1"><spacer type="block" width="62" height="1"></td>
    						<td width="1" height="1"></td>
    					</tr>
    				</table>
    			</div>
    			<div id="Ebene1">
    				[url="#"][img]images/start.jpg[/img][/url]</div>
    			<div id="Ebene3">
    				</div>
    		</div>
    	</BODY>
    </HTML>
     
  3. Pristaff

    Pristaff Gast

    ups... ganz schön in die breite gegangen dieser thread ;)
     
  4. skydiver

    skydiver New Member

    Hallo SRALPH,

    hast Du GoLive ?!?

    Wenn ja, dann kannst Du diese Aktion wie folgt machen.

    - Markiere ein bild oder Text
    - klicke auf Link
    - dann gehe zum "Fenster" Rollover & Aktionen
    - nun "Ereignis" z.B. Mausklick, ...
    - dann eine "aktion2 aus dem Drop down Menü wählen, fertig

    Gruß tom

    p.s. ich kann dir auch eine Beispiel HTML schicken.
     
  5. SRALPH

    SRALPH New Member

    mir wäre das beispiel lieber, weil ich meinen quelltext immer selbst schreibe :klimper:

    RALPH

    p.s. leon@macnews.de
     
  6. skydiver

    skydiver New Member

    @SRALPH,

    "Sie haben Post" :)

    Gruß tom
     

Diese Seite empfehlen