Hi, I have a web site that needs to include an iframe, it worked when
the web page was html, but I needed to run a little piece of asp code
in the page so I change it to asp instead of HTML. When I did this my
website starting to show(only on iexplorer) "your browser either does
not support JavaScript & Cookies". I search on the internet and the
answer seems to be something about the security that can be fixed
adding HttpContext.Current.Response.
AddHeader("p3p","CP=\"IDC DSP
COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""); in the
page_load event. I have to confess that I never programmed in asp
before, but I did it a lot in php. I tryed to find the way to make that
work but I couldn't Can anyone help me to modify my code below to add
that line correctly?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="vspfiles/templates/90/css/Imports.css" rel="stylesheet" type="text/css" />
<style type="text/css">
html, body, iframe { margin:5px; padding-left:0px; margin-right:10px; padding-right:8px; margin-right:3px; padding:0; height:96%; }
html{ overflow: auto;}
iframe { display:block; width:100%; border:none; }
</style>
<!-- [if lt IE 7.]
<script defer type="text/javascript" src="vspfiles/V4_Backup/pngfix.js"></script>
[endif]-->
</head>
<body >
<div class="multi-store-container" >
<div class="multi-store">
<div class="store-switcher store-switcherBorder3">
<ul>
<li class="background3" onmouseover="this.className='background2'" onmouseout="this.className='background3'"><a href="homepage.asp"><em> </em><span>Home</span></a></li>
<li class="background3" onmouseover="this.className='background2'" onmouseout="this.className='background3'"><a href="shoppingcart.asp"><em> </em><span>Online Warehouse- 60,000 Items</span></a> </li>
<li class="background1" onmouseover="this.className='background2'" onmouseout="this.className='background1'"><a href="../default.asp"><em> </em><span>Big Apple Hobbies Online</span></a> </li>
<li class="background6"> </li>
<li class="background6"><a href="http://nqaf6.6echv.servertrust.com/v/location.asp">Location</a></li>
<li class="background6"><a href="http://nqaf6.6echv.servertrust.com/v/jobs.asp">Jobs</a></li>
<li class="background6"><a href="http://nqaf6.6echv.servertrust.com/v/contact.asp">Contact Us</a></li>
</ul>
</div>
</div>
</div>
<iframe id="frame1" src="
<%
dim t
t=Request.Querystring
if t<>"" then
t="products/description.asp?"&t
end if
Response.Write("http://h1073722.hobbyshopnow.com/" & t)
%>
"
width="100%" frameborder="0" height="1200">Your browser does not support iframes.</iframe>
</body>
</html>