1. Welcome to Baptist Board, a friendly forum to discuss the Baptist Faith in a friendly surrounding.

    Your voice is missing! You will need to register to get access to all the features that our community has to offer.

    We hope to see you as a part of our community soon and God Bless!

Hand Coding a Web_Site ?Links?

Discussion in 'Computers & Technology Forum' started by SpiritualMadMan, Dec 22, 2004.

  1. SpiritualMadMan

    SpiritualMadMan New Member

    Joined:
    Nov 10, 2003
    Messages:
    2,734
    Likes Received:
    0
    Many people start from scratch and build a site using commercial tools...

    However, if you are importing a ton of previously coded stuff from a single directory site...

    What methods do you use to create a CD distribution that uses HTML as the user interface?

    Here's my problem...

    I have a Folder on my Hard Disk containing all the sources in the directory structure that will appear on the CD...

    All the links work on the CD using Internet Explorer but Mozilla based browsers don't...

    Do any of you know of a way to hand code a multi directory (pointer pages may be in a sub-directory) project...

    The CD works great if IE is the default Browser...

    The other side if the problem is that when I code a version to work with Mozilla... IE quits working...

    Arrrrrrgggggghhhhhhhhh!
     
  2. Brett

    Brett New Member

    Joined:
    Jun 25, 2003
    Messages:
    586
    Likes Received:
    0
    There shouldn't be any difference between IE and Mozilla. Exactly how does "IE stop working" when you code a version for Mozilla?

    When you're making your links, are they relative or absolute? For example, if you're linking to a file that's in the same directory as the file you're linking from, do you code your link like this:

    <a href="other_file.html">Other File</a>

    or:

    <a href="C:\website\subdir\other_file.html">Other File</a>

    Both should work in both browsers, but I'm guessing the former way to do it is more portable and more reliable, especially if it's on a disc.

    If this is way off base, I might be misunderstanding your problem completely. Maybe give some examples of how things aren't working - it's hard to diagnose a problem when all you say is that things aren't working without specifying the actual problem.
     
  3. SpiritualMadMan

    SpiritualMadMan New Member

    Joined:
    Nov 10, 2003
    Messages:
    2,734
    Likes Received:
    0
    No you've got the right idea...

    The Links don't work...

    For instance the structure on the disk might be:

    CD:\Start.Htm Initial starting file in the 'Root'

    Example Directory Structure:
    CD:\Add-Ons\...
    CD:\P_C\
    CD:\Sites\A-Team\
    CD:\Sites\B-Team\
    CD:\Sites\A-Team\Files\
    CD:\Sites\A-Team\Books\
    CD:\Sites\A-Team\Graphics\
    CD:\Support\

    The Start.Htm file has links to the Team-A and Team-B files and show these files using the sites Logos in thier respective Graphics Sub-Directory...

    <a href="Sites\Team-A\index.htm"><span style='text-decoration:none;text-underline:
    none'><img src="Sites\Team-A\Graphics\banner.gif"></span></img></a>

    IE navigates the Directory Tree but Mozilla can't find the banner.gif

    I agree it should be able to find the target. But, it doesn't.

    I have seen some mention of using JScript to deferentiate bewteen Browsers. Yet, nothing about differences in the way the browsers follow links...

    Very Strange Indeed...

    Will take a look, again, at it when I get home...

    Maybe I was just too tired when I tried it last?
     
  4. Brett

    Brett New Member

    Joined:
    Jun 25, 2003
    Messages:
    586
    Likes Received:
    0
    I'm guessing this is not the problem and that you just mistyped it here, but is the directroy A-Team or Team-A?

    Although if this was the case it would be wrong in both IE and Mozilla.

    Honestly, I can't see why anything would be wrong. Links are such fundamental things that it seems doubtful that a browser would have trouble. Maybe the "span" tag is what is screwing things up? You could try getting rid of that and seeing if it works.
     
  5. Mercury

    Mercury New Member

    Joined:
    Dec 22, 2003
    Messages:
    642
    Likes Received:
    0
    Just change "Sites\Team-A\index.htm" to "Sites/Team-A/index.htm". HTML uses slashes instead of backslashes for paths, and although IE will support both, Mozilla browsers won't.

    Hope this helps. [​IMG]
     
  6. Brett

    Brett New Member

    Joined:
    Jun 25, 2003
    Messages:
    586
    Likes Received:
    0
    Ha! Great eye Mercury!
     
  7. SpiritualMadMan

    SpiritualMadMan New Member

    Joined:
    Nov 10, 2003
    Messages:
    2,734
    Likes Received:
    0
    I think I tried that already...

    But, will try again this weekend
     
  8. Mercury

    Mercury New Member

    Joined:
    Dec 22, 2003
    Messages:
    642
    Likes Received:
    0
    SMM, are you still having troubles with this?
     
Loading...