CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 CCS Jquery Modal - Show & keep showing using Session Variable or CCGetFromGet

Print topic Send  topic

Author Message
MichaelMcDonald

Posts: 640
Posted: 09/22/2015, 12:46 AM

Add a dialog panel, set Auto on TRUE (Visible Yes)


In the before show event of the panel:

$Panel1->Visible = false;

if(CCGetSession("showpanel") == 1){
$Panel1->Visible = true;
}

if(CCGetSession("showpanel") != 1){
$Panel1->Visible = false;
}

Now you can use a GET variable or a button_click: CCSetSession("showpanel","1");


And if you want to hide the close X in the top right hand corner, put this in .css file:

.ui-dialog-titlebar-close {
visibility: hidden;
}
_________________
Central Coast, NSW, Australia.

View profile  Send private message
eratech


Posts: 513
Posted: 10/01/2015, 2:10 AM

Thanks Michael - I'm finding the modal and panels more useful, once you work out the right place to poke the code in. :-)

Cheers

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

Posts: 640
Posted: 10/01/2015, 5:10 PM

Yeah I'm facelifting an ERP thing I put together over 8 years.

And I'm not even sure if any of those in-built trigger events are useful because they all drop on page refresh....

I usually these days use an on change or onload event to show/hide and all this together is enough for my requirements.
_________________
Central Coast, NSW, Australia.

View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 10/01/2015, 5:20 PM

For some reason can't post this next one so look out in your PM's.
_________________
Central Coast, NSW, Australia.

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.

MS Access to Web

Convert MS Access to Web.
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.