Well jQuery is like prototype where the document.ready should be trying to
look for the document ready/load state. Is the jquiry_latest.pack.js loading
correctly? This makes me think that jQuery is not having a chance to
load/initialize properly before the thickbox code tries to bind itself into
the page elements.

Have you tried accessing the url manually for the jquery js in your browser
to see if it is indeed a valid path, and that you are loading the entire
jquery feature set needed by thickbox?



masterg007 wrote:
> 
> Has anyone integrated Thickbox in appfuse. I am trying to and keep
> getting the error below.
> Ther error was captured using Firebug in firefox.
> 
> $(document).ready is not a function
> http://localhost:8080/geeoss/scripts/thickbox/thickbox.js
> Line 11
> 
> The is what my header looks like in my JSP file:
> 
> <head>
>       <title>Some Title</title>
>         <link rel="stylesheet" type="text/css" media="media"
> href="<c:url value='/styles/thickbox/thickbox.css'/>" />
>         <link rel="stylesheet" type="text/css" media="media"
> href="<c:url value='/styles/thickbox/screen.css'/>" />
> 
>       <script type="text/javascript"
> src="${ctx}/scripts/thickbox/jquery_latest.pack.js"></script>
>       <script type="text/javascript"
> src="${ctx}/scripts/thickbox/thickbox.js"></script>
> </head>
> 
> Thickbox link: http://jquery.com/demo/thickbox/
> 
> 
> - Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Integrating-Thickbox-2.1.1-with-Appfuse-tf3435723s2369.html#a9586144
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to