Script in Posting
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Script in Posting




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Script in Posting  
news.microsoft.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-04 11:35 PM

I need to allow my content authors to put javascript into postings.  The
example I was given as a requirement was for DoubleClick, like this:

<!-- Start of DoubleClick Spotlight Tag: Please do not remove-->
<!-- Activity Name for this tag is:Homepage -->
<!-- Web site URL where tag should be placed:
http://www.txuenergy.com/energyserv...nglish/home.asp -->
<!-- Creation Date:3/18/2003 -->
<SCRIPT language="JavaScript">
var axel = Math.random()+"";
var a = axel * 10000000000000;
document.write('<IMG
SRC="https://ad.doubleclick.net/ activity;src=8347123;type=hoep334;cat=ho
ep33
4;ord=1;num='+ a + '?" WIDTH=1 HEIGHT=1 BORDER=0>');
</SCRIPT>
<NOSCRIPT>
<IMG
SRC="https://ad.doubleclick.net/ activity;src=8347123;type=hoep334;cat=ho
ep33
4;ord=1;num=1?" WIDTH=1 HEIGHT=1 BORDER=0>
</NOSCRIPT>
<!-- End of DoubleClick Spotlight Tag: Please do not remove-->

Any ideas how to do this?

My first thought is to create a custom page property where the author could
add the script, but my understanding is there is a small size limit on the
value of a customer property.

Thanks,

Todd







[ Post a follow-up to this message ]



    Re: Script in Posting  
news.microsoft.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-27-04 11:36 PM

I found the answer myself in a previous posting...
http://www.gotdotnet.com/Community/...e3-5009a962acea

Thanks Stephan
"news.microsoft.com" <toddallen@cobbsystems.com> wrote in message
news:u5LQFRY$DHA.1464@tk2msftngp13.phx.gbl...
> I need to allow my content authors to put javascript into postings.  The
> example I was given as a requirement was for DoubleClick, like this:
>
> <!-- Start of DoubleClick Spotlight Tag: Please do not remove-->
> <!-- Activity Name for this tag is:Homepage -->
> <!-- Web site URL where tag should be placed:
> http://www.txuenergy.com/energyserv...nglish/home.asp -->
> <!-- Creation Date:3/18/2003 -->
> <SCRIPT language="JavaScript">
> var axel = Math.random()+"";
> var a = axel * 10000000000000;
> document.write('<IMG
>
SRC="https://ad.doubleclick.net/ activity;src=8347123;type=hoep334;cat=ho
ep33
> 4;ord=1;num='+ a + '?" WIDTH=1 HEIGHT=1 BORDER=0>');
> </SCRIPT>
> <NOSCRIPT>
> <IMG
>
SRC="https://ad.doubleclick.net/ activity;src=8347123;type=hoep334;cat=ho
ep33
> 4;ord=1;num=1?" WIDTH=1 HEIGHT=1 BORDER=0>
> </NOSCRIPT>
> <!-- End of DoubleClick Spotlight Tag: Please do not remove-->
>
> Any ideas how to do this?
>
> My first thought is to create a custom page property where the author
could
> add the script, but my understanding is there is a small size limit on the
> value of a customer property.
>
> Thanks,
>
> Todd
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:54 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register