External page loading with ajax

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
caramello
Posts: 70
Joined: Thu 23. Sep 2004, 21:43

External page loading with ajax

Post by caramello »

Does anyone know how to load en external (job openings page with selct forms) into phpwcms using ajax or anothe way besides <iframe>
A website is a concept not a digital brochure ! Vectrus Internet Solution
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: External page loading with ajax

Post by Oliver Georgi »

There are several options to do so. It's always the question how it should look like after loading. Should remote page's CSS stay alive (iFrame) or do you want to present it based on your own styling (replace innerHTML of DOM node in your own page).
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
caramello
Posts: 70
Joined: Thu 23. Sep 2004, 21:43

Re: External page loading with ajax

Post by caramello »

replace inner html, without the styling of the external page. In this case it's a form, that shows results (available jobs based on location and function) over which i have no influence. But it would be nice if the form and the result of the form have some styling that are equivalent to the website it's beeing used in.
A website is a concept not a digital brochure ! Vectrus Internet Solution
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: External page loading with ajax

Post by Oliver Georgi »

if you use innerHTML you have it in your hand – the remote html will be part of your site – you can then use CSS to style it.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply