Welcome Guest, Not a member yet? Register   Sign In
PHP include breaks jQuery
#1

[eluser]elaniobro[/eluser]
I have an issue where if I put a php include the jQuery will not work. Below is my code:
Code:
<div class="popup-container" id="contact-container">
                         &lt;?php include('email_view.php');?&gt;
                    </div>
    &lt;!--                
                    <a href="#">
                        <img id="map" src="&lt;?= base_url();?&gt;img/footer/sitemap_a.png"/>
                    </a>
    --&gt;

                    <div class="popup-container" id="qr-container">
                        <div class="watermark">
                            &lt;?=img(array('src'=>'img/footer/vcard_a.png','alt'=>'contact'));?&gt;
                        </div>
                        <div class="close">
                            &lt;?= anchor('',
                                        img(array(
                                                  'src'=>'img/nav/nav_close_a.gif',
                                                  'id'=>'qrBack',
                                                  'border'=>'0',
                                                  'alt'=>'Close'
                                                  )
                                            ),
                                        array(                                          
                                              'onmouseover'=>'qrBack'.'.src='."'".base_url().'img/nav/nav_close_b.gif'."'".';'.'"',
                                              'onmouseout'=>'qrBack'.'.src='."'".base_url().'img/nav/nav_close_a.gif'."'".';'.'"'
                                              )
                                        );
                             ?&gt;
                        
                        </div>
                        <div class="clear"></div>
                            <div id="contact-qr">
                                <div class="title">
                                    &lt;?= img(array('src'=>'img/footer/qr/title_qrcode.gif','alt'=>'QR code'));?&gt;
                                </div>
                                <p class="qr-content">Use your camera phone to decode, and add my contact info to your address book.</p>
                                <div id="qr-img">
                                &lt;?= img(array('src'=>'img/footer/qr/qrcode.png','alt'=>'QR Code'));?&gt;
                                </div>
                                <div id="qr-title">
                                       &lt;?= anchor('www.google.com',img(array('src'=>'img/footer/qr/qr_appledl.gif','alt'=>'Download on iTunes','id'=>'qr-apple')),array('target'=>'_blank'));?&gt;
                                    <p>Get your iphone QR code reader now! Click the link to see all available applicaitons in iTunes.</p>
                                    <div class="title">
                                        &lt;?= img(array('src'=>'img/footer/qr/title_whatisqr.gif','alt'=>'What is a QR code'));?&gt;
                                    </div>
                                    <p class="qr-content">A QR Code is a matrix code (or two-dimensional bar code) created by Japanese corporation Denso-Wave in 1994. The "QR" is derived from "Quick Response", as the creator intended the code to allow its contents to be decoded at high speed.</p>
                                </div>
                            </div>
                     </div>    
                     <div class="clear"></div>
                </div>
            </div>
        </div>


Messages In This Thread
PHP include breaks jQuery - by El Forum - 03-31-2010, 10:23 AM
PHP include breaks jQuery - by El Forum - 03-31-2010, 10:24 AM
PHP include breaks jQuery - by El Forum - 03-31-2010, 10:27 AM
PHP include breaks jQuery - by El Forum - 03-31-2010, 02:32 PM
PHP include breaks jQuery - by El Forum - 03-31-2010, 04:07 PM
PHP include breaks jQuery - by El Forum - 03-31-2010, 06:00 PM
PHP include breaks jQuery - by El Forum - 03-31-2010, 06:32 PM
PHP include breaks jQuery - by El Forum - 03-31-2010, 06:36 PM
PHP include breaks jQuery - by El Forum - 04-01-2010, 12:36 AM
PHP include breaks jQuery - by El Forum - 04-01-2010, 10:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB