Inserting javascript file to master page

This forum is for all Flare issues related to importing files or projects.
Post Reply
doforumda
Jr. Propeller Head
Posts: 6
Joined: Mon Jul 07, 2014 1:00 am

Inserting javascript file to master page

Post by doforumda »

I imported TOCs(which I recieved from Tech Writing) to my flare project. Now I want to insert my javascript to master page. I already know how to insert it, it is via insert tab > script. However, the problem is that I do not know which is the master page in TOCs that I imported. How can I find which is my master page so that I insert my javascript in master page?
Msquared
Propellus Maximus
Posts: 848
Joined: Mon Aug 06, 2012 10:19 am
Location: Southampton, UK

Re: Inserting javascript file to master page

Post by Msquared »

There will be a master page associated with your target. You can see that by looking at the target properties.

There may also be a different master page associated with any specific topic. If so, that will be set in the TOC entry for that topic. If set, that will override the project master page for that topic only.

I'd look at the target first - I assume your output is some sort of HTML, in which case it's less likely that you will have topic-specific master files (printed outputs often need separate layouts for titles, indexes etc) although of course you may.

Hope this helps - post back if you need more info about how to do this.
Marjorie

My goal in life is to be as good a person as my dogs already think I am.
doforumda
Jr. Propeller Head
Posts: 6
Joined: Mon Jul 07, 2014 1:00 am

Re: Inserting javascript file to master page

Post by doforumda »

In my target folder, I have HTML5(Primary). I don't see any Master Page option in General tab. I can see Mater TOC and Master Stylesheet though. Where can I find it under targets?
Msquared
Propellus Maximus
Posts: 848
Joined: Mon Aug 06, 2012 10:19 am
Location: Southampton, UK

Re: Inserting javascript file to master page

Post by Msquared »

On the Advanced tab, about half way down. :-)
Marjorie

My goal in life is to be as good a person as my dogs already think I am.
doforumda
Jr. Propeller Head
Posts: 6
Joined: Mon Jul 07, 2014 1:00 am

Re: Inserting javascript file to master page

Post by doforumda »

Thanks, get it. However, My master page is set to default. It does not give enough information about specific master page. :(
Msquared
Propellus Maximus
Posts: 848
Joined: Mon Aug 06, 2012 10:19 am
Location: Southampton, UK

Re: Inserting javascript file to master page

Post by Msquared »

OK, then look at Project > Project Properties > Defaults.
Marjorie

My goal in life is to be as good a person as my dogs already think I am.
Post Reply