Navigation Styling

All support enquiries for DFH go in here...

Navigation Styling

Postby DirectProject » Thu Oct 18, 2012 2:51 pm

Okay so I have spent like 4 hours trying to sort out some sort of styleing with classes and divs, im confused in the header.php, where the links are being made.

Code: Select all
      <div class="navigation">
<a class="toplinks" href="index.php"><? echo $lang[top_upload];?></a>
<?php if($imgupload == true){?><a class="toplinks" href="index.php?page=img"><? echo $lang[top_imageup];?></a><?}?>
<?php if ($_SESSION['islogged'] <> true) {?><a class="toplinks" href="index.php?page=login"><?php echo $lang[login];?></a>
<?php }else{?><a class="toplinks" href="index.php?page=userpanel"><?php echo $lang[myfiles];?></a><?php }?>
<?php if($enable_filelist == true){?><a class="toplinks" href="files.php"><?php echo $lang[viewfiles];?></a><?}?>
<?php if($enable_imglist == true){?><a class="toplinks" href="images.php"><?php echo $lang[viewimg];?></a><?}?>
<a class="toplinks" href="index.php?page=faq"><? echo $lang[top_faq];?></a>
<?php if($topten == true){?><a class="toplinks" href="top.php"><? echo $lang[top_top];?></a><?}?>


I want to change the style to this:
Code: Select all
<ul id="menu-css">
   <li><a href="#">Home</a></li>
   <li><a href="#">About</a></li>
   <li><a href="#">Portfolio</a></li>
   <li><a href="#">Contact</a></li>
</ul>


But all the coding claases confuse me, here is the buttons i want to add in.

http://www.webstuffshare.com/2010/04/nice-menu-css-animation-jquery-animate/

thanks, hope you can help me soon as haven't got long to spend time on this! =D
Image
User avatar
DirectProject
Standard Member
 
Posts: 12
Joined: Sat Jun 30, 2012 11:37 pm

Re: Navigation Styling

Postby SamEA » Sun Oct 21, 2012 2:59 am

Original template used on DFH can be found here: http://templates.arcsin.se/indigo-website-template/

I believe the designer does not use UL or LI tags to form a menu.
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm


Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 7 guests

cron