Page 4 of 4
Re: manipulation between main form and iframe
Posted: Fri Feb 21, 2020 10:50 am
by joecocs
this area buttons :
Capture d’écran 2020-02-21 à 10.47.21.png
Re: manipulation between main form and iframe
Posted: Fri Feb 21, 2020 10:54 am
by kev1n
Give this a shot:
Code: Select all
$(document).find(".nuActionButton").css("background-color", "#20b2aa");
Re: manipulation between main form and iframe
Posted: Fri Feb 21, 2020 10:57 am
by joecocs
Cool, thank's,
I would like to use the command:
Code: Select all
nuReturnNewRecord('5a72a0fce65fea2');
in the 'AfterSave' procedure of the form so that the new record is ready to be edited,
but how do I get the value of the last record saved ?
Re: manipulation between main form and iframe
Posted: Fri Feb 21, 2020 11:00 am
by joecocs
kev1n wrote:Give this a shot:
Code: Select all
$(document).find(".nuActionButton").css("background-color", "#20b2aa");
it colors the background of the buttons, I didn't want to change the buttons but the background behind the buttons.
Re: manipulation between main form and iframe
Posted: Fri Feb 21, 2020 11:05 am
by kev1n
Re: manipulation between main form and iframe
Posted: Fri Feb 21, 2020 11:40 am
by joecocs
Thank's
for the links but that i can do it,
what i was missing is the name of the section to name it, but i found.
Thanks to your help, I am starting to better understand the functioning and the power of nuBuilder.
I still miss some notions notably on how to code and how to use the built-in functions
Re: manipulation between main form and iframe
Posted: Fri Feb 21, 2020 11:54 am
by kev1n
joecocs wrote:
I still miss some notions notably on how to code and how to use the built-in functions
Feel free to ask anytime!
Re: manipulation between main form and iframe
Posted: Sat Feb 22, 2020 10:47 pm
by admin
joecocs,
You have errors in your code...
c.PNG
Steven
Re: manipulation between main form and iframe
Posted: Sun Feb 23, 2020 4:52 pm
by joecocs
Thank's Steven,
I noticed it a little higher in the posts
I just checked the code:
Code: Select all
var c = '#6395ed;
parent.$('#iframe1').css('border-color', c');
$('.nuTab').css('color', c);
$('#nuBreadcrumbHolder').css('background-color', c);
and I replaced with:
Code: Select all
var c = '#6395ed';
parent.$('#iframe1').css('border-color', c);
and it works
Re: manipulation between main form and iframe
Posted: Mon Feb 24, 2020 9:39 pm
by admin
Cool!