Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Darrell Long

@Darrell Long
About
Posts
10
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Anybody know how to make a read-only Iframe?
    D Darrell Long

    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.

    Web Development tutorial question

  • Anybody know how to make a read-only Iframe?
    D Darrell Long

    I want to include some dynamic content from another site, but I want to restrict the user from clicking any of the links on that site so they can't navigate away from my page. Most of the things I have tried in terms of capturing mouse events to prevent navigation are ignored when the mouse is over the IFrame. Thanks in advance.

    Web Development tutorial question

  • PC Anywhere and C# Application
    D Darrell Long

    I have a simple C# application with an embedded Internet Explorer Active X component for quickly displaying and printing HTML pages. This application is not seen by PC Anywhere. If this application is active on the screen it will show the background of the host and part of the screen will be inaccessable by the remote computer. Has anyone else seen this or better have a fix for it? Thanks, Darrell

    C# csharp html hardware help question

  • Microsoft treeview control
    D Darrell Long

    I was wondering if anyone has seen this or even better knows how to fix it. I have applications that use the treeview control without error, but one client has IE 6.00.2800.1106 and Window 2000 server and gets the following error as a popup dialog: Interner Explorer Script Error An error has occured in the script on this page. Line: 647 Char: 5 Error: A dynamic link library (DLL) initialzation routine failed. Code: 0 URL: http://artemis/webctrl\_client/1\_0/treeview.htc Do you want to continue running scripts on this page? The treeview file is there and this server serves to other clients without error. Here is the function that has the error. // // blurFilter // // decreases alpha filter opacity on given node by 50%, adding one if needed // function blurFilter(oItem) { if (oItem.id == "_tnaccess") oItem = oItem.all.item("_tntext", 0); if (oItem.filters.length > 0) //this is the line with the error { var oFilter = oItem.filters.item("DXImageTransform.Microsoft.Alpha"); if (oFilter) { oFilter.opacity /= 2; return; } } oItem.style.filter += "progid:DXImageTransform.Microsoft.Alpha(opacity=50,style=0)"; } Thanks in advance for any help, Darrell

    ASP.NET help sysadmin tools tutorial question

  • Computer Science core
    D Darrell Long

    I think is is because Java is cheaper for the schools to support. You can get free tools and compilers for every instructor and every student. Also, Java supports teaching on the Linux(Cheap Unix) computers on campus and all the Windows PC's that the students typically have. Writing Java Applets teaches web development, so there is one low-cost standard for all the courses that a college wants to offer. I think that Microsoft has caught on to this fact and that is why there is a free command-line compiler for .NET and efforts like MONO are not being stopped Microsoft.

    The Lounge c++ java asp-net question discussion

  • Web page repository?
    D Darrell Long

    One of the guys in my office prints the pages he wants to save to a PDF file using Adobe Acrobat.

    The Lounge html css hardware data-structures tools

  • system analysis certificate
    D Darrell Long

    Try the IEEE CSDP Certificate. The Certified Software Development Professional credential is based on IEEE's Software Engineering Body of Knowledge. http://www.computer.org/certification/ Darrell Long

    The Lounge design cryptography question

  • cub scouts
    D Darrell Long

    There is also a cub scout academic belt loop and pin that can be earned. A single den meeting could earn the boys a belt loop and open the discussion about programming. If any of the boys actually started programming they would probably qualify for the pin. http://www.usscouts.org/advance/cubscout/academics/computers.html Darrell Long

    The Lounge graphics com data-structures question lounge

  • Technical Writing
    D Darrell Long

    You can download "The Microsoft Manual of Style for Technical Publications" version 3.0 in HTML from the Microsoft download center.(Search for 'style') It is the standard for technical writing that Microsoft uses. Darrell Long

    The Lounge tutorial question learning

  • cannot found msado15.dll
    D Darrell Long

    Your example has msado15.dll mispelled. Try this: #import "c:\Program Files\Common Files\System\ADO\msado15.dll" \ no_namespace rename("EOF", "EndOfFile") Darrell Long

    Database csharp c++ database help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups