External page loading with ajax
External page loading with ajax
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
- Oliver Georgi
- Site Admin
- Posts: 9916
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: External page loading with ajax
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).
Re: External page loading with ajax
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
- Oliver Georgi
- Site Admin
- Posts: 9916
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: External page loading with ajax
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.