Announcement

Collapse
No announcement yet.

javascript menu not appearing in IFrame

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

  • #16
    Re: javascript menu not appearing in IFrame

    I changed the name to shortmenu to no avail and reconfigured the js menus. Same result.
    CarbonTerry
    Semper Fi
    Still green...still mean......just not as lean

    Red Hawk Archery
    Zone 5 Photo
    My USMC

    Comment


    • #17
      Re: javascript menu not appearing in IFrame

      ok.. but upload your shortmenu in a text file from note pad and save it as shortmenu.js

      Now in your iframe call for the shortmenu.js instead of the html page

      Karen

      VodaHost

      Your Website People!
      1-302-283-3777 North America / International
      02036089024 / United Kingdom
      291916438 / Australia

      ------------------------

      Top 3 Best Sellers

      Web Hosting - Unlimited disk space & bandwidth.

      Reseller Hosting - Start your own web hosting business.

      Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


      Comment


      • #18
        Re: javascript menu not appearing in IFrame

        I tried calling for the second js instead of the page and had a conflict. Yes, the 2 menus have the same (almost) links/headings. That is why I chose an IFrame to call for another page (www.masterpac.com/shortmenu.html) instead of another script.
        CarbonTerry
        Semper Fi
        Still green...still mean......just not as lean

        Red Hawk Archery
        Zone 5 Photo
        My USMC

        Comment


        • #19
          Re: javascript menu not appearing in IFrame

          OK, I started following the steps from the tutorial Naval did long ago on menubars in iframes but I'm tired LOL - so I suggest you go through it step-by-step and see if there's anything there that will fix the problem:


          Good luck and good night :)
          Beth
          A Child's Palace - Pinata Palace - Moxie Enterprises

          SEO and Marketing Tools
          SEO - The Basics

          Comment


          • #20
            Re: javascript menu not appearing in IFrame

            Hi Terry,

            I can see the text in the iframe, if i scroll horizontally, though i can't see the menu itself as the iframe will only allow me to scroll horizontally but not vertically.

            Remove the text, so only the menu appears.

            Move the short menu on the top left corner.

            Re-publish the shortmenu.html

            then we can take it from there
            Navaldesign
            Logger Lite: Low Cost, Customizable, multifeatured Login script
            Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
            DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
            Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

            Comment


            • #21
              Re: javascript menu not appearing in IFrame

              The text was directly over the menu (I removed it). I think that I solved it by changing the target to "TOP" although I had to search for it in the script I think that I got it. However, I have to manually place the menu in the exact place rather than the upper left on the page.

              www.masterpac.com/shortmenu.html
              www.masterpac.com/2blisters.html

              Thanks George.
              CarbonTerry
              Semper Fi
              Still green...still mean......just not as lean

              Red Hawk Archery
              Zone 5 Photo
              My USMC

              Comment


              • #22
                Re: javascript menu not appearing in IFrame

                OK G.,
                I republished the shortmenu in the upper left corner and put scroll bars on the IFrame
                CarbonTerry
                Semper Fi
                Still green...still mean......just not as lean

                Red Hawk Archery
                Zone 5 Photo
                My USMC

                Comment


                • #23
                  Re: javascript menu not appearing in IFrame

                  Hi terry,

                  Your Javascript absolute coordinates overide the frame boundaries.

                  To solve your problem, go in the shortmenu page code. Edit these two lines:

                  var StartTop=320; // Menu offset x coordinate
                  var StartLeft=355; // Menu offset y coordinate

                  because your frame is positioned at 320 from top and 355 from left.

                  Take off the frame border, and you are done.

                  See it live in http://www.dbtechnosystems.com/Tips/Tips/2blisters.html
                  Navaldesign
                  Logger Lite: Low Cost, Customizable, multifeatured Login script
                  Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                  DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                  Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                  Comment


                  • #24
                    Re: javascript menu not appearing in IFrame

                    Thanks George,
                    Initially, I couldn't see
                    the menu at all. I had to change 2 lines of code
                    (var SecLineFrame='top';// Frame where sub levels appear
                    var DocTargetFrame='top';// Frame where target documents appear)
                    to "top" instead of "space" as they are originally generated.
                    Thanks for your help.
                    CarbonTerry
                    Semper Fi
                    Still green...still mean......just not as lean

                    Red Hawk Archery
                    Zone 5 Photo
                    My USMC

                    Comment


                    • #25
                      Re: javascript menu not appearing in IFrame

                      Glad to see in my sleeping hours it got corrected. :)

                      I'm thinking you don't even need it in an iframe with some of the changes, but now that it's working, why play more?

                      Just more proof of why we need a network here!
                      Beth
                      A Child's Palace - Pinata Palace - Moxie Enterprises

                      SEO and Marketing Tools
                      SEO - The Basics

                      Comment


                      • #26
                        Re: javascript menu not appearing in IFrame

                        Bethers,
                        I can have only one script on the page without a conflict. However, I have not tried calling for the second script.
                        Thanks for your time.
                        CarbonTerry
                        Semper Fi
                        Still green...still mean......just not as lean

                        Red Hawk Archery
                        Zone 5 Photo
                        My USMC

                        Comment


                        • #27
                          Re: javascript menu not appearing in IFrame

                          George,
                          Would the php method work better here? I was worried about the pages already being indexed and was concerned about losing ground in page results. Not to bother though as I am having an extremely difficult time moving this site up in search results. There is another site that uses content that is very similar. www.clamshellpackaging.net
                          This a web page from a webdesigner that would not finish the site but keeps the index page going because of a good search results and there is a link that clicks through to his design service.
                          CarbonTerry
                          Semper Fi
                          Still green...still mean......just not as lean

                          Red Hawk Archery
                          Zone 5 Photo
                          My USMC

                          Comment


                          • #28
                            Re: javascript menu not appearing in IFrame

                            Hi Terry,

                            I can't see why two menus in the same page would conflict, for any reason.
                            I will test and come back to you.
                            Navaldesign
                            Logger Lite: Low Cost, Customizable, multifeatured Login script
                            Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
                            DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
                            Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

                            Comment

                            Working...
                            X