Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    BlindDown Issues

    Code:
      <div style="display:none; width; 900px; height: 100px;" id="quickmenu">
        <p>Content for  id "quickmenu" Goes Here</p>
        <p>&nbsp;</p>
      </div>
        <a href="#" onclick="Effect.BlindDown('quickmenu');"><img src="img/quickmenutab.png" width="900" height="35" /></a>
    I have linked up the scriptaculous JS in the header and written this bit. Doesn't work, can anybody tell me where I'm going wrong.

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    Have you included Prototype too?

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6/prototype.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8/scriptaculous.js"></script>
    
    </head>
    
    <body>
    
    <div style="display:none; width; 900px; height: 100px;" id="quickmenu">
    <p>Content for  id "quickmenu" Goes Here</p>
    <p>&nbsp;</p>
    </div>
    <a href="#" onclick="Effect.BlindDown('quickmenu');"><img src="img/quickmenutab.png" width="900" height="35" /></a>
    
    </body>
    </html>
    works fine here


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •