jarmstrong: Thanks for your response I was able to get it to work and also Lightbox. The problem was in my JSP file that housed the href statement I had it wrapped with a <body> tag and a <div> that was not needed since the decorator already has a <body> tag and a <div> that wraps the content from all the pages it decorates. Once I remove the <body> and <div> tags from my JSP file Thickbox anf Lightbox both worked.
- Paul On 3/20/07, jarmstrong <[EMAIL PROTECTED]> wrote:
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]
-- - Paul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]