Log in

View Full Version : CSS frames and frame linking



voidgere
09-27-2010, 02:25 AM
I have a rather simple css site set to emulate a html frames site. Now I need it to act like a frames site. I want the links in the left hand column to open web content in the center main body. This is reminiscent of the old frames command "target=sample.html".

Can someone explain to me how this is done in CSS?

bluewalrus
09-27-2010, 02:57 AM
You'd need to use AJAX.

voidgere
09-27-2010, 03:44 AM
Can you be more specific? Perhaps a link to a tutorial or something. I'm rather new to the whole CSS thing and Googling AJAX just opened more questions than answers.

bluewalrus
09-27-2010, 03:54 AM
Well it's more technical you're going to need to get the content of the other page and display it into a div on your current page to display it as you want.

http://www.w3schools.com/Ajax/ajax_xmlhttprequest_send.asp

This is one tutorial. I think you can get the content global but not sure, never sent an ajax request directly to another server. I send it to php usually, and let php get the content change it around then get it back and display it...

voidgere
09-27-2010, 03:58 AM
Yea, as I look at it and see the technical difficulty involved I am beginning to believe this is a bit more than I can handle at the present time. This website is for a non-profit organization and I just don't have the time to learn some new form of technology in order to implement it. If I have to move away from the HTML/CSS arena then I will just go with Flash.

Thanks for the prompt answering of questions guys. Its been a pleasurable experience.

bluewalrus
09-28-2010, 12:41 AM
I could try and make you an example in a few days if you post a link or code or PM it.