CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Script blocks getting messed up

Print topic Send  topic

Author Message
AaronE
Posted: 03/20/2005, 12:28 PM

I have the following script in my page:
        <script language="JavaScript1.2">  
  
file://Specify the marquee's width (in pixels)  
var marqueewidth=140  
file://Specify the marquee's height  
var marqueeheight=195  
file://Specify the marquee's scroll speed (larger is faster)  
var speed=3  
file://Specify the marquee contents  
var marqueecontents="<!-- BEGIN Grid Clients --><!-- BEGIN Row --><center><font face='Verdana, Arial, Helvetica, sans-serif' size='1'>{Organization}<br><font color='990000'>({City}, {State})</font><br><br><!-- END Row --></font></center><!-- END Grid Clients -->"  

Whenever I publish the page, the block gets broken up over multiple lines and causes the script to get messed up.

Is there a way for me to tage the code so that CC doesn't mess up the formatting?
peterr


Posts: 5971
Posted: 03/20/2005, 9:48 PM

I'm not sure if this is a bug in CCS (it could be) or possibly you can change line-breaking in CCS Tools -> Options -> HTML Forwarding.
If you cannot resolve this issue you could try contacting the support for ideas.
Couple possible workarounds:
1. Extend your string across multiple lines:
http://www.codehouse.com/javascript/tips/string_multiline/
or
2. Create a Label with Before Show Event where you'd assign the whole JavaScript code to the Label's value.

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.