Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>ABCU|8 - NEWS FEED</title>
- </head>
- <body>
- <header>
- <h1 style="text-align:center; color:Red;"> RSS FEEDS FOR DAILY NEWS</h1>
- <p>
- <button onclick="divVisibility('Div1')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div2')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div3')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div4')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div5')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div6')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div7')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div8')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div9')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div10')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div11')">NEWS SOURCE #</button> |
- <button onclick="divVisibility('Div12')">MAKE SHOW ALL</button> |
- </p>
- </header>
- <!–– DIV # Comment -->
- <div id="Div1" style="text-align:left;overflow-y:auto;overflow-x:hidden;width:300px;background-color:#transparent; border:1px solid #333333;">
- <h2 style="text-align:center; color:blue;">This is the heading.</h2>
- <div id="rsswidget" style="height:600px;">
- <iframe src="http://us1.rssfeedwidget.com/getrss.php?time=1590460726134&x=http%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories&w=300&h=600&bc=333333&bw=1&bgc=transparent&m=60&it=true&t=(default)&tc=333333&ts=15&tb=transparent&il=true&lc=0000FF&ls=14&lb=false&id=true&dc=333333&ds=14&idt=true&dtc=284F2D&dts=12" border="0" hspace="0" vspace="0" frameborder="no" marginwidth="0" marginheight="0" style="border:0; padding:0; margin:0; width:300px; height:600px;" id="rssOutput">Reading RSS Feed ...</iframe>
- </div><div style="text-align:right;margin-bottom:0;border-top:1px solid #333333;" id="widgetbottom"><span style="font-size:70%"><a href="https://twitter.com/babyfist/">@babyfist</a> </span></div>
- </div>
- <!–– END DIV # HERE -->
- <!–– Comment Here -->
- <div id="Div2" style="text-align:left;overflow-y:auto;overflow-x:hidden;width:300px;background-color:#transparent; border:1px solid #333333;"><h2 style="text-align:center; color:blue;">This is the heading.</h2><div id="rsswidget" style="height:600px;"><iframe src="https://twitter.com/babyfist/" border="0" hspace="0" vspace="0" frameborder="no" marginwidth="0" marginheight="0" style="border:0; padding:0; margin:0; width:300px; height:600px;" id="rssOutput">Reading RSS Feed ...</iframe></div><div style="text-align:right;margin-bottom:0;border-top:1px solid #333333;" id="widgetbottom"><span style="font-size:70%"><a href="https://twitter.com/babyfist/">@babyfist</a> </span></div></div>
- <!–– End Here -->
- <!–– Comment Here -->
- <div id="Div3" style="text-align:left;overflow-y:auto;overflow-x:hidden;width:300px;background-color:#transparent; border:1px solid #333333;"><h2 style="text-align:center; color:blue;">This is the heading.</h2><div id="rsswidget" style="height:600px;"><iframe src="http://us1.rssfeedwidget.com/getrss.php?time=1590460726134&x=http%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories&w=300&h=600&bc=333333&bw=1&bgc=transparent&m=60&it=true&t=(default)&tc=333333&ts=15&tb=transparent&il=true&lc=0000FF&ls=14&lb=false&id=true&dc=333333&ds=14&idt=true&dtc=284F2D&dts=12" border="0" hspace="0" vspace="0" frameborder="no" marginwidth="0" marginheight="0" style="border:0; padding:0; margin:0; width:300px; height:600px;" id="rssOutput">Reading RSS Feed ...</iframe></div><div style="text-align:right;margin-bottom:0;border-top:1px solid #333333;" id="widgetbottom"><span style="font-size:70%"><a href="https://twitter.com/babyfist/">@babyfist</a> </span><br></div></div>
- <!–– End Here -->
- <!–– Comment Here -->
- <div id="Div4" style="text-align:left;overflow-y:auto;overflow-x:hidden;width:300px;background-color:#transparent; border:1px solid #333333;"><h2 style="text-align:center; color:blue;">This is the heading.</h2><div id="rsswidget" style="height:600px;"><iframe src="http://us1.rssfeedwidget.com/getrss.php?time=1590467414225&x=https%3A%2F%2Fnews.google.com%2Frss%3Fhl%3Den-US%26gl%3DUS%26ceid%3DUS%3Aen&w=300&h=600&bc=333333&bw=1&bgc=transparent&m=60&it=false&t=(default)&tc=333333&ts=15&tb=transparent&il=true&lc=0000FF&ls=14&lb=false&id=true&dc=333333&ds=14&idt=true&dtc=284F2D&dts=12" border="0" hspace="0" vspace="0" frameborder="no" marginwidth="0" marginheight="0" style="border:0; padding:0; margin:0; width:300px; height:600px;" id="rssOutput">Reading RSS Feed ...</iframe></div><div style="text-align:right;margin-bottom:0;border-top:1px solid #333333;" id="widgetbottom"><span style="font-size:70%"><a href="https://twitter.com/babyfist/">@babyfist</a> </span><br></div></div>
- <!–– End Here -->
- <!–– Comment Here -->
- <div id="Div5" style="text-align:left;overflow-y:auto;overflow-x:hidden;width:300px;background-color:#transparent; border:1px solid #333333;"><h2 style="text-align:center; color:blue;">This is the heading.</h2><div id="rsswidget" style="height:600px;"><iframe src="http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml" border="0" hspace="0" vspace="0" frameborder="no" marginwidth="0" marginheight="0" style="border:0; padding:0; margin:0; width:300px; height:600px;" id="rssOutput">Reading RSS Feed ...</iframe></div><div style="text-align:right;margin-bottom:0;border-top:1px solid #333333;" id="widgetbottom"><span style="font-size:70%"><a href="https://twitter.com/babyfist/">@babyfist</a> </span><br></div></div>
- <!–– End Here -->
- </body>
- </html>
- <script>
- var divs = ["Div1", "Div2", "Div3", "Div4", "Div5", "Div6", "Div7", "Div8", "Div9", "Div10", "Div11"];
- var rows = ["Row1", "Row2", "Row3"]
- var visibleDivId = null;
- function divVisibility(divId) {
- if(visibleDivId === divId) {
- visibleDivId = null;
- } else {
- visibleDivId = divId;
- }
- hideNonVisibleDivs();
- }
- function hideNonVisibleDivs() {
- var i, divId, div;
- for(i = 0; i < divs.length; i++) {
- divId = divs[i];
- div = document.getElementById(divId);
- if(visibleDivId === divId) {
- div.style.display = "block";
- } else {
- div.style.display = "none";
- }
- }
- }
- </script>
- <!–– Div # Comment Here -->
- <!–– Div # End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
- <!–– Comment Here -->
- <!–– End Here -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement