Problems opening from the menu bar....

Posted on 2002-04-15
Last Modified: 2010-04-09
I just installed a flash button menu bar on my website.

I installed this code in the menu_bar.htm and it opens in the same window instead of the main side of my website:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
shockwave/cabs/flash/,0,2,0" width="129" height="434">
<PARAM name="movie" value="Guestbook.swf">
<PARAM name="quality" value="high">
<PARAM name="menu" value="true">
<EMBED src="Guestbook.swf" quality="high" menu="true" pluginspage="
download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="129" height="434">

Usually with a normal link I simply add target=_top
in the HTML link. Any ideal of how I can get it to open
on the main side of my site instead of in the menu bar itself? Any help would be greatly appreciated!
Question by:Bandit1
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
LVL 53

Accepted Solution

COBOLdinosaur earned 50 total points
ID: 6941893
You cannot declare an object in one document and run it in another.  Each frame is a separate document with its own space.  You have to put the object on a separate page and load the page from the link.  It might be possible to dynamically write the object tags to the target frame, but it is still going to have to load to that frame, the actual object itself cannot be transferred AFAIK.

LVL 19

Expert Comment

ID: 6941965
You have to make it a separate page. The link is to the PAGE the Flash element is on, you don't embed the Flash piece in the menu.

Basically what Cd& said... ;-)
LVL 19

Expert Comment

ID: 6941977
However...I think we might have read this wrong.

If you're using Flash as the menu -- don't. It's really not a good idea. If somebody doesn't have the plugin (or doesn't have the right one) they can't use the site.

You have to code ALL the links (including the targets) in Flash -- not HTML. So if you're not comfortable with Actionscripting, you're lost.

You have to make any changes (ANY changes, even the smallest ones) in FLASH -- not HTML. And in Flash, even the smallest changes can be major.

Flash is not a good idea for navigation. It's nice for some things, but navigation isn't one of them. Not yet, anyway.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 18

Expert Comment

ID: 6941990
funny, i thought navigation was one of the things flash was good at.

Author Comment

ID: 6942005
Thanks for the help!
LVL 53

Expert Comment

ID: 6942018
Glad we could help thanks for the A. :^)



Author Comment

ID: 6942032
Thanks for the help!

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity Markup for Sub Menu 2 63
Table doesn't show the lines! 3 36
Diff of the day 2 41
Undefined variable with $_POST in PHP 5 38
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question