Advanced HTML Editor 3 Support Product Page

Solved

Using the HTML3 Editor and CSS Navigation Menu compatability issues

Reported 31 Dec 2013 01:44:34
1
has this problem
31 Dec 2013 01:44:34 John Hessel posted:
Using the HTML3 Editor and CSS Navigation Menu together on the same page has caused the editor to disappear, leaving only a correctly sized text box. This happened on multiple pages. Here is an example: www.sfponline.org/DMXSideNavIncludeHtml3.asp
The side menu is an include file.

Replies

Replied 06 Jan 2014 11:13:10
06 Jan 2014 11:13:10 Teodor Kuduschiev replied:
Hello,
There is something wrong with your code.
Inside your body tag see i see scripts that should only appear inside the <head> </head> tags..

<link rel="stylesheet" type="text/css" href="/Styles/dmxNavigationMenu.css" />
<script type="text/javascript" src="/ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="/ScriptLibrary/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="/ScriptLibrary/dmxNavigationMenu.js"></script>
<!--[if lt IE 7]><script type="text/javascript" src="Styles/IE7.js"></script><![endif]-->
<link rel="stylesheet" type="text/css" href="/Styles/dmxNavigationMenu/elegant_blue/elegant_blue.css" />

Replied 06 Jan 2014 14:19:48
06 Jan 2014 14:19:48 John Hessel replied:
Thanks for your reply, this is because I am loading the menu as an include file, so the scripts are in that file and not in the <head> of the page that is being viewed. I will try to move the script and see what happens.
Replied 06 Jan 2014 14:27:37
06 Jan 2014 14:27:37 Teodor Kuduschiev replied:
Replied 06 Jan 2014 20:13:12
06 Jan 2014 20:13:12 John Hessel replied:
I understand the tutorial, though I am using asp in this instance.
The reason why the include files for the CSS navigation menu are not in the <head> is because they are in the include file that creates the menu on every page.
I did this to avoid having to put the includes on about 120 pages.

To test I removed them and put them in the <head> on the example page, but the results are still the same.

Replied 06 Jan 2014 20:24:50
06 Jan 2014 20:24:50 Teodor Kuduschiev replied:
Hello,
It does not matter if it asp or php, the idea is the same. The issue on your page now is that you have 2 instances of:
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>

Just remove the second one and it will be fine.
Replied 06 Jan 2014 20:53:59
06 Jan 2014 20:53:59 John Hessel replied:
Yes, that works. Thank you!!

Reply to this topic