hilfe bei java script
#1
könnt ihr mir helfen, ich möchte gerne in den code hier meine css integrieren,aber wie? o.O

kann mri jemand helfen?

Code:
<!--Insert the following into the BODY of your page-->

<script language="JavaScript1.2">
<!--

/*
Context Menu script II (By Dheera Venkatraman at [EMAIL]dheera@dheera.net[/EMAIL])
Submitted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit [URL]http://dynamicdrive.com[/URL]
*/

var isie=0;
if(window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5) {
isie=1;
}
else {
isie=0;
}
if(isie) {
var html="";
html+='<TABLE STYLE="border:1pt solid #808080" BGCOLOR="#CCCCCC" WIDTH="140" HEIGHT="220" CELLPADDING="0" CELLSPACING="1">';
html+='<ST'+'YLE TYPE="text/css">\n';
html+='a:link {text-decoration:none;font-family:Arial;font-size:8pt;}\n';
html+='a:visited {text-decoration:none;font-family:Arial;font-size:8pt;}\n';
html+='td {font-size:8pt;}\n';
html+='</ST'+'YLE>\n';
html+='<SC'+'RIPT LANGUAGE="JavaScript">\n';
html+='\n<'+'!--\n';
html+='window.onerror=null;\n';
html+='/'+' -'+'->\n';
html+='</'+'SCRIPT>\n';
html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i0" ONMOUSEOVER="document.all.i0.style.background=\'#CFD6E8\';document.all.i0.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i0.style.background=\'#CCCCCC\';document.all.i0.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.history.go(-1);">&nbsp;<IMG SRC="menuback.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Back</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i1" ONMOUSEOVER="document.all.i1.style.background=\'#CFD6E8\';document.all.i1.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i1.style.background=\'#CCCCCC\';document.all.i1.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.history.go(1);">&nbsp;<IMG SRC="menuforward.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Forward</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC"><IMG SRC="pixel.gif" WIDTH="130" HEIGHT="1"></TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i4" ONMOUSEOVER="document.all.i4.style.background=\'#CFD6E8\';document.all.i4.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i4.style.background=\'#CCCCCC\';document.all.i4.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.parent.external.AddFavorite(window.top.location.href,window.top.document.title);">&nbsp;<IMG SRC="menufavorite.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Add to Favorites...</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i5" ONMOUSEOVER="document.all.i5.style.background=\'#CFD6E8\';document.all.i5.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i5.style.background=\'#CCCCCC\';document.all.i5.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.parent.location=\'view-source:\'+window.parent.location.href;">&nbsp;<IMG SRC="menusource.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;View Source</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC"><IMG SRC="pixel.gif" WIDTH="130" HEIGHT="1"></TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i6" ONMOUSEOVER="document.all.i6.style.background=\'#CFD6E8\';document.all.i6.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i6.style.background=\'#CCCCCC\';document.all.i6.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.parent.print();">&nbsp;<IMG SRC="menuprint.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Print</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i7" ONMOUSEOVER="document.all.i7.style.background=\'#CFD6E8\';document.all.i7.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i7.style.background=\'#CCCCCC\';document.all.i7.style.border=\'1pt solid #CCCCCC\';" ONCLICK="window.parent.location.href=window.parent.location.href;">&nbsp;<IMG SRC="menurefresh.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Refresh</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC"><IMG SRC="pixel.gif" WIDTH="130" HEIGHT="1"></TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i8" ONMOUSEOVER="document.all.i8.style.background=\'#CFD6E8\';document.all.i8.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i8.style.background=\'#CCCCCC\';document.all.i8.style.border=\'1pt solid #CCCCCC\';" ONCLICK="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=1.6; else window.parent.document.body.style.zoom=1.6;">&nbsp;<IMG SRC="menuzoom.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Zoom In</TD></TR>';

html+='<TR><TD STYLE="border:1pt solid #CCCCCC" ID="i9" ONMOUSEOVER="document.all.i9.style.background=\'#CFD6E8\';document.all.i9.style.border=\'1pt solid #737B92\';" ONMOUSEOUT="document.all.i9.style.background=\'#CCCCCC\';document.all.i9.style.border=\'1pt solid #CCCCCC\';" ONCLICK="if(window.parent.document.body.style.zoom!=0) window.parent.document.body.style.zoom*=0.625; else window.parent.document.body.style.zoom=0.625;">&nbsp;<IMG SRC="menuzoom.gif" WIDTH="12" HEIGHT="12" BORDER="0" HSPACE="0" VSPACE="0" ALIGN="absmiddle">&nbsp;Zoom Out</TD></TR>';

html+='</TABLE>';

var oPopup = window.createPopup();

}

