![]() |
Javascript and XML Help
On my team's site we have a new flash menu that I worked on. http://rockets34.com/test/ This is the website. The menu uses an XML file to display the information. To open a new window it uses _blank or _self. I want it to open a new window, so I have it set to _blank. The only problem is that it does not open maximized. I know I can use Javascript to obtain this, but I do not know where to put it in the code for it to work.
Here is the XML: Code:
<?xml version="1.0" encoding="utf-8"?><menu><mainitem title="Home" link="index.php" target="_blank" enabled="true" icon=""></mainitem> |
Re: Javascript and XML Help
I would use just flat-out javascript, it'll look better honestly and your site will load faster. Right now the content all has fuzzy text that looks like it's been anti-aliased way too much.
http://www.dynamicdrive.com/dynamicindex1/ May find some nice dropdown menus there. |
Re: Javascript and XML Help
Thanks for replying. And I looked around, but I really like the flash menu. I understand the speed issues and everything. Still wondering if anyone can give me help on this issue.
|
Re: Javascript and XML Help
I strongly recommend going to another solution instead of Flash. Flash adds limitations to your website (user must have flash, load times) that are unnecessary. Good website design is really about delivering the most content to the most people in the most pleasing way and taking the least amount time to do it, and flash doesn't meet those requirements. I would go to a nice CSS based solution myself; CSS drop down menus load fast and anyone with either a good browser or a IE6+ can view them. Also, I would get rid of the tables at the same time; tables make a website hard to access for those with disabilities, and are bad SEO practice.
|
Re: Javascript and XML Help
Ok. Well I guess I will have to make a CSS menu then. And change the layout to a CSS design. Thanks for the help
|
| All times are GMT -5. The time now is 16:06. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi