Newsgroup: it.fan.studio-vit
Titolo: [HELP] Aiuto per blog


Ecco, ora io volevo inserire il fatto che cliccando l'immagine in alto
(l'header con Holly e la scritta Gazzetta dello Sbruotfl!) si tornasse
alla homepage.
Cosa devo cambiare qua sotto?
Grazie!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
">
<html xmlns="
http://www.w3.org/1999/xhtml
" xml:lang="en" lang="en">
<head>
  <title><$BlogPageTitle$></title>
  <$BlogMetaData$>
  <style type="text/css">
/*
-----------------------------------------------------
Blogger Template Style Sheet
Name:     Scribe
Designer: Todd Dominey
URL:      
domineydesign.com
 / 
whatdoiknow.org
Date:     27 Feb 2004
------------------------------------------------------ */
/* Defaults
----------------------------------------------- */
body {
	margin:0;
	padding:0;
	font-family: Georgia, Times, Times New Roman, sans-serif, GF Halda
Smashed;
	font-size: small;
	text-align:center;
	color:#29303B;
	line-height:1.2;
	background:#FFE6F1;
}
blockquote {
	font-style:italic;
	padding:0 32px;
	line-height:1.6;
	margin:0 0 .6em 0;
}
p {margin:0;padding:0};
abbr, acronym {
	cursor:help;
	font-style:normal;
}
code {font:12px monospace;white-space:normal;color:#666;}
hr {display:none;}
img {border:0;}
/* Link styles */
a:link {color:#473624;text-decoration:underline;}
a:visited {color:#716E6C;text-decoration:underline;}
a:hover {color:#956839;text-decoration:underline;}
a:active {color:#956839;}
/* Layout
----------------------------------------------- */
#wrap {
	background-color:#473624;
	border-left:1px solid #332A24;
	border-right:1px solid #332A24;
	width:700px;
	margin:0 auto;
	padding:8px;
	text-align:center;
}
#main-top {
	width:700px;
	height:20px;
	background:#FFF3DB
url("
http://i36.photobucket.com/albums/e24/OliverStatua/Immagine3.gif
")
no-repeat top left;
	margin:0;padding:0;
	display:block;
}
#main-bot {
	width:700px;
	height:81px;
	background:#FFF3DB
url("
http://i36.photobucket.com/albums/e24/OliverStatua/Immagine4.gif
")
no-repeat top left;
	margin:0;padding:0;
	display:block;
}
#main-content {
	width:700px;
	background:#FFF3DB
url("
http://i36.photobucket.com/albums/e24/OliverStatua/Immagine5.gif
")
repeat-y;
	margin:0;
	text-align:left;
	display:block;
}
#inner-wrap {
	padding:0 30px;
}
#blog-header {
	margin-bottom:12px;
        text-align:center;
}
#blog-header h1 {
        border-left:2px solid #332A24;
	border-right:2px solid #332A24;
        border-bottom:2px solid #332A24;
	border-top:2px solid #332A24;
        margin:0;
        height:140px;
	padding:140 0 6px 0;
	font-size:0%;
	font-weight:normal;
	color:#612E00;
        background:
url("
http://i36.photobucket.com/albums/e24/OliverStatua/Immagine2.gif
")
center;
}
#blog-header h1 a:link {
        background:
url("
http://i36.photobucket.com/albums/e24/OliverStatua/Immagine2.gif
")
center;
	text-decoration:none;
}
#blog-header h1 a:visited {
	text-decoration:none;
	}
#blog-header h1 a:hover {
	border:0;
	text-decoration:none;
}
#blog-header p {
	margin:0;
	padding:0;
	font-style:italic;
	font-size:94%;
	line-height:1.5em;
}
div.clearer {
	clear:left;
	line-height:0;
	height:10px;
	margin-bottom:12px;
	_margin-top:-4px; /* IE Windows target */
	background:url("
http://www.blogblog.com/scribe/divider.gif
") no-repeat
bottom left;
}
#main {
	width:430px;
	float:right;
	padding:8px 0;
	margin:0;
}
#sidebar {
	width:200px;
	float:left;
	padding:8px 0;
	margin:0;
}
#footer {
	clear:both;
	background:url("
http://www.blogblog.com/scribe/divider.gif
") no-repeat
top left;
	padding-top:10px;
	_padding-top:6px; /* IE Windows target */
}
#footer p {
	line-height:1.5em;
	font-family:Verdana, sans-serif;
	font-size:75%;
}
/* Typography :: Main entry
----------------------------------------------- */
h2.date-header {
	font-weight:normal;
	text-transform:uppercase;
	letter-spacing:.1em;
	font-size:90%;
	margin:0;
	padding:0;
}
.post {
	margin:8px 0 24px 0;
	line-height:1.5em;
}
h3.post-title {
	font-weight:normal;
	font-size:140%;
	color:#1B0431;
	margin:0;
	padding:0;
}
.post-body p {
	margin:0 0 .6em 0;
	}
