Welcome, Guest. Please Login or Register.
August 28, 2025, 11:13:24 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Space inbetween images in menu « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Space inbetween images in menu  (Read 489 times)
tenchiws
Noobie
*
Posts: 5


...werid...

tenchi_no_chikara@msn.com WWW
Space inbetween images in menu
« on: April 11, 2002, 09:58:11 PM »
Reply with quote

I'm making a layout that has a nav bar that connects using different images. I want to use the yabb menu function because I want the images to change accordingly wheather you're logged in or not. Hoever, there are spaces inbetween each image. Hoe cna you take out this space?
Logged

Thanks,
Stephen
tenchiws
Noobie
*
Posts: 5


...werid...

tenchi_no_chikara@msn.com WWW
Re:Space inbetween images in menu
« Reply #1 on: April 12, 2002, 12:59:42 AM »
Reply with quote

Someone please help...  :'(
Logged

Thanks,
Stephen
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Space inbetween images in menu
« Reply #2 on: April 12, 2002, 01:13:56 AM »
Reply with quote

sorry, hope i´m not to late!

this$yymenu = "<a href=\"$scripturl\">$img[home]</a>$menusep<a href=\"$helpfile\" target=_blank>$img[help]</a>$menusep<a href=\"$cgi;action=search\">$img[search]</a>";
   if($settings[7] == 'Administrator') { $yymenu = $yymenu.$menusep."<a href=\"$cgi;action=admin\">$img[admin]</a>"; }
   if($username == "Guest") { $yymenu .= $menusep."<a href=\"$cgi;action=login\">$img[login]</a>$menusep<a href=\"$cgi;action=register\">$img[register]</a>";
   } else {
      $euser = urlencode($username);
      $yymenu .= "$menusep<a href=\"$cgi;action=profile;user=$euser\">$img[profile]</a>";
      if($enable_notification) { $yymenu .= "$menusep<a href=\"$cgi;action=shownotify\">$img[notification]</a>"; }
      $yymenu .= "$menusep<a href=\"$cgi;action=logout\">$img[logout]</a>";
   }
is the code for <yabb menu> in Subs.php! You can see between each images is a $menusep (defined in *.lng)!  this is the space between the images!

medi
Logged

mainComm Dev Team
tenchiws
Noobie
*
Posts: 5


...werid...

tenchi_no_chikara@msn.com WWW
Re:Space inbetween images in menu
« Reply #3 on: April 12, 2002, 12:33:30 PM »
Reply with quote

Thank you very much!
Logged

Thanks,
Stephen
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Space inbetween images in menu « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.027 seconds with 16 queries.