Secret HTML TIPS & Tricks

All these tips are implemented by placing the code in an HTML object in your Lectora title. How to Close a Popup Window Automatically As soon as the user clicks on any window other than the popup, the popup closes. Create an HTML object from the Insert toolbar. Then select: Object Type: Other <body onBlur=top.cSlose()> Limitations: You cannot have any clickable item on the popup page. If you do, the popup closes as soon as the user clicks on the item – button, hyperlink, Table of Contents, Menu. How to Disable Right Mouse Click, Double Clicking, and Dragging Create an HTML object from the Insert toolbar. Then select: Object Type: Other Insert: <body oncontextmenu="return false" onselectstart="return false" ondragstart="return false"> in the Custom HTML field. Secret & Special Javascript Tricks How to Keep the Background Image from Repeating It appears that the easiest way to keep it from repe...