CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Remove the advertising button.

by jredoc » 03 Mar 2014 23:05

Sorry,

After reviewing innumerable possibilities, the simplest code would appear to be

procedure TIWCGFrame_Login.IWCGJQFrameCreate(Sender: TObject);
begin
(Owner As TIWAppForm).ContentFiles.Add('/fancycaptchablanklogo.css');
end

with fancycaptchablanklog.css containing only

#ajax-fc-right a {
display: none;
}

Unfortunately, this does not work.

Using ContentFiles.Add('tempCSSPathAndFile'); while confirming the existence of the file with FileExists(tempCSSPathAndFile') also does not work.

Is the text you gave for the css file correct?

TIA
jredoc
 
Posts: 125
Joined: 11 Jun 2013 03:34

by Jorge Sousa » 04 Mar 2014 17:19

Hello

For reasons we don't understand

if you use a short filename like

ContentFiles.Add('/fancyblank.css'); // WORKS

ContentFiles.Add('/fancycaptchablanklogo.css');// DOESN'T WORK

This was submited to atozed as a bug

Please reduce your filename
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Jorge Sousa » 05 Mar 2014 13:10

Hello again

I'm sorry nothing of the previous post is correct.

The problem was that in my test I named the css file incorrectly.

This is working as expected.

Demo attached, please complete with cgdevtools wwwrooot.
You do not have the required permissions to view the files attached to this post.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

Previous

Return to JQFancyCaptcha

Who is online

Users browsing this forum: No registered users and 0 guests

Contact Us.