Jump to content

Recommended Posts

Posted

Found this on another forum I regulate. Anyone up for it?

 

------

 

This is a challenge for any HTML/Internet experts.

 

Here is the situation:

 

I had an old subdomain account, http://will.i.am

 

It redirected to a very specific url:

 

http://mtylerjr.smallbizdepot.com/Pictures/Montana/Wildflowers/index.htm

 

(my wildflower website.)

 

Ive sold the rights to the will.i.am subdomain to someone else, so they could redirect will.i.am anywhere they want. But unfortunately, it looks like the people who own the base i.am domain are no longer supporting their subdomains, meaning subdomains can no longer -change- the redirection.

 

Therefore will.i.am is frozen permanently redirected to my wildflower website.

 

So, the only available alternative for me was to redirect from the other side. I can, from the control panel for mtylerjr.smallbizdepot.com, redirect that particular url (http://mtylerjr.smallbizdepot.com/Pictures/Montana/Wildflowers/index.htm) to somewhere else.

 

I thought I had solved the problem! I redirected it to CNN.com. So, now if you go to http://will.i.am, it redirects to CNN.com.

 

HOWEVER, and this is the challenge and question. Even though will.i.am redirects to CNN.COM, I still see "Wildflowers of Glacier national park" in the title of the browser tab, as well as the title bar of the broswer itself.

 

This must be from the i.am site itself. I can't change that from the will.i.am account anymore.

 

So, does anyone know of any HTML code I could include within a web page, to override the title, even if the web page is within a frame of another web page? I.e. You cant just use the

tags, this doesnt reach outside of that frame to the top level.

 

I dont know if it is possible, but maybe there is an HTML expert lurking on this board.

 

If you can solve this problem, and this allows me to not have to refund the money for the sub domain, I will give $50 to whoever found the solution.

 

If you find a solution, put the HTML file on the web someplace and give me the url, so I can redirect will.i.am to it, and see if it works (i.e. doenst display "Wildflowers of Glacier National Park" in the title

 

Thanks!

 

Oh, I need this ASAPl I dont know how long I can stall this guy from wanting a refund.

Posted

I really don't know if this is a good solution for you or not, but try the page I put on my webserver: claridenfundraisers.com/tcsweb2/redirect.html

 

It uses javascript to break out of frames, and then redirect the page.

I don't know if it will work for you. I will see if I can think of any other ideas.

 

I did test it by simulating the frame coding your current site was using on a page claridenfundraisers.com/tcsweb2/redirecttest.html and it did redirect in 1 second, breaking out of all frames.

 

I am keeping my fingers crossed that this solution will work for you.

 

*NOTE: Add http to my web addresses above, please.

Posted

I have forwarded that solution on. Whats annoying is I was already aware of that code but just didn't think of it! Haha.

 

I will let you know if you won :p

 

The wonders of javascript... dunno what I'd do without it :D

 

EDIT

 

I'm putting the code into here so I don't jave to keep extracting the code from your page. The other forum won't allow me to enter it directly.

 




REDIRECT PAGE
<br />
<!--<br />
if (window!= top)<br />
top.location.href=location.href<br />
// --><br />







Posted
Also, for people without javascript, I'd suggest an A link with the target set to _top, which when clicked on, will also burst out of the frames.
Posted
I think you just won $50 claridentech... it all depends on if the new owner of the domain accepts the workaround or wants a refund.

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



×
×
  • Create New...