+ 2
Expert Opinion Required with Strong Logic
Instead I rewrite code for each webpage, I want to stay on the same page which has my site info, nav, footer and header etc. What are the potentials, drawbacks or advantages if I load other pages (having no header, footer or nav) into an iframe element. ??
5 ответов
+ 1
The advantage as you mentioned is it works smoother and neater, the user will feel comfortable.
The drawbacks are so little you don't really have to worry about it. But you do need to be sure that the HTML documents are ready to be used. Otherwise it will just say "Page not found" in your iFrame
+ 3
Many thanks, I thought if it does have an impact on SEO and page load using iframe.
+ 3
https://youtu.be/zIzmDoF9_Oo
I have made a desktop app using same method, loading forms into a main form. Have an eye to this demo video.
+ 3
I suppose it just comes down to preference. Personally, I'm not much of an iFrame fan, but I do use it when I need to pull in info from our other office's intranet since I don't have direct access to their server.
In your situation, I usually just use jQuery/PHP to swap out my pages while maintaining my head/footer without having to refresh them between pages. It's quick, pretty, and less annoying than iFrames.
+ 2
can you please share real example, coz I'm not getting enough.