Solved

Problems opening from the menu bar....

Posted on 2002-04-15
7
153 Views
Last Modified: 2010-04-09
I just installed a flash button menu bar on my website.
http://www.geocities.com/checkered_flag_racing/

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="http://download.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=4,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="http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="129" height="434">
</EMBED>
</OBJECT>

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!
0
Comment
Question by:Bandit1
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 53

Accepted Solution

by:
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.

Cd&
0
 
LVL 19

Expert Comment

by:webwoman
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... ;-)
0
 
LVL 19

Expert Comment

by:webwoman
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.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 18

Expert Comment

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

Author Comment

by:Bandit1
ID: 6942005
Thanks for the help!
0
 
LVL 53

Expert Comment

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

Cd&

0
 

Author Comment

by:Bandit1
ID: 6942032
Thanks for the help!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

820 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