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 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Running 2 Scripts Of The Same On The Same Page

    Ok,

    I want to run 2 instances of this script http://www.akrabat.com/2005/03/22/dy...vascript-tabs/

    On the same page.

    So i want one set of tabs and then a bit further down another set of tabs, both containing different content.

    How do I get the same script to work twice on the same page, when it comes to javascript I am about as good as cut and paste and thats it.

    So if someone could tell me what to do then it would be much appreciated.

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,519
    Thanks
    3
    Thanked 507 Times in 494 Posts
    cold take out the auto tab from this one

    http://www.vicsjavascripts.org.uk/Ta...ssagePanel.htm

    let me know if required

    edit this draft does multi auto or static tab message Panels

    http://www.vicsjavascripts.org.uk/Ta...nel/newTab.htm
    Last edited by vwphillips; 12-20-2005 at 09:34 PM.

  • #3
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Any way to do it with the code shown above ?

    Would be amazing if I could get the script I want to use to do that !!

  • #4
    Regular Coder
    Join Date
    Sep 2005
    Posts
    535
    Thanks
    0
    Thanked 0 Times in 0 Posts
    When I went to that link, one of the comments already had a patch for multiple tab sets...
    If you want answers, write a smart question.

    Yes, someone probably does know how...

    Oh, and if you want to learn, STFW!

  • #5
    Regular Coder
    Join Date
    May 2005
    Posts
    190
    Thanks
    1
    Thanked 2 Times in 2 Posts
    thats pretty nifty coding.

  • #6
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Can anyone understand that patch ?

    There seems to be bits all over the place !? Really got me confused as to what i do.


  •  

    Posting Permissions

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