We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23633
    • 16 Posts
    So i cant get thickbox to work, i want to use the iframe option so i can have a contact form in it.
    This should be pretty straight forward but its simply not working

    this is what my code looks like
    <base href="[(site_url)]"></base>
    ...
    
    <script type="text/javascript" src="java/jquery.min.js"></script>
    <script type="text/javascript" src="java/thickbox.js"></script>
    <link rel="stylesheet" type="text/css" href="css/thickbox.css">
    



    <a href="test.html?keepThis=true&TB_iframe=true&height=250&width=400" title="add a caption to title attribute / or leave blank" class="thickbox">test 1</a> 


    nothing comes up it just goes straight to the site doesnt pop up

    i have read the earlier thread and replaced all my $ with $j in thickbox.js but no cigar


      • 26931
      • 2,314 Posts
      Hi pocketp,
      <script type="text/javascript" src="java/jquery.min.js"></script>
      <script type="text/javascript" src="java/thickbox.js"></script>
      <link rel="stylesheet" type="text/css" href="css/thickbox.css">

      is this the right path to those files? aren’t they maybe in something like assets/java/ ?
        • 23633
        • 16 Posts
        Yes i have linked it correctly checked with firebug aswell, i dont know why it wont work, i have ajaxsearch though but i dont see why it should be conflicting
          • 26931
          • 2,314 Posts
          hi pocketp,

          i have ajaxsearch though but i dont see why it should be conflicting

          ajaxsearch is using the mootools library, so you need to run thickbox in jQuery’s NoConflict-mode: http://docs.jquery.com/Using_jQuery_with_Other_Libraries