Results 1 to 7 of 7

Thread: Slashdot problem in MS FP shared border

  1. #1
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Slashdot problem in MS FP shared border

    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!

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    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
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. The Following User Says Thank You to rangana For This Useful Post:

    wheat (04-06-2008)

  4. #3
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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.

    Thanks!

  5. #4
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    It's mainly of these two things:
    1.) You haven't copied the sdmenu.js
    2.) You miss this one:
    Code:
    <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>
    	<script type="text/javascript">
    	// <![CDATA[
    	var myMenu;
    	window.onload = function() {
    		myMenu = new SDMenu("my_menu");
    		myMenu.init();
    	};
    	// ]]>
    	</script>
    This will aide
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  6. #5
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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!

  7. #6
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    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:
    Code:
    <link rel="stylesheet" type="text/css" href="/_borders/sdmenu.css" />
    Should it be sdmenu.css only
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  8. The Following User Says Thank You to rangana For This Useful Post:

    wheat (04-12-2008)

  9. #7
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •