Relative and absolute Pathes with load()...

Relative and absolute Pathes with load()...

Hey Guys,

I just began using jQuery and it's awesome.

But i have a big Problem changing my existing Site from IFrame to dynamic DIV usind load() function.

The "Home" page is in "/index.html".

[1. Problem]

Now changing my inner DIV to a page located in "/frames/something.html".

Something.html is loading a new css "/css/iframes.css"
Don't makes a problem in FF3 or IE, but CHROME won't load that css.
Any suggestions?

[2. Problem]

Loaded
"/frames/something.html" succesfully, but there are links to a page named "/frames/about/about_us.html".
For the IFrame the <a href=""> pointed to "/about/about_us.html".

I realised, that i have to use the absolute Path from where the index.html is located, because the whole page is loaded to a DIV there.

Is there a solution for not changing the Paths?

[3. Problem]
Nearly the same as 2nd question. I'm using a Flash that loads an XML-File. The Site, that loads the Flash is also using this XML. Now the trouble starts. I have to copy the XML to home directory. Now all Pathes in the XML are wrong. I changed nearly everything. All pathes are absolute to home directory now.

FF3 loads the Flash correctly. IE is not loading the Flash and shows Blank page. And Chrome is showing the alternative content, if the flash could'nt be loaded, because of missing Plugin.

I don't have any Idea why this happens. Hope anyone of you guys knows a solution to my Problem.

My existing Site with IFrame is: http://www.ich-liebe-iserlohn.de

If you want to see source og my jQuery Site, please leave a post here, i'll show you what you want.

kazimir

PS: Sorry for my bad english, i'm german ;D