Solved

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

Posted on 2016-11-12
3
18 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
Comment Utility
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 51

Accepted Solution

by:
Julian Hansen earned 500 total points
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Form submit issue 11 52
JQuery & CSS Tab Issues 7 26
Flexbox in CSS3 2 25
Modify Table Width 6 13
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

771 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

10 Experts available now in Live!

Get 1:1 Help Now