- Create Account

using images on hBar menu ... basic images instead of text

Forums > FreeStyle Menus > using images on hBar menu ... basic images instead of text
Author
Message

1) Arcnexus.net Group: Guests
IP: 67.204.--.--
any chance I can use images instead of text on the hbar so I dont have to worry about text resizing ... ?? I am redoing multiple sites and wish to have it smoothed out.. its basically the last bug on the older script.. but I want it all working A1 before I try suing the newest script.. ...

I  can send a zip file Angus if you want to see first page layout and setup.....new style.
or goto arcnexus.net to see older script in action ... and tell me how I can change text to images ... for the basic menu categories...

by  the way.. on a related note this forum allows me to log in but when I go to post it keeps saying not logged in .. etc..

checked profile and even canada {cnada] is spelled wrong like it always was so I know i am still in DB...

anyway... I was happy to purchase the script originally and I know its been a few years but its time for me to rewrite all websites and the image on top level menu categories is a neccesity to stop the text size increase bug..which sends the text off the menu if increased too much...

like  I said.. let me know if you want a zip ...

also  created a full pure CSS menu but of course it has same problem.. increasing text size blows it.

thanks for reading and hope to hear back form ya...

Arcnexus.net
canada
Urf...

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.173.--.--
You are more than welcome to use images in the menu. Two main ways of doing it:

1) Put <IMG> tags within the <a> elements in the menu, replacing the text. This should be very easy.

2) Apply CSS "background-image" rules to the menu items in question.

- Angus.

3) ArcNeXus.net Group: Guests
IP: 67.204.--.--
this is the old code showing the root menu text descriptions...

I dont see no A values .. but I want to keep using the old menyu for now if possible...
\\

addItem('&nbsp;  Network Sites', 'mFile', 'sm:', hBar, 125);
addItem('&nbsp; Forums', 'mEdit', 'sm:', hBar, 70);
addItem('&nbsp; Tools', 'mHelp', 'sm:');
addItem('&nbsp;  NeXuSsearch', 'window.open("http://php.arcnexus.net/search.php")', 'js:', hBar, 120);
addItem('&nbsp; Network LOGIN', 'window.open("http://login.arcnexus.net/index.php")', 'js:', hBar, 120);


\\
so how do I change the Network SItes text to an image... ??
\
so  how do I change Network LOGIN to an image.... those are the 2 basic parameters configuring the hbar root.

4) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.173.--.--
Ah -- you are posting in the FreeStyle Menu forum, that is the Cascading Popup Menu script! Nevertheless, here's the deal:

addItem('<img src="foo.jpg" width="20" height="12" alt="Foo" />', 'mFile', 'sm:',  hBar, 125);

Insert your IMG tag in place of the item text. You can use any HTML within reason.

- Angus.

5) Arcnexus.net Group: Guests
IP: 67.204.--.--
sorry about wrong location .. LOL

its  been 2004 when I bought the original script so its been working ok until now.. and I want to update it a bit.. since I like it better than CSS ..hate that damn increase text bug on css ... makes all work useless unless you can control the browsers actions.. LOL

I will try out your solution .. and let you know if it works.. or if I need to hire you ... LOL... thanks again angus...

time here is 0446 Canada...

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.