|
|
Joined: Feb 2001
Posts: 33
Junior Member
|
Junior Member
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 Thanks.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
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
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
Joined: Feb 2001
Posts: 33 |
Well for some reason..it's not working for me.
Here's the code..
|
|
|
|
Joined: Jun 2001
Posts: 62
Member
|
Member
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
Joined: Jun 2001
Posts: 2,849 |
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
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
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
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!
|
|
|
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.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|