Avatar of Wayne Barron
Wayne Barron
Flag for United States of America

asked on 

MarkItUp! and ASP Classic - Preview

Hello All;

OK, I have MarkItUp!, of which I really enjoy using in our sites.
The issue that I am having, and have never figured out.
Is, how to parse the editor, using Classic ASP.
Now, I can parse the code, that is not the problem.
The problem that I am having, is getting the page to show up at all.

Right now, I just have
This is a test
Written in the file, just to show something, so I can make sure that it is working.
And I cannot get it to show up.
I even changed the filename ext, to .html, to see if that was the issue, and no go.

This is what I have in the jquery.markitup.js
previewTemplatePath:      '~/parsers/Preview.asp',

Do I need to add or so anything else to the settings within the file, to make the preview display?
Right now, the only thing that is happening, is that it is showing a blank window.

This the the entire section.

		options = {	id:						'',
					nameSpace:				'',
					root:					'',
					previewHandler:			false,
					previewInWindow:		'', // 'width=800, height=600, resizable=yes, scrollbars=yes'
					previewInElement:		'',
					previewAutoRefresh:		true,
					previewPosition:		'after',
					previewTemplatePath:	'~/parsers/Preview.asp',
					previewParser:			false,
					previewParserPath:		'',
					previewParserVar:		'data',
					resizeHandle:			true,
					beforeInsert:			'',
					afterInsert:			'',
					onEnter:				{},
					onShiftEnter:			{},
					onCtrlEnter:			{},
					onTab:					{},
					markupSet:			[	{ /* set */ } ]
				};

Open in new window


Carrzkiss
jQueryJavaScriptWeb Languages and Standards

Avatar of undefined
Last Comment
Wayne Barron

8/22/2022 - Mon