Previous Thread
Next Thread
Print Thread
Rate Thread
#181015 03/04/2003 4:03 PM
Joined: Oct 2000
Posts: 73
Member
Member
Offline
Joined: Oct 2000
Posts: 73
I have 5 drop down menus, images and some other stuff in the header/footer on my board. It's a pain to edit it everytime I want to change smth in one of the menus. Is there a better way to do this? Can I put everything in a separate file and link to it in the header/footer section in the cp? What type of code can I use? Is it limited to HTML and javascript only?

aleina


aleina
Sponsored Links
#181016 03/04/2003 8:07 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
You might try this link aleina if you don't get any other response smile

http://www.sitepoint.com/article/1033


- Allen wavey
- What Drives You?
#181017 03/04/2003 8:34 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Cool article Allen! thumbsup

#181018 03/05/2003 4:58 AM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
For menu's on my site I use a program called "Xara Menu Maker" although it leaves a lot to be desired, it'll pretty much generate the menu code for you as well as make a template that you can edit later (either in the program or by hand). Its a nice program but unfortunately it won't allow you to use your own image sets (without some heavy modification).

But as allen pointed out, CSS is quite powerful but it does have a downside. Not every browser accepts differant CSS tags in differant ways. For example, on my site we're developing a new design to be cross platform and cross browser support and have it look the same way no matter what you use... We ended up with 90 font calls per line (if they don't have one font it uses the next).

Well I hope I was of some assistance, if not just hit me and I'll stop rambling wink ...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#181019 03/05/2003 6:31 AM
Joined: Oct 2000
Posts: 73
Member
Member
Offline
Joined: Oct 2000
Posts: 73
I already use CSS, the problem is the many code lines I have to put in the header/footer... 5 menus with ~10 options each is a lot of code! Much better if an include file could be used, is that possible?


aleina
Sponsored Links
#181020 03/05/2003 2:36 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
javascript would do it, like we have here... there's newer versions out.


- Allen wavey
- What Drives You?
#181021 03/06/2003 6:22 AM
Joined: Oct 2000
Posts: 73
Member
Member
Offline
Joined: Oct 2000
Posts: 73
Ah yes, javascript! Although I'd have to change the whole menu (I use select-boxes now) and I don't particularly like javascript wink Had to work really hard to get an A in that class, even if js is rather simple... Fortunately we moved on to ASP instead of more advanced js smile So js is the only thing I can use, correct?


aleina
#181022 03/11/2003 1:52 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
most likely... it would probably be the easiest to implement since there's so many javascripts already pre-made out there that works.


- Allen wavey
- What Drives You?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)