WXforum.net
June 19, 2013, 01:04:35 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6695  •  Posts: 181394  •  Topics: 18414
Please welcome KD0RII, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: widen dashboard  (Read 1199 times)
0 Members and 1 Guest are viewing this topic.
hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« on: June 05, 2012, 10:01:09 PM »

How do I widen the ajax dashboard? I switched to wide view.
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
saratogaWX
Administrator
Forecaster
*****
Offline Offline

Posts: 3784


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #1 on: June 06, 2012, 12:33:48 AM »

The ajax-dashboard is currently a fixed size (so it fits in both narrow and wide aspect views).

It was specifically 'tuned' for compact display..  If you want to change the layout, you'll need to edit the HTML in ajax-dashboard.php itself.
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #2 on: June 06, 2012, 01:02:03 AM »

I want it to be bigger than it is. Is there a way to do this

www.hayskansasweather.com
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
Axelvold
Forecaster
*****
Offline Offline

Posts: 1703



WWW
« Reply #3 on: June 06, 2012, 02:04:24 AM »

I think if you change the value on this line you will get it wider.

Code:
<!-- start of ajax-dashboard.php -->
<div class="ajaxDashboard">
      <table width="652" border="0" cellpadding="2" cellspacing="1" style="border:solid; border-color: #CCCCCC;">
Logged

Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus


hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #4 on: June 06, 2012, 10:48:50 AM »

I think if you change the value on this line you will get it wider.

Code:
<!-- start of ajax-dashboard.php -->
<div class="ajaxDashboard">
      <table width="652" border="0" cellpadding="2" cellspacing="1" style="border:solid; border-color: #CCCCCC;">

That worked. Thanks You!!! Applause
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #5 on: June 06, 2012, 11:33:06 AM »

How do I widen the NWS extended forecast. I've widen everything else but cant figure that one out. Anyone have any ideas?
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
Axelvold
Forecaster
*****
Offline Offline

Posts: 1703



WWW
« Reply #6 on: June 06, 2012, 12:40:45 PM »

Do a search for table width="652" in that file and you will find it.

I did find several with the width of 652

Code:
<table width="652" border="0" cellpadding="2" cellspacing="1">
       <tr>
         <td style="text-align: left" class="datahead">&nbsp;NWS Weather Forecast&nbsp; - &nbsp;
         This Afternoon's and Tonight's Outlook</td>
       </tr>
       <tr>
        <td align="center" valign="middle">
       <table width="652" border="0" cellpadding="2" cellspacing="3" style="border:solid; border-color: #CCCCCC;">
Logged

Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus


hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #7 on: June 06, 2012, 01:02:58 PM »

Do a search for table width="652" in that file and you will find it.

I did find several with the width of 652

Code:
<table width="652" border="0" cellpadding="2" cellspacing="1">
       <tr>
         <td style="text-align: left" class="datahead">&nbsp;NWS Weather Forecast&nbsp; - &nbsp;
         This Afternoon's and Tonight's Outlook</td>
       </tr>
       <tr>
        <td align="center" valign="middle">
       <table width="652" border="0" cellpadding="2" cellspacing="3" style="border:solid; border-color: #CCCCCC;">

Hmm.... It didnt widen it. I changed it to 780
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #8 on: June 06, 2012, 01:04:49 PM »

It is the advforecast2.php file correct?
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #9 on: June 06, 2012, 01:21:49 PM »

Do a search for table width="652" in that file and you will find it.

I did find several with the width of 652

Code:
<table width="652" border="0" cellpadding="2" cellspacing="1">
       <tr>
         <td style="text-align: left" class="datahead">&nbsp;NWS Weather Forecast&nbsp; - &nbsp;
         This Afternoon's and Tonight's Outlook</td>
       </tr>
       <tr>
        <td align="center" valign="middle">
       <table width="652" border="0" cellpadding="2" cellspacing="3" style="border:solid; border-color: #CCCCCC;">

What file is this in??
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
Axelvold
Forecaster
*****
Offline Offline

Posts: 1703



WWW
« Reply #10 on: June 06, 2012, 02:01:38 PM »

Look in the file for the NWS forecast, don't know the name of it.
Logged

Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus


hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #11 on: June 06, 2012, 02:05:42 PM »

Where did you find the code at then?
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
Axelvold
Forecaster
*****
Offline Offline

Posts: 1703



WWW
« Reply #12 on: June 06, 2012, 02:07:56 PM »

Where did you find the code at then?

I did view your source code in my browser, so I think it's in that file.
Logged

Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus


hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #13 on: June 06, 2012, 02:09:04 PM »

advforecast2.php

This one? If so I changed all the tables and it doesnt widen it.
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
Axelvold
Forecaster
*****
Offline Offline

Posts: 1703



WWW
« Reply #14 on: June 06, 2012, 02:14:25 PM »

And change on line 921 and 927 in the dashboard file as well.
Logged

Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus


hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #15 on: June 06, 2012, 02:17:22 PM »

I changed this one

<table width="780" style="border: none;">
    <tr align="center" style="background-color: #inherit;">
      <td><b>National Weather Service Forecast for: </b><span style="color: green;">
      <?php echo $forecastcity; ?></span><br />
        Issued by: <?php echo $forecastoffice; ?>
      </td>

Cant find the other one
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #16 on: June 06, 2012, 02:22:18 PM »

I got extended to change but not the other one


www.hayskansasweather.com
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
Axelvold
Forecaster
*****
Offline Offline

Posts: 1703



WWW
« Reply #17 on: June 06, 2012, 02:23:58 PM »

change this as well.

Code:
<table width="652" border="0" cellpadding="2" cellspacing="1">
       <tr>
         <td style="text-align: left" class="datahead">&nbsp;NWS Weather Forecast&nbsp; - &nbsp;
         This Afternoon's and Tonight's Outlook</td>
       </tr>
       <tr>
        <td align="center" valign="middle">
       <table width="652" border="0" cellpadding="2" cellspacing="3" style="border:solid; border-color: #CCCCCC;">
Logged

Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus


hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #18 on: June 06, 2012, 02:25:00 PM »

Got it Axevold. THANK YOU!! Dancing

See it here.... www.hayskansasweather.com
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
Axelvold
Forecaster
*****
Offline Offline

Posts: 1703



WWW
« Reply #19 on: June 06, 2012, 02:27:23 PM »

there is one more you need to change, just above the forecast.
Logged

Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus


hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #20 on: June 06, 2012, 02:28:13 PM »

where is it?
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #21 on: June 06, 2012, 02:30:07 PM »

I think I got it Very Happy
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
Axelvold
Forecaster
*****
Offline Offline

Posts: 1703



WWW
« Reply #22 on: June 06, 2012, 02:32:54 PM »

Yes, you got it looks great.  Applause
Logged

Lars Magnusson
Axelvold / Sweden
55° 57' 41" N / 13° 6' 1" E
WX Station: Davis Vantage Pro2 Plus


hayskswx
Forecaster
*****
Offline Offline

Posts: 1742



WWW
« Reply #23 on: June 06, 2012, 02:42:37 PM »

Thanks. And thanks again for the help.
Logged



Ryan
Davis Vantage Vue WX Station - Weather Display Software - Win7
www.hayskansasweather.com
Bunty
Forecaster
*****
Offline Offline

Posts: 1014


Stillwater marks the spot.


WWW
« Reply #24 on: June 06, 2012, 09:38:30 PM »

Going wider is cool.
Logged


Also 2nd home page using AltDashboard 6.81 at http://stillwaterweather.com/wx/2ndhome.php
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.124 seconds with 18 queries.
anything