text/html modue and ascii code
Last Post 04/22/2008 8:01 PM by Joseph Craig. 2 Replies.
Author Messages
Bo
Nuke Master
Nuke Master
Posts:215


--
04/22/2008 10:52 AM  
Hello There,

I am trying to create this transparent popup using javascript and css.  I succeeded in generating it with some css style in the headers ection of the DNN page.

My problem however is when the contents of this pop up need to be changed.  You see what is happening now is I am creating a popup with a bold italic title and than a break with the rest of the words inside this transparent popup box being plain face.  The problem is after I write in or copy in to the source part of the text/html module code similar to the following:

onmouseover=popup('sometext)

what I get if I try later to change some words in this popup are things like as follows:


The Berkshire Buzz\;
What\'s cool/hip/ happening —and when.


Now notice all of those html tags within the java document write pop up turned into ascii characters like what you see above.  My question is this.  Is their anyway to stop this from happening.  It doesn't seem to occur outside of literal text of javascript pop up although I guess I have seen it in other occassions but not in just straight html situations that require no scripting.  This ascii business causes things so that you have to manually erase all the ascii and reinstitute the html tags correctly any time updating is needed or perhaps have something like web expressions, notepad, etc... where you store your html tags in the javapop up do all the editing in their and than copy it in its entirety to the source of the text/html and just click on update without reverting back to the wiziwig environment seeing a change needing down and popping back to the source.

Most our admins are not veyr html savvy if you will and rely heavily on the wiziwig environment but in the case like this it would be nice to teach them how to just change the words with in such and such tags and click update but when all tags transform to their asciii representatives it is hard to do so any insite into this would be helpful thanks

Bo
Bo
Nuke Master
Nuke Master
Posts:215


--
04/22/2008 10:54 AM  
it seemed to strip out the demo of the ascii equivalents of strong tags and em tags such as the greaterthan and lesser than sign turning into tis andpercentwith an lt; or a > turning into this > but any way I guess you probably see what is happenig anyway

Thanks,

Bo
Joseph Craig
DNN MVP
Posts:11667


--
04/22/2008 8:01 PM  
Bo,

This one is a bit beyond my experience. I am working on a site that uses "Lightbox" tools to pop up edit windows that display editable forms, so I know that something like this can be done. But, I expect that it will be some time before I begin to understand how to actually do it. And, the software guys doing the work are "offshore" and not really approachable for questions like this.

Joe Craig, Patapsco Research Group
Complete DNN Support


---