Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9052257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:07:21+00:00 2026-06-16T13:07:21+00:00

I have used a jquery slideToggle function in my html page, which will drop

  • 0

I have used a jquery “slideToggle” function in my html page, which will drop down a sublist as soon as I click a header named “Planning” on my webpage. Though this is working exactly I want it to, in Adobe Dreamweaver design mode, but this doesn’t work when opened in the browser.Here is my complete code:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <script src="jquery-1.8.3.min.js">
    </script>
    <script> 
    $(document).ready(function(){
      $("#planning").click(function(){
        $("#planning_panel").slideToggle("fast");
      });
    });
    </script>
    <title>Ecommerce Information</title>
    <style type="text/css">
    <!--
    a:link {color:#03F; text-decoration:none; text-emphasis:none;         font-size:12px}            /* unvisited link */
    a:visited {color:#03F; text-decoration:none} /* visited link */
    a:hover {color:#F30; text-decoration:none; font-size:14px}   /* mouse over link */

    .style2 {font-size: 13px;
        font-family:"Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;

    }
    .style4 {
        font-size: 18px;
        font-weight: bold;
        color: #FF6600;
    }
    .style6 {color: #000000}
    .style7 {font-size: 8px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
    }
    .style23 {font-size: 14px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
    }
    .style45 {
         background-color:#E8E8E8;
    }
    .style44 {
        background-image:url('gray_jean.jpg');
    }
    #planning_panel
    {

    display:none;
    }
    -->
    </style>
    </head>

    <body>
    <div align="center">
      <a href="../index.html">
      <img border="0" src="banner1.jpg" width="800" height="120" alt="Ecommerce Knowledge Base"></a>
      <div style="background-image:url(Heading%20Background.jpg); width:800px">
      <a href="../index.html" style="position:relative; left:-130px">HOME</a>
      <a href="" style="position:relative; left:-65px" id="planning">PLANNING</a>
      <a href="" style="position:relative; left:0px" id="design">DESIGN & HOSTING</a>
      <a href="" style="position:relative; left:65px" id="marketing">MARKETING</a>
      <a href="" style="position:relative; left:130px" id="technology">TECHNOLOGY</a>
      </div>
      <table width="800" border="0" cellspacing="0" cellpadding="5" class="style44">
      <tr><td><div id="planning_panel" style="position:absolute; left:295px;top:150px; background-color:#999; padding:5px;">
       <a href="../Planning/what-is-electronic-data-interchange.html">Electronic-Data-        Interchange</a><br>
       <a href="../Planning/web-site-analysis----a-study-in-damag.html">Web Site Analysis</a><br>
       <a href="../Planning/web-ecommerce--where-to-begin.html">Web Ecommerce</a><br>
       <a href="../Planning/streamline-your-website-pages.html">Streamline Web Pages</a><br>
       <a href="../Planning/set-up-your-own-blog-free.html">Setting Up Blog</a><br>
       <a href="../Planning/online-backup--the-simple-value.html">Online Backup</a><br>
       <a href="../Planning/introduction-to-ecommerce.html">Introduction To Ecommerce</a><br>
       <a href="../Planning/building-ecommerce-web-sites--where-d.html">Build eCommerce Sites</a><br>
       <a href="../Planning/banned-by-google-and-back-again..html">Banned by Google</a><br>
       <a href="../Planning/are-drop-ship-directories-really-wort.html">Know Drop Ship Directories</a><br>
       </div></td></tr>
        <tr>
          <td>

            <div align="center">   
          &nbsp;</div></td>
        </tr>
        <tr>
          <td width="514" valign="top"><div align="left">
              <table width="99%" height="114">
                <tr>
                  <td align="left" height="22"><div align="justify"><span class="style7">
                    <font color="navy" size="1" face="Tahoma"><h1 align="center">5 Minute Guide to Video Editing for Beginners</h1><br>
                      </font></span></div></td>
                </tr>
                <tr >
                  <td align="left" height="12"><span class="style2"><span>My text</span><hr size=-1>
      <br>
      </span></td>
                </tr>
                </table>
            </div>        <p align="left">&nbsp;        </p>
          </td>
        </tr>
      </table>

      </div>
    </body>
    </html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T13:07:23+00:00Added an answer on June 16, 2026 at 1:07 pm

    I do not know if I understand your question correctly.
    you dont have an href attribute set to the menu “Planing” (not sure if it is on purpose). If you wish to do is just open and close the panel (without going to a link) then this change to your code should help.

       $(document).ready(function(){
          $("#planning").click(function(e){
            $("#planning_panel").slideToggle("fast");
              e.preventDefault(); // prevent default behaviour
          });
        });​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used jquery to load some html from another page and added the
I have used JQuery within my asp.net page. JQuery is working fine. I could
I have 4 textboxes on my page. I used jquery focus and blur functions
I have used jQuery's slideToggle on a <div> to give the good old 'dropdown'
I have used jQuery UI library to drag divs within a web page. While
I have used Jquery for rounded corners (DIV) and i have a updatepanel which
I have used jquery datepicker in my .aspx page. The control is working fine.
I have used jquery to create a simple slideup/down effect when user clicks on
I have an aspx page where I have used jquery validator in a different
I have used JQuery UI autocomplete to cut down on the list of parts

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.