jkr1711 Posted April 12, 2012 Report Share Posted April 12, 2012 Hi all, I've made a custom skin for my virtual airline which is currently under development. However I'm not sure how I'm going to make dropdown menus for the navbar. So if anyone knows how to, could you please give me a shout on here. http://www.ezy-va.com/ is the link, yes the free host is temporary. I've ordered a VPS for the site and yes I'm currently in contact with easyJet. Regards, John Richardson Quote Link to comment Share on other sites More sharing options...
Strider Posted April 12, 2012 Report Share Posted April 12, 2012 I like the site, but when I looked at the code, I found a few errors, you have <header> in the code, what is that for?? It should be <div class="header"> you could have it as id if you want both will work. Also you have the top part of a normal html page twice. The code needs a lot of cleaning up to make it look better. Search the forums about drop downs, they have been covered, the search part of this forum is a real treat, use it and find out. Quote Link to comment Share on other sites More sharing options...
Tom Posted April 12, 2012 Report Share Posted April 12, 2012 I like the site, but when I looked at the code, I found a few errors, you have <header> in the code, what is that for?? It should be <div class="header"> you could have it as id if you want both will work. Also you have the top part of a normal html page twice. The code needs a lot of cleaning up to make it look better. Search the forums about drop downs, they have been covered, the search part of this forum is a real treat, use it and find out. It's html5... perfectly valid for the doctype he's used. 1 Quote Link to comment Share on other sites More sharing options...
Strider Posted April 13, 2012 Report Share Posted April 13, 2012 I doubt though declaring the doctype twice on the same page is going to do it any good, or having two head sections. Quote Link to comment Share on other sites More sharing options...
jkr1711 Posted April 13, 2012 Author Report Share Posted April 13, 2012 Woops! Didn't notice that, thanks for the heads up. Just cleaned up the code now, I managed to declare the doctype and <head>'s in both the layout.tpl and frontpage_main.tpl. As for dropdowns, I already tried the search before and only found some links to download navbars, which really I hope is a last resort. <header> is valid and should be used for HTML5, if that's what you mean. Quote Link to comment Share on other sites More sharing options...
Strider Posted April 13, 2012 Report Share Posted April 13, 2012 You have also closed the body and html tags before the footer tag is even opened. Also just out of curiosity, why is the <body id="page2"> then <body id="page1"> ? Quote Link to comment Share on other sites More sharing options...
avdesigns Posted April 13, 2012 Report Share Posted April 13, 2012 Well it works? Quote Link to comment Share on other sites More sharing options...
Strider Posted April 13, 2012 Report Share Posted April 13, 2012 It may work, but is not good practice. Quote Link to comment Share on other sites More sharing options...
jkr1711 Posted April 13, 2012 Author Report Share Posted April 13, 2012 It may work, but is not good practice. Alright, I've fixed up the code. Any other problems? Quote Link to comment Share on other sites More sharing options...
Strider Posted April 14, 2012 Report Share Posted April 14, 2012 Yes I just get an error now. Nothing to do with html, it is to do with php. Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Access denied for user 'a7761960_admin'@'10.1.1.37' (using password: YES) (1045)</b></font>]<br />[<font color=000000><b></b></font>]</font><p> </blockquote><hr noshade color=dddddd size=1> thrown in /home/a7761960/public_html/core/classes/ezdb/ezdb_mysql.class.php on line 103 Quote Link to comment Share on other sites More sharing options...
jkr1711 Posted April 14, 2012 Author Report Share Posted April 14, 2012 Yes I just get an error now. Nothing to do with html, it is to do with php. It's because I registered a new domain and hosting account last night and transferred it all across. The new link is www.ezy-va.com . I will set up a redirect in a minute. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.