Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
manipulation between main form and iframe
-
- Posts: 67
- Joined: Wed Jul 04, 2018 4:11 pm
- Location: France
Re: manipulation between main form and iframe
this area buttons :
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: manipulation between main form and iframe
Give this a shot:
Code: Select all
$(document).find(".nuActionButton").css("background-color", "#20b2aa");
-
- Posts: 67
- Joined: Wed Jul 04, 2018 4:11 pm
- Location: France
Re: manipulation between main form and iframe
Cool, thank's,
I would like to use the command:
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 ?
I would like to use the command:
Code: Select all
nuReturnNewRecord('5a72a0fce65fea2');
but how do I get the value of the last record saved ?
-
- Posts: 67
- Joined: Wed Jul 04, 2018 4:11 pm
- Location: France
Re: manipulation between main form and iframe
it colors the background of the buttons, I didn't want to change the buttons but the background behind the buttons.kev1n wrote:Give this a shot:
Code: Select all
$(document).find(".nuActionButton").css("background-color", "#20b2aa");
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: manipulation between main form and iframe
replace css("background-color" with css("color" ?
This is a good page to learn the css basics:
https://www.w3schools.com/cssref/pr_bac ... -color.asp
https://www.w3schools.com/cssref/pr_text_color.asp
This is a good page to learn the css basics:
https://www.w3schools.com/cssref/pr_bac ... -color.asp
https://www.w3schools.com/cssref/pr_text_color.asp
-
- Posts: 67
- Joined: Wed Jul 04, 2018 4:11 pm
- Location: France
Re: manipulation between main form and iframe
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
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
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 448 times
- Contact:
Re: manipulation between main form and iframe
Feel free to ask anytime!joecocs wrote: 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
joecocs,
You have errors in your code...
Steven
You have errors in your code...
Steven
You do not have the required permissions to view the files attached to this post.
-
- Posts: 67
- Joined: Wed Jul 04, 2018 4:11 pm
- Location: France
Re: manipulation between main form and iframe
Thank's Steven,
I noticed it a little higher in the posts
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