0

Hi everybody,
i asked many times.but i cannot get expected result.so i asked agian.
anybody plz help me.

this code,did not display fancy box.the requested content cannot be loaded message display.
i created planmate url.

 $(document).ready(function(){
            $(".planbooks").fancybox();


             $('#planbook-content').bind('click',function() {
                 $.ajax({
                     type :"post",
                     catch:false,
                     url :   $("#planbook_planmate"),

                     data :{title_name:'title_name',}
                     success:function(data) {
                         $.fancybox(data);
                     }

        });

            });
        });





user click the this plan that time display fancybox with plan.
    index.php
     <p><div id="planbook-content" class="float" >

    <a  href="<?php echo url_for("@planbook_planmate") ?>" onclick="add_function()" >musttry</a>


                     <div><img src="/uploads/planbook/<?php echo $planbook['photo'] ?>" alt="" /></div>

                          <div>
                            <span class="field-label"> Title: <?php echo $planbook['title_name'] ?></span></div></br>

                              Country: <?php echo $planbook['country_id'] ?></span><br /></td></tr>

     <div>
     <span class="field-label">Area: <?php echo $planbook['zone_id'] ?></span><br /></div>
     <div>
     <span class="field-label">Place: <?php echo $planbook['place'] ?></span><br /></div>
     <div><span class="field-label">Occasion: <?php echo $planbook['occasion'] ?></span></div>
    <div> <span class="field-label">Itinerary: <?php echo $planbook['itinerary'] ?></span><br /></div>
     <div><span class="field-label">Date: <?php echo $planbook['date'] ?></span><br></div>
    <div><span class="field-label">Description: <?php echo $planbook['description'] ?></span><br /></div>
     </div>



     <?php
    $i++;
     endforeach ?>
     </div>
2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by pritaeas
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.