.post-footer {
	font-family:Verdana, sans-serif;
	color:#211104;
	font-size:74%;
	border-top:1px solid #BFB186;
	padding-top:6px;
}
.post ul {
	margin:0;
	padding:0;
}
.post li {
	line-height:1.5em;
	list-style:none;
	background:url("
http://www.blogblog.com/scribe/list_icon.gif
")
no-repeat 0px .3em;
	vertical-align:top;
	padding: 0 0 .6em 17px;
	margin:0;
}
/* Typography :: Sidebar
----------------------------------------------- */
h2.sidebar-title {
        font-weight:normal;
	font-size:86%;
	margin:0;
	padding:0;
	color:#211104;
}
h2.sidebar-title img {
	margin-bottom:-4px;
	}
#sidebar ul {
	font-family:Verdana, sans-serif;
	font-size:86%;
	margin:6px 0 12px 0;
	padding:0;
}
#sidebar ul li {
	list-style: none;
	padding-bottom:6px;
	margin:0;
}
#sidebar p {
	font-family:Verdana,sans-serif;
	font-size:86%;
	margin:0 0 .6em 0;
}
/* Comments
----------------------------------------------- */
#comments {}
#comments h4 {
  font-weight:normal;
	font-size:120%;
	color:#29303B;
	margin:0;
	padding:0;
	}
#comments-block {
  line-height:1.5em;
  }
