Jump to content


New Members
  • Posts

  • Joined

  • Last visited


Profile Information

  • Gender
    Not Telling

KevinHall's Achievements


Newbie (1/5)



  1. I've now added a bit of style, enlarged the menu buttons and generally tidyed up the layout. See what u think now. Thanks again guys for the help so far, it's been really useful.
  2. Thanks Redbullmarky, useful comments. The blurred grey background crept back by mistake, I used the work style sheet, it's gone again now. The menu buttons should only grey out when a page has been visited, i'll have a look again at that, I'll also look at making them slightly bigger. The Google ads will have to stay for the moment, they are paying towards the site hosting. I've added a bit of colour to the content, but I don't like it much, I'll work on better presentation over the next few days. The footer has been a major problem and it does just float, I'm using a javascript to equal the height of the columns and then placing the footer below them, any other ideas for placement would be gratefully appreciated. Thanks again for the comments.
  3. Thanks everyone for your comments. [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Ober: Ok... next step: style.[/quote] Any suggestions for text colors would be appreciated, I've so far resisted creating seperate areas but I'll have a play around and see what it looks like, then I may implement it. The reason for the two columns is to give the user a choice of news providers without having to scroll down the screen to find the next one. Each news story has a short synopsis to enable the user to decide if they want to read the full story or not, just using headlines doesn't necessarily provide enough information about the story. [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Daiwa: the submenu on the mouse is a real pain[/quote] I agree and I'm working on a replacement at the moment, it means a lot of work changing code in every page, so it will take a little while. Thanks again.
  4. Ober. I had removed the grey pattern before your last post, now there is a plan grey background. The TV listings pages have also been sorted, I'd mucked up the CSS, it now displays properly in IE and Firefox. Thanks for the advice and comments.
  5. I've changed the background from gold/beige to grey and added a bit more padding. Thanks for the comments.
  6. I'm using javascript to equalise the height of 2 columns so I can place a footer below them. The script I use works perfectly in IE, it works in Firefox when the page is first loaded, but if the window is resized it doesn't. Can anyone help? This is the script I'm using. [code]function setTall() {     if (document.getElementById) {         // the divs array contains references to each column's div element.           // Replace 'center' 'right' and 'left' with your own.           // Or remove the last one entirely if you've got 2 columns.  Or add another if you've got 4!         var divs = new Array(document.getElementById('c1'), document.getElementById('c2'));                  // Let's determine the maximum height out of all columns specified         var maxHeight = 0;         for (var i = 0; i < divs.length; i++) {             if (divs[i].offsetHeight > maxHeight) maxHeight = divs[i].offsetHeight;         }                  // Let's set all columns to that maximum height         for (var i = 0; i < divs.length; i++) {             divs[i].style.height = maxHeight + 'px';             // Now, if the browser's in standards-compliant mode, the height property             // sets the height excluding padding, so we figure the padding out by subtracting the             // old maxHeight from the new offsetHeight, and compensate!  So it works in Safari AND in IE 5.x             if (divs[i].offsetHeight > maxHeight) {                 divs[i].style.height = (maxHeight - (divs[i].offsetHeight - maxHeight)) + 'px';             }         }     } } onload = function() {     setTall(); } window.onResize = function() {     setTall(); }[/code] Thanks in advance.
  7. Thanks Ober & Moberemk for the comments. Ober, I'll think again about the background, I agree it is annoying. I'll add some padding to the main content as you suggest but I'm not sure about borders I'll have a think about that. The site should validate without problem, I've validated both the HTML and CSS myself without problems. Thanks again for your comments. Moberemk, I say that all links open a new window, obviously selecting a page from the menu doesn't, the same as any other site, otherwise you would end up with dozens of open windows. I agree the popup menus sticking to the cursor are a problem but, being inexperienced with java, I haven't yet found a script to do the job but I'll keep looking. The menu changes depending on which section your in, for instance, the sport section has it's own menu, the thinking being that if you're viewing sports pages you would want to be able to change pages easily without having call up the popup menu every time. Thanks again for your comments.
  8. Please review my new site, all comments and suggestions welcome. [a href=\"http://www.kevona.co.uk\" target=\"_blank\"]http://www.kevona.co.uk[/a] Thanks in advance. Kevin Hall
  9. I want to extract information from another web site, so I hunted the internet and found class_http.php, which appears to do what I want, but I can't get the example that's included with it to work. I'm very new to php and don't understand what I need to change to make it work on my server. The bits I don't understand are:- [!--coloro:#FF6666--][span style=\"color:#FF6666\"][!--/coloro--]"To use the class in your scripts, you first need to include the class file. Modify the path to fit your needs. require_once(dirname(__FILE__).'/class_http.php'); "[!--colorc--][/span][!--/colorc--], I don't understand how to point it to my directory. [!--coloro:#FF6666--][span style=\"color:#FF6666\"][!--/coloro--]"Instantiate a new http object. You can create one object and use it over and over again throughout your script, or you can create multiple objects as needed. $h = new http(); "[!--colorc--][/span][!--/colorc--], do I need to change this at all, if so how? [!--coloro:#FF6666--][span style=\"color:#FF6666\"][!--/coloro--]"$h->dir = "/home/foo/bar/"; "[!--colorc--][/span][!--/colorc--], is used to place a cashed version of the extracted data into a directory, but how? Any help would be greatfully received. Thanks in advance. Kevin Hall
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.