Jump to content

Newcomer Questions The Use Of Frames


protoss1210
 Share

Recommended Posts

Hello, my name is Chris and I have just started learning about web design/development this summer. I am learning (X)Html + CSS, and later on plan to learn PHP and Mysql(are these bad choices to learn?)Right now I have run into a small problem. For a personal website of mine, I planned to have a frame on the leftside that included links as well as a shoutbox. I want this frame to stay on the page always so that it does not have to be reloaded when the users click on the links(which will be shown on the right side of the page).What is the best way to do this? Basically I want to avoid reloading the shoutbox on every page.The shoutbox is an inline frame.Any suggestions and help would be very much appreciated. Thanks guys :) ~Chris

Link to comment
Share on other sites

If you want to do that with regular HTML, the only way is to use a regular frameset. An inline frame will refresh with the page, a regular frameset loads a different document into each frame.
Do you have any advice about how I could do this without frameset?Thanks.
Link to comment
Share on other sites

If you want to load content without the page refreshing and without using frames then you need to use ajax. Here's a small site I put together that loads all of the content using ajax, notice it never refreshes the page:http://dylansbarbershop.com/When you click the navigation links it will send out an ajax request for the content and just replace the content panel instead of refreshing everything.

Link to comment
Share on other sites

Hello, my name is Chris and I have just started learning about web design/development this summer. I am learning (X)Html + CSS, and later on plan to learn PHP and Mysql(are these bad choices to learn?)Right now I have run into a small problem. For a personal website of mine, I planned to have a frame on the leftside that included links as well as a shoutbox. I want this frame to stay on the page always so that it does not have to be reloaded when the users click on the links(which will be shown on the right side of the page).What is the best way to do this? Basically I want to avoid reloading the shoutbox on every page.The shoutbox is an inline frame.Any suggestions and help would be very much appreciated. Thanks guys :) ~Chris
I'm personally not a fan of regular framesets and prefer iframes. But that's me. Drop them both, though, and use CSS. And as for learning PHP and mySQL... Here's a joke:A guy singing on a stage suddenly falls to the floor clutching his chest. The stage manager runs onto the stage yelling, "Is there a doctor in the house?"From the back, a frail woman's voice calls out, "Give him some chicken soup!"Her advice is ignored, the stage manager calls out again, "Is there a doctor in the house?!"Again the woman calls out, "Give him chicken soup!"A third time the stage manager calls out, "Is there a DOCTOR IN THE HOUSE!?!"When no one responded, the woman once again says, "GIVE HIM SOME CHICKEN SOUP!!!"Finally, the stage manager asks of the woman, "Would good will that do?"The woman replies, "It couldn't hurt..."So, as for learning these languages: It couldn't hurt.Adam
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...