FreewayTalk

4 replies to this thread. Most Recent

cas

15 Nov 2007, 7:57 am

Force Blog to stay in frame

Hi All!

I’ve linked a blog to my website - http://www.csolarski.co.uk - which sits under the ‘online sketchbook’ link.

The problem I’m having is keeping the blog within the frame when the ‘search’ function is used. Does anybody know of a short html script which will force the blog to stay where it is?

Many thanks in advance! Chris

waltd

15 Nov 2007, 12:48 pm

Try this: select your main frame (the lower one) and in the Inspector, look for a preference called Target. Explicitly set it for _self. That’s the default, but your blogspot search engine may be overriding that default somehow. I have a feeling that this might work, but it’s equally possible that if you want to use BlogSpot for your blog, you may have to put up with this — it could be enforced from their side, and there’s nothing you can do about it if it is.

Walter

Freeway user since 1997

http://www.walterdavisstudio.com

cas

15 Nov 2007, 1:04 pm

Thanks for replying to my post, Walter!

Unfortunately it looks like the Blogspot search engine does indeed override Target/_self.

I’ve noticed that it’s possible to edit the html from within the Blogspot control panel. Would you know what the html code for Target/_self is so that I could copy and paste it into Blogspot?

I’ve found some related tips on the following website however even basic html programming is over my head. :D

http://www.w3.org/TR/html401/present/frames.html

Thanks again! Chris

waltd

15 Nov 2007, 1:23 pm

On Nov 15, 2007, at 9:04 AM, cas wrote:

Thanks for replying to my post, Walter!

Unfortunately it looks like the Blogspot search engine does indeed override Target/_self.

I’ve noticed that it’s possible to edit the html from within the Blogspot control panel. Would you know what the html code for Target/_self is so that I could copy and paste it into Blogspot?

I’ve found some related tips on the following website however even basic html programming is over my head. :D

http://www.w3.org/TR/html401/present/frames.html

Thanks again! Chris

Do they allow you access to the code that generates the search field? I would imagine not, but if they do, the code would be inserted in the FORM tag:

 <form action="asdfasdf" target="_self" method="post">...

They are probably using target=”_top” to bust out of any containing frame.

Walter

Freeway user since 1997

http://www.walterdavisstudio.com

Back to Top

cas

16 Nov 2007, 9:14 am

It looks you’re right, Walter.

The Blogspot html code I do have access to only deals with the template layout, so there’s no immediate was I can force the blog to stay in it’s frame.

There is an option to host the blog on my ftp site, so I’ll try to get that to work (apparently it is only then that you can get rid of things like the search bar).

Thanks again for your help!

Much appreciated Chris