Forum Moderators: phranque

Message Too Old, No Replies

How to work around web host's template

         

netwiz

2:12 am on Aug 10, 2004 (gmt 0)

10+ Year Member



My company requires us to use a specific web host for security purposes. My problem is how to bypass the lame framed template we are forced to use (and pay $30 a month for the privalage). I do not have access to the <head> section of the index page (they provide a WYSIWYG program) and need to find a work around using only the <body> section. I would like to have the index page automatically redirect to a new frames-free page so I can create my own navigation and content. Anyone have any suggestions?

Jo

Birdman

2:20 am on Aug 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can use a basic 'break out of frames' script(javascript). I can't remember how it goes but it's a one liner. Just do a quick search to find it.

You may have to acquire another host for your unframed work, because they can frame you at at the server level.

vkaryl

2:20 am on Aug 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



php includes maybe?

Use an include as the only thing in the body tag, which pulls the desired content into the page....

[Edit: but then again, if the reason for the setup is security, anything you do to circumvent the in-place situation may be breaking the terms of your TOS, as well as trashing the security which is set that way for a reason.... you might be better advised to use the template you're given in a new, creative way....]

[edited by: vkaryl at 2:26 am (utc) on Aug. 10, 2004]

vkaryl

2:22 am on Aug 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's a good idea too, birdman, but not if money is an object - having to pay ANOTHER fee on top of the $30 already in place is adding insult to injury.

netwiz

6:29 pm on Aug 10, 2004 (gmt 0)

10+ Year Member



Thanks for the replies. I considered using the "break free from frames" code but it needs to be placed in the <head> section. I haven't been able to find a way to use it in the <body> only.

The php includes might work although I don't have complete control over the <body> section either. The host has added a bunch of garbage that they assume we want included in our site. I'll give it a try and see how it works out.

My goal is to have the initial host index redirect to a new page without making the visitor click a link (or paying for another host). This would give me control over the index content and the navigation as well. The horizontal menu across the top is all host content and I have no way of removing it. I can change the names of most of the buttons on the left side and link them to where I want. The newsletters, calculators, market watch and seminars are all host content that can't be removed. The only control I have on the index page is the text section.

Please let me know if you think of any other options. We are running ads throughout Central PA and I know this website is costing me business. Thanks again for your help.

Jo

[edited by: rogerd at 7:07 pm (utc) on Aug. 10, 2004]
[edit reason] No specifics, please... [/edit]