Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML menu help

Status
Not open for further replies.

Wulfgen

Technical User
Dec 31, 2004
283
US
Hello,
a while ago I had a (Flash) friend help me with a menu system using flash and an xml file - the menu worked fine with the pages opening in the window.

Now the owner of the site wants it in frames (the main content frame is called (main) - go figure) anyway, the xml does not allow the pages to open a frame (or does it?) I don't know how to add a line if needed to get this to open the frame - the xml code is here --

Code:
<!-- to add another link, create another item tag. make sure the tag is closed with "/>" -->
<!-- to open new page, use single quotes inside url tag. make SURE the URL is closed with "/>" -->
<menu>
	<item name="Open Blank" link="'[URL unfurl="true"]http://www.anysitename.com/'"[/URL] image="images/nav_images/6.swf"/>
	<item name="Open Self" link="self.html" image="images/nav_images/7.swf"/>
	<item name="Open in frame" link="frame.html" image="images/nav_images/8.swf"/>
</menu>

My friend is out of state at the moment and I need to get this working - can it be done, and if so, how?

Any Ideas?
 
You would add a field for the name of the target frame and you would also have to changed the actionscript (in the original flash file) as well so that it can use the Frame as a target for the link.

I would discourage the site owner from using frames. (If you haven't already done it). They cause more trouble than they are worth.

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top