Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Animated Collapsible DIV v2.4

  1. #1
    Join Date
    Apr 2005
    Posts
    54
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Exclamation Animated Collapsible DIV v2.4

    Hi

    I am working with Animated Collapsible DIV v2.4

    I was able to set 4 images(img1,img2,img3,img4), on click they open divs 1-4 on top of 'welcome'

    Therefore, I have 5 divs: 'welcome', 'div1', 'div2', 'div3', 'div4'

    My problem is that when clicking on the image for a second time all my divs go away

    For instance:
    When you get to the page 'welcome' div is there
    If you click on img1...div1 appears on top of 'welcome' which is great
    but when you click again on the image both 'welcome' and 'div1' are gone

    Can i have 'welcome' appear on second click?

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    A link to the DD Script and your site would be most helpful.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Apr 2005
    Posts
    54
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Exclamation Hi

    On animatedcollapse.js lines 63-65 I have

    Code:
    else{
    	this.slideengine(divid, action) //
    	this.slideengine(targetgroup.lastactivedivid, 'show') // i added this and shows me back the last div - how do i get a specific div 'welcome' show?
    			
    		}
    Last edited by keyboard; 11-06-2012 at 08:55 PM. Reason: Format: Code Tags [code][/code]

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.


    Please post a link to the page on your site that contains the problematic script so we can check it out.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  5. #5
    Join Date
    Apr 2005
    Posts
    54
    Thanks
    2
    Thanked 0 Times in 0 Posts

  6. #6
    Join Date
    Apr 2005
    Posts
    54
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    If you click on clean energy for a second time...you will see how the content shows up twice...my intention was to have the first div 'welcome' to reappear

    div 'welcome' is the first statement you see when you first land on the page

  7. #7
    Join Date
    Apr 2005
    Posts
    54
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Got it !!!

    I removed line 61 !!!
    //targetgroup.lastactivedivid=divid //remember last active DIV

    and i did the magic

  8. #8
    Join Date
    Apr 2005
    Posts
    54
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    i am sorry i take it back

    after doing that...when clicking on the second image
    last div remains there

  9. #9
    Join Date
    Apr 2005
    Posts
    54
    Thanks
    2
    Thanked 0 Times in 0 Posts

  10. #10
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    So which script is it on DD? Please post a link to the page here on the DD site - there are so many resources here that you're asking us to go hunting in a haystack for something that you can provide easily upfront.

    If you'd like the help, please post in the correct format;

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Similar Threads

  1. Animated Collapsible DIV Help
    By zsela in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 10-13-2010, 08:34 PM
  2. Animated Collapsible DIV
    By nikomou in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-28-2008, 06:47 PM
  3. Animated Collapsible DIV
    By HopeNiao in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 04-03-2008, 01:28 AM
  4. Animated Collapsible Div and animated gifs
    By flangeway in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 01-22-2008, 03:57 AM
  5. Animated Collapsible DIV - Collapsible DIVs inside collapsible DIV
    By ekin in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 09-26-2007, 02:03 AM

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
  •