Jump to content

Airport Charts


TAV1702

Recommended Posts

In My Schedule_Briefing.tpl file, I am wondering if it is possible to get rid of the two charts that appear, and make them links only? I mean I obviously see the links to go to Airnav. I want to get rid of the charts due to the skinny template I am using. The 2 charts side by side REALLY bust up my template bad.

If I can not make links that say "Click here to view charts" I am sure one chart under the other would be fine.

Link to comment
Share on other sites

Well Mark, I only have 575px to play with. I tried scaling down the image size and it looked pretty bad to be honest. So rather then leave them side by side like yours, I figured it might be just as good to get rid of the chart images all together and simply add a link that says click here to view chart for KIND or what ever, and the one on the right would say Click here to view charts for KACK or what ever.

Right now, I made mine so one chart was under the other one. Worked out ok I suppose. But now the page is that much longer. That is why I was thinking of going with links only.

Link to comment
Share on other sites

  • Moderators

OK so if you want the links in and the message click for chart try this. Scale to fit your layout though.


        <a href="<?php echo SITE_URL?>/images/charts/pdf/<?php echo $schedule->depicao?>.pdf" target="_blank">
        <img border="0" src="<?php echo SITE_URL?>/images/charts/<?php echo $schedule->depicao?>.png"
           width="350px" height="594px" alt="Click To Download Chart" /></a>

Bit of explaining, top line is your pdf location so /images/charts/pdf..... Next line, Image location..

You can resize the image if you have one ie a thumb nail, if not the alt message will handle the click to download chart, hope thats what you need, im sure you can hack that about to suite your needs :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...