Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2001
Posts: 33
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 33
Alright..it's simple.

I am trying to implement the slide in menu (left) at my UBB. I have tried everything but it doesn't seem to work.

1. Where do I add the style sheet AND the javascript in the template? It says to add it inside of the head tag but that doesnt work for me..

I dont think the problem lays where I placed the js. files because I have them in both my UBB and main directory for redundancy.

Someone help me out smile

Thanks.

Sponsored Links
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I put all the code in the header of the template, and the .js in my cgibin, and noncgi so it would work on all the pages (6.04) and it worked first try....I'm not using it now, but it was an easy install.

Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
Moving to Forum Design Integration...

Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
Stylesheets and the inline javascript code should be added in the Header Insert field of your Style Templates cpanel - not the Header field, iirc. This puts them between the ... tags in the HTML page, which is where most menu type things are supposed to be.

---Skorpion


Don't put that signature in your mouth! You don't know where it's been!
Joined: Feb 2001
Posts: 33
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 33
Well for some reason..it's not working for me.

Here's the code..







Sponsored Links
Joined: Jun 2001
Posts: 62
Member
Member
Offline
Joined: Jun 2001
Posts: 62




if the *.js files are in your /cgi-bin/ dir then try the above code

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
quote:
That's what I was trying to say, it worked perfectly for me, but it annoyed some members including the ones that use Opera browser. They said it flickered constantly.

Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
XPerT:
You've just stated the major problem with navigation systems like this... They're not very cross-brower compatible. Internet Explorer is a VERY forgiving browser, and it's got a ton of proprietary features that allow it to do stuff that no other browser can do. And since the majority of people now use IE, many scripts get made either specifically for, or optimized for, IE.

Menus are particularly bad at this. The menu system at UBBDev is completely nonfunctional in Opera 5, and has only recently been upgraded to be functional in Netscape 6. I myself used to use dropdown menus for navigation, but I've since made major attempts to keep my site relatively compatible with all major browsers, so I've stopped using them.

---Skorpion


Don't put that signature in your mouth! You don't know where it's been!
Joined: Aug 2000
Posts: 299
Member
Member
Offline
Joined: Aug 2000
Posts: 299
Then is there a way to get it worked on all browsers?

Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
Nope. You're SOL on cross-browser compatbility unless you just use plain old tables and stuff.

---Skorpion


Don't put that signature in your mouth! You don't know where it's been!
Sponsored Links

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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)