Solved

A page to have its own footer separate from the other pages

Posted on 2016-11-12
3
32 Views
Last Modified: 2016-11-12
I want a button like this:
<div id="post1">
<span class="collapsed">
 <a href="javascript:void(0)" style= "font-size:20px; color:#2B65EC"> Why are annotations so important?</a>
</span>

<span class="expanded">
<a href="javascript:void(0)" style= "font-size:20px; color:#2B65EC">Less</a>
 <p style= "font-size:20px;color:#347C2C;">They benefit you by allowing other users to paraphrase words, allowing more opinions to be shown to help you understand the big idea, as well as marking your own reading/writings to know where you left off. </p>
 
</span>
</div>

Open in new window


It works fine, but I want that when I click on "Want to learn more" , I get a whole new section on the page something like a footer black with its own background. Any idea on how I could have this done?
Here is my JS code:
<script>
$( function() {
    $( "#dialog" ).dialog({
      autoOpen: false,
      show: {
        effect: "blind",
        duration: 1000
      },

    });
 
    $( "#opener" ).on( "click", function() {
      $( "#dialog" ).dialog( "open" );
    });
  } );
</script>

Open in new window

0
Comment
Question by:Jasmine Ikhreishi
  • 2
3 Comments
 
LVL 1

Author Comment

by:Jasmine Ikhreishi
ID: 41884591
I want in the footer to be "Want to learn more", then when it is clicked, there are sub-buttons like you can open on and read more and when its clicked to have its own background
0
 
LVL 52

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41884601
something like a footer black with its own background
Can you explain this a bit more?
Can you provide a screen shot of what you want?
0
 
LVL 1

Author Comment

by:Jasmine Ikhreishi
ID: 41884604
I have another question where I posted an image of what I want, can you take a look at that?
https://www.experts-exchange.com/questions/28982644/Create-a-new-template.html
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Tags from access to excel 3 27
Google Sheets Script 21 53
Full Screen problem when auto scale IFRAME 2 55
Having problem getting this to work 2 17
This article discusses how to create an extensible mechanism for linked drop downs.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now