javascript menu not appearing in IFrame

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • CarbonTerry
    Major General

    • Oct 2005
    • 2620

    javascript menu not appearing in IFrame

    That pretty much says it all. I have a js menu that is published on a page all by itself. I have an IFrame on another page calling for the JS menu. Everything is published. I added a shape where the js menu is positioned and the shape was visible but no menu.
    CarbonTerry
    Semper Fi
    Still green...still mean......just not as lean

    Red Hawk Archery
    Zone 5 Photo
    My USMC
  • Karen Mac
    General

    • Apr 2006
    • 8332

    #2
    Re: javascript menu not appearing in IFrame

    Terry..

    ahem... can you give us a link to the page? your script might be running UNDER the shape.

    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

    • CarbonTerry
      Major General

      • Oct 2005
      • 2620

      #3
      Re: javascript menu not appearing in IFrame

      LOL, I know, how many times have we asked for an URL !!! I put the shape in to make sure that the IFrame was positioned correctly. When I previewed the shape was there. Removed the IFrame the menu was not there. I have not published yet but will do so and provide an URL.
      Thanks
      CarbonTerry
      Semper Fi
      Still green...still mean......just not as lean

      Red Hawk Archery
      Zone 5 Photo
      My USMC

      Comment

      • CarbonTerry
        Major General

        • Oct 2005
        • 2620

        #4
        Re: javascript menu not appearing in IFrame

        Well, live and learn ! The 2nd js menu appears after publishing the main page. The "shortmenu" page was already published. The only reason I put it into a frame was because it created a conflict with the long horizontal js menu.
        This is a redesign and nothing is finished and/or final design.
        CarbonTerry
        Semper Fi
        Still green...still mean......just not as lean

        Red Hawk Archery
        Zone 5 Photo
        My USMC

        Comment

        • CarbonTerry
          Major General

          • Oct 2005
          • 2620

          #5
          Re: javascript menu not appearing in IFrame

          Whoa !! It was there ! Nowhere to be seen now.
          CarbonTerry
          Semper Fi
          Still green...still mean......just not as lean

          Red Hawk Archery
          Zone 5 Photo
          My USMC

          Comment

          • Karen Mac
            General

            • Apr 2006
            • 8332

            #6
            Re: javascript menu not appearing in IFrame

            None of the menus there look like js on any of the pages i clicked around on. I did see an image holder or something tho.. didnt look at the source to see if it was under it.

            In your js menuscripts.. use the full path to the url instead of the relative one. Seems I had to do that before when i used one of them for somebody somewhere.

            <edit... i see you have done that but youve combined using both http:// and http://www try to use the same.. also in the urls to the images you might have to change those too..and I see the codes.. im just wondering if its UNDER that shape somehow..if you have to add a layer and move it top...

            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

            • Karen Mac
              General

              • Apr 2006
              • 8332

              #7
              Re: javascript menu not appearing in IFrame

              Looks like youre missing the src statement the beginning of your code too

              <script type='text/javascript'>
              Im thinking you need this

              <script type='text/javascript' src='whateverjsmenu.js">
              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

              • CarbonTerry
                Major General

                • Oct 2005
                • 2620

                #8
                Re: javascript menu not appearing in IFrame

                That is the background color of the js page where the empty IFrame is.
                Right click and you'll see the code. The main navbar is a js menu also.
                I'll swear....the menu appeared for a while and then ..........nothing.
                This menu comes from a js generator and all of the code is complete. I am not calling for a script but actually have it inserted in the page code.
                If you click on my other BV websites in my siggy most of thoise sites use the same js generator.
                CarbonTerry
                Semper Fi
                Still green...still mean......just not as lean

                Red Hawk Archery
                Zone 5 Photo
                My USMC

                Comment

                • Bethers
                  Major General & Forum Moderator

                  • Feb 2006
                  • 5224

                  #9
                  Re: javascript menu not appearing in IFrame

                  OK, I just went through the view source and only see one instance of a js menu in the source code for that page. But wow, that is one heavy script - is 90% of your view source LOL

                  That said, I don't find a 2nd js menu on that page. Is it on the inline frame page???? Cuz I show the call up for an inline frame. So, if on that page, the question is did you do it properly to call it up - and as you and Karen have been discussing, is it on top of the shape.
                  Beth
                  A Child's Palace - Pinata Palace - Moxie Enterprises

                  SEO and Marketing Tools
                  SEO - The Basics

                  Comment

                  • CarbonTerry
                    Major General

                    • Oct 2005
                    • 2620

                    #10
                    Re: javascript menu not appearing in IFrame

                    There is no shape there anymore. That is the page background color. Right click on the empty IFrame and you will see the script.
                    The called for page www.masterpac.com/shortmenu.html views fine. It just does not appear in the IFrame.
                    CarbonTerry
                    Semper Fi
                    Still green...still mean......just not as lean

                    Red Hawk Archery
                    Zone 5 Photo
                    My USMC

                    Comment

                    • Bethers
                      Major General & Forum Moderator

                      • Feb 2006
                      • 5224

                      #11
                      Re: javascript menu not appearing in IFrame

                      Here's your problem:

                      <iframe name="short menu

                      That's the name of the iframe being called up - but the actual name of it is
                      shortmenu
                      Beth
                      A Child's Palace - Pinata Palace - Moxie Enterprises

                      SEO and Marketing Tools
                      SEO - The Basics

                      Comment

                      • Karen Mac
                        General

                        • Apr 2006
                        • 8332

                        #12
                        Re: javascript menu not appearing in IFrame

                        Ok ... I see this right smack dab in between Menu5= New array and Menu6= new array..and it dont belong

                        Menu5_1=new Array("Clamshells","http://masterpac.com/clamshell.html","",0,20,115);
                        Menu5_2=new Array("Mock Clamshells","http://masterpac.com/mock-clamshell.html","",0,20,0);
                        Menu5_3=new Array("Blisters","http://masterpac.com/blisters.html","",0,20,80);
                        Menu5_4=new Array("Trays & Inserts","http://","",0,20,80);
                        Now according to your post this is your short menu.. so yes its there but its clear up under your header and nav bar. you must have duplicated it somehow? Also Beth is Correct.. You have called "short menu" When it is 'shortmenu' so thats why it doesnt appear and theres a blank space there.

                        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

                        • CarbonTerry
                          Major General

                          • Oct 2005
                          • 2620

                          #13
                          Re: javascript menu not appearing in IFrame

                          I tried it as shortmenu with no change in results
                          CarbonTerry
                          Semper Fi
                          Still green...still mean......just not as lean

                          Red Hawk Archery
                          Zone 5 Photo
                          My USMC

                          Comment

                          • CarbonTerry
                            Major General

                            • Oct 2005
                            • 2620

                            #14
                            Re: javascript menu not appearing in IFrame

                            www.masterpac.com/shortmenu.html is the page being called for. It's not calling for a js per se. It's calling for a page that has a js menu.

                            There is a main js menu right below the logo and "The Clear Choice..et al"
                            I'll reconfigure the page as I may have made a mistake after making a lot of changes to see if I could fix the problem. ;})
                            CarbonTerry
                            Semper Fi
                            Still green...still mean......just not as lean

                            Red Hawk Archery
                            Zone 5 Photo
                            My USMC

                            Comment

                            • Karen Mac
                              General

                              • Apr 2006
                              • 8332

                              #15
                              Re: javascript menu not appearing in IFrame

                              ok.. i see you have it twice.. or are trying to have it twice? and the codes and arrays are the same. I bet its overwriting each other. Try calling for the js instead and see if it works

                              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

                              Working...
                              X