<b>REGISTER</b>

GFX-Sector - HTML, CSS


 
GFX-Sector » Coding Area » Webentwicklung » HTML, CSS » Problem mit Frameeinstellungen » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites

HTML, CSS

Einfache Scriptsprachen und deren Layout mit HTML und CSS
Post New Thread Post Reply

Problem mit Frameeinstellungen

     Deutsche Version  English version
Author
Post « Previous Thread | Next Thread »

MAJOR MAJOR is a male
Polygonmeister


Avatar von MAJOR

Registration Date: 11.03.2008
Posts: 792
Location: KASACHSTAN &#9829;
Program: Photoshop cs4

Spacer
Problem mit Frameeinstellungen

Problem mit Frameeinstellungen

      

Hallo,
Mir wurde meine page (nicht gerade gut) von einem Freund gecodet. Whatever, ich habe ein Problem mit meiner Lightbox. habe schon jemanden gefragt aber er wusste auch nicht so recht wie er mir helfen kann ohne, dass die ganze Homepage verzerrt dargestellt wird.
Soweit wird alles richtig dargestellt, doch wenn man das Bild im Frame (galerie0.html) anklickt, wird die Lightbox im Frame angezeigt, was nicht sein sollte.
Hier der Code:

galerie.html
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Galerie</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript">
var timer_id;
function scroll_iframe(frm,inc,dir) {
  if (timer_id) clearTimeout(timer_id);
  if (window.frames[frm]) {
    if (dir == "v") window.frames[frm].scrollBy(0, inc);
    else window.frames[frm].scrollBy(inc, 0);
    timer_id = setTimeout("scroll_iframe('" + frm + "'," + inc + ",'" + dir + "')", 20);
  }
}

function stopScroll() { if (timer_id) clearTimeout(timer_id); }
</script>
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#002035" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('Bilder/homemo.gif','Bilder/galeriemo.gif','Bilder/cameramo.gif','Bilder/kontaktmo.gif')">
<table id="Tabelle_01" width="900" height="801" border="0" cellpadding="0" cellspacing="0" align="center">
	<tr>
		<td colspan="14">
			<img src="Bilder/index_01.gif" width="900" height="181" alt=""></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="4">
			<img src="Bilder/index_02.gif" width="332" height="117" alt=""></td>
		<td colspan="2"><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image38','','Bilder/homemo.gif',1)"><img src="Bilder/home.gif" name="Image38" width="77" height="28" border="0"></a></td>
<td rowspan="2">
			<img src="Bilder/index_04.gif" width="1" height="46" alt=""></td>
		<td><a href="galerie.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image37','','Bilder/galeriemo.gif',1)"><img src="Bilder/galeriemo.gif" name="Image37" width="71" height="28" border="0"></a></td>
<td rowspan="2">
			<img src="Bilder/index_06.gif" width="1" height="46" alt=""></td>
		<td><a href="camera.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image39','','Bilder/cameramo.gif',1)"><img src="Bilder/camera.gif" name="Image39" width="73" height="28" border="0"></a></td>
<td rowspan="2">
			<img src="Bilder/index_08.gif" width="1" height="46" alt=""></td>
		<td><a href="kontakt.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image40','','Bilder/kontaktmo.gif',1)"><img src="Bilder/kontakt.gif" name="Image40" width="80" height="28" border="0"></a></td>
<td rowspan="2">
			<img src="Bilder/index_10.gif" width="1" height="46" alt=""></td>
		<td colspan="2"><a href="impressum.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image41','','Bilder/impressummo.gif',0)"><img src="Bilder/impressum.gif" name="Image41" width="103" height="28" border="0"></a></td>
<td rowspan="6">
			<img src="Bilder/index_12.gif" width="160" height="619" alt=""></td>
	</tr>
	<tr>
		<td colspan="2">
			<img src="Bilder/index_13.gif" width="77" height="18" alt=""></td>
		<td>
			<img src="Bilder/index_14.gif" width="71" height="18" alt=""></td>
		<td>
			<img src="Bilder/index_15.gif" width="73" height="18" alt=""></td>
		<td>
			<img src="Bilder/index_16.gif" width="80" height="18" alt=""></td>
		<td colspan="2">
			<img src="Bilder/index_17.gif" width="103" height="18" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="Bilder/index_18.gif" width="25" height="71" alt=""></td>
		<td colspan="9" background="Bilder/headline.gif" width="361" height="53" alt="" id="headline">Foto-Galerie</td>
		<td rowspan="4">
			<img src="Bilder/index_20.gif" width="22" height="573" alt=""border="0" usemap="#Scrolling"></td>
  </tr>
	<tr>
		<td colspan="9">
			<img src="Bilder/index_21.gif" width="361" height="18" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="Bilder/index_22.gif" width="179" height="502" alt=""></td>
		<td colspan="11" background="Bilder/content.gif"><iframe id="scroll" name="text" src="galerie0.html" width="539" height="426" frameborder="0"></iframe>
        <map name="Scrolling">
