Javascript help [former topic: PHP help]

Discussion in 'Programming/Scripts' started by maxcreigs, Feb 26, 2010.

  1. maxcreigs

    maxcreigs New Member

    Hey can some one help me out I'm trying put this on my website but when it's in php code I get errors so can some help me out to make it work in php code

    <script type="text/javascript">
    $(document).ready(function() {
    $("a.zoom").fancybox();

    $("a.zoom1").fancybox({
    'overlayOpacity' : 0.7,
    'overlayColor' : '#000000'
    });

    $("a.zoom2").fancybox({
    'zoomSpeedIn' : 500,
    'zoomSpeedOut' : 500
    });
    });
    </script>
     
  2. Mark_NL

    Mark_NL New Member

    1. It would help posting the error you get as well

    2. This is not php, but javascript, topic misleading, so i got trapped in this one ;-)
     
  3. Ben

    Ben ISPConfig Developer ISPConfig Developer

    me too, so I renamed it :)

    In case of JS problems I'd suggest using Firefox and within the error console, showing you pretty detailed JS errors.
     

Share This Page