chrometweaks.org

What's the best (still cheap) iPage web host for building a personal website?

Click Here To View All Answers...


Got a question, hope someone can answer... What's the best (still cheap) iPage web host for building a personal website? Hoping for any comment. Another question on my mind: Ok, I'm no newbie to HTML but I never would have thought I needed something like this until I realized it would be useful on a new iPage site i'm making..

First background to understand the problem:.

I have a iPage website that you can sign up for and it works in frames. I don't use sessions/cookies because I don't know how, I just have my scripts check for the correct username/pass every time an action takes place with the get/post functions of php..

The question:.

When I have a user to log out, I want the top bar AND the main page to change, so I need the log out link to do two things at once in two different frames..

To better understand what i'm talking about, here's the page I'm talking about.

:.

Http://profiles.bouley86.com/index2.html.

And you can use the following to login in so you can understand what i'm talking about.

:.

Username: htmlforumsTEST.

Pass: htmlforumsTEST.

(and just a note, I'm not trying to promote my iPage website by doing this, I merely am providing as much information as I possibly can so you may understand the question I am asking as cleary as possible)..

Comments (8)

I'm stumped. I'm not so sure what is the right answer to your question. I'll do some investigation and get back to you if I discover an anything. You should email the people at iPage as they probably can help you..

Comment #1

This should work(hopefully.

):.

<body onLoad="parent.your_frame_name.location='blah.html'">.

Where your_frame_name is the name of the frame of which you want blah.html to load..

I hope this works for you, it took me a while to figure out(I'm no expert with JavaScript.

)...

Comment #2

That didnt work. all it did was redirect the entire iPage site to that page I specified in the onload command, it didnt open it in the frame I specified..

Comment #3

Hmm, interesting.. it seems to work for me in my little frame testpage. Are you sure you have it set up correctly?..

Comment #4

Well, I went to your iPage site and it seemed to work for me(I saw that you applied the script.

). I also see what you were talking about(redirecting the entire site). I noticed that the only way this happens is if you go to one of the edit profile options once your logged in(or at least 'The Basics' and 'Colors' - those are the only ones I tested)..

The reason this happens when you go to one of those edit option links is because the page they go to doesn't contain the frameset information needed in order for the whole 'log out' thing we just went through to work. The only thing they contain is the top.php site..

This would explain the reason why index1.html opens up in a new window; there isn't a frame called 'main' that index1.html can be placed in.

So what you need to do is add another frame to the 'Edit your profile' pages named 'main'(or whatever)..

Other than that, when I log in, and not go to any of the other profile options, the 'log out' thing works fine as far as I can tell.

..

Hope this helps you a bit...

Comment #5

What i'm talking about is when you go to.

Http://profiles.bouley86.com/index2.html.

Scroll down in the main window, there's a link that says Already a User? Login Now If you click on the login now my profile.php script will load in the main window. When you log in there, it goes to a page within the profile.php script that has this code it in:.

<body onLoad="parent.top.location='http://profiles.bouley86.com/top.php'">.

Which is supposed to load the "logged in" version of the nav bar in the top frame but it doesnt, it loads it in the whole browser. Why does it do that?..

Comment #6

From what it looks to me that when you log in the profile page is loading then it loads top.php. nothing is staying in the framed page..

After loading it has the url as this.

Http://profiles.bouley86.com/top.php...htmlforumsTEST.

So apparently you have something in the code messed up..

Also I seen so other problems. you have your css loading above the html tag. also you don't close your body and html tags...

Comment #7

I see that nothing is loading in the frames and that is what the problem is. I don't understand why it isn't loading in the frames..

And the coding is just icing on the cake to me right now, I'm redoing the entire iPage site so when i'm done getting things the way I want I'm planning on going back and neatening up the code...

Comment #8

It's working now. I went and changed the name of the top frame and it made a difference. Not quite sure why, but hey it works so i'm not going to question it. thanks for the help...

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.