 |
| Hinweise |
Willkommen im TP-Hilfe-Forum!Dies ist ein Forum zu den Themen Photoshop, Dreamweaver, Flash, Selbständigkeit und mehr, in dem Du Hilfe, Anleitung oder eine Lösung zu Deinen Problemen erhältst. Aktuell bist Du in unseren Foren als Gast mit reinen Leserechten unterwegs. Wenn Du Dich registrierst, kannst Du eigene Themen verfassen, deine Frage stellen und privat mit anderen TPlern kommunizieren. Weitere Foren werden zugänglich, und Du wirst – falls gewünscht – per Mail über neue Beiträge informiert. Die Registrierung ist schnell und kostenlos. Sollten bei der Registrierung Fragen auftauchen, reicht ein Klick in unsere Hilfe - Häufig gestellte Fragen oder eine kurze Mitteilung an das Support-Team. Viel Spaß bei Traum-Projekt.com |
01.07.2008, 00:57
|
#1
|
|
TP-Junior
Registriert seit: Jul 2008
|
pop up page in DW template
Hallo zusammen,
ich bin der neue
ich habe schon laenger die suche benutzt und nichts gefunden...
Ich habe ein template in DW CS3 erstellt und muss nun in ein oder zwei pages ein top up mit bestimmter groesse einbinden.
das problem ist das ein teil des scriptes im <head> bereich ist, welches ich nicht bearbeiten kann!
Ich habe einmal den teil in die .dwt gepackt aber danach war die website nicht mehr zu gebrauchen... 
gibt es irgendeine moeglichkeit einen normalen link einzufuegen und eine fenster zu oeffnen was sich dann von alleine resized und in die richtige position bringt???
ich weiss es hoert sich verrueckt an...
aber naja.
ich weiss auch nicht
Hoffe, ihr koennt mir helfen..
habe schon lange bei euch mitgelesen und mich nun wieder bei euch angemeldet!
cheers
jan
|
|
|
01.07.2008, 04:43
|
#2
|
|
TP-Moderator
Registriert seit: Apr 2008
Ort: Naumburg
|
Hallo Jan.Goergen,
na dann herzlich Willkommen hier im Traum-Projekt.
Wenn deine Vorlage schon existiert, dann ist doch nix einfacher als den Quelltext hier mit vorzuzeigen, damit man schauen kann wo sich der Fehler eingeschlichen hat.
Deine Schilderungen lassen auf einen schlechten Quelltext schliessen.
Normalerweise ist es kein Problem ein Popup über nen Link zu öffnen.
Benuzte noch mal die Suche und such nach: Popupfenster
Oder klicke hier: popup
oder hier: popup
Da ist das Problem schon sehr ausführlich mit Beispiel erläutert.
Grüsse zulujaner
|
|
|
01.07.2008, 07:59
|
#3
|
|
TP-Moderator
Registriert seit: Jan 2004
Ort: Marbach
|
Hallo jan, willkommen und viel Spaß im TP
Wenn man in Dreamweaver eine vorlage erstellt wird folgender Source-Code erstellt:
HTML-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Unbenanntes Dokument</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>
<body>
</body>
</html>
Legen wir einmal besonderes Augenmerk auf folgenden Teil im Head-Bereich:
HTML-Code:
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
Zwischen <!-- TemplateBeginEditable name="head" --> und <!-- TemplateEndEditable --> kann man Skripte einfügen auch in aus dem Template erstellten Unterseiten 
|
|
|
01.07.2008, 09:57
|
#4
|
|
TP-Junior
Registriert seit: Jul 2008
|
hey Torsten,
und danke fuer deinen beitrag,
Ich habe meinen souce code gecheckt und ja ich habe den bereich drin,
ABER ich kann kein script einfuegen.
hier ist der QQ
HTML-Code:
<html><!-- InstanceBegin template="/Templates/subpages.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>0002</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<style type="text/css">
<!--
.tablehead { color: #FFFFFF;
font-size: 11px;
font-weight: normal;
}
td {
font-family: Tahoma;
font-size: 11px;
color: #CCCCCC;
text-decoration: none;
border: none;
}
img {
text-decoration: none;
border: none;
}
a {
font-family: Tahoma;
font-size: 11px;
color: #063A98;
text-decoration: none;
border: none;
}
.a {
font-family: Tahoma;
font-size: 11px;
color: #FF6A07;
text-decoration: none;
border: none;
}
.a1 {
font-family: Tahoma;
font-size: 9px;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
border: none;
}
font {
font-family: Tahoma;
font-size: 11px;
color: #000000;
text-decoration: none;
border: none;
}
.f {
font-family: Tahoma;
font-size: 11px;
color: #000000;
text-decoration: none;
border: none;
}
.cost {
font-family: Tahoma;
font-size: 25px;
font-weight: bold;
color: #FF0000;
text-decoration: none;
border: none;
}
.a2 { font-family: Tahoma;
font-size: 11px;
color: #FF6A07;
text-decoration: underline;
border: none;
}
.td {
font-size: 11px;
font-style: normal;
font-weight: normal;
color: #000000;
text-align: left;
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #D0401B;
background-color: #FFFFFF;
}
.style3 {color: #FFFFFF; font-size: 10px; }
.style4 {
font-size: 9px;
color: #FFFFFF;
text-decoration: underline;
border: none;
font-family: Tahoma;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body bgcolor=#FFFFFF leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
<!-- ImageReady Slices (0002.psd - Slices: 01, 03, 04, 05, 06, bottom, line, top) -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="50%"></td>
<td>
<table width=780 height="100%" border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=538 height=144 colspan=2 rowspan=2><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0','width','538','height','144','src','images/0269','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','images/0269' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="538" height="144">
<param name="movie" value="images/0269.swf">
<param name="quality" value="high">
<embed src="images/0269.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="538" height="144"></embed></object></noscript></td>
<td><img src="images/top.jpg" width=242 height=64 alt=""></td>
</tr>
<tr>
<td width=242 height=100% rowspan=3>
<table width="242" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="3">
<table width="3" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="80"><img src="images/line4.jpg"></td>
</tr>
<tr>
<td height="100%" background="images/small_bg.jpg"></td>
</tr>
</table>
</td>
<td width="222" bgcolor="#f8f8f8">
<table width="222" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="images/big_bg.jpg" style="background-position:bottom;background-repeat:no-repeat;" valign="top">
<table width="222" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-top:10"><font style="color:#1F57B5;font-size:11px;padding-left:10"><b>>> Jean-Noel, London</b></font></td>
</tr>
<tr>
<td style="padding-top:10">
<table width="222" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="76" align="right" style="padding-top:10" valign="top"><img src="images/ref2.gif"></td>
<td width="146" style="padding-left:5;padding-right:10;color:#000000"> I love the simplicity of calling anywhere in the world whenever I want!</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding-top:10;padding-bottom:10"><img src="images/line3.jpg"></td>
</tr>
<tr>
<td style="padding-top:10"><font style="color:#1F57B5;font-size:11px;padding-left:10"><b>>> Julie, Glasgow</b></font></td>
</tr>
<tr>
<td style="padding-top:10">
<table width="222" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="76" align="right" style="padding-top:10" valign="top"><img src="images/ref3.gif"></td>
<td width="146" style="padding-left:5;padding-right:10;color:#000000"> .... It was so expensive to call internationally that I lost touch with old friends.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding-top:10;padding-bottom:10"><img src="images/line3.jpg"></td>
</tr> <tr>
<td style="padding-top:10"><font style="color:#1F57B5;font-size:11px;padding-left:10"><b>>> Sarah, Bow</b></font></td>
</tr>
<tr>
<td style="padding-top:10">
<table width="222" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="76" align="right" style="padding-top:10" valign="top"><img src="images/ref4.gif"></td>
<td width="146" style="padding-left:5;padding-right:10;color:#000000"> I was hooked using the landline service but now text topup is great for me!<a href="" class="a2"></a> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding-top:10;padding-bottom:10"><img src="images/line3.jpg"></td>
</tr> <tr>
<td style="padding-top:10"><font style="color:#1F57B5;font-size:11px;padding-left:10"><b>>> Sharon, Wigan</b></font></td>
</tr>
<tr>
<td style="padding-top:10">
<table width="222" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="76" align="right" style="padding-top:10" valign="top"><img src="images/ref1.gif"></td>
<td width="146" style="padding-left:5;padding-right:10;color:#000000"> Since my mother found this service she calls al lthe time, which is nice!</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding-top:10;padding-bottom:10"><img src="images/line3.jpg"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="17">
<table width="17" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="81"><img src="images/right_line.jpg"></td>
</tr>
<tr>
<td height="100%" background="images/bg6.jpg"></td>
</tr>
<tr>
<td height="106"><img src="images/right_bg1.jpg"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td><img src="images/spacer.gif" width=1 height=80 alt=""></td>
</tr>
<tr>
<td width=538 height=78 colspan=2 bgcolor="#F8F8F8"><!-- InstanceBeginEditable name="banner" -->
<div align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','460','height','60','src','images/USA','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/USA' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="460" height="60">
<param name="movie" value="images/USA.swf">
<param name="quality" value="high">
<embed src="images/USA.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="460" height="60"></embed>
</object>
</noscript></div>
<!-- InstanceEndEditable --></td>
<td><img src="images/spacer.gif" width=1 height=78 alt=""></td>
</tr>
<tr>
<td width=538 height=100% colspan=2 background="images/bg_new.jpg">
<table width="538" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/top_menu.jpg"></td>
</tr>
<tr>
<td height="100%" background="images/menu_bg.jpg">
<table width="538" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="color:#000000;padding-left:60;padding-right:50"><!-- InstanceBeginEditable name="main" -->INSTANT ACCESS FOR LANDLINE USERS...
</strong>
<p align="left"> With the callcrew instant access numbers, you can call worldwide from 2p per minute*<br>
Dial the access number Next, dial your international number in full (including the '00' prefix) - Thats it!
<p align="left">
<table width="100%" border="0" cellpadding="1" cellspacing="1" class="table">
<tr>
<th bgcolor="#D0401B" scope="col"><div align="left"><span class="tablehead">COUNTRY</span></div></th>
<th bgcolor="#D0401B" class="tablehead" scope="col"><span class="style29" >ACCESS CODE</th>
<th bgcolor="#D0401B" class="tablehead" scope="col"><span class="style29" >P/MIN</th>
</tr>
<tr>
<th class="td" scope="row">USA, CHINA, AUSTRALIA</th>
<td class="td">0844 838 0586</td>
<td class="td">2</td>
</tr>
<TR>
<TD vAlign="top" class="td"><p>HONG KONG</p></TD>
<TD vAlign="top" class="td"><p>0844 431 2183* </p></TD>
<TD vAlign="top" class="td"><p>3</p></TD>
</TR>
<TR>
<TD vAlign="top" class="td"><span class="style34"></span>
<p>JAPAN</p></TD>
<TD vAlign="top" class="td"><p>0844 904 4084* </p></TD>
<TD vAlign="top" class="td"><p>4</p></TD>
</TR>
<TR>
<TD vAlign="top" class="td"><p>SOUTH AFRICA, INDIA,NIGERIA</p></TD>
<TD vAlign="top" class="td"><p>0844 570 4852* </p></TD>
<TD vAlign="top" class="td"><p>5</p></TD>
</TR>
<TR>
<TD vAlign="top" class="td"><p>JAMAICA</p></TD>
<TD vAlign="top" class="td"><p>0871 751 3249* </p></TD>
<TD vAlign="top" class="td"><p>6</p></TD>
</TR>
<TR>
<TD vAlign="top" class="td"><p>BARBADOS, KENYA</p></TD>
<TD vAlign="top" class="td"><p>0871 801 3273* </p></TD>
<TD vAlign="top" class="td"><p>7</p></TD>
</TR>
<TR>
<TD vAlign="top" class="td"><p>ANTIGUA, GRENADA, MAURITIUS, ST.LUCIA</p></TD>
<TD vAlign="top" class="td"><p>0871 570 9368* </p></TD>
<TD vAlign="top" class="td"><p>10</p></TD>
</TR>
<TR>
<TD vAlign="top" class="td"><p>DUBAI</p></TD>
<TD vAlign="top" class="td"><p>0905 306 9470* </p></TD>
<TD vAlign="top" class="td"><p>15</p></TD>
</TR>
<TR>
<TD vAlign="top" class="td"><p>HAVANA</p></TD>
<TD vAlign="top" class="td"><p>0905 091 7262* </p></TD>
<TD vAlign="top" class="td"><p>50</p></TD>
</TR>
</table>
<p class="style35"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">*Subject to availability. Rates shown are what you will pay if you are a BT Together Option One customer. Rates for calls made from mobiles and other service providers may differ. Rates effective from 01/05/2008 and may change without prior notice. For full Terms & Conditions click on Terms and Conditions. Services provided by Telco Global Ltd.<br>
<br>
To check rates and access codes for other countries select from the list below.</font><br>
(Safari users please use the popup <A href="#" class="a" onClick="MM_openBrWindow('numberspopup2.html','','status=yes,scrollbars=yes,width=400,height=500')">here</A>)</p>
<p align="left">
<iframe src="http://www.just-dial.com/jd/agents/rate_finder_tool2/rate_tool_finder_0844.asp?ID=40925526" align="center" frameborder="0" height="100%" width="100%" marginheight="0" marginwidth="0" scrolling="no">
<p> </p>
<p> </p>
</iframe><!-- InstanceEndEditable --></td>
</tr>
<tr>
<td height="100%"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="images/bot_menu.jpg"></td>
</tr>
</table>
</td>
<td>
<img src="images/spacer.gif" width=1 height=518 alt=""></td>
</tr>
<tr>
<td width=537 height=60 background="images/bg1.jpg">
<table width="537" height="60" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="536" align="center">
<a href="index.html" class="a1">>> home</a>
<a href="instantuse.html" class="a1">>> instant use</a>
<a href="txttopup.html" class="a1">>> txt top up</a>
<a href="contactus.html" class="a1">>> contact us</a>
<a href="faqs.html" class="a1">>> faqs </a>
<a href="tacs.html" class="a1">>> t&c </a>
<br>
<br>
<span class="style3"><a href="http://www.freevirtualservers.com/free-hosting.htm" target="_blank" class="style4">Free website hosting by FreeVirtualServers </a></span></td>
<td width="1"><img src="images/line.jpg"></td>
</tr>
</table>
</td>
<td><img src="images/line.jpg" width=1 height=60 alt=""></td>
<td><img src="images/bottom.jpg" width=242 height=60 alt=""></td>
</tr>
</table>
</td>
<td width="50%"></td>
</tr>
</table>
<!-- End ImageReady Slices -->
</body>
<!-- InstanceEnd --></html>
also was mache ich falsch?
sorry das ich den komplette QQ eingefuegt habe aber ich kenne mich nicht wirklich mit html aus  noch nicht jedenfalls!!!
hoffe es hilft!!!!!
ps werde die css noch ausgliedern und ein eigene datei draus machen
cheers jan
|
|
|
01.07.2008, 10:44
|
#5
|
|
TP-Moderator
Registriert seit: Jan 2004
Ort: Marbach
|
Zitat:
Zitat von Jan.Goergen
Ich habe meinen souce code gecheckt und ja ich habe den bereich drin,
ABER ich kann kein script einfuegen.
|
Was bekommst du denn für eine Fehlermeldung?
Oder wie macht es sich bemerkbar das Du an der von mir referenzierten Stelle keinen Code einfügen kannst?
|
|
|
04.07.2008, 17:22
|
#6
|
|
TP-Junior
Registriert seit: Jul 2008
|
sorry,
dass es so lange gedauert hat aber ich war unterwegs.
ich habe es hinbekommen danke schoen habe aber ein anderes problem mit meinem template!
werde einen neuen thread oeffnen!
Danke an alle und besonders torsten!!!
|
|
|
|
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
|
|
|
| Themen-Optionen |
Thema durchsuchen |
|
|
|
| Thema bewerten |
|
|
Forumregeln
|
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.
HTML-Code ist aus.
|
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 10:15 Uhr.
|
 |