Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Sidebar Menu
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Therion93
Junior Member

USA
263 Posts

Posted - 04 March 2001 :  20:21:37  Show Profile  Send Therion93 an ICQ Message
Anyone familiar with the popout sidebar menu please read.

I'm working on a site that I want to include the sidebar menu in. I want to implement it basically the same way that has been done in MODS for snitz.

I have a file named top.asp which is used as an include file. I need to know what code from inc_top.asp I need to include in my top.asp to use the popout_script.asp and popout_menu.asp pages on my site. I know I will need to change color codes etc, but I've been trying for 3 hours to get this to work the way it does with snitz (as include files) and I just can't seem to get it.

Any help is appreciated.

Thanks!

Therion93
Because Legends Never Die! - Kiss-Forever.Net - HuwR's SR4 Release
Mysteries & Magic - Mysteria Magicka - Richard Kinser's SR4 Release

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 04 March 2001 :  20:34:31  Show Profile  Visit HuwR's Homepage
you will need the style definitions.

the include poput_script should be between the < head > and < /head > tags,
and popout_menu should be in the main body of the page

Go to Top of Page

Therion93
Junior Member

USA
263 Posts

Posted - 04 March 2001 :  23:20:46  Show Profile  Send Therion93 an ICQ Message
Grrrr, I'm getting nowhere fast.

Therion93
Because Legends Never Die! - Kiss-Forever.Net - HuwR's SR4 Release
Mysteries & Magic - Mysteria Magicka - Richard Kinser's SR4 Release
Go to Top of Page

Therion93
Junior Member

USA
263 Posts

Posted - 04 March 2001 :  23:41:53  Show Profile  Send Therion93 an ICQ Message
Getting object expected error on line 88 which appears to be:

if (IE) {winY = document.body.scrollTop;var NM=document.all('ssm').style}

Therion93
Because Legends Never Die! - Kiss-Forever.Net - HuwR's SR4 Release
Mysteries & Magic - Mysteria Magicka - Richard Kinser's SR4 Release
Go to Top of Page

Therion93
Junior Member

USA
263 Posts

Posted - 04 March 2001 :  23:57:53  Show Profile  Send Therion93 an ICQ Message
Getting closer...I think.

I put all the style definitions in the .css file for my site. The menu shows up, completely, not hidden to the side. Whenever I touch the menu with the mouse I get object errors saying ssm is not defined.

Therion93
Because Legends Never Die! - Kiss-Forever.Net - HuwR's SR4 Release
Mysteries & Magic - Mysteria Magicka - Richard Kinser's SR4 Release
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 05 March 2001 :  00:05:58  Show Profile
You might look here: http://www.absolutegb.com/maximus/ssm.html

That is where the script comes from.
Go to Top of Page

Therion93
Junior Member

USA
263 Posts

Posted - 05 March 2001 :  00:17:34  Show Profile  Send Therion93 an ICQ Message
Richard,

That's where I started. I want to use it as an include like on the MODed forums. Hmmmm perhaps I'm going about this wrong...time for more experimentation.

Therion93
Because Legends Never Die! - Kiss-Forever.Net - HuwR's SR4 Release
Mysteries & Magic - Mysteria Magicka - Richard Kinser's SR4 Release
Go to Top of Page

Therion93
Junior Member

USA
263 Posts

Posted - 05 March 2001 :  00:54:04  Show Profile  Send Therion93 an ICQ Message
WAAAAHOO! Ok now I have the menu working, I just don't know how to make it appear in the center (vertically). It doesn't matter where I put the include line, the menu starts clear up at the top.

What I did was this:

I went to the script site Richard mentioned and had it generate the code for me just as if I was going to use it as is. (It generates .js files).

I put the style information in my site.css file. Surrounded the resulting two scripts with <script language="JavaScript"> & </script> tags, and renamed them to popout_menu.asp and popout_script.asp

Now as I said, everything is working except WHERE I want the menu to show up.

Any ideas?

By the way, click the Mysteria Magicka link in my signature to see what I'm talking about.