.comment-poster {
	background:url("
http://www.blogblog.com/scribe/list_icon.gif
")
no-repeat 2px .35em;
	margin:.5em 0 0;
	padding:0 0 0 20px;
	font-weight:bold;
}
.comment-body {
	margin:0;
	padding:0 0 0 20px;
}
.comment-body p {
	font-size:100%;
	margin:0 0 .2em 0;
}
.comment-timestamp {
	font-family:Verdana, sans-serif;
	color:#29303B;
	font-size:74%;
	margin:0 0 10px;
	padding:0 0 .75em 20px;
}
.comment-timestamp a:link {
	color:#473624;
	text-decoration:underline;
}
.comment-timestamp a:visited {
	color:#716E6C;
	text-decoration:underline;
}
.comment-timestamp a:hover {
	color:#956839;
	text-decoration:underline;
}
.comment-timestamp a:active {
	color:#956839;
	text-decoration:none;
}
.deleted-comment {
  font-style:italic;
  color:gray;
  }
.comment-link {
  margin-left:.6em;
  }
/* Profile
----------------------------------------------- */
#profile-container {
	margin-top:12px;
	padding-top:12px;
        padding-left:20px;
	height:auto;
	background:url("
http://www.blogblog.com/scribe/divider.gif
") no-repeat
top left;
        text-align:center;
}
.profile-datablock {
	margin:0 0 4px 0;
}
.profile-data {
	display:inline;
	margin:0;
	padding:0 8px 0 0;
	text-transform:uppercase;
	letter-spacing:.1em;
	font-size:90%;
	color:#211104;
}
.profile-img {inline;}
.profile-img img {
        float:left;
        height:auto;
	margin:0 0px 0 0;
	border:1px solid #A2907D;
	padding:2px;
  }
.profile-textblock {
	font-family:Verdana, sans-serif;font-size:86%;margin:0;padding:0;
}
.profile-link {
	margin-top:5px;
	font-family:Verdana,sans-serif;
	font-size:86%;
}
/* Post photos
----------------------------------------------- */
img.post-photo {
	border:1px solid #332A24;
	padding:4px;
}
</style>
</head>
<body>
<!-- Outer Dark Brown Container / Centers Content -->
<div id="wrap">
		<!-- Top Paper Graphic -->
		<div id="main-top"></div>
		<!-- Main Content Area (This shows background image) -->
		<div id="main-content">
		  <div id="inner-wrap">
		  	<!-- Blog Header -->
		  	<div id="blog-header">
  				<h1><ItemPage><a href="<$BlogURL$>"></ItemPage>
	               <$BlogTitle$>
	               <ItemPage></a></ItemPage></h1>
  				<p><$BlogDescription$></p>
			</div>
			<!-- End Blog Header -->
			<!-- Begin #profile-container -->
            <$BlogMemberProfile$>
			<!-- End #profile -->
			<!-- Spacer and horizontal rule -->
			<div class="clearer"></div>
			<!-- End .clearer -->
<!-- Begin #sidebar -->
<div id="sidebar">
                <h1 class="sidebar-title">Home</h1>
                <ul><h3><li><a
href="
http://lavai.blogspot.com/
">A.i.a.c. 2006/07</a></li></h3>
                    <h3><li><a
href="
http://lavaiaiac24.blogspot.com/
">A.i.a.c. 2005/06</a></li></h3>
                    <h3><li><a
href="
http://lavai40.blogspot.com/
">Over40 2006</a></li></h3>
                </ul>
                <MainPage>
                <h1 class="sidebar-title">Calendario</h1>
		<ul><h3><li>Girone di Andata</li></h3></ul>
		<ul><h3><li>Girone di Ritorno</li></h3></ul>
                <ul><h3><li>Playoff</li></h3></ul>
                <h1 class="sidebar-title">Classifica</h1>
                <ul><h3><li>01° Giornata</li></h3>
                        <li>Tra parentesi le partite giocate</a></li>
                        <li>00 Annone (00)</a></li>
			<li>00 Bonisiolo (00)</a></li>
                        <li>00 Camion Calcio (00)</a></li>
                        <li>00 Carpenedo (00)</a></li>
			<li>00 Cessalto (00)</a></li>
			<li>00 Jesolo (00)</a></li>
                        <li>00 Lavai (00)</a></li>
                        <li>00 Mestre Uno (00)</a></li>
                        <li>00 San Donà (00)</a></li>
                        <li>00 Stretti (00)</a></li>
		</ul>
                <h1 class="sidebar-title">Marcatori</h1>
		<ul><h3><li>01° Giornata</li></h3></ul>
                <h1 class="sidebar-title">Cartellini</h1>
		<ul><h3><li>01° Giornata</li></h3>
                    <h3><li>Ammonizioni</li></h3></ul>
                <ul><h3><li>Espulsioni</li></h3></ul>
                <h1 class="sidebar-title">Voci</h1>
                <ul>
    	        <Blogger>
                <BlogItemCommentsEnabled>
                <BlogItemComments>
                <li><$BlogCommentAuthor$> // <a
href="<$BlogCommentPermalinkURL$>"><$BlogCommentDateTime$></a></li>
                </BlogItemComments>
                </BlogItemCommentsEnabled>
                </Blogger>
                </ul>
                <h1 class="sidebar-title">Storico</h1>
                <ul id="recently">
                <BloggerPreviousItems>
                <li><a
href="<$BlogItemPermalinkURL$>"><$BlogPreviousItemTitle$></a></li>
                </BloggerPreviousItems>
                </ul>
                <h1 class="sidebar-title">Link Utili</h1>
                <ul><li><a href="
http://www.as.com/
">As</a></li>
                    <li><a href="
http://www.4thegame.com/
">4 The
Game</a></li>
                    <li><a href="
http://www.fifa.com
">Fifa.com</a></li>
                    <li><a
href="
http://frogevolution.blogspot.com/
">FROGEvolution Soccer
Tour</a></li>
	            <li><a href="
http://www.gazzetta.it
">La Gazzetta dello
Sport</a></li>
                    <li><a href="
http://news.google.com/
">Google
News</a></li>
                    <li><a
href="
http://www.lequipe.fr/
">L'Equipe</a></li>
                    <li><a href="
http://www.lavai.it
">L.a.v.a.i.
S.a.s.</a></li>
                    <li><a href="
http://www.marca.es/
">Marca</a></li>
                    <li><a href="
http://www.uefa.com
">Uefa.com</a></li>
                </ul>
                <h1 class="sidebar-title">Archivi</h1>
                <select name="archivemenu"
onchange="document.location.href=this.options[this.selectedIndex].value;">
                <option selected>- Archives -</option>
                <BloggerArchives>
                <option
value="<$BlogArchiveURL$>"><$BlogArchiveName$></option>
                </BloggerArchives>
                </select>
                <br />
                </MainPage>
  <p id="powered-by"><a href="
http://www.blogger.com
"><img
src="
http://buttons.blogger.com/bloggerbutton1.gif
" alt="Powered by
Blogger" /></a></p>
  <!--
  <p>This is a paragraph of text that could go in the sidebar.</p>
  -->
</div>
<!-- End #sidebar -->
				<!-- Begin #main :: right column :: blog entry content -->
				<div id="main">
				<Blogger>
                       <BlogDateHeader>
                          <h2
class="date-header"><$BlogDateHeaderDate$></h2>
                       </BlogDateHeader>
					  <!-- Begin .post -->
					  <div class="post"><a name="<$BlogItemNumber$>"></a>
						<BlogItemTitle>
                          <h3 class="post-title">
                      	 <BlogItemUrl><a href="<$BlogItemUrl$>"
title="external link"></BlogItemUrl>
                      	 <$BlogItemTitle$>
	                       <BlogItemUrl></a></BlogItemUrl>
                          </h3>
                        </BlogItemTitle>
						<div class="post-body">
						  <p><$BlogItemBody$></p>
						</div>
						<p class="post-footer">posted by <$BlogItemAuthorNickname$> | <a
href="<$BlogItemPermalinkUrl$>" title="permanent
link"><$BlogItemDateTime$></a>
      <MainOrArchivePage><BlogItemCommentsEnabled> |
         <a class="comment-link"
href="<$BlogItemCommentCreate$>"<$BlogItemCommentFormOnclick$>><$BlogItemCommentCount$>
comments</a>
      </BlogItemCommentsEnabled><BlogItemBacklinksEnabled>
<a class="comment-link" href="<$BlogItemPermalinkUrl$>#links">links to
this post</a>
</BlogItemBacklinksEnabled>
</MainOrArchivePage> <$BlogItemControl$> </p>
					  </div>
					  <!-- End .post -->
					   <!-- Begin #comments -->
 					<ItemPage>
  					<div id="comments">
					<BlogItemCommentsEnabled><a name="comments"></a>
                     <h4><$BlogItemCommentCount$> Comments:</h4>
						<dl id="comments-block">
                        <BlogItemComments>
						  <dt class="comment-poster" id="c<$BlogCommentNumber$>"><a
name="c<$BlogCommentNumber$>"></a>
							<$BlogCommentAuthor$> said...
						  </dt>
						  <dd class="comment-body">
							<p><$BlogCommentBody$></p>
						  </dd>
						  <dd class="comment-timestamp"><a href="#c<$BlogCommentNumber$>"
title="comment permalink"><$BlogCommentDateTime$></a>
	                     <$BlogCommentDeleteIcon$>
	                     </dd>
                        </BlogItemComments>
						</dl>
	<p class="comment-timestamp">
    <$BlogItemCreate$>
    </p>
  </BlogItemCommentsEnabled>
    <BlogItemBacklinksEnabled>
    <a name="links"></a><h4>Links to this post:</h4>
    <dl id="comments-block">
    <BlogItemBacklinks>
        <dt class="comment-title">
        <$BlogBacklinkControl$>
        <a href="<$BlogBacklinkURL$>"
rel="nofollow"><$BlogBacklinkTitle$></a> <$BlogBacklinkDeleteIcon$>
        </dt>
        <dd class="comment-body"><$BlogBacklinkSnippet$>
        <br />
        <span class="comment-poster">
        <em>posted by <$BlogBacklinkAuthor$> @
<$BlogBacklinkDateTime$></em>
        </span>
        </dd>
    </BlogItemBacklinks>
    </dl>
    <p class="comment-timestamp"><$BlogItemBacklinkCreate$></p>
    </BlogItemBacklinksEnabled>
	<p class="comment-timestamp">
	<a href="<$BlogURL$>">&lt;&lt; Home</a>
    </p>
    </div>
</ItemPage>
					  <!-- End #comments -->
				</Blogger>
				</div>
		  	<!-- Begin #footer :: bottom area -->
		  	<div id="footer">
		  		<p>
		  			<!-- Copyright &copy; 2006/07 [Holly] (La Gazzetta dello
Sbruotfl!) -->&nbsp;
		  		</p>
		  	</div>
		</div>
		</div>
		<!-- End #main-content -->
		<!-- Bottom Paper Graphic -->
		<div id="main-bot"></div>
 
</div>
</body>
</html>

A< 

Andrew Next ha scritto:

Per ora l'unica cosa che posso dirti e' che lo script non va bene.
L'evento OnClick, ma pure OnMouseDown non possono essere associati ad un 
layer, ci deve essere del testo o qualche altro elemento su cui poter 
cliccare, mentre in quel layer c'e' solo il background (l'immagine di 
Holly e la scritta) che non e' utilizzabile... o almeno non ci riesco.
 >A<

Andrew.Next ha scritto:

Tranquillo, grazie mille cmq.
E' che se mettessi il testo al posto di quello che già c'è non
verrebbe in questo modo. Si insomma ci siamo capiti?
Cmq grazie.

 
Se il problema e' l'allineamento dell'immagine al layer, credo, 
risolveresti mettendo l'immagine in un layer-figlio, cosi' potresti 
anche linkarla.
Finche' resta come sfondo, temo, non si possa fare niente.
Al limite potresti mettere come unico testo una gif trasparente da 1 
pixel larga piu' o meno quanto il layer sottostante e linkarla dove serve.
Stasera provo... piu' che altro per cazzimma.
A piu' tardi.
 >A<