vendredi 17 avril 2015

@RenderBody() with canvas

I have a canvas loaded onto the _Layout.cshtml


When I browse from the Index page, to About or Contact, the canvas is showing but the page content is missing.


I'm assuming @RenderBody isn't in the appropriate z-index or is not showing on top of canvas like my Index page does.



<canvas id="bgCanvas"></canvas>
<script src="~/Scripts/starLayout.js"></script>

<div class="container body-content">
@RenderBody()
<hr />


<footer>
<p>&copy; @DateTime.Now</p>
</footer>
</div>

Aucun commentaire:

Enregistrer un commentaire