Home   Help Search Login Register  

Author Topic: pictures as link in the briefings/overviews  (Read 1023 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
pictures as link in the briefings/overviews
« 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 ?

Offline rado1265

  • Members
  • *
Re:pictures as link in the briefings/overviews
« Reply #1 on: 04 Jun 2005, 18:08:20 »
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.
« Last Edit: 04 Jun 2005, 18:13:59 by karantan »

Offline rado1265

  • Members
  • *
Re:pictures as link in the briefings/overviews
« Reply #2 on: 04 Jun 2005, 19:42:13 »
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.

Offline 456820

  • Contributing Member
  • **
Re:pictures as link in the briefings/overviews
« Reply #3 on: 04 Jun 2005, 20:18:41 »
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

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:pictures as link in the briefings/overviews
« Reply #4 on: 04 Jun 2005, 21:19:50 »
This should pretty much work...
Code: [Select]
<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...
« Last Edit: 04 Jun 2005, 21:20:40 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline 456820

  • Contributing Member
  • **
Re:pictures as link in the briefings/overviews
« Reply #5 on: 04 Jun 2005, 21:20:46 »
thankls alot cheers ill test some time and report back

Offline 456820

  • Contributing Member
  • **
Re:pictures as link in the briefings/overviews
« Reply #6 on: 04 Jun 2005, 21:25:02 »
how do i make alink so you can jump back to the overview page ?

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:pictures as link in the briefings/overviews
« Reply #7 on: 04 Jun 2005, 21:34:28 »
Use that same kind of line as with the pic, but remove the img src...

Code: [Select]
<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...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.