Problem bei Grafik einfügen
|
Verfasser |
Nachricht |
|
Beiträge: 1.243
Bewertung: 1
Registriert seit: Dec 2009
Status:
offline
|
Problem bei Grafik einfügen
Hallo,
da ich keinerlei HTML Kenntnisse habe, habe ich zur Zeit leider ein kleines Problem, welches ich nicht alleine gelöst bekomme.
Ich will auf meiner Website [Link: Registrierung erforderlich] links neben der Navigation (außerhalb vom Template) folgenden Banner (mit Verlinkung) einfügen: [Link: Registrierung erforderlich]
Bloß weiß ich nicht genau, an welcher stelle ich das in meiner index.php einfügen muss.
<?php include("_mysql.php"); include("_settings.php"); include("_functions.php"); $_language->read_module('index'); $index_language = $_language->module; ?> <!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" /> <title><?php echo PAGETITLE; ?></title> <link rel="stylesheet" type="text/css" href="_stylesheet.css"/> <link href="css/valorvedic.css" rel="stylesheet" type="text/css" /> <link href="css/2one_register.css" rel="stylesheet" type="text/css" /> <link href="tmp/rss.xml" rel="alternate" type="application/rss+xml" title="<?php echo getinput($myclanname); ?> - RSS Feed" /> <script src="js/bbcode.js" language="jscript" type="text/javascript"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="js/tabs.js" language="jscript" type="text/javascript"></script>
<script src="fcslider/jquery.easing.1.2.js" language="jscript" type="text/javascript"></script> <script src="fcslider/jquery.anythingslider.js" language="jscript" type="text/javascript"></script> <script type="text/javascript"> $(function () { $('#fc_wrapper').anythingSlider({ easing: "swing", // Anything other than "linear" or "swing" requires the easing plugin - easeInOutExpo autoPlay: true, // This turns off the entire FUNCTIONALY, not just if it starts running or not. delay: 6000, // How long between slide transitions in AutoPlay mode startStopped: false, // If autoPlay is on, this can force it to start stopped animationTime: 600, // How long the slide transition takes hashTags: true, // Should links change the hashtag in the URL? buildNavigation: false, // If true, builds and list of anchor links to link to each slide pauseOnHover: true // If true, and autoPlay is enabled, the show will pause on hover // navigationFormatter: formatText // Details at the top of the file on this use (advanced use) }); }); function jumpto(id) { $('#fc_wrapper').anythingSlider(id); } </script> <script type="text/javascript" src="js/jquery.tinycarousel.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#slider1').tinycarousel({ display: 1, controls: true, interval:false, intervaltime: 3000, animation: true, }); }); </script> <script type="text/javascript"> $(document).ready(function(){ $("#step li").each(function (i) { i = i+1; $(this).addClass("item"+i); }); }); </script> <script type="text/javascript">
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-25523544-1']); _gaq.push(['_trackPageview']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
</script> </head> <body>
<div id="top_bar"> <div id="login_area"><?php include("login.php"); ?></div> <div id="stats"><?php include("counter.php"); ?></div> </div>
<div id="container">
<div class="header_space"> <div class="logo"><img src="sm/logo.png" width="129" height="83" alt="logo"/></div> <div class="header_advert"><?php include("sc_bannerrotation.php"); ?></div> </div>
<!---nav_bar--> <div id="nav_content"><?php include("sc_navibar.php"); ?></div> <!---nav_bar-->
<div id="sponsor">
<div id="slider1"> <a class="buttons prev" href="#">left</a> <div class="viewport"> <ul class="overview"> <?php include("sc_sponsors.php"); ?> </ul> </div> <a class="buttons next" href="#">right</a> </div>
</div>
<div id="wrapper"><!---wrapper // full forum--> <?php if ($site=="forum" or $site=="forum_topic") { ?> <div id="full_forum"><?php if(!isset($site)) $site="main"; $invalide = array('\\','/','/\/',':','.'); $site = str_replace($invalide,' ',$site); if(!file_exists($site.".php")) $site = "main"; include($site.".php"); ?></div><!---end // full forum--> <?php } else { ?>
<!---left_content--> <div id="left_content"><?php include("sc_left.php"); ?></div> <!---left_content-->
<!---main_content--> <div id="main_content">
<div id="fea_content"><?php include("sc_featuredcont.php"); ?></div>
<img src="sm/tabs/grey_top.jpg" alt=""/> <div id="grey_box">
<div id="news_content"> <?php if(!isset($site)) $site="main"; $invalide = array('\\','/','/\/',':','.'); $site = str_replace($invalide,' ',$site); if(!file_exists($site.".php")) $site = "main"; include($site.".php");?> </div>
</div> <img src="sm/tabs/grey_low.jpg" alt=""/>
</div> <?php } ?> <div class="clear"></div> </div> <?php include("sc_footer.php"); ?> </div> </body> </html>
Könnte mir einer vielleicht sagen, an welche stelle ich das einfügen muss?
Würde mich sehr freuen.
Gruß
[Link: Registrierung erforderlich]
Dieser Beitrag wurde zuletzt bearbeitet: 03.01.2013 15:34 von pl0x.
|
|
03.01.2013 15:31 |
|
|
Beiträge: 168
Bewertung: 2
Registriert seit: Oct 2012
Status:
offline
|
RE: Problem bei Grafik einfügen
mach einen neuen div mit style
|
|
03.01.2013 15:39 |
|
|
Beiträge: 856
Bewertung: 34
Registriert seit: Jun 2011
Status:
offline
|
RE: Problem bei Grafik einfügen
In welchem verzeichnis liegt deine index datei und wo deine Grafik-Dateien.
---------------------
Mit freundlichen Grüßen
Robert Bremer
|
|
03.01.2013 15:39 |
|
|
Beiträge: 1.765
Bewertung: 9
Registriert seit: May 2010
Status:
offline
|
|
03.01.2013 15:41 |
|
|
Beiträge: 856
Bewertung: 34
Registriert seit: Jun 2011
Status:
offline
|
RE: Problem bei Grafik einfügen
Ah gut, ja ich würde auch vorschlagen ein neues Div-Styl mit einzubinden.
Beim genauer hinschauen fällt das ja schon auf.
---------------------
Mit freundlichen Grüßen
Robert Bremer
|
|
03.01.2013 15:47 |
|
|
Beiträge: 168
Bewertung: 2
Registriert seit: Oct 2012
Status:
offline
|
RE: Problem bei Grafik einfügen
hast es schon geschafft? Sonst schreib mich einfach an..
|
|
03.01.2013 16:12 |
|
|
Beiträge: 624
Bewertung: 32
Registriert seit: Jul 2012
Status:
offline
|
RE: Problem bei Grafik einfügen
Also tioretisch kannst du es überall im <body> Tag einfügen. Ich habe dir mal eine Stelle makiert die ich für passend halte.
<?php include("_mysql.php"); include("_settings.php"); include("_functions.php"); $_language->read_module('index'); $index_language = $_language->module; ?> <!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" /> <title><?php echo PAGETITLE; ?></title> <link rel="stylesheet" type="text/css" href="_stylesheet.css"/> <link href="css/valorvedic.css" rel="stylesheet" type="text/css" /> <link href="css/2one_register.css" rel="stylesheet" type="text/css" /> <link href="tmp/rss.xml" rel="alternate" type="application/rss+xml" title="<?php echo getinput($myclanname); ?> - RSS Feed" /> <script src="js/bbcode.js" language="jscript" type="text/javascript"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="js/tabs.js" language="jscript" type="text/javascript"></script>
<script src="fcslider/jquery.easing.1.2.js" language="jscript" type="text/javascript"></script> <script src="fcslider/jquery.anythingslider.js" language="jscript" type="text/javascript"></script> <script type="text/javascript"> $(function () { $('#fc_wrapper').anythingSlider({ easing: "swing", // Anything other than "linear" or "swing" requires the easing plugin - easeInOutExpo autoPlay: true, // This turns off the entire FUNCTIONALY, not just if it starts running or not. delay: 6000, // How long between slide transitions in AutoPlay mode startStopped: false, // If autoPlay is on, this can force it to start stopped animationTime: 600, // How long the slide transition takes hashTags: true, // Should links change the hashtag in the URL? buildNavigation: false, // If true, builds and list of anchor links to link to each slide pauseOnHover: true // If true, and autoPlay is enabled, the show will pause on hover // navigationFormatter: formatText // Details at the top of the file on this use (advanced use) }); }); function jumpto(id) { $('#fc_wrapper').anythingSlider(id); } </script> <script type="text/javascript" src="js/jquery.tinycarousel.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#slider1').tinycarousel({ display: 1, controls: true, interval:false, intervaltime: 3000, animation: true, }); }); </script> <script type="text/javascript"> $(document).ready(function(){ $("#step li").each(function (i) { i = i+1; $(this).addClass("item"+i); }); }); </script> <script type="text/javascript">
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-25523544-1']); _gaq.push(['_trackPageview']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
</script> </head> <body>
<div id="top_bar"> <div id="login_area"><?php include("login.php"); ?></div> <div id="stats"><?php include("counter.php"); ?></div> </div>
<div id="container">
<div class="header_space"> <div class="logo"><img src="sm/logo.png" width="129" height="83" alt="logo"/></div> <div class="header_advert"><?php include("sc_bannerrotation.php"); ?></div> </div>
<!---nav_bar--> <div id="nav_content"><?php include("sc_navibar.php"); ?></div> <!---nav_bar-->
<div id="sponsor">
<div id="slider1"> <a class="buttons prev" href="#">left</a> <div class="viewport"> <ul class="overview"> <?php include("sc_sponsors.php"); ?> </ul> </div> <a class="buttons next" href="#">right</a> </div>
</div>
<div id="wrapper"><!---wrapper // full forum--> <?php if ($site=="forum" or $site=="forum_topic") { ?> <div id="full_forum"><?php if(!isset($site)) $site="main"; $invalide = array('\\','/','/\/',':','.'); $site = str_replace($invalide,' ',$site); if(!file_exists($site.".php")) $site = "main"; include($site.".php"); ?></div><!---end // full forum--> <?php } else { ?>
<!---left_content--> <div id="left_content"><?php include("sc_left.php"); ?></div> <!---left_content-->
<!---main_content--> <div id="main_content">
<div id="fea_content"><?php include("sc_featuredcont.php"); ?></div>
<img src="sm/tabs/grey_top.jpg" alt=""/> <div id="grey_box">
<div id="news_content"> <?php if(!isset($site)) $site="main"; $invalide = array('\\','/','/\/',':','.'); $site = str_replace($invalide,' ',$site); if(!file_exists($site.".php")) $site = "main"; include($site.".php");?> </div>
</div> <img src="sm/tabs/grey_low.jpg" alt=""/>
</div> <!-- Hier der Untenstehende Code --!> <?php } ?> <div class="clear"></div> </div> <?php include("sc_footer.php"); ?> </div> </body> </html>
<div style="margin-right: 0px; margin-left: So viele Px bis es passt; margin-bottom: So viele Px bis es passt;"> <img src="http://1mage.in/show/03_01_2013-742491-543.jpg" title="Werbung" /> </div>
Mit freundlichen Grüßen,
Niklas
Dieser Beitrag wurde zuletzt bearbeitet: 04.01.2013 00:25 von Niklas.
|
|
03.01.2013 16:19 |
|
|