www.webdeveloper.com
Results 1 to 2 of 2

Thread: Jquery Conflict

  1. #1
    Join Date
    May 2012
    Posts
    4

    Jquery Conflict

    I have a critical problem.

    Please check this link: http://webgraphicsexpert.com/calin/thankyou1-test.php

    When Video Popup is working, then bottom fadein fadeout text is not working.

    Here is the code:

    PHP Code:
    <?php
    @session_start();
    $buylink1 "http://b-unitd.com/?b=8&id=106854&m=723&c=" $_COOKIE['clickID'];

    @
    session_start();
    $buylink2 "http://www.amberoptions.com/OpenAccount?campaign=12&p=" $_COOKIE['clickID'];
    ?>

    <?php 
    $clickid
    ='';
     if (isset(
    $_COOKIE['clickID'])) $clickid $_COOKIE['clickID'];
     else {
      
    session_start();
      if (isset(
    $_SESSION['clickID'])) $clickid $_SESSION['clickID'];
     }
     
    include(
    "functions/string_functions.php");
    include(
    "functions/validation_functions.php");
    include(
    "functions/file_functions.php");

    $valerror = new validationErrors();
    $file_name ='data.csv';
    if (!
    $handle fopen($file_name"r")) 
    {
     
    $valerror->addErr('Could not open '.$file_name);  
    }
    else
    {
     
    $i=0;
         while ((
    $csv_data fgetcsv($handle1000",")) !== FALSE)
         {
            
    $email_ids[]=$csv_data[0];
         }
         
    fclose ($handle);  
    }
    shuffle($email_ids);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script type="text/javascript" src="js/mootools.js"></script>
    <script type="text/javascript" src="js/swfobject.js"></script>
    <script type="text/javascript" src="js/videobox.js"></script>
    <link rel="stylesheet" href="css/videobox.css" type="text/css" media="screen" />





    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    <style type="text/css">
    <!--
    .vida {
        background-image: url(images/testi1.png);
        background-repeat: no-repeat;
        height: 167px;
        width: 255px;
        float: left;
    }
    .vida:hover {
        background-image: url(images/testi1.png);
        background-repeat: no-repeat;
        height: 167px;
        width: 255px;
        float: left;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
        filter: alpha(opacity=30);
        -moz-opacity:0.3;
        -khtml-opacity: 0.3;
        opacity: 0.3;
        cursor:pointer;
        background-color: #000000;
    }
    .vidb {
        background-image: url(images/testi2.png);
        background-repeat: no-repeat;
        height: 167px;
        width: 255px;
        float: left;
    }
    .vidb:hover {
        background-image: url(images/testi2.png);
        background-repeat: no-repeat;
        height: 167px;
        width: 255px;
        float: left;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
        filter: alpha(opacity=30);
        -moz-opacity:0.3;
        -khtml-opacity: 0.3;
        opacity: 0.3;
        cursor:pointer;
        background-color: #000000;
    }
    .vidc {
        background-image: url(images/testi3.png);
        background-repeat: no-repeat;
        height: 167px;
        width: 255px;
        float: left;
    }
    .vidc:hover {
        background-image: url(images/testi3.png);
        background-repeat: no-repeat;
        height: 167px;
        width: 255px;
        float: left;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
        filter: alpha(opacity=30);
        -moz-opacity:0.3;
        -khtml-opacity: 0.3;
        opacity: 0.3;
        cursor:pointer;
        background-color: #000000;
    }


    #fxd-area1 {
        width: 220px;
        position: fixed;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        color: #000000;
        bottom: 0px;
        margin-bottom: 20px;
        background: rgb(255,175,75); /* Old browsers */
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmYWY0YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZjkyMGEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(top,  rgba(255,175,75,1) 0%, rgba(255,146,10,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,175,75,1)), color-stop(100%,rgba(255,146,10,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  rgba(255,175,75,1) 0%,rgba(255,146,10,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  rgba(255,175,75,1) 0%,rgba(255,146,10,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  rgba(255,175,75,1) 0%,rgba(255,146,10,1) 100%); /* IE10+ */
        background: linear-gradient(to bottom,  rgba(255,175,75,1) 0%,rgba(255,146,10,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffaf4b', endColorstr='#ff920a',GradientType=0 ); /* IE6-8 */
        left: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    #fxd-area1 p {
        padding-right: 10px;
        padding-left: 10px;
        text-align: center;
        vertical-align: middle;
    }
    .quotes {display: none;}
    -->
    </style>


    <script>
        jQuery.noConflict();
        // Use jQuery via jQuery(...)
        jQuery(document).ready(function(){
            jQuery("Videobox").hide();
        });
        // Use Prototype with $(...), etc.
        $('quotes').hide();
      </script>
      
      
    </head>

    <body>

    <table width="825" border="0" align="center" cellpadding="10" cellspacing="0">
      <tr>
        <td width="255" align="center" valign="top"><div class="vida"><a rel="vidbox" title="Lori Canada testimonial" href="http://www.youtube.com/watch?v=-ZvKnoP7jfY"><div style="width:255px; height:167px;"></div></a></div></td>
        <td width="255" align="center" valign="top" target="_blank"><div class="vidb"><a rel="vidbox" title="Keith US testimonial" href="http://www.youtube.com/watch?v=Jrjfc6u9jiA"><div style="width:255px; height:167px;"></div></a></div></td>
        <td width="255" align="center" valign="top"><div class="vidc"><a rel="vidbox" title="Bethan UK Testimonial" href="http://www.youtube.com/watch?v=Op821R5Mt6w" target="_blank"><div style="width:255px; height:167px;"></div></a></div></td>
      </tr>
    </table>
    <div id="fxd-area1">



    <?php
    $nameCount 
    0;
    foreach(
    $email_ids as $email_id)
    {
    ?>
    <p align="center" class="quotes"><?php echo $email_id;?> just made $<?php echo number_format(rand(100,15000));?></p>
    <?php
    }
    ?>
    </div>



    <script type='text/javascript'>//<![CDATA[ 

    (function() {

        var quotes = $(".quotes");
        var quoteIndex = -1;
        
        function showNextQuote() {
            ++quoteIndex;
            quotes.eq(quoteIndex % quotes.length)
                .fadeIn(4000)
                .delay(15000)
                .fadeOut(4000, showNextQuote);
        }
        
        showNextQuote();
        
    })();
    //]]>  

    </script>
    </body>
    </html>

    Please solve it asap.

  2. #2
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    5,764
    Try asking in the JQuery (Javascript frameworks) forum.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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

"

"

X vBulletin 4.2.2 Debug Information

  • Page Generation 0.31626 seconds
  • Memory Usage 2,892KB
  • Queries Executed 15 (?)
More Information
Template Usage (33):
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (2)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (71):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates