OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 04 Jun 2005, 17:30:37
-
im wondering if i can add a ppicture in the overview or briefing files and use it as a link to take me to a new page where i can have the story so far ?
-
I didn't try it (yet), but I think it can't be much different from making a standard section, so try this: <a href = "#picture name"></a>.
EDIT: Forgot: in needed section place: <a name = "picture name"></a>.
It's from the head, so it might not be entirely correct.
-
Hey, 456820, this might be more correct:
<a href = "#sectionname"><img src = "picturename" width = "num" height = "num"></a>
and:
<a name = "sectionname"></a>
If is not, then wait on reply from someone that have already done this.
-
i know Sui has already done this and thas what gave me the idea in the overview i just want a small picture wich goes to a new page (with a link back of course) so i can explain why the player is here and so on at the beging of my campaign.
ill have a go with your idea Karantan
-
This should pretty much work...
<h4><a href="#yourSection"><img src="yourPic.paa" width="W" height="H"></a></h4>
Of course change all the necessary values to what you need...
So I think Karantan was quite right...
EDIT:
You can't actually have multiple pages in OFP, just 'jumps' to some different part of the same page...
-
thankls alot cheers ill test some time and report back
-
how do i make alink so you can jump back to the overview page ?
-
Use that same kind of line as with the pic, but remove the img src...
<h4><a href="#yourSection"></a></h4>
Of course now the section should be changed to the name of the 'page' you originally use the pic link...