Results 1 to 2 of 2

Thread: accordian positioning

  1. #1
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default accordian positioning

    sorry my first post...didnt know i had to put in link for accordion used: http://www.dynamicdrive.com/dynamici...ordionmenu.htm
    i used on of the accoridan scripts from here
    here is where i put them...
    http://www.nliradiology.com/zqstudios/page2.html
    i have 2 questions...
    1. i want the web design one shown as default
    2. since each menu takes up space...it has moved down the whole thing in the middle. i want to pull it up to the top part...i tried it but didnt work...any help here too!
    thanks
    bilal
    Last edited by bilalzq; 04-29-2008 at 02:16 AM. Reason: added link

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    1. The web design one is shown as default.
    That's what this line does:
    Code:
    defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
    What you probably want to do is turn off the persiststate parameter.
    Code:
    persiststate: false, //persist state of opened contents within browser session?
    Make the change at the highlighted part. You have it as true, make it false. The persiststate parameter means that if you go to the homepage, open logo design, go to another page, and come back to the homepage...the logo design will still be open. If you turn it off, the web design section will always be open when you refresh the page.


    2. Your layout issues are probably because of those disgusting tables you're using. Use CSS! Check out these sample layouts.

Bookmarks

Posting Permissions

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