Thank you for your answer, but this is not valid for me. I'll try to explain you.
I work with many people. Each one makes in his computer his onw web page (pag2.html, pag3.html, ...), maybe with many images. Each web page will go in a different folder (c2, c3, ...). Using menus in pag1.html (main page), I'd like to see all of them. I don't want to edit each web page !! I know where is each one and I'd like to update their "img src" when I bring them to pag1.html with prototype. Maybe something like this: /*For menu 2*/ var oRequest = new Ajax.Updater('mydiv', 'c2/pag2.html', {method:'get', parameters:''} ); update_img...('mydiv', 'src=', 'src=c2/') /*For menu 3*/ var oRequest = new Ajax.Updater('mydiv', 'c3/pag3.html', {method:'get', parameters:''} ); update_img...('mydiv', 'src=', 'src=c3/') ... Maybe this is easy to do, but I'm a beginner with prototype (And sorry for me English, I'm learning it now) On 21 oct, 15:57, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > Why don't you use paths to your images that are relative to the > webroot instead of the directory they are in so that they work no > matter where they are? > > The convention is to have a directory in your webroot called "images" > and all your imagery goes in there. > > /images/c1/foo.jpg > /images/c2/bar.jpg > > <img src="/images/c1/foo.jpg" /> > > -justin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---