Click here to Skip to main content
15,909,822 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Convert pull method report to push Pin
Not Active1-Jun-10 3:15
mentorNot Active1-Jun-10 3:15 
QuestionRDLC culture problem Pin
jeffrey kalampukattussery31-May-10 23:26
jeffrey kalampukattussery31-May-10 23:26 
QuestionDatabase logon error for crystal report... Pin
VB.Net Developer31-May-10 20:29
VB.Net Developer31-May-10 20:29 
AnswerRe: Database logon error for crystal report... Pin
Peace ON31-May-10 21:44
Peace ON31-May-10 21:44 
GeneralRe: Database logon error for crystal report... Pin
VB.Net Developer31-May-10 22:03
VB.Net Developer31-May-10 22:03 
QuestionAnybody know how to make a read-only Iframe? Pin
Darrell Long30-May-10 6:49
Darrell Long30-May-10 6:49 
AnswerRe: Anybody know how to make a read-only Iframe? Pin
Peace ON31-May-10 1:07
Peace ON31-May-10 1:07 
GeneralRe: Anybody know how to make a read-only Iframe? Pin
Darrell Long31-May-10 5:19
Darrell Long31-May-10 5:19 
Thanks, I've seen variants of that code segment on the web and they just seem to be ignored.
I think I am not putting the start code in the right place and it is not being executed. I have also tried putting the OnCrmPageLoad() function call in the onload event for the iframe. Alot of these examples refer to Microsoft CRM and I don't think I am using that. I am just trying to do this with HTML and Javascript.

Here is what I have now.

<HTML>
<HEAD>


<script language="javascript" type="text/javascript">
//Paste the code inside the entity onload event box 

var IFRAME_Test; 
var IFRAME_Test_Disable_Message = "IFRAME Disabled..."; 

function OnCrmPageLoad() { 
//Reference the IFRAME 
IFRAME_Test = document.all.IFRAME_Test; 
//Bind to its ready state event (wait until the iframe is fully loaded) 
IFRAME_Test.attachEvent( "onreadystatechange" , OnTestIframeReady ); 
} 

function OnTestIframeReady() { 
if( IFRAME_Test.readyState != "complete" ) 
return; 
//Override the onmousedown event 
IFRAME_Test.contentWindow.document.onmousedown = OnTestIframeMouseDown; 
} 

function OnTestIframeMouseDown() { 
alert( IFRAME_Test_Disable_Message ); 
/* or use */ 
//the window is put beyond the user's desktop and is immediately closed 
var stubWin = window.open(‘about:blank’,’’,’ toolbars=0,width=100,height=100,top=10000,left=10000’); 
stubWin.close(); 
return false; 
} 

//Entry point 
OnCrmPageLoad(); 

</script>

</HEAD>
&t;body>

<iframe id="IFRAME_Test" frameborder="1" width="800" style="z-index:1; height:400;" src="http://weathernow.denverpost.com/"></iframe>


</body>
</HTML>


Thanks for the help.
QuestionDo we still need to support IE6 browsers? Pin
Gregory Gadow28-May-10 4:02
Gregory Gadow28-May-10 4:02 
AnswerRe: Do we still need to support IE6 browsers? Pin
Peace ON28-May-10 6:02
Peace ON28-May-10 6:02 
QuestionUpgration of IE 6 to IE 8 Pin
Rajiya27-May-10 18:37
Rajiya27-May-10 18:37 
AnswerRe: Upgration of IE 6 to IE 8 Pin
Peace ON27-May-10 22:11
Peace ON27-May-10 22:11 
Questionmenu with multiview tab problem [ANY EXPERT CAN SOLVE THIS ...2 EXPERTS FAILED] Pin
mominafiz27-May-10 11:17
mominafiz27-May-10 11:17 
NewsNew plugin for WordPress enables use of Windows Azure Storage Service Pin
pSorvik27-May-10 7:37
pSorvik27-May-10 7:37 
GeneralRe: New plugin for WordPress enables use of Windows Azure Storage Service Pin
Peace ON28-May-10 1:26
Peace ON28-May-10 1:26 
NewsFREE Windows Azure Virtual Boot Camp June 1 to 7 Pin
pSorvik27-May-10 7:34
pSorvik27-May-10 7:34 
QuestionHTML Source Code fragment Appears in Email Pin
office@hempsted-it.co.uk27-May-10 5:54
office@hempsted-it.co.uk27-May-10 5:54 
AnswerRe: HTML Source Code fragment Appears in Email Pin
Not Active27-May-10 6:07
mentorNot Active27-May-10 6:07 
GeneralRe: HTML Source Code fragment Appears in Email Pin
office@hempsted-it.co.uk27-May-10 6:14
office@hempsted-it.co.uk27-May-10 6:14 
AnswerRe: HTML Source Code fragment Appears in Email Pin
T M Gray1-Jun-10 8:56
T M Gray1-Jun-10 8:56 
GeneralRe: HTML Source Code fragment Appears in Email Pin
office@hempsted-it.co.uk1-Jun-10 12:43
office@hempsted-it.co.uk1-Jun-10 12:43 
QuestionLimit File Size or Request Size Pin
tarek.mostafa27-May-10 5:06
tarek.mostafa27-May-10 5:06 
QuestionNavigation CSS Question Pin
Dalek Dave26-May-10 10:54
professionalDalek Dave26-May-10 10:54 
AnswerRe: Navigation CSS Question Pin
User 171649226-May-10 12:01
professionalUser 171649226-May-10 12:01 
GeneralRe: Navigation CSS Question Pin
Dalek Dave26-May-10 12:38
professionalDalek Dave26-May-10 12:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.