Results 1 to 2 of 2

Thread: Ajax Tabs and Lightbox/Thickbox/Etc

  1. #1
    Join Date
    Jun 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Ajax Tabs and Lightbox/Thickbox/Etc

    Hi All,

    I'm having issues using the following script:

    http://www.dynamicdrive.com/dynamici...axtabscontent/

    I'm attempting to setup a sort of image viewer type website with it. But unfortunately am having a LOT of issues trying to get external javascript working properly. The issue is that it doesn't "always" load up the javascript, and other times it will, but then if you change tabs and come back again, it seems to "forget".

    I'm currently trying to use thickbox (simply because it requires less javascript, and figure thats a good place to start when I'm having trouble):

    http://codylindley.com/Javascript/25...-rule-them-all

    The test page in question is (test 4 tab specifically):

    http://www.digitalvertigo.net
    (or direct link)
    http://www.digitalvertigo.net/main.html

    I generally will load the thickbox script and display properly (although not always) and once you leave the tab and return it does not.

    I did find a post saying to change the following in ajaxtabs.js file:

    loadedobjects+=file+" " //Remember this object as being already added to page
    to
    loadedobjects="" //Remember this object as being already added to page

    However that did not seem to change anything.

    The eventual goal is to get the following working (lightbox v2):
    http://www.huddletogether.com/projects/lightbox2/

    ANY help would be greatly appreciated! This is extremely frustrating for the complete javascript/ajax beginner!

  2. #2
    Join Date
    Jun 2006
    Location
    Brazil - São Paulo
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    First of all I am sorry about my english.

    Thanks very much for the information of the links Lightbox and Thickbox. This help my job!

    In tests, this option below, run in my application:

    Code:
     
    <a href="javascript:TB_show('sometext','page.asp?height=300&amp;width=300')">link</a>
    The relationship of the global.css, jquery.js and thickbox.js put only in default page.

    Best regards,
    William

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
  •