0

hello
i am trying to make one of my original pages open up in the centre of my website (as all the other pages do).

when clicking on the Boarding House Reform button on the right hand side of the page, it opens up without the frame around it. No other pages do that.

Am I missing something in the code?

Click Here

Any help would be greatly appreciated.

2
Contributors
3
Replies
5
Views
4 Years
Discussion Span
Last Post by JorgeM
0

I'd like to help but I'm having trouble following along with your code. With regard to your question..

when clicking on the Boarding House Reform button on the right hand side of the page, it opens up without the frame around it. No other pages do that.

The reason is because that element which is a simple link which displays an image has no instruction to display the contents within the iFrame. It appears to be a simple hyperlink.

<a href="bhop.html"><img src="_images/bh_reform_button.jpg" alt="Boarding House Reform" width="141" height="103" border="0" align="right"></a>

Now, with regard to other hyperlinks on your page, I noticed the ones in the footer area call a JavaScript function.

For example...

<a onclick="return loadIframe(&#39;main&#39;, this.href)" href="awards.html">Awards</a>

0

that was the exact answer i was searching for JorgeM. Thank you so much. works like a charm now....and I apologize for the god-awful coding in the site. it's older than dirt and there is no funding for time to fix it. Appreciate you taking the time to help me!!!

0

god-awful coding in the site. it's older than dirt

LOL, that's OK. glad that I was able to assist.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.