|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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> <mainitem title="FIRST" link="first.php" target="_blank" enabled="true" icon="ico00"> <subitem title="FIRST Overdrive" link="overdrive.php" target="_blank" enabled="true" /></mainitem> <mainitem title="Team" link="" target="" enabled="true" icon="ico00"> <subitem title="Members" link="members.php" target="_blank" enabled="true" /> <subitem title="History" link="history.php" target="_blank" enabled="true" /></mainitem> <mainitem title="Multimedia" link="" target="" enabled="true" icon="ico00"> <subitem title="Pictures" link="pictures.php" target="_blankf" enabled="true" /> <subitem title="Videos" link="videos.php" target="_blank" enabled="true" /></mainitem> <mainitem title="Sponsors" link="sponsors.php" target="_blank" enabled="true" icon="ico00"></mainitem> <mainitem title="Community Outreach" link="community.php" target="_blank" enabled="true" icon="ico00"></mainitem> <mainitem title="Our Robot" link="our_robot.php" target="_blank" enabled="true" icon="ico00"></mainitem> <mainitem title="Events" link="events.php" target="_blank" enabled="true" icon="ico00"></mainitem> <mainitem title="Resources" link="resources.php" target="_blank" enabled="true" icon="ico00"></mainitem> <mainitem title="Contact" link="contact.php" target="_blank" enabled="true" icon="ico00"></mainitem></menu> |
|
#2
|
|||||
|
|||||
|
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. |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
||||
|
||||
|
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.
Last edited by lukevanoort : 17-01-2008 at 10:38. |
|
#5
|
|||
|
|||
|
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
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help: Looking for javascript countdown script | Compnerd | Website Design/Showcase | 3 | 24-02-2007 23:44 |
| Javascript and .ocx | lantian329 | Programming | 2 | 12-12-2005 23:59 |
| javascript ate my cereal! | steveg | IT / Communications | 2 | 29-03-2004 01:10 |
| XML And Link | Raven_Writer | Website Design/Showcase | 13 | 26-09-2003 17:24 |
| Javascript onclick link concatination | Trashed20 | Website Design/Showcase | 10 | 04-06-2003 11:18 |