Therion93
Because Legends Never Die! - Kiss-Forever.Net - HuwR's SR4 Release
Mysteries & Magic - Mysteria Magicka - Richard Kinser's SR4 Release


Edited by - Therion93 on 05 March 2001 01:05:35
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 05 March 2001 :  01:19:53  Show Profile
these 2 lines:


YOffset=190; // no quotes!!
staticYOffset=190; // no quotes!!


control how far down the page the menu will be. (mine are 190, yours will probably be different, 20 if I remember correctly.)
Go to Top of Page

Therion93
Junior Member

USA
263 Posts

Posted - 05 March 2001 :  01:40:06  Show Profile  Send Therion93 an ICQ Message
quote:

these 2 lines:


YOffset=190; // no quotes!!
staticYOffset=190; // no quotes!!


control how far down the page the menu will be. (mine are 190, yours will probably be different, 20 if I remember correctly.)



Where would I be without you and Huw?

This also means that now I can put the include line in my mm_top.asp file and it will always show where it's supposed to (just like in the MODed forums)!

THANK YOU SIR!

Therion93
Because Legends Never Die! - Kiss-Forever.Net - HuwR's SR4 Release
Mysteries & Magic - Mysteria Magicka - Richard Kinser's SR4 Release


Edited by - Therion93 on 05 March 2001 01:40:45
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 05 March 2001 :  01:59:28  Show Profile
you're welcome.
Go to Top of Page

Therion93
Junior Member

USA
263 Posts

Posted - 05 March 2001 :  02:46:07  Show Profile  Send Therion93 an ICQ Message
Ok, a couple more items and I'll be one very happy camper.

1) Evidently, the css for my site is overriding the css defined foo the script. Is it possible to reduce the link font size in the script without affecting the link font size in my regular pages? I tried using the size parameter in the script but it doesn't work.

2)As you know, on this particular site I am using your release of the forums. I would like to include my menu bar there too. I am guess that all I have to do is:

a) copy the css (for the script) in between the <head> and </head> in inc_top.asp

b) add the include lines for popout_menu.asp and popout_script.asp to inc_top.asp to the head section.

Am I on the right track?

Update
I took a chance that I might actually be starting to understand this stuff, and followed my own instructions for #2. Guess what? It worked! I'm starting to scare myself

Still perplexed about #1 though. Same thing happens when I added it to the forums. Links & font stuff changed to that of the forums instead of whats defined in the cs for the script. wierd.

Therion93
Because Legends Never Die! - Kiss-Forever.Net - HuwR's SR4 Release
Mysteries & Magic - Mysteria Magicka - Richard Kinser's SR4 Release


Edited by - Therion93 on 05 March 2001 02:59:30

Edited by - Therion93 on 05 March 2001 03:19:53
Go to Top of Page

MaXimuS
Starting Member

5 Posts

Posted - 06 March 2001 :  17:33:30  Show Profile
Well it's good to see that people actually use my scripts :) I would just like to tell you Therion that you are using an old version of my script. I have just completed a new version that works in NS6 and also has some misc fixes. It also runs off of .js files so you can include them in any page and only have to edit the one .js file to edit all the pages. With .js files you don't need to use includes so that may fix some of your problems.

-Peace out.

Go to Top of Page

Therion93
Junior Member

USA
263 Posts

Posted - 06 March 2001 :  23:31:32  Show Profile  Send Therion93 an ICQ Message
Cool! Thanks for the update Maximus!

Therion93
Because Legends Never Die! - Kiss-Forever.Net - HuwR's SR4 Release
Mysteries & Magic - Mysteria Magicka - Richard Kinser's SR4 Release
Go to Top of Page

Therion93
Junior Member

USA
263 Posts

Posted - 07 March 2001 :  02:26:19  Show Profile  Send Therion93 an ICQ Message
It would be cool if you could nest menus 1 level like in your static menu I.

Therion93
Because Legends Never Die! - Kiss-Forever.Net - HuwR's SR4 Release
Mysteries & Magic - Mysteria Magicka - Richard Kinser's SR4 Release
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07