Skip to main content
Participant
April 6, 2011
Question

javascript formatting issue

  • April 6, 2011
  • 2 replies
  • 677 views

Does anyone know if there is a setting in RH8 HTML to format the scripts correctly?  Having to update the format each time the library is published will be a pain.

<script type="text/javascript" language="JavaScript1.2">//<![CDATA[
if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
TextPopupInit('a2','POPUP380679909');
//]]>

</script>

instead of:

<script type="text/javascript" language="JavaScript1.2">//<![CDATA[
if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
TextPopupInit('a2','POPUP380679909');
//]]></script>

This topic has been closed for replies.

2 replies

rd4Author
Participant
April 7, 2011

thanks Rick and Leon... i'll look into using FAR to update the code.

Captiv8r
Legend
April 6, 2011
rd4Author
Participant
April 6, 2011

Hi Rick,

Yes, currently external users connected to https via vpn are receiving a javascript error as it's not in the correct format the vpn accepts.  Users currently can't open any of the javascript links such as the textpopup feature.

Thanks

Ria

Captiv8r
Legend
April 6, 2011

Hmmm, interesting. That's the first I've ever heard where this would cause issues. Strange.

I suppose you could run a massive search and replace using a tool such as FAR or BKReplace.

FAR link

BKReplace link

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7, 8 or 9 within the day!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks