Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MarkItUp! and ASP Classic - Preview

Posted on 2014-03-12
2
Medium Priority
?
372 Views
Last Modified: 2014-03-12
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
0
Comment
Question by:Wayne Barron
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 31

Accepted Solution

by:
Wayne Barron earned 0 total points
ID: 39925553
I found it.

You have to look at the top of the set.js file.
There you will find:
 previewParserPath:  "~/sets/bbcode/preview.php",

Change this to the path and filename of your file.

In my case, it is
 previewParserPath:  "~/sets/bbcode/preview.asp",

That is it.
Carrzkiss
0
 
LVL 31

Author Closing Comment

by:Wayne Barron
ID: 39925556
Found the information when I used the developer tool within Google Chrome.
When I clicked on the Preview link, it showed me the file did not exist, and then I did a search for it, within Dreamweaver's power search feature.
(You do not have to have the file(s) open, in order to search through them, when it is found, DW opens it up for you.
People bash DW, but it comes in handy for a lot of really cool things.
Just NOT coding. That is best left done on your own.)

Carrzkiss
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question