Tylor Eddy Posted June 5, 2011 Report Posted June 5, 2011 G'day Guys, I have been trying to get my new drop down menu working for my site, I've spent quite a few hours on this, but am getting nowhere. Some help would be very greatly appreciated, to point my back in the right track menu here: http://qantasvirtual.com/dev/ if you need to take a look at the coding, just let me know and ill chuck it up. I am unsure why the footer has moved to its current position. what i am aiming for is to get the pilot center to display under crew when logged in, and not be there if a user isnt logged in. Cheers Quote
Jeff Posted June 5, 2011 Report Posted June 5, 2011 It looks like you might be missing 2 </div> on the bottom. You probably need to change this: <li><a href="http://qantasvirtual.com/dev/index.php/registration"><font size="1">Register</font></a></li> to this <li><a href="http://qantasvirtual.com/dev/index.php/registration">Register</a></li> That should align the Register link with the others in that menu under Crew. Quote
Tylor Eddy Posted June 5, 2011 Author Report Posted June 5, 2011 It looks like you might be missing 2 </div> on the bottom. You probably need to change this: <li><a href="http://qantasvirtual.com/dev/index.php/registration"><font size="1">Register</font></a></li> to this <li><a href="http://qantasvirtual.com/dev/index.php/registration">Register</a></li> That should align the Register link with the others in that menu under Crew. is the <div> tag missing from core_navigation.tpl, or layout.tpl ? take a look now, i've implemented the changes you recommended Quote
Jeff Posted June 5, 2011 Report Posted June 5, 2011 I believe it should be in the layout.tpl file, at least mine is (although I use ObsessBlue) 1 Quote
Tylor Eddy Posted June 5, 2011 Author Report Posted June 5, 2011 I believe it should be in the layout.tpl file, at least mine is (although I use ObsessBlue) i have this for my menu <!-- Menu Starts --> <div id="menu"> <!-- Menu Items Starts --> <ul class="menu"> <?php Template::Show('core_navigation.tpl'); ?> </ul> <!-- Menu Items Ends --> </div> <!-- Menu Ends --> its almost done, it just wont stretch the whole way across the site, and that footer needs a foot up the a#@ haha thanks for your help so far Quote
Jeff Posted June 5, 2011 Report Posted June 5, 2011 the core_navigation.tpl is where you would change the link part of my answer. the </div> part should be located in the layout.tpl Quote
Tylor Eddy Posted June 5, 2011 Author Report Posted June 5, 2011 the core_navigation.tpl is where you would change the link part of my answer. the </div> part should be located in the layout.tpl Ok i fixed it, now it wont display the complete length of the site, thats a css issue right ?, and also ive lost my images above the bar as well, i'm not sure why that is, i didnt remove anything, just added code. Quote
Jeff Posted June 5, 2011 Report Posted June 5, 2011 I'm looking at it at the moment. It's hard to figure out what is causing it by just looking at the Page Source, and not seeing the actual coding. Let me see if I can see anything missing. Quote
Tylor Eddy Posted June 5, 2011 Author Report Posted June 5, 2011 I'm looking at it at the moment. It's hard to figure out what is causing it by just looking at the Page Source, and not seeing the actual coding. Let me see if I can see anything missing. If you would like, i can put up the coding, or upload the files to view. Quote
Jeff Posted June 5, 2011 Report Posted June 5, 2011 You can try pasting the layout.tpl, I think it might be missing something in there. I can't see anything with the Header images coding from the page source. Quote
Tylor Eddy Posted June 5, 2011 Author Report Posted June 5, 2011 You can try pasting the layout.tpl, I think it might be missing something in there. I can't see anything with the Header images coding from the page source. Removed Quote
Jeff Posted June 5, 2011 Report Posted June 5, 2011 Not sure! I can't see anything wrong with it. If you added 2 </div> in the the layout.tpl, remove one of them to see if the Header images show without messing up the footer. Quote
Jeff Posted June 5, 2011 Report Posted June 5, 2011 I just don't see the missing code that would make the Header Images just disappear like that. You might need to wait for another big brain to pop in here to see if they can come up with a solution. On the Menu width problem... Check your .css for it and you can try to use width=100% (or try width="100%") whichever one it asks for to see if that will stretch it across the page, instead of having it stop mid-way through. Sorry I couldn't help you all the way bud. Quote
Jeff Posted June 5, 2011 Report Posted June 5, 2011 There ya go. 2/3 of your problem fixed. Now for the Menu width. 1 Quote
Tylor Eddy Posted June 5, 2011 Author Report Posted June 5, 2011 I just don't see the missing code that would make the Header Images just disappear like that. You might need to wait for another big brain to pop in here to see if they can come up with a solution. On the Menu width problem... Check your .css for it and you can try to use width=100% (or try width="100%") whichever one it asks for to see if that will stretch it across the page, instead of having it stop mid-way through. Sorry I couldn't help you all the way bud. You were a great help, i worked out it was a piece of javascript that i put into the core_navigation.tpl that upset it all, now i just need to work out why it wont do what its meant to. Thanks very much, very greatly appreciated Quote
Tylor Eddy Posted June 5, 2011 Author Report Posted June 5, 2011 Removed I cant work it out for the life of me, this is my css code for the menu. Quote
Thomas Rozanov Posted June 5, 2011 Report Posted June 5, 2011 tylor could you give me the code for your sliding menu? Please ! thanks in advance! Quote
Tylor Eddy Posted June 5, 2011 Author Report Posted June 5, 2011 tylor could you give me the code for your sliding menu? Please ! thanks in advance! sure everything you need is in the file attached Fixed My menu, all good, now, thanks for the support guys, very greatly appreciated. new dropdown menu.zip 1 Quote
Thomas Rozanov Posted June 7, 2011 Report Posted June 7, 2011 sure everything you need is in the file attached Fixed My menu, all good, now, thanks for the support guys, very greatly appreciated. thanks! A bit of working out needed to understand the levels. sub and sub but thanks! Quote
Tylor Eddy Posted June 7, 2011 Author Report Posted June 7, 2011 thanks! A bit of working out needed to understand the levels. sub and sub but thanks! If you are after a different colour i can get you a different colour too Tylor Quote
Thomas Rozanov Posted June 7, 2011 Report Posted June 7, 2011 If you are after a different colour i can get you a different colour too Tylor No thanks red is perfect. but dont you want to stretch it on the lenght of the slidshow i use brilliance too ! . Then it would look similiar to the standard menu. Quote
Tylor Eddy Posted June 7, 2011 Author Report Posted June 7, 2011 I have stretched it now, so it spans the whole way. Quote
Thomas Rozanov Posted June 12, 2011 Report Posted June 12, 2011 I have stretched it now, so it spans the whole way. can u upload the stretched one please? Thanks in advance! Thank You Very Much! Quote
Tylor Eddy Posted June 14, 2011 Author Report Posted June 14, 2011 Ok to get the menu to span across as far as you like, you need to add this to div#menu ul { width: 100%; or in the case of the brilliance skin, use 880px, instead of 100% Quote
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.