help review my new site, all comments appreciated :)

It doesn't matter if you do all the error checking in the world, or if you have the most beautiful graphics, if your site or application design isn't usable, it's not going to do well. Get input and advice on usability and user interface issues here.

Moderator: General Moderators

Post Reply
dead leprachorn
Forum Newbie
Posts: 6
Joined: Tue Mar 31, 2009 10:08 am

help review my new site, all comments appreciated :)

Post by dead leprachorn »

Pnawn Da,
im just about done with the design and layout of a new site, focused primarily on displaying photo galleries, but with some text entries also (text content atm is all just random). It is my first XML project so comments not related to visual design also very much appreciated.

http://dlp.endofinternet.net/deadleaves

i deleted IE from my puter in an act of protest so if the site views correctly in IE it is entirely incidental. i will get round to sorting it out in IE at some point, but for now, if anyone is using IE, please don't :D

Much appreciated.
P.L
tanja
Forum Commoner
Posts: 35
Joined: Fri Mar 27, 2009 4:49 am

Re: help review my new site, all comments appreciated :)

Post by tanja »

Your site is downloading slowly in FF3.0 Try to rebuild smth in database or do changes in content
dead leprachorn
Forum Newbie
Posts: 6
Joined: Tue Mar 31, 2009 10:08 am

Re: help review my new site, all comments appreciated :)

Post by dead leprachorn »

righty, converted everything i could to jpeg format.
My index page is pretty slim actually, almost no content is loaded from the database. Just for a reference here is the code. It simply loads pages if they exist and creates them if they dont (atm all pages should exist, and are at max 3kb) must be a server issue - unless you are loading a gallery as some of the images are quite large.

Code: Select all

if(!file_exists("menu.html")) 
      new objMenu("menu", "subject", "page");
  
      $body = DOMDocument::loadHTMLFile("basic_frame.html");
      
        $bodyNode = $body->getElementById('body');
        $contentContainer = $body->getElementById('content');
        $menu = DOMDocument::loadHTMLFile("menu.html"); 
        
        if($_SESSION['admin']) {
          
          $driveScript = $body->getElementbyId('drive_js');
            $newScript = $driveScript->setAttribute('src','js/admin.js');
          $image = $menu->getElementsByTagName("img")->item(0);
            $image->setAttribute("title","processor.php?menu=true");
            $image->setAttribute("onclick","loadInBody(this)");
          
              
        }   
          $menuRoot = $menu->getElementsByTagName('div')->item(0);
          $menuRoot = $body->importNode($menuRoot, true);
        $login = DOMDocument::loadHTMLFile("login.html");
          $container = $login->getElementsByTagName('div')->item(0);
          $container = $body->importNode($container, true);
          $contentContainer->parentNode->replaceChild($container,$contentContainer);
          $bodyNode->insertBefore($menuRoot, $bodyNode->firstChild);
           
       if(!$_SESSION['admin']) {
           
          $newsFeed = $body->getElementById('newscontainer');
          $navigation = new objTabs("menu","subject","page");
            $navigation->pageType = "content";
            $navigation->identValue = $navigation->pageName = "headline";
             
            $navigation->pageLevel = "feed";
        
        if($navigation->processQuery())  
            $newsBody   = DOMDocument::loadHTMLFile("pages/".$navigation->fileName.".html");
              $newsRoot = $newsBody->getElementsByTagName('div')->item(0);
              $newsRoot = $body->importNode($newsRoot, true);
                $newsFeed->parentNode->replaceChild($newsRoot, $newsFeed); }
 
 
tanja
Forum Commoner
Posts: 35
Joined: Fri Mar 27, 2009 4:49 am

Re: help review my new site, all comments appreciated :)

Post by tanja »

Fine site! I like it!
Post Reply