From f42bc98eefea7e7f113070bb5b9081f14bc3684a Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Fri, 22 Mar 2013 21:26:19 +0100 Subject: Use jQuery to dynamically load the news into the static site For this to work, the news.html file needs to be served with the header Access-Control-Allow-Origin, in order to allow the site to display it. Something like that in a .htaccess file should do: Header set Access-Control-Allow-Origin "*" --- index.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 561f372..b19823e 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,11 @@ title: News Notice: New account creation disabled due to excessive abuse of this feature. If you want to sign up, contact thorbjorn or Jaxad0127 on IRC for now. --> - + +
+
+ + + -- cgit v1.2.3-70-g09d2