CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 RESOLVED-Floatbox and CCS 5

Print topic Send  topic

Author Message
ckroon

Posts: 869
Posted: 02/17/2015, 7:11 PM

CCS 5 is drivng me crazy.. I am trying to implement floatbox for modal windows.

When I add

<script src="my_js/floatbox/floatbox.js"></script>  
<script>  
  fbPageOptions = {  
    shadowType: 'halo',  
    resizeTime: 0.1,  
    transitionTime: 0.1,  
    overlayFadeTime: 0.1,  
    navType: 'both'  
  };  
</script>

To my header... it goes a bit wonky and adds these lines:
{page:scriptIncludes}
and then several:
<script type="text/javascript">
//End Include Common JSFunctions

//Include User Scripts @1-12E26AAF
</script>

Anyhow it breaks the javascript for the floatbox.

Anyone have a workaround?


_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
PCHome

Posts: 57
Posted: 02/17/2015, 8:55 PM

I've often had better luck including external scripts rather than coding them directly into the header. I've not used it but I believe there is also an event type for adding such things.
View profile  Send private message
eratech


Posts: 513
Posted: 02/17/2015, 11:14 PM

Agree with PCHome - I generally stay out of the header and put my extra JS in at the bottom of the page, and usually as a separate page include.

"Let CodeCharge be CodeCharge... and don't touch it's code"

E


_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message
ckroon

Posts: 869
Posted: 02/18/2015, 11:31 AM

That did the trick!

Thanks guys :-D
_________________
Walter Kempees...you are dearly missed.
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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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