Solved

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

Posted on 2016-11-12
3
51 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 57

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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…

717 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