function dopopup(x,y) {
if(isie) {
var oPopupBody = oPopup.document.body;
oPopupBody.innerHTML = html;
oPopup.show(x, y, 140, 220, document.body);
}
}

function click(e) {
if(isie) {
if(document.all) {
if(event.button==2||event.button==3) {
dopopup(event.x-1,event.y-1);
}
}
}
}

if(isie) {
document.oncontextmenu = function() { dopopup(event.x,event.y);return false; }
document.onmousedown = click;
}
// -->
</script>
  Zitieren


Nachrichten in diesem Thema
hilfe bei java script - von kunigunde - 13.08.2003, 10:24
[Kein Betreff] - von Zerogiven - 13.08.2003, 10:34
[Kein Betreff] - von Zerogiven - 13.08.2003, 10:35
[Kein Betreff] - von Zerogiven - 13.08.2003, 10:40
[Kein Betreff] - von kunigunde - 13.08.2003, 12:23
[Kein Betreff] - von kunigunde - 13.08.2003, 12:27
[Kein Betreff] - von Zerogiven - 13.08.2003, 12:35
[Kein Betreff] - von kunigunde - 13.08.2003, 12:49
[Kein Betreff] - von Zerogiven - 13.08.2003, 13:03
[Kein Betreff] - von kunigunde - 13.08.2003, 13:07
[Kein Betreff] - von kunigunde - 14.08.2003, 08:36
[Kein Betreff] - von Zerogiven - 14.08.2003, 09:10
[Kein Betreff] - von kunigunde - 14.08.2003, 22:08
[Kein Betreff] - von Zerogiven - 16.08.2003, 10:40
[Kein Betreff] - von kickedINtheHEAD - 16.08.2003, 12:40
[Kein Betreff] - von Zerogiven - 16.08.2003, 12:50
[Kein Betreff] - von kickedINtheHEAD - 16.08.2003, 14:11
[Kein Betreff] - von kunigunde - 16.08.2003, 15:16
[Kein Betreff] - von kickedINtheHEAD - 16.08.2003, 16:13
[Kein Betreff] - von kunigunde - 16.08.2003, 16:41
[Kein Betreff] - von kunigunde - 17.08.2003, 17:31
[Kein Betreff] - von kickedINtheHEAD - 17.08.2003, 21:31
[Kein Betreff] - von kunigunde - 17.08.2003, 21:41
[Kein Betreff] - von kickedINtheHEAD - 17.08.2003, 21:52
[Kein Betreff] - von kunigunde - 17.08.2003, 21:56
[Kein Betreff] - von kickedINtheHEAD - 17.08.2003, 21:58
[Kein Betreff] - von kunigunde - 17.08.2003, 22:07
[Kein Betreff] - von kickedINtheHEAD - 17.08.2003, 22:11
[Kein Betreff] - von kunigunde - 17.08.2003, 22:13
[Kein Betreff] - von kickedINtheHEAD - 17.08.2003, 22:14
[Kein Betreff] - von kunigunde - 17.08.2003, 22:19
[Kein Betreff] - von kickedINtheHEAD - 17.08.2003, 22:21
[Kein Betreff] - von kunigunde - 20.08.2003, 14:18
[Kein Betreff] - von kickedINtheHEAD - 20.08.2003, 22:11
[Kein Betreff] - von kunigunde - 21.08.2003, 14:55
[Kein Betreff] - von kunigunde - 24.08.2003, 10:57
[Kein Betreff] - von kickedINtheHEAD - 24.08.2003, 11:07
[Kein Betreff] - von kunigunde - 24.08.2003, 14:36
[Kein Betreff] - von kickedINtheHEAD - 24.08.2003, 14:43
[Kein Betreff] - von kunigunde - 25.08.2003, 14:41
[Kein Betreff] - von brunner - 25.08.2003, 21:02
[Kein Betreff] - von kunigunde - 27.08.2003, 17:47
[Kein Betreff] - von Zerogiven - 28.08.2003, 09:57
[Kein Betreff] - von kunigunde - 31.08.2003, 10:42
[Kein Betreff] - von Das_Grauen - 03.01.2005, 11:31

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste