forked from ventrian/News-Articles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ViewArticle.ascx
executable file
·18 lines (16 loc) · 1011 Bytes
/
ViewArticle.ascx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="ViewArticle.ascx.vb" Inherits="Ventrian.NewsArticles.ViewArticle" %>
<%@ Register TagPrefix="Ventrian" TagName="Header" Src="ucHeader.ascx" %>
<Ventrian:Header id="ucHeader1" SelectedMenu="CurrentArticles" runat="server" MenuPosition="Top" />
<asp:Literal ID="litPingback" Runat="server" EnableViewState="False" Visible="True"></asp:Literal>
<asp:Literal ID="litRDF" Runat="server" EnableViewState="False" Visible="True"></asp:Literal>
<asp:PlaceHolder ID="phArticle" runat="server" />
<Ventrian:Header id="ucHeader2" SelectedMenu="CurrentArticles" runat="server" MenuPosition="Bottom" />
<script type="text/javascript">
<asp:Literal runat="Server" id="litSetVarArticleId" />
$('.NewsArticles a[href]').filter(function () {
return /(jpg|gif|png)$/.test($(this).attr('href'));
}).attr('rel', 'shadowbox[' + naArticleId.toString() + ']');
Shadowbox.init({
handleOversize: "drag"
});
</script>