Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7052625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:24:23+00:00 2026-05-28T03:24:23+00:00

In my HTML page, I have included a Jquery’s fancybox and it worked well.

  • 0

In my HTML page, I have included a Jquery’s fancybox and it worked well. But when I add a jqueryui script too, I get a:

Uncaught TypeError: Object [object Object] has no method 'fancybox' 

(from login.js, which uses one fancybox call, which indeed works w/o the offending new line.) My script inclusions are as follows:

<link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<link rel="stylesheet" href="style.css" />
<script type="text/javascript" src="jquery.js"></script> 
<script type="text/javascript" src="login.js"> </script>    
<script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"></script>                   
<link type="text/css" href="./jqueryui/css/ui-lightness/jquery-ui-1.8.17.custom.css" rel="Stylesheet" />
<!-- <script type="text/javascript" src="./jqueryui/js/jquery-1.7.1.min.js"></script> -->
<!-- the above commented out line is the offending one; once removed, page works well  -->
    <script type="text/javascript" src="./jqueryui/js/jquery-ui-1.8.17.custom.min.js"></script>

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:24:23+00:00Added an answer on May 28, 2026 at 3:24 am

    You are including jQuery twice, i see no need for it, anyway try

    <link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.4.css" media="screen" />
    <link rel="stylesheet" href="style.css" />
    <script type="text/javascript" src="./jqueryui/js/jquery-1.7.1.min.js" ></script>
    <script type="text/javascript" src="./jqueryui/js/jquery-ui-1.8.17.custom.min.js"></script>
    <script type="text/javascript" src="login.js"> </script>    
    <script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"></script>                   
    <link type="text/css" href="./jqueryui/css/ui-lightness/jquery-ui-1.8.17.custom.css" rel="Stylesheet" />
    

    this uses jQuery 1.7.1, then you load jQuery UI then you load fancybox

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have included JQuery on my main page which is a html page, in
In a simple html page I have: <SCRIPT> function Clicker(number){ if (number == 1)
I have HTML page where windows media player is embedded. It works very well
I have an HTML page like so: <html> <body> <div id='something'> ... <script> var
I made a small example HTML page to get JQuery's getJSON method working. It
I have viewed this answer jquery append external html file into my page And
I have following script: <script type=text/javascript src=jquery-1.8.2.js></script> <script type=text/javascript> jAlert(message,title); </script> in my html
On the first page I have this function: <script> function update() { $(#notice_div).html('Loading..'); $.ajax({
In my HTML-head i have this script included: <script id=mode type=text/javascript src=article.js></script> With a
I have an HTML page with a web form. Among other things, it includes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.