Announcement

Collapse
No announcement yet.

Linking Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Linking Problem

    Hello Folks,

    I'm currently experiencing a problem regarding establishing a link to the "Terms of Business page".

    I want to create a unique Act_primary template using hand coded links just for the Index page.

    I've included this link so far: <a href="info.html">Terms of Business</a>

    at this url: http://www.magicalwonders.com/acatalog/index.html
    (Have left the code un-compacted)

    This link works fine until I comment the NQV:Bulk. (Why I'm doing this is the subject of a completely different topic and thread!)

    The thing is, all the links work properly with or without the NQV:BULK, with the exception of "Terms of Business".

    I'm not sure why the absence of the NQV:BULK is impacting on this one page. The syntax for the link appears to be correct. The file "info.html" is present in the directory. But the page refuses to display. So what gives?

    Anyone have any ideas on this one?

    Myles
    www.magicalwonders.com

    #2
    Could it be because NVQ:BULK is just that - the bulk content of every page? When Actinic generates the html code it replace NVQ:BULK with the html that IS the page contents.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      I'm not sure about this Bill.

      Leaving aside the NVQ:BULK situation, and just looking at it as two pages of html. The info.html page exists on the server. The index page exists. So shouldn't a link from one page to another still work ? (The index page is being created in full (minus the NQV:BULK) when uploading. As I understand it, the NVQ:BULK is only creating code within the table or cell that contains it.

      All the other links work. The basket and checkout. Section Links. Just the TOB is falling over. I'd understand it if the info.html was being deleted somehow as a result of commenting the NQV:BULK, but it's still there.

      I'll try some testing tomorrow using absolute links etc..,

      Myles
      www.magicalwonders.com

      Comment


        #4
        Sorry, I misread the post to say you are getting an empty page.....

        Let me look this time - I'll be back.

        OK - I looked - when I click terms and conditions, I do get info.html as this code shows
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
        <!-- Primary HTML begin -->
        <HTML>
        <HEAD><TITLE>My Company Information</TITLE>
        <ACTINIC:BASEHREF VALUE="http://www.magicalwonders.com/acatalog/"/>
        <META name="ACTINICTITLE" content="Information">
        - just there is no info to show.
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment


          #5
          This is quite interesting. What seems to be happening when uploading the site without NQV:BULK is that info.html is created, but it is a duplicate file of the Index.html. So when you click on TOB it just refreshes the page, or more correctly displays the duplicate.

          I've created an extra directory within acatalog called TOB and placed the info.html file there. I've hand coded the following link: <a href="../acatalog/tob/info.html">Terms of Business</a> which seems to work.
          Tried <a href="../tob/info.html">Terms of Business<a/> but it didn't want to know.

          Actinic has a bit of a moan when uploading:

          Warning: The HTML templates specify source files (with "SRC=" commands) that reside in directories other than the acatalog directory on the web site. Actinic can not handle these files and they are being omitted from the list of files to upload.
          No source files in the templates should have a path. Store them in the site specific directory locally, and they will be uploaded to the Actinic web directory.
          But the link works none the less.

          I need to hand code the links on the info.html page and sort out the paths for pics and CSS but it should all work. The signs are promising.

          It seems I will also need to hand code at least the TOB links on the custom Act_primary.

          What also seems to work is to upload the site (minus NQV:BULK) and then FTP the info.html file on its own afterwards.

          So a bit of work to do, but I reckon I can get this working nicely.

          Myles
          www.magicalwonders.com

          Comment


            #6
            A bit of advice sought regarding spacing of text links.

            I'm referring to the horizontal links such as "HOME" "TERMS OF BUSINESS" etc., I'd like to space them out a bit, and have tried putting them into individual cells:

            http://www.magicalwonders.com/acatalog/index.html

            Whilst this doesn't look too bad at 800 x 600, it looks terrible at a higher resolution.

            I know I could include invisible gifs in between the links, but with six links top and bottom, this could rack up the KB's for the page somewhat.

            Any designer tricks out there I could try that will achieve spacing without adding too much to the page size? Or is there anyway to tweak the system of cells so that it looks good in different resolutions?

            Thanks,

            Myles
            www.magicalwonders.com

            Comment


              #7
              easiest one is the non-breaking space - in this example I use two spaces and a vertical bar. All the links can go in one cell.

              Code:
              </a>&nbsp;|&nbsp;<a href=
              hth
              Bill
              www.egyptianwonders.co.uk
              Text directoryWorldwide Actinic(TM) shops
              BC Ness Solutions Support services, custom software
              Registered Microsoft™ Partner (ISV)
              VoIP UK: 0131 208 0605
              Located: Alexandria, EGYPT

              Comment


                #8
                I use CSS for links as they stretch and shrink according to the requirement.

                Do a google for Listomatic

                Comment


                  #9
                  Thanks for the input folks.

                  Jo, Google comes back with
                  Did you mean: Listmania
                  Can't really see the connection in either results. Can you give me another clue?

                  Thanks,

                  Myles
                  www.magicalwonders.com

                  Comment


                    #10
                    Try this Myles
                    http://www.accessify.com/tools-and-w...st-o-matic.asp
                    Bill
                    www.egyptianwonders.co.uk
                    Text directoryWorldwide Actinic(TM) shops
                    BC Ness Solutions Support services, custom software
                    Registered Microsoft™ Partner (ISV)
                    VoIP UK: 0131 208 0605
                    Located: Alexandria, EGYPT

                    Comment


                      #11
                      Thanks Bill,

                      This looks like it could make life a bit easier! I'll have fun experimenting!

                      Myles
                      www.magicalwonders.com

                      Comment


                        #12
                        Eventually found Listomatic! For some reason I'd been searching Listomania! I've got to get new glasses!

                        Both sites above offer excellent tools for achieving link control through CSS. However, I've one small (maybe big) problem which I'm not sure how to deal with.

                        I need to input the <a href=...etc, for the various links as in the following format.

                        <div id="navcontainer">
                        <ul id="navlist">
                        <li id="active"><a href="#" id="current">Item one</a></li>
                        <li><a href="#">Item two</a></li>
                        <li><a href="#">Item three</a></li>
                        <li><a href="#">Item four</a></li>
                        <li><a href="#">Item five</a></li>
                        </ul>
                        </div>
                        That's not a problem, and I assume that I can use <td>...</td> instead of <div>...</div> ?

                        What is causing a bit of a problem is that my last link "Contact us" is actually a bit of javascript used to hide address from spammers.

                        <SCRIPT type="text/javascript" language="javaScript">
                        var _u = "sales";
                        var _d = "magicalwonders.com";
                        var _l = _u + "@" + _d;
                        var _m = "Contact Us";
                        document.write("<a href='mailto:" + _l + "' class='contact'>" + _m + "<\/a>");</SCRIPT>
                        I need to somehow incorporate this script alongside the other links in order to control all the links with CSS.

                        I've tried creating the script as a separate file called contact.js and then using a link <a href="contact.js">Contact us</a>... But this just brings up another page with a link "Contact us", which in turn brings up the mail program.

                        Javascript is a bit of a mystery to me. Is there anyway I can save the script to a separate file and get it to run by clicking on
                        <a href="contact.js">Contact us</a>... ?

                        Hope someone can help.

                        Myles
                        www.magicalwonders.com

                        Comment


                          #13
                          Hi Myles

                          You cannot refer a javascript like that I'm afraid. The document write is where the link will appear, so just position the code where you want it to appear.

                          Kind Regards
                          Nadeem Rasool
                          SellerDeck Development

                          Comment


                            #14
                            Hi Nadeem,

                            I've managed to get around this by placing this script with the head area.

                            <script type="text/javascript" LANGUAGE="Javascript">
                            //<![CDATA[
                            function placeMail(sElement){
                            var li = document.createElement("li");
                            var a = document.createElement("a");
                            var _u = "sales";
                            var _d = "magicalwonders.com";
                            var _l = _u + "@" + _d;
                            a.href = "mailto:" + _l;
                            a.className = "contact";
                            var _m = "Contact Us"
                            a.appendChild(document.createTextNode(_m));
                            li.appendChild(a)
                            document.getElementById(sElement).appendChild(li);
                            }
                            //]]>
                            </script>
                            And then this reference within the <TD> tags:
                            <script type="text/javascript">
                            //<![CDATA[
                            placeMail("navlist");
                            //]]>
                            </script>
                            </TD>
                            So far it's all working quite well.

                            Many thanks

                            Myles
                            www.magicalwonders.com

                            Comment

                            Working...
                            X