Hi Andrea The code causes a "Parse error: syntax error, unexpected '<' in /home/janet/public_html/mambots/content/mosthickbox.php on line 32" no matter where I out it in the file,
Janet -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrea Ercolino Sent: Thursday, March 01, 2007 12:32 PM To: discuss@jquery.com Subject: Re: [jQuery] Path problem with Imagebox I don't know... are you sure you replaced the square brackets? Janet Weber wrote: > > Hi Andrea > > I tried that, but I get an error message when I modify the index.php of > the > plugin. It says there is a T_string error in the <script > type="text/javascript"> line. > > Janet > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Andrea Ercolino > Sent: Thursday, March 01, 2007 12:10 PM > To: discuss@jquery.com > Subject: Re: [jQuery] Path problem with Imagebox > > > > Sorry, disregard my previous message. > > Here is what you need: > > <script type="text/javascript"> > $(document).ready( > function() > { > $.ImageBox.init( > { > loaderSRC: 'images/imagebox/loading.gif', > closeHTML: '[img > src="images/imagebox/close.jpg" /]' > } > ); > } > ); > </script> > This snippet appears inside the imagebox example. You sholud put it also > inside your page, with the two paths properly configured. Maybe you need > to > use different relative paths. You could try by using an absolute path at > first, to see that it works, and then try to deg a relative path from > there. > > Also please note that I had to use a trick in the snippet above for > posting > it here: I replaced the angle brackets in closeHTML with square ones, just > put them back in :-) or copy that snippet from > http://interface.eyecon.ro/demos/imagebox.html > > --Andrea > > > Janet Weber wrote: >> >> Hi >> >> I use Joomla and it is installed in the root of my website. hence I don't >> use a \Joomla directory. >> >> I can't get ImageBox the work right in this configuration. When the box >> opens it doesn't display the loading graphic and when the box is open is >> doesn't display the close button at all. >> >> I have install the same plug-in in my test system where Joomla is install >> in >> the /joomla directory and imagebox works fine. >> >> How do I fix this problem? >> >> Thank you >> >> Janet Weber >> >> >> _______________________________________________ >> jQuery mailing list >> discuss@jquery.com >> http://jquery.com/discuss/ >> >> > > -- > View this message in context: > http://www.nabble.com/Path-problem-with-Imagebox-tf3328033.html#a9253797 > Sent from the JQuery mailing list archive at Nabble.com. > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Path-problem-with-Imagebox-tf3328033.html#a9254297 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/