[jQuery] Re: Absolute Image location

2009-01-06 Thread MarkAtHarvest
ilto:jquery...@googlegroups.com] On > Behalf Of MarkAtHarvest > Sent: Tuesday, January 06, 2009 1:41 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Absolute Image location > > > > Thanks Andy, > I am developing the application on Grails with Jetty server, w

[jQuery] Re: Absolute Image location

2009-01-06 Thread Andy Matthews
Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MarkAtHarvest Sent: Tuesday, January 06, 2009 1:41 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Absolute Image location Thanks Andy, I am developing the application on Grails with Jetty server

[jQuery] Re: Absolute Image location

2009-01-06 Thread MarkAtHarvest
Thanks Liam, I got that problem and implemented the solution as you mentioned.. The problem of what you mentioned to go to live site, we need to change it, Thats what needs to be addressed, till the time I will edit it manually edit it before getting it to production Liam Byrne wrote: > > >

[jQuery] Re: Absolute Image location

2009-01-06 Thread MarkAtHarvest
chine. > > > Andy matthews > > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of MarkAtHarvest > Sent: Monday, January 05, 2009 8:53 AM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Absolute Ima

[jQuery] Re: Absolute Image location

2009-01-05 Thread Andy Matthews
chine. Andy matthews -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MarkAtHarvest Sent: Monday, January 05, 2009 8:53 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Absolute Image location awesome, /mytrail/images/down.gif

[jQuery] Re: Absolute Image location

2009-01-05 Thread MarkAtHarvest
awesome, /mytrail/images/down.gif works, only problem now I need to solve is if I flatten this war file and install it on the domain itself(i.e at http://localhost instead of http://localhost/mytrial) , then I need to change the javascript to /images/down.gif Thank you Richard, Brian, for solvi

[jQuery] Re: Absolute Image location

2009-01-05 Thread Liam Byrne
And therein lies the "problem". If you access "/images", with the backslash, then it will look in the root OF THE SERVER Because you're running from a folder WITHIN that, (mytrial) the images won't be found - the correct path is "/mytrial/images" If you change this to work locally, be sure

[jQuery] Re: Absolute Image location

2009-01-05 Thread richard.aday
>From what you wrote the way the link is being handled looks correct. Why don't you try: /mytrail/images/down.gif . On Jan 3, 6:54 pm, MarkAtHarvest wrote: > Brian, > > Here is the html code on myhttp://localhost:8080/mytrial/admin.gsp, on my > grails application. > Just added this to find the a

[jQuery] Re: Absolute Image location

2009-01-04 Thread brian
On Sat, Jan 3, 2009 at 9:54 PM, MarkAtHarvest wrote: > > > Brian, > > Here is the html code on my http://localhost:8080/mytrial/admin.gsp, on my > grails application. > Just added this to find the absolute location for the images > if I use > > images/down.gif image > > > this g

[jQuery] Re: Absolute Image location

2009-01-03 Thread MarkAtHarvest
Brian, Here is the html code on my http://localhost:8080/mytrial/admin.gsp, on my grails application. Just added this to find the absolute location for the images if I use images/down.gif image this goes to link, http://localhost:8080/mytrial/images/down.gif, and it does n

[jQuery] Re: Absolute Image location

2009-01-03 Thread brian
On Sat, Jan 3, 2009 at 8:57 PM, MarkAtHarvest wrote: > > > Brian, > > I am a newbie on CSS , let me try to change it and update you back on how it > goes, thanks it seems this should work. > BTW, changing to /images/down.gif, does not work at all, my images folder is > at the root itself. Under t

[jQuery] Re: Absolute Image location

2009-01-03 Thread MarkAtHarvest
Brian, I am a newbie on CSS , let me try to change it and update you back on how it goes, thanks it seems this should work. BTW, changing to /images/down.gif, does not work at all, my images folder is at the root itself. Under the webapps folder of my java application. Even if I try to create a

[jQuery] Re: Absolute Image location

2009-01-02 Thread brian
On Fri, Jan 2, 2009 at 5:26 PM, MarkAtHarvest wrote: > > > I am trying to run a javascript for a dropdown menu, I need to access the > down.gif from images/down.gif , I have two links from where I need to > include this javascript > > one link is in index.jsp in root folder and other is /admin/li