From 860760cb57a476834c9dd573b1367a633ebdb0f5 Mon Sep 17 00:00:00 2001 From: "Ethan N. Paul" Date: Thu, 21 Dec 2017 23:48:18 -0500 Subject: [PATCH] Continued development of homepage, still working on rss --- home/index.html | 74 +++++++++---------------------------------------- home/rss.css | 6 +++- home/rss.js | 14 ++++++++-- 3 files changed, 30 insertions(+), 64 deletions(-) diff --git a/home/index.html b/home/index.html index 423607c..2142c4b 100644 --- a/home/index.html +++ b/home/index.html @@ -18,19 +18,21 @@ - ENPaul + ENPaul Home + - - - - - + + + + + + @@ -47,37 +49,13 @@ - -
@@ -90,40 +68,14 @@
- -
-
+
diff --git a/home/rss.css b/home/rss.css index 8a38999..145be9d 100644 --- a/home/rss.css +++ b/home/rss.css @@ -1,3 +1,7 @@ -#feed-body { +#news { width: 80%; } + +#news { + display: none; +} diff --git a/home/rss.js b/home/rss.js index 4cd9eed..04d7324 100644 --- a/home/rss.js +++ b/home/rss.js @@ -1,6 +1,6 @@ rssfeed_url = new Array(); rssfeed_url[0]="http://www.providencejournal.com/news?template=rss&mime=xml"; -rssfeed_frame_width="600"; +rssfeed_frame_width=""; rssfeed_frame_height="600"; rssfeed_scroll="off"; rssfeed_scroll_step="6"; @@ -8,7 +8,7 @@ rssfeed_scroll_bar="on"; rssfeed_target="_blank"; rssfeed_font_size="12"; rssfeed_font_face="Verdana"; -rssfeed_border="on"; +rssfeed_border="off"; rssfeed_css_url="https://enpaul.net/home/rss.css"; rssfeed_title="off"; rssfeed_title_name=""; @@ -34,3 +34,13 @@ rssfeed_item_description_link_color="#55a0ff"; rssfeed_item_description_tag="on"; rssfeed_no_items="0"; rssfeed_cache = "d2784bb4425b8c06320755ef158eb796"; + +function showNews() { + $('#weather').hide(); + $('#news').show(); +} + +function showWeather() { + $('#news').hide(); + $('#weather').show(); +}