Unable to add a link inside NOFRAMES tag

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/22/2013 1:15:48 PM
Gravatar
Total Posts 62

Unable to add a link inside NOFRAMES tag

I am trying to simply add a link inside noframes, but the source editor automatically reformats all tags inside. Seems like a bug.

Insertted text in the source

<NOFRAMES> <P>This frameset document contains: <UL> <LI><A href="contents_of_frame1.html">Some neat contents</A> <LI><IMG src="contents_of_frame2.gif" alt="A neat image"> <LI><A href="contents_of_frame3.html">Some other neat contents</A> </UL> </NOFRAMES>
 

The result:

<noframes>
    &amp;lt;P&amp;gt;This frameset document contains: &amp;lt;UL&amp;gt; &amp;lt;LI&amp;gt;&amp;lt;A data-cke-saved-href="contents_of_frame1.html" href="contents_of_frame1.html"&amp;gt;Some neat contents&amp;lt;/A&amp;gt; &amp;lt;LI&amp;gt;&amp;lt;IMG data-cke-saved-src="contents_of_frame2.gif" src="contents_of_frame2.gif" alt="A neat image"&amp;gt; &amp;lt;LI&amp;gt;&amp;lt;A data-cke-saved-href="contents_of_frame3.html" href="contents_of_frame3.html"&amp;gt;Some other neat contents&amp;lt;/A&amp;gt; &amp;lt;/UL&amp;gt;</noframes>

 

1/22/2013 1:39:47 PM
Gravatar
Total Posts 18439

Re: Unable to add a link inside NOFRAMES tag

I think CKEditor is enforcing html 5 validity and noframes is not valid in html 5. You could try switching to TinyMCE editor but it may not like it either. If all else fails in the Html Content feature you can disable the wysiwyg editor and then enter raw html if you really want to. We use that sometimes to keep the wysiwyg from messing with our javascript.

But if you are targeting html 5 and using an html 5 doctype, you might want to consider whether you really want or need that noframes element.

Hope that helps,

Joe

1/22/2013 1:54:09 PM
Gravatar
Total Posts 62

Re: Unable to add a link inside NOFRAMES tag

I see now. Thank you for clarify this. What would be a better approach if I wanted to use iframes and display a message if they are either disabled or not available.

You must sign in to post in the forums. This thread is closed to new posts.