Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
N00b here
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ross Boswell  
View profile   Translate to Translated (View Original)
 More options Jun 26 2012, 12:13 pm
From: Ross Boswell <boswell.r...@gmail.com>
Date: Tue, 26 Jun 2012 09:13:08 -0700 (PDT)
Local: Tues, Jun 26 2012 12:13 pm
Subject: N00b here

Hi I am trying to implement prettifier in my website but I am having some
trouble. I haven't got the code working yet but I do get
a onload="prettyPrint()" at the bottom or top of my page depending on where
I put it.

here's the code

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title> SITE </title>
<link rel="stylesheet" type="text/css" href="/static/css/main.css" />
<link href="/blog/templates/prettify.css" type="text/css" rel="stylesheet"
/>
<script type="text/javascript" src="/blog/templates/prettify.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
onload="prettyPrint()"
<header><h1><a href="/blog" title="Homepage"> My Site<3 </a></h1></header>
<nav>
<a href="/blog" class="projects"> Home</a>
<a href="/blog/tag/projects" class="projects"> Projects</a>
<a href="/blog/blogarchives/" class="index"> Blog</a>
<a href="/blog/about" class="about"> About</a>
</nav>
<section>
<article>

<!-- blog post -->
{% block content %}
{% endblock %}
</article> <!-- blog post ends -->

</section>
<footer>
<div class="about">
</div>
<div class="poweredby">
<a href="https://www.djangoproject.com/">django powered</a>
</div>
</footer>

</body>
</html>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »