Solved

jQuery dialog not defined

Posted on 2012-03-25
6
626 Views
Last Modified: 2012-03-26
I am hoping that someone might be able to help me understand why I can't get the jQuery dialog.  When I try to load the page: http://www.adreflex.com/portal/annademo/test_photo.cfm I get the following error:

$("#dialogWarning").dialog is not a function

Also, if anyone can give me a suggestion of what to add so that the arrows are positioned on either side of the photo that would be very much appreciated.

Thanks for any help that you can provide
0
Comment
Question by:WestCoast_BC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 13

Expert Comment

by:stergium
ID: 37764579
hello.
the error that i'm receiving is this
$("#slider").easySlider is not a function

for starters move this
<script type="text/javascript">
$(document).ready(function(){
$("#slider").easySlider({
auto: true,
continuous: true
});
});
</script> 

Open in new window

in the head section and not inside the body.
0
 
LVL 13

Expert Comment

by:stergium
ID: 37764587
and i also have some questions.
why do you use so many times so different versions of jquery? one is enough (the latest probably)
where is your js of easy slider? did you forgot to include it?
0
 
LVL 7

Expert Comment

by:Lalit Chandra
ID: 37764608
you link gives the following error
 $("#slider").easySlider is not a function

Have you added the easySlider plugin reference on your page.
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:WestCoast_BC
ID: 37766096
My apologies, my sample page was not correct.  Can you please try it again.  The text at the bottom of the screen that says that the session is about to expire should not be displayed.

http://www.adreflex.com/portal/annademo/test_photo.cfm
Thanks again
0
 
LVL 7

Accepted Solution

by:
Lalit Chandra earned 500 total points
ID: 37766807
There are multiple times you have defined the jquery js version,  Ui , css.
So,Remove all jquery js files,jquery css files and Jquery ui js files.

simply add the following at the head section in the sequence defined below

   <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
       

This will remove all the problem and get your page running.
0
 

Author Comment

by:WestCoast_BC
ID: 37766926
Thanks, looks like I have some clean up to do.

Anyone know what I can do to get the arrows to display on either side of the picture?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question