Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: AnyLink Drop Down Menu

  1. #1
    Join Date
    Jul 2005
    Location
    Dunedin, New Zealand
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Drop Down Menu

    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    I've tried to get this going for a while now and have no idea why it isn't working. Is it because you need your whole site to be CSS or something?

    http://www.gtseriescenter.com/main3.htm

    Ignore the code in the main content part - it is just a 'backup'.

    I found this script and thought it would greatly help me reduce the length of the links in the sidebar.

    I really need a massive re-do of the whole site (to update it i have to update *every* single page which takes far too long) but can't afford to pay anyone to do it.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You can use css in bits and pieces or base your entire site on external stylesheets. Css is just for style (layout and appearance), you still need HTML for substance (content). Anyways, you've deviated so far from how this script is supposed to be installed that it is no wonder you are having problems with it. Example:
    Code:
    <p>#dropmenudiv{ position:absolute; border:1px solid black;
    font:normal 10px Arial; line-height:18px; z-index:100; }
    #dropmenudiv a{ width: 100%; display: block; text-indent: 3px; }
    #dropmenudiv a:hover{ /*hover background color*/
    background-color: #8FA9B1; } </style>
    from your code. Nowhere does it say to do that. Try starting over, on a blank page if need be. Follow the step by step instructions.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Location
    Dunedin, New Zealand
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://www.gtseriescenter.com/main1.htm

    All i did was copied and pasted the code into where the instructions said - i haven't modifed them a bit, but the link menu appears at the top of the page instead of under the text?

    And http://www.gtseriescenter.com/main3.htm doesn't even load up for me now.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    If what you say is true, and please forgive my skepticism as it just doesn't look that way, then your editor, upload manager and/or host must be modifying the content without your knowledge. If that is the case, use a plain text editor to insert the code and upload via FTP. That will at least eliminate two out of three possible sources of unintended changes.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jul 2005
    Location
    Dunedin, New Zealand
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Host: www.netfirms.com
    FTP: FTP Commander v7.40
    WYSIWYG Editor: Microsoft Frontpage Express (really old )

    After your suggestions:
    http://www.gtseriescenter.com/main2.htm

    Code:
    <html>
    
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1">
    <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
    <title>Gran Turismo Series Center</title>
    </head>
    
    <body bgcolor="#991E1E" text="#FFFFFF" link="#C0C0C0"
    vlink="#808080" alink="#FF0000">
    <div align="center"><center>
    
    <table border="0" cellpadding="0" cellspacing="0" width="99%"
    bordercolor="#800000">
        <tr>
            <td align="center" colspan="3" width="70%"><a name="TOP"></a></td>
        </tr>
    </table>
    </center></div><div align="center"><center>
    
    <table border="1" cellspacing="0" width="99%" bgcolor="#2E396D"
    bordercolor="#45597A">
        <tr>
            <td align="center" valign="top" colspan="3"><a
            href="index.htm"><img src="logo.jpg"
            alt="Gran Turismo Series Center - Main page" border="0"
            width="500" height="70"></a></td>
        </tr>
        <tr>
            <td align="right" valign="top" width="20%"
            bgcolor="#45597A"><font size="2" face="Arial"><strong><br>
            <br>
            <br>
            <br>
            <br>
            GRAN TURISMO 1<br>
            </strong></font><a href="1about.htm"><font size="1"
            face="Arial"><strong>ABOUT</strong></font></a>
    Code (of index.htm) before the changes.

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I am not sure I understand you. One thing:

    WYSIWYG Editor: Microsoft Frontpage Express

    Is not a plain text editor, use Notepad if you have no better plain text editor. Another thing, the source of the page at:

    http://www.gtseriescenter.com/main2.htm

    Was either incomplete when you wrote it, or has been truncated (cut off) by some agent (editor, host and/or upload client) you are using. It doesn't resemble, in any way, the code snippet in your post, which itself contained no script at all.

    My suggestion would be to get the page working locally using a plain text editor and then upload it using your ftp client (I have no knowledge of the ftp client you mentioned, just make sure all the settings are correct).
    Last edited by jscheuer1; 07-13-2005 at 06:39 AM.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Jul 2005
    Location
    Dunedin, New Zealand
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry i was having computer problems - will upload it again.

    And to clarify, the main2.htm was modified in Notepad like you suggested.
    Also, i posted the code above to show what the page looks like without this code added to it - just in case there was something wrong.
    Last edited by Mustang-man; 07-13-2005 at 08:45 AM.

  8. #8
    Join Date
    Jul 2005
    Location
    Dunedin, New Zealand
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Okay, that actually worked. Will try it again by using Frontpage.

    EDIT: Must be Frontpage then. Did the exact same thing as i did with Notepad: http://www.gtseriescenter.com/main4.htm

    Do you have any idea why it would be doing this?

    And to get this code on every single page (out of fourty something) would i have to copy and past the code in each page - or is there an easier way?
    Last edited by Mustang-man; 07-13-2005 at 08:57 AM.

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I hate FP, no actually I used to hate it, now I just avoid it. FP has various settings, and of course these probably vary from version to version as to exactly how you work with them, that control things like how scripts and other content are handled. I think it is possible to turn off some or all of the behaviors that alter these things and have FP only use the code as written but, I am not sure how to do it and if all, or only some of these behaviors can be changed.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  10. #10
    Join Date
    Jul 2005
    Location
    Dunedin, New Zealand
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah i just looked at the code, and FP seems to add a few unwanted tags (like < P >), removes all the code from the head section and then just randomly places the code below it. o_O

    That is just great. It already takes way too long to update the site in FP, now it will taken even longer to do so with Notepad. If i can even manage it.

    There is no preferences/options menu with the FP version i have either. I want to buy a brand new version of it, but just can't afford to.

    Any suggestions on what to do? If this can't be sorted out then i'll have to just scrap the idea.

    EDIT: And thanks so much for all your help so far mate.

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
  •