Recent Posts

Pages: [1] 2 3 ... 10
1
Promote your site! / New weatherstation
« Last post by elvino on August 08, 2020, 11:55:13 PM »
My new weather site is at www.avpals.com/weather
2
Php templates / Re: New Moon Phase Images for WB2_2b
« Last post by Steve Bannister on August 04, 2020, 02:52:10 AM »
Hi Andy,

Your page works perfectly, thank you so much. I love it, it's exactly what I was looking for.

The cache issue is a pain, I was having to clear it so often last week after even small changes to the pages. It gets frustrating.

I wanted to add the astronomy pages so that the kids at school can use them as they link in with our science lessons. Plus, being semi-rural, we have a few stargazers in the town who would also appreciate them. I've found a nicer page to embed for a 'view' of the current sky, but it'll mean losing the right-hand column as it's more landscape (as it should be).

I'm intrigued as to your 'offer'? Tell me more.

Steve
3
Php templates / Re: New Moon Phase Images for WB2_2b
« Last post by Andy9164 on July 31, 2020, 11:26:14 AM »
May owe you another apology, unless you changed something. Was just doing something on my website and had the same problem where I was viewing the CSS file and it looked like the old one. Cleared my browser cache and it corrected mine and yours. Yours now seems to display as it was designed. Hopefully this is what you were looking for.

Andy
4
Php templates / Re: New Moon Phase Images for WB2_2b
« Last post by Andy9164 on July 31, 2020, 04:28:25 AM »
Hi Steve,
I see you have the new nightsky page uploaded but it does not appear to be picking up the new styles.css file I sent. When I look at styles.css file in use for the page it doesnt have the new div's / classes I created, so its not been formatted correctly.

Andy
5
Php templates / Re: New Moon Phase Images for WB2_2b
« Last post by Andy9164 on July 30, 2020, 02:00:41 PM »
Hi Steve,
OK, try the attached styles.css and nightsky.php. Please make sure you copy or rename your old files just in case...

I gave you some bad code last night, apologies, there was an extra " in one of the lines. Always amazes me how a missing ; or " or ) really messes things up. As for the changes here I decided to "draw a line" as they say under where the RH and LH columns finished and started again, I just found it easier rather than trying to muddle my way through it. I hope this is what you were looking for.

As for using Cumulus MX, take a look at my site, particularly the gauges and trends sections which I think are much better than Cumulus 1. I have a WB_2 version available, and we can incorporate your new pages. I will PM you with an "offer".

My site is at http://www.midlifedad.me.uk/weather

You now have me looking at adding these "astronomy" sections to my site as well.

Let me know how you get on. Look forward to visiting your site and seeing it in action.

If there is anything else, just ask.

Have fun.

Andy
6
Php templates / Re: New Moon Phase Images for WB2_2b
« Last post by Steve Bannister on July 30, 2020, 05:31:46 AM »
Hi Andy,

No problem, I'll attach it here as well as pan_long which is the template for these panels.

I appreciate you taking a look, but there's honestly no rush.

Thanks, Andy.

Steve
7
Php templates / Re: New Moon Phase Images for WB2_2b
« Last post by Andy9164 on July 30, 2020, 03:01:23 AM »
Hi Steve,
Have the files so will take a look. Will be after work as have a busy day lined up today.

Can you also send the image pan_nightlong.png. It seems to have disappeared from the site and I cant download it.

Thanks
Andy
8
Php templates / Re: New Moon Phase Images for WB2_2b
« Last post by Steve Bannister on July 29, 2020, 04:59:25 PM »
Hi Andy,

No, the H2 isn't sorted, it still appears more centred and higher above the underline than the other panels. Which is odd, as it was in the correct place earlier.

I've added your bottom row code, using the Earth/Moon panel for all three just to test it. I can change the content later. They all appear in a column, though, not as a row. Do I not need a couple of ';'s somewhere? I remember writing in BASIC when I was at school, and copying code out of magazines and typing it into my VIC20. Me and my friend used to take in turns to read and type. We used to call the semi-colon "stay-where-it-is". He had a Tandy TRS-80, which was far better than mine!

The Wind and Night Sky pages are in the header menu now, so should be clickable.

I'll send you the PHP file. It might be easier to see where I've gone wrong on there, rather than Inspecting the page. I know that doesn't always show everything.

Thanks for your comment on the Beaufort images. Some of them are quite funny, I've attached them if you want to have a look.

Thanks again, Andy, I really appreciate all of this help.
9
Php templates / Re: New Moon Phase Images for WB2_2b
« Last post by Andy9164 on July 29, 2020, 04:06:26 PM »
Hi Steve,
Looks like you got the h2 and underline issue sorted, One thing I noticed is that you dont appear to have a class .pannightlong defined in your css, the one I suggested earlier. I can only see pan and nightlong. When I look at the div for pannightlong it takes up the whole right hand section and is 270 x 915. Dont know if you changed the css and forgot to upload it.

As for putting three across the bottom, I agree. I would stop after the forecast and then add a "blank div" right across the screen to give a bit of spacing You can adjust the size later <div style="height:30px; width: 100%;"></div>

Then create a new div called "row" and specify the width (100%) and the height. I would use the same height as pannightlong - which should be adjusted depending on the size of the new backroung image you will be using. It was 395px.

You can use pannightlong again here for the 3 different boxes so your code should look something like

<div id = "row" style="height: 395px; width: "100%">
<div class="pannightlong">
Enter the contents of the div
</div>
<div class="pannightlong">
Enter the contents of the div
</div>
<div class="pannightlong">
Enter the contents of the div
</div>
</div> This will end the div "row"

You may need to adjust the padding to get them even but that should work, hopefully

BTW, love the Beaufort section, very informatve.

Andy


10
Php templates / Re: New Moon Phase Images for WB2_2b
« Last post by Steve Bannister on July 29, 2020, 02:24:22 PM »
Of course, after all of this, the next challenge is to have 3 panels across the bottom instead of just the Earth/Moon one. I'm assuming it'll be easier to stop after the Forcast panel, and have the three as a 'Bottom row' instead of leaving the current Earth/Moon one in the Right Margin. Am I correct?

I've attached a mock-up to give you an idea. The other two will have planetary data, rise and set times, etc.
Pages: [1] 2 3 ... 10