cancel
Showing results for 
Search instead for 
Did you mean: 

Move Logo to specific position on Masterpage (scripting) doesnt work

Former Member
0 Kudos

Hi all,

i would like to position a company logo to a specific x and y coordinate trough script.

my scripting look like this( where $ = logo):

$.x = "200px"

$.y = "400px"

on flow-layout it works fine.

on Masterpage nothing happen ... why ?

for solving this question ... I would offer a beer

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Well thanks for all your ideas...

in meanwhile I prentend that is not posible to move any thing on masterpage.

Why ? Well if you look to the "process list" only Body Pages are processed by the "Layout Process" - Master Pages will be processed after the Layout process.

let me know - if I am wrong.

jlsim
Explorer
0 Kudos

Not sure whether it is due to the reference to the field on the master page, just to get you an idea to try on...

In javascript.. you might need to do something like this

var logo = xfa.resolveNode("Form1.#pageSet.masterpagename[0].logo"); --> 0 refer to the first page.

logo.x = "200px";

Former Member
0 Kudos

Hi,

I think it would be difficult to move logo in a master page. Instead you can try a work around if the movement is between two static positions within master page.

Place two logos in two different positions. Make them visible / hide dynamically as per the requirement.

Regards,

Sanoosh