View Full Version : Slashdot problem in MS FP shared border

04-03-2008, 05:57 AM
1) Script Title: Slashdot

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/slashdot.htm

3) Describe problem:

I put SD menu in the "_borders/left.htm" on FP 2002, so it will appear on the left side of every page in my web site. If I load that specific page (e.g. http://www.domain.com/_borders/left.htm), I get a functional SD menu. But if I load a regular page from my site (e.g. http://www.domain.com) which uses left.htm as a left border, the SD menu displays but will not expand or collapse.

It's a great menu and I'd sure like to get it working. Thanks in advance for any help!

04-03-2008, 06:02 AM
You mean you are placing the slashdotmenu in a one page and uses it in your index?. ;)

I also have a question, how did you call it?..by iframe?..

Do you have a code to show?!...or a link instead ;)

04-06-2008, 02:51 PM
Here's the page: http://tinyurl.com/4ffgom

I don't know how to answer your questions, but the way these borders work in Front Page is that the left, top & bottom are different *.htm files from the center. You can see this when different pages are loaded, only the center page changes.

The menu looks pretty good the way it is, but it would be nice if it would expand and collapse too.


04-07-2008, 02:17 AM
It's mainly of these two things:
1.) You haven't copied the sdmenu.js (http://www.dynamicdrive.com/dynamicindex1/slashdot.htm) :)
2.) You miss this one:

<script type="text/javascript" src="sdmenu/sdmenu.js">
* Slashdot Menu script- By DimX
* Submitted to Dynamic Drive DHTML code library: http://www.dynamicdrive.com
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
<script type="text/javascript">
// <![CDATA[
var myMenu;
window.onload = function() {
myMenu = new SDMenu("my_menu");
// ]]>

This will aide ;)

04-11-2008, 03:10 AM
Thanks for your reply. Unfortunatly, I'm still stuck!

I do have the sdmenu.css & sdmenu.js in my "_borders" directory.

The code that you show in your post is in my "_borders/left.htm" file, which is here: http://tinyurl.com/6xwa6a ...I don't know why, but the menu only works when you view that left border. I've tried putting the same code in my main files (like index.htm) and moving the css & js files/references so they'll be found, but I can't get that to work.

Thanks in advance for any more suggestions!

04-11-2008, 04:10 AM
I went in to your site, and it's showing,..two slashdot menu in fact :)

Honestly, I'm lost, I don't understand you know at this point. What's left border?..
Where is index.htm?..If you could only explain a little bit ;)

...Also, you point your CSS in the wrong path:

<link rel="stylesheet" type="text/css" href="/_borders/sdmenu.css" />

Should it be sdmenu.css only :)

04-12-2008, 02:32 AM
The left border (_border/left.htm) is the file that MS FrontPage uses to show the left side of a web site that is composed of several different htm files (aka "shared borders"). My problems getting slashdot menu to work have to do with MS Frontpage's shared borders.

The slashdot menu displays on my site OK right now. It doesn't collapse and expand like it should, but I notice that slashdot.org's own menu has those features disabled ...I bet that too many users didn't anticipate the way the menu worked and the left the website thinking it was a lot smaller than it is, because they didn't think to expand the menus.

Thanks for your continued help with this, but I think that I'll take a lesson from slashdot.org and leave well enough alone!