News:

Join the Facebook Fan Page.

Main Menu

Bar menu problem

Started by edi67, July 08, 2004, 05:10:45 AM

Previous topic - Next topic

edi67

i took bar menu from one thema there but i have some problema recharching it

usually it appear so:



AND SOMETIMES APPEAR SO :



why this difference??
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Burpee

You wouldn't happen to have a link to the two differences would you?

edi67

is menu bar of my forum there:

http://www.forumzoneru.18.com1.ru/index.php

sometimes reloading page i see menu ....all not correct done
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Burpee

Well, I figure out the problem... but it'll be a little work for you...

Open BoardIndex.template.php
Find infobartopmid.gif
Inside this <td> tag, you need to insert height="36"

There's like 10 occurences in there, do it with each of them...

I do hope this will do the trick lol

edi67

well i done  and it seems work good now....thx i try to control if all will be ok

but why i added height="36"  ?

thax friend
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Burpee

Well, my best guess about your problem is that your browser probably loaded the picture as a 50x50 image and then resized it. Since the table did not have it's height defined, the browser didn't know that it had to change the table back so it kept the wrong height. Once you told the browser that it had to be 36 pixels high, it knew what to do again :D

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

bloc

Glad you liked that bar from my theme Apollo.. ;)

Quite right, the height needs to be defined to stop it from "break"...it was designed to be the top bar with just a few buttons that would not spread to several lines in case of window resizing...therefore I did'nt set that height. If you add more buttons now and someone resize the window to under 6-700 pixels buttons will start spread to 2 lines and the bar will "break" again...

edi67

#8
Quote from: Bloc on July 08, 2004, 11:03:07 AM
Glad you liked that bar from my theme Apollo.. ;)

Quite right, the height needs to be defined to stop it from "break"...it was designed to be the top bar with just a few buttons that would not spread to several lines in case of window resizing...therefore I did'nt set that height. If you add more buttons now and someone resize the window to under 6-700 pixels buttons will start spread to 2 lines and the bar will "break" again...

sure very beautiful theme apollo u done very beautiful job

what do u think  which height i must put for STOP it to break ? i dont think to add others buttons may be another one so please help me to fix it
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

bloc

I looked at it, and the trick is maybe to set height to the "<tr>" tag right before the "<td">'s start. Also setting nowrap="nowrap" in the td's will prevent it from breaking - the buttons will always be on one line....

Look at my theme-files again, I have updated them to reflect this.

edi67

pity nothing to do i used your new update but always the same problems.....  :(
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

bloc

Well, it is supposed to be in the theme and it should work there at least. I have no objections to chopping up the theme parts if one uses them on a SMF driven forum, but I really don't want to help with it...

Not to be mean or anything, but I made a theme, not a stand-alone-bar-only...

edi67

ok sorry bloc but may be this problem you will have in your THEME i think is only one way for help to fix it....by the way thx
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Advertisement: