Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > Non-VodaHost website development software products .

Notices

Non-VodaHost website development software products . Discussions, articles and help with about third party website development softwares such as Microsoft FrontPage, Microsoft Publisher, Macromedia Dreamweaver, Macromedia Flash, Swish Flash, Adobe Go Live and any and all other third party website development software products .

Closed Thread
 
Thread Tools
  #1  
Old 07-06-2008, 03:22 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 07-08-2008, 09:47 PM
Karen Mac's Avatar
General & Forum Moderator
 
Join Date: Apr 2006
Location: X marks the spot
Posts: 8,474
Send a message via MSN to Karen Mac
Default 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
__________________
KMAC Enterprise
Missouri Free Classified Ads
Charming Noveltees~Sports Logos Charms

I've learned that artificial intelligence is no match for natural stupidity!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 07-08-2008, 11:45 PM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 07-09-2008, 12:04 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old 07-09-2008, 12:16 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default Re: javascript menu not appearing in IFrame

Whoa !! It was there ! Nowhere to be seen now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old 07-09-2008, 01:45 AM
Karen Mac's Avatar
General & Forum Moderator
 
Join Date: Apr 2006
Location: X marks the spot
Posts: 8,474
Send a message via MSN to Karen Mac
Default 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
__________________
KMAC Enterprise
Missouri Free Classified Ads
Charming Noveltees~Sports Logos Charms

I've learned that artificial intelligence is no match for natural stupidity!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old 07-09-2008, 01:57 AM
Karen Mac's Avatar
General & Forum Moderator
 
Join Date: Apr 2006
Location: X marks the spot
Posts: 8,474
Send a message via MSN to Karen Mac
Default Re: javascript menu not appearing in IFrame

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

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

Quote:
<script type='text/javascript' src='whateverjsmenu.js">
Karen
__________________
KMAC Enterprise
Missouri Free Classified Ads
Charming Noveltees~Sports Logos Charms

I've learned that artificial intelligence is no match for natural stupidity!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old 07-09-2008, 02:43 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old 07-09-2008, 03:46 AM
Bethers's Avatar
Major General & Forum Moderator
 
Join Date: Feb 2006
Posts: 5,253
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old 07-09-2008, 03:54 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old 07-09-2008, 04:01 AM
Bethers's Avatar
Major General & Forum Moderator
 
Join Date: Feb 2006
Posts: 5,253
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old 07-09-2008, 04:59 AM
Karen Mac's Avatar
General & Forum Moderator
 
Join Date: Apr 2006
Location: X marks the spot
Posts: 8,474
Send a message via MSN to Karen Mac
Default 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

Quote:
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
__________________
KMAC Enterprise
Missouri Free Classified Ads
Charming Noveltees~Sports Logos Charms

I've learned that artificial intelligence is no match for natural stupidity!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #13  
Old 07-09-2008, 05:04 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default Re: javascript menu not appearing in IFrame

I tried it as shortmenu with no change in results
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #14  
Old 07-09-2008, 05:09 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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. ;})
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #15  
Old 07-09-2008, 05:11 AM
Karen Mac's Avatar
General & Forum Moderator
 
Join Date: Apr 2006
Location: X marks the spot
Posts: 8,474
Send a message via MSN to Karen Mac
Default 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
__________________
KMAC Enterprise
Missouri Free Classified Ads
Charming Noveltees~Sports Logos Charms

I've learned that artificial intelligence is no match for natural stupidity!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #16  
Old 07-09-2008, 05:13 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default Re: javascript menu not appearing in IFrame

I changed the name to shortmenu to no avail and reconfigured the js menus. Same result.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #17  
Old 07-09-2008, 05:15 AM
Karen Mac's Avatar
General & Forum Moderator
 
Join Date: Apr 2006
Location: X marks the spot
Posts: 8,474
Send a message via MSN to Karen Mac
Default 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
__________________
KMAC Enterprise
Missouri Free Classified Ads
Charming Noveltees~Sports Logos Charms

I've learned that artificial intelligence is no match for natural stupidity!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #18  
Old 07-09-2008, 05:17 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #19  
Old 07-09-2008, 05:20 AM
Bethers's Avatar
Major General & Forum Moderator
 
Join Date: Feb 2006
Posts: 5,253
Default 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:
http://www.vodahost.com/vodatalk/blu...r-i-frame.html

Good luck and good night :)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #20  
Old 07-09-2008, 07:17 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default 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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #21  
Old 07-09-2008, 08:13 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #22  
Old 07-09-2008, 08:18 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #23  
Old 07-09-2008, 08:57 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default 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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #24  
Old 07-09-2008, 09:07 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #25  
Old 07-09-2008, 04:06 PM
Bethers's Avatar
Major General & Forum Moderator
 
Join Date: Feb 2006
Posts: 5,253
Default 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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #26  
Old 07-09-2008, 05:15 PM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #27  
Old 07-12-2008, 05:03 AM
CarbonTerry's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: St L MO
Posts: 1,646
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #28  
Old 07-12-2008, 06:44 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default 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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 08:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203