Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/robohelp/robohtml/WS5b3ccc516d4fbf351e63e3d11aff59c8c5-7fd9.html
Copy link to clipboard
Copied
DHTML effects (e.g. dropdown hotspot) do not appear to work within framesets. Is there a solution?
Copy link to clipboard
Copied
Hi there
I think we need more information to go on here. DHTML certainly *DOES* work in frames because it works in WebHelp and FlashHelp outputs. Those outputs are presented using frames.
So we need more information in order to help. Which specific DHTML effect are you attempting to use? How are you seeing it fail?
Cheers... Rick
Copy link to clipboard
Copied
Hi Rick,
I have used the new frameset function to create two frames: top one fixed, bottom one scrolling. I have put a topic into each frame. Each topic works fine standalone (that is the dropdown text and twisties function). When used in the frames, the dropdown is permanent dropped and there is no twistie. The text only popup works fine.
HTML of Frameset
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge" > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="GENERATOR" content="Adobe RoboHelp 10"/> <title>Test2</title> </head> <frameset rows="100,854"> <frame name="header" src="TestToolBar.htm" noresize="noresize" scrolling="no"></frame> <frame name="Procedure" src="Jenbacher\TEST_Jen_block_clean.htm" noresize="noresize" scrolling="auto"></frame> <noframes> <body> <script type="text/javascript" src="ehlpdhtm.js"></script> </body></noframes> </frameset> </html> HTML of raw topic with dropdown: <?xml version="1.0" encoding="utf-8" ?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="Content-Language" content="en-UK"/> <meta name="rh-authors" content="Tom Brindley"/> <meta name="generator" content="Adobe RoboHelp 10"/> <title>TEST Jen block clean</title> <link rel="StyleSheet" href="../Viridor - Lean.css" type="text/css"/> <object id="hhctrl" classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11" width="0" height="0" vspace="0" hspace="0" border="0" type="application/x-oleobject"></object> </head> <body> <?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2"></script><?rh-script_end ?>
<ul> <li class="P-Note"><p class="Note">Use a <a class="popupspot" href="JavaScript:hhctrl.TextPopup('Part number','arial,11',10,10,0xa53800,0xffffff)">Scotchbright<?rh-symbol_start name="Trademark" ?>â„¢<?rh-symbol_end ?></a> or equivalent flap wheel in a power drill. </p></li> </ul> <?rh-list_start class="MainStep" level="1" style="list-style: rh-list; list-style: rh-list;" ?><p class="MainStep">Protect all exposed openings..</p><?rh-list_end ?> <?rh-list_start class="MainStep" level="1" style="list-style: rh-list; list-style: rh-list;" ?><p class="MainStep">Clean the inner bore surface..</p><?rh-list_end ?> <?rh-list_start class="MainStep" level="1" style="list-style: rh-list; list-style: rh-list;" ?><p class="MainStep"><?rh-dropspot_start class="dropspot" href="javascript:TextPopup(this)" id="a1" dataid="POPUP578350426" ?>Clean the block<?rh-dropspot_end ?> </p> <?rh-droptext_start class="droptext" id="POPUP578350426" style="display: none;" ?> <?rh-list_start class="MainStep" level="2" style="list-style: rh-list; list-style: rh-list;" ?><p class="SubStep">Clean the surface of the block.</p><?rh-list_end ?> <?rh-list_start class="MainStep" level="2" style="list-style: rh-list; list-style: rh-list;" ?><p class="SubStep">Clean the cylinder head studs with a wire brush and brake cleaner.</p><?rh-list_end ?> <p class="MainStep">x</p><?rh-droptext_end ?><?rh-list_end ?> <?rh-region_start type="footer" style="width: 100%; position: relative;" ?> <p> </p> <?rh-region_end type="footer" ?> <?rh-script_start ?><script type="text/javascript" language="JavaScript1.2">//<![CDATA[ if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function(); TextPopupInit('a1', 'POPUP578350426'); //\]\]\></script><?rh-script_end ?> </body>
</html
Copy link to clipboard
Copied
OK, seems they work in a compiled system, just don't work in the preview window.