Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member shoffman3572's Avatar
    Join Date
    Jul 2008
    Location
    Fullerton, CA
    Posts
    137
    Member #
    16990
    Ok maybe someone can give me a clue here..

    I have jQuery, and a jQzoom plug in running on my site.

    Between the <head> </head> I hvve

    <script type="text/javascript" src="/jquery/jQuery.js"></script>
    <link rel="stylesheet" type="text/css" href="/jquery/jqzoom.css">
    <script type="text/javascript" src="/jquery/jqzoom-core.js"></script>

    and in my code I assign an image ID=zoomPicture

    but when I call this function..

    var options = { zoomWidth: 343,zoomHeight: 434,xOffset: 5,yOffset: 0};

    $('#zoomPicture').jqzoom(options);

    Chrome, Firefox, Safari tell me the jqzoom function doesn't exist (it doesn't work in IE either but IE doesn't bother saying why)

    when the first part of the jqzoom JS file is this..

    (function ($) {
    //GLOBAL VARIABLES
    var isIE6 = ($.browser.msie && $.browser.version < 7);
    var body = $(document.body);
    var window = $(window);
    var jqzoompluging_disabled = false; //disabilita globalmente il plugin
    $.fn.jqzoom = function (options) {
    return this.each(function () {
    var node = this.nodeName.toLowerCase();
    if (node == 'a') {
    new jqzoom(this, options);
    }
    });
    };
    jqzoom = function (el, options) {

    (above: just the top section of the jqzoom core js file) - you see the function jqzoom being set? but for some reason the browsers says otherwise.. what's worse is, I have this set up on two other sites without an issue!! I'm just not seeing it.. help please..

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    You'd have to throw your page up somewhere so we could see it.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:18 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com