JavaScript und Cromless

N

n0rf

Also,
ich habe eine Page und dafür zwei Versionen die ich ine eins bringen will d.h
ich habe eine light und eine high version. nun habe ich mit Map die zwei verschiedene versionen gelinkt. Aber die high version ist mit Chromless und die andere normal. Das problem ist jetzt das ich nicht im mapping javascript nutzen kann. ich schreibe mal die url hin:

<HTML><HEAD><TITLE>.:: Projekt 0 ::.</TITLE>
<script>
function openIT() {
theURL="page/ined.html"
wname ="CHROMELESSWIN"
W=800;
H=400;
windowCERRARa = "img/close_a.gif"
windowCERRARd = "img/close_d.gif"
windowCERRARo = "img/close_o.gif"
windowNONEgrf = "img/none.gif"
windowCLOCK = "img/clock.gif"
windowREALtit = " ? n0rf Page - The new Dimension"
windowTIT = "<font face=verdana size=1> ? n0rf Page - The new Dimension </font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#999999"
windowTITBGCOLOR = "#999999"
windowTITBGCOLORsel = "#505050"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>
<style>
img {border: none;}
</style>
<META content="MSHTML 5.50.4522.1800" name="GENERATOR"></HEAD>
<BODY text="#162d6b" bgColor="white">
<IMG isMap src="bg2.jpg" usemap="#bg2">
<map name="bg2">
<area shape="rect" coords="313,197,513,494" href="javascript:eek:penIT();">
<area shape="rect" coords="517,193,699,489" href="page2/index.html">
<area shape="default" nohref>
</map>
</BODY></HTML>

Hilft mir !
 
Mal langsam, URL ist die Addresse also beispielsweise http://www.digitaldeath.de, URL steht dabei für Uniform Resource Locator.

Was du gepastet hast ist der Sourcecode (deutsch: Quelltext/code)

Desweiteren verstehe ich das Problem nicht, dein Chromelesscode is mir ein bisl krümmelich, ich benutze die Datei pz_chromeless_2.1.js
und folgendes JavaScript im HEAD:

<script language="JavaScript">
<!--
function openChromeslessWindow(openUrl, winName, wWidth, wHeight, wPosx, wPosy, wTIT, windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel, bCenter, sFontFamily, sFontSize, sFontColor)
{
openchromeless(openUrl,winName, wWidth, wHeight, wPosx, wPosy, wTIT, wTIT , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel, bCenter, sFontFamily, sFontSize, sFontColor);
}
//-->
</script>



Die Links zu, öffnen sehen dann so aus, <a href="javascript:eek:penChromeslessWindow('opener.html','name',800,400,null,null,'high-color.de', '#505050', '#101010', '#000000', '#202020' ,true,'Verdana, Arial, Helvetica, sans-serif', '-2','909090')">

in dieser Form kannst du das dann auch ohne weiteres in eine Imagemap einbinden.


Die genannte Datei kannst du dir übrigens gern von http://www.high-color.de/pz_chromeless_2.1.js downloaden.

Beste Grüße,
Klon
 

Neue Beiträge

Zurück