View Full Version : help


metallibluegurl
07-15-2003, 09:10 PM
i made this page on frontpage n uploaded it onto geocities, but when i go to main the page automatically jumps to another page without me puttin any code for it i think...here's the page http://www.geocities.com/annysheng

sisqoluv
07-15-2003, 09:25 PM
Originally posted by metallibluegurl
i made this page on frontpage n uploaded it onto geocities, but when i go to main the page automatically jumps to another page without me puttin any code for it i think...here's the page http://www.geocities.com/annysheng

It didn't jump when I did it. However, a pop-up ad does come up over your site, with your site's URL in the title. That's what Geocities does. I never used it, but I think you may be able to change your setting so that the ad is on the page, and doesn't pop up.

metallibluegurl
07-16-2003, 04:22 PM
this is the page http://www.geocities.com/annysheng/main.html

sisqoluv
07-16-2003, 09:20 PM
I like your layout :)

I looked at your coding, and I can't figure why it does that. Sorry! Do you remember what's the last thing you added to your code when it started doing that?

Dude128
07-16-2003, 09:24 PM
I think it might be this in your <body> tag:
onload="if (self != top) top.location = self.location"

I'm really not sure, but I've never seen that type of code, and it seems like it could be causing some kind of redirection

pb&j
07-17-2003, 04:47 AM
Originally posted by Dude128
I think it might be this in your <body> tag:
onload="if (self != top) top.location = self.location"

I'm really not sure, but I've never seen that type of code, and it seems like it could be causing some kind of redirection
yup, thats the kicker.
its ok to have it on your main page coding, but it seems you included that in your page coding for the page showing within your iframe area.
it is a javascript that tests the current URL address. if it does not match the address of the current page, it redirects the browser to display the current page as the current URL, thus making the iframe page becoming the main page to display after the first one loads.

to fix...
take that javascript out of the BODY tag of the pages being shown inside the iframe area.

metallibluegurl
07-17-2003, 05:58 PM
o, i got it, thanks