Hey Guys
New to this HTML/php thing.
Im trying to have links open in a defined table on the below layout(in the content area), but cant seem to do this. Can anyone give me an insite into this?, Thanks RA
The first way is to use an <iframe> that includes a 'name' attribute so your links can specify it as a target in the <a>nchor tags. This is the easiest method, but it requires that the content to be displayed is a complete webpage.
The second way is with JavaScript. JavaScript will let you replace the content in a defined section of your page in various ways. You'd either have to learn JavaScript or find some example code that could be modified to meet your needs.
But if the point of all this is to keep the user on the same page for everything the website will contain, I'd strongly advise you against the idea if for no other reason than it becomes very difficult to manage. It also makes it difficult to impossible for the search engines to discover your content. So if that was your plan, you'd be much better off with a more conventional site structure. If you just want to have a page within your site that has changeable content, then this approach can work. Good luck!
You could do it via Ajax as well. I really question as to why you want this done. Way back in the day when I first started out I thought this would be a good idea, but generally I wouldn't do this unless there is a specific reason for doing so.
Also, you shouldn't use inline styles unless required. Also don't use tables for layout. Tables are meant for tabular data. I almost have a rework of it done, but bed calls.
Hey Guys
New to this HTML/php thing.
Im trying to have links open in a defined table on the below layout(in the content area), but cant seem to do this. Can anyone give me an insite into this?, Thanks RA
Bookmarks