Helping ordinary people create extraordinary websites!

Go Back   Web Development Forum > Website Designing > HTML/CSS
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-24-2008, 12:32 AM
Junior Member
 
Join Date: Apr 2008
Posts: 11
Default frames/iframes offsite

hey guys,

not sure if this could be fixed with html,js or what. dont care either
whatever code can make this happen would be a great help.

my issue is like this.. got my site, lets call it example0.html

From that site i use framesets to link 2 other sites, example1.html
example2.html.

example1.html is ment to be just like a return to home button wile example2.html the other, displays the site.

the idea behind all this is allow ppl to return to the main page wile in kiosk mode in IE and without a keyboard needed

right now it works like it should except that some offsite links cause the frames to disapear leaving ppl stuck at that site with no way home or to close the browser. and im stumped.

some way to force links into a frame would fix me up real quick.

any help at all would be great

the site looks like this;
<html>
<head>
<META HTTP-EQUIV="Refresh"
CONTENT="3600; URL="example0.html">
<title>Drug And Health Facts</title>
</head>
<frameset rows="25,*" border="0">
<frame src="example1.html" scrolling=no marginwidth=0 marginheight=0 onload="var d = frames[0].document;var l = d.links[0];if (d.getElementById &&d.getElementById('logo')) {l = d.getElementById('logo');}l.target='_top';">
<frame src="example2.html">
<noframes>
</frameset>
</html>

ive been playing with naming and iframes vs framesets and nothing has changed. Plz help.





web development
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-24-2008, 01:29 AM
ryanhellyer's Avatar
Super Moderator
 
Join Date: Dec 2007
Posts: 711
Default

Hi,
Is it possible that the sites you are trying to place inside the frame have been intentionally designed to circumvent framing? This is common practice for sites which are being illegal iframed. They do it with a small javascript and I'm not sure there is any solution to it.

If this isn't the case, could you pass on some links so we can see what is going on please. It's hard to bug fix these things without being able to see the code in action.

A good way to see if it is a script which is triggering the frame to pop out, is to turn javascript off. If it is a script causing it, then turning off the javascript will prevent it from happening.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:43 PM.


Website Design by Ducani Media Group
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.