Page 2 of 6
Re: Ballina nsw weather V2.0
Posted: Sat 27 Nov 2010 2:19 am
by pacificblue03
Beetlejuice thanks for that i will rename all of the images when i have the chance but in V2 for now V1 will stay as is but soon V2 will replace it with the new and improved code i have almost finnished the index page of V2 so next is the Gauges page, also if i just keep the names as they are on V1 if i copy and replace them cumulus should process them like default shouldnt it?
Antonio.
Re: Ballina nsw weather V2.0
Posted: Sat 27 Nov 2010 3:49 am
by pacificblue03
Update
Ballina nsw weather V2 now has a navigation area
http://www.ballina-nsw-weather-from-sto ... /test.html
and Forecastnumbers for the java
Antonio.
Re: Ballina nsw weather V2.0
Posted: Sat 27 Nov 2010 5:31 am
by beteljuice
Why don't you read what I have written
YOU DON'T NEED THIS:
Code: Select all
<script type="text/javascript">
var imagen = <#forecastnumber>;
document.write('<img src = "images/'+imagen+'.png"/>');
</script>
You can just code:
Code: Select all
<img src="images/<#forecastnumber>.png" alt="Station forecast" title="Station forecast" />
... and it would nice if it had height and width attributes (assuming all your images are the same size)
Re: Ballina nsw weather V2.0
Posted: Sat 27 Nov 2010 5:34 am
by pacificblue03
OK OK yep i will do this and ill do it in a few hours since im trying the gauges page now and it is giving me the *****
it just wont work!
Antonio
Re: Ballina nsw weather V2.0
Posted: Sat 27 Nov 2010 6:24 am
by DaveNZ
beteljuice wrote:
... and it would nice if it had height and width attributes (assuming all your images are the same size)
I thought height/width attributes are only necessary if one wants to scale their images to something other than the actual dimensions, correct me if I'm wrong?
Re: Ballina nsw weather V2.0
Posted: Sat 27 Nov 2010 8:46 am
by daj
I would avoid height/width if you can. If you set them to something other than the true size of the image you are giving your browser too much work as it will adjust the size after downloading it and before displaying. Always try to have images already saved at the size you need them. Nothing worse than your browser downloading a 2mb pic to show it in a tiny box.
If you want to size the page at load and avoid the visual 'jumps' as images are inserted use a div set to the image size.
Re: Ballina nsw weather V2.0
Posted: Sat 27 Nov 2010 10:48 pm
by pacificblue03
i need some help badly
i dont know what i am doing wrong i have linked the Javascript file and my weatherstyle2 is linked and i have done a direct copy of my gaugesT page into my gaugesTest but when i go to it the graphics do not show what am i doing wrong?
Antonio
Re: Ballina nsw weather V2.0
Posted: Sat 27 Nov 2010 11:10 pm
by pacificblue03
actually i have decided to do something different
i am going to integrate some of the gauges on the index page
Antonio.
Re: Ballina nsw weather V2.0
Posted: Sun 28 Nov 2010 12:18 am
by beteljuice
You are ruining the look of your index page.
What is the url of your gauges test page ?
Re: Ballina nsw weather V2.0
Posted: Sun 28 Nov 2010 12:43 am
by Synewave
beteljuice wrote:You are ruining the look of your index page.
What is the url of your gauges test page ?
Totally agree with Beteljuice.
You'll end up having everything on one page. Why not stick to a menu giving users the opprtunity to look furher if they want to? Umless of course it's for
your use only, in which case don't call it index.
Also, you have a nice looking larger banner at the top, and the next line almost the same size is Welcome To Ballina NSW Weather in text. This for example pushing all of the important information down the page. Try and keep the index page showing the weather info without users having to scroll down.
Re: Ballina nsw weather V2.0
Posted: Sun 28 Nov 2010 1:05 am
by captzero
If you must use a picture instead of text, reduce the width of the Beaufort graphic. Lots of dead space in it. In fact, I'd rather see it as text in the same format as the rest of the table. Why not use the webtag <#beaudesc> ?
Re: Ballina nsw weather V2.0
Posted: Sun 28 Nov 2010 1:34 am
by pacificblue03
captzero wrote:IWhy not use the webtag <#beaudesc> ?
Well i like the Graphic that is why
as far as my index layout goes i will be removing the gauges off it so dont worry i was able to fix the gauges page and now all of my other pages have been converted to V2 have a look
NOTE!!!!
some coding that you see on there now will be modified
and all of my navbuttons will eventually hover like the index page does
Antonio.
Re: Ballina nsw weather V2.0
Posted: Sun 28 Nov 2010 1:42 am
by captzero
Feedback is essentail
That graphic puts your whole table out of alignment. But hey... its your site.
You
did asked for feedback
Re: Ballina nsw weather V2.0
Posted: Sun 28 Nov 2010 10:12 pm
by Synewave
pacificblue03 wrote:captzero wrote:IWhy not use the webtag <#beaudesc> ?
Well i like the Graphic that is why
Antonio,
But it is not a graphic, it is just text in a box! What's so special about the beaufort value?
Also, why do you need three different views of pictures of your weather station sensors on the index page? It's such a waste of space and if visitors are interested in seeing what a weather station looks like, they'll navigate your site and find the picture on an appropriate page.
As I've said before, people visit your website, hopefully
because they want to look at the weather info, not at what latest web skills you've recently learnt. And you have learnt so much in the past few months since others and I have been assisting you, but I fear you are losing sight of how a good website should look.
Hope this is not too harsh, but you do keep prompting us for feedback, so here it is.
But then again, it's your website and it is all up to you. I'm just giving you my opinion.
Re: Ballina nsw weather V2.0
Posted: Wed 01 Dec 2010 6:20 am
by pacificblue03
Hey guys i think i broke something
on my gauges page when i click on one of the thumbnails the larger graph does not change
Also on my pages today to gauges the navbar wont hover anymore
Paul those images are going to be removed
Antonio.