<area shape="rect" coords="1,179,20,252" href="javascript:;" onMouseOver="scroll_iframe('text', -4, 'v'); window.status='Up'; return true" onMouseOut="stopScroll(); window.status='left'; return true" style="cursor: default;">
<area shape="rect" coords="-5,281,20,359" href="javascript:;" onMouseOver="scroll_iframe('text', 4, 'v'); window.status='Down'; return true" onMouseOut="stopScroll(); window.status='right'; return true" style="cursor: default;">
</map>
			</td>
	</tr>
	<tr>
		<td colspan="11">
			<img src="Bilder/index_24.gif" width="539" height="76" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="179" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="153" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="25" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="52" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="71" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="73" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="80" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="81" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="22" height="1" alt=""></td>
		<td>
			<img src="Bilder/Abstandhalter.gif" width="160" height="1" alt=""></td>
	</tr>
</table>
</body>
</html>


galerie0.html
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
<html>
<head>
<title>Home</title>
<link rel="stylesheet" href="style2.css" type="text/css">
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="js/lightbox.js" type="text/javascript"></script>
</head>
<body>
<a href="iTALY.jpg" rel="lightbox"><img src="iTALY.jpg" border="0" width="170" height="100"></a>
</body>
</html>



Kann da jemand was machen? Ich weiß es auch nicht. derjenige hat schon versucht von Iframe auf div umzustellen aber dann wird es komplett verzerrt. Es kann also wirklich nur eine Kleinigkeit sein. Im übrigen das Coding der gesamten Seite ist wirklich unübersichtlich. Falls ihr noch was braucht sagt bescheid.

Lightbox-Dateien:
http://fotos93.fo.funpic.de/js/

MFG


**I KNOW YOU HATE MY STYLE**



*BEEF MIT ERNIE UND BERT*

This post has been edited 1 time(s), it was last edited by MAJOR: 29.11.2008 18:56.

Problem mit Frameeinstellungen 29.11.2008 18:06 MAJOR is offline Search for Posts by MAJOR

Ephraim
Co-Administrator


Avatar von Ephraim

Registration Date: 17.03.2008
Posts: 4,365
Forums: (alle)

Spacer
      

Wieso zum Teufel startest du 2 Threads ?!
http://www.gfx-sector.de/LIGHTBOX-ausken...html#post160625

Das es im iframe "nicht geht", liegt daran das die Lightbox größer ist als der Frame und dadurch die Scrollbar entsteht

Und weshalb sollte man es nicht in divs schreiben können?
Natürlich geht das wenn man weis wie es geht

MfG

Problem mit Frameeinstellungen 30.11.2008 01:08 Ephraim is online Search for Posts by Ephraim

cheahzle cheahzle is a male
Love it!


cheahzle hat kein Avatar

Registration Date: 23.12.2007
Posts: 290
Location: Düsseldorf

Spacer
      

Wenn man einfach Texte von anderen klaut naja egal. Der originaltext stammt von mir aus einem anderen Forum. Jedenfalls hab ich versucht auf div umzusteigen doch dank des genialen Codings wird dann sofort die komplette Seite verzerrt. Keine Ahnung warum!

Problem mit Frameeinstellungen 02.12.2008 15:46 cheahzle is offline Search for Posts by cheahzle

MAJOR MAJOR is a male
Polygonmeister


Avatar von MAJOR

Registration Date: 11.03.2008
Posts: 792
Location: KASACHSTAN &#9829;
Program: Photoshop cs4

Thread Starter Thread Started by MAJOR
Spacer
      

sorry großes Grinsen aber das ja für mich geschrieben worden der text.
hier antworten wenigstens leute & bei DD nich

HILFEEEE



**I KNOW YOU HATE MY STYLE**



*BEEF MIT ERNIE UND BERT*

This post has been edited 1 time(s), it was last edited by MAJOR: 05.12.2008 15:59.

Problem mit Frameeinstellungen 02.12.2008 17:13 MAJOR is offline Search for Posts by MAJOR
 
Spacer
   
GFX-Sector
unregistered


 hat kein Avatar


Spacer

Have you enjoyed this topic?


If you were enjoying this post and if you keen on reading more interesting stuff then do not hesitate to complete the free sign up.

After the free registration you will gain access to all areas and you will be able to communicate with other artists from all over the world.

In addition you will benefit from our Photoshop and coding section as well as from our huge (hundreds of gigabytes) free resource section where you can find everything you will need to be a successful (web) designer/artist.

Sign up now and enjoy the advantages as a registered member.

(This website will be ad-free after a complete free sign up.)

New Post 02.12.2008 17:13  
Tree Structure | Board Structure
Post New Thread Post Reply
GFX-Sector » Coding Area » Webentwicklung » HTML, CSS » Problem mit Frameeinstellungen

Similar topics to Problem mit Frameeinstellungen
Thread
[Problem] Wichtiges Problem (Forum: Fragen & Probleme)
Gift for dynamite (Forum: Gifts)
Z-KroW gegen dynamite (Forum: Battle-Archiv)
[Anime] Collab mit Iguan (Forum: Signaturen/Avatare)
[Frage] t-shirt womit machen (Forum: Fragen & Probleme)