Erron
Newbie
Posts: 1
Registered: 5/10/2005
Member Is Offline
|
| posted on 5/10/2005 at 11:03 PM |
|
|
cant get tw to work
im probably missing something real easy here but i cannot get a link to open in a new window, heres what i have:
var MENU_ITEMS = [
['HD Information', null,
['Menu1', 'http://test.com',{'tw':'_blank'}],
]
]
All it does is creates a new link in the menu called 'undefined' above Menu1.
what am i doing wrong?
|
|
|
Hitenn
Junior Member
Posts: 3
Registered: 3/8/2005
Member Is Offline
|
| posted on 7/28/2006 at 09:07 PM |
|
|
| Quote: | Originally posted by Erron
im probably missing something real easy here but i cannot get a link to open in a new window, heres what i have:
var MENU_ITEMS = [
['HD Information', null,
['Menu1', 'http://test.com',{'tw':'_blank'}],
]
]
All it does is creates a new link in the menu called 'undefined' above Menu1.
what am i doing wrong? |
I have the same problem, only i'm trying to get the link to load in another frame.
Here is my code:
// menu_items.js file
var MENU_ITEMS =[
["<center>Index</center>", "http://www.freewebs.com/falcon-fire/index.htm", {'tw' : 'content'},
["<center>Feedback</center>", "http://www.freewebs.com/falcon-fire/feedback.htm", {'tw' : 'content'}],
["<center>Credits</center>", "http://www.freewebs.com/falcon-fire/credits.htm", {'tw' : 'content'}]
],
["<center>Game Corner</center>", "http://www.freewebs.com/falcon-fire/game-corner.htm", {'tw' : 'content'},
["<center>Arcade</center>", "http://www.freewebs.com/falcon-fire/arcade.htm", {'tw' : 'content'}]
],
["<center>Anime</center>", null, {'tw' : 'content'},
["<center>Naruto</center>", null , {'tw' : 'content'}],
["<center>Pokémon</center>", null, {'tw' : 'content'}],
["<center>Fullmetal Alchemist</center>", null, {'tw' : 'content'}]
],
["<center>Quotes</center>", "http://www.freewebs.com/falcon-fire/quotes.htm", {'tw' : 'content'}],
["<center>Falcon Dev</center>", null, {'tw' : 'content'},
["<center>Tutorials</center>", null, {'tw' : 'content'},
["<center>HTML</center>", null, {'tw' : 'content'}],
["<center>CSS</center>", null, {'tw' : 'content'}],
["<center>Java</center>", null, {'tw' : 'content'}],
["<center>C++</center>", null, {'tw' : 'content'}],
["<center>Javascript</center>", null, {'tw' : 'content'}]
]
],
["<center>Forums</center>", null, {'tw' : 'content'}],
["<center>Contact</center>", "mailto:falconfire_415@yahoo.com"]
];
View attached file to see the results of this code.
What's wrong with my code?
Hitenn has attached this image:
|
|
|
tigra
Administrator
Posts: 1986
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 7/29/2006 at 04:48 PM |
|
|
what's the version of the menu that you use? check that in menu.js file. Make sure it's 2.0
|
|
|
Hitenn
Junior Member
Posts: 3
Registered: 3/8/2005
Member Is Offline
|
| posted on 7/29/2006 at 07:19 PM |
|
|
Oh, I only have 1.0. Can I get 2.0 with the free tigera menu? How?
|
|
|
tigra
Administrator
Posts: 1986
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 7/29/2006 at 08:47 PM |
|
|
v2.0 is the one available for free download at: http://www.javascript-menu.com/download.html
It comes with the menu builder that supports much more configuration option that the one online.
|
|
|
Hitenn
Junior Member
Posts: 3
Registered: 3/8/2005
Member Is Offline
|
| posted on 7/29/2006 at 11:31 PM |
|
|
Okay. I found the download and built my menu, but now it seems like my menu.css file isn't working. The Menu Links show up like regular blue
hyperlinks. Also, when I tried to add my own main.css file for my website configuration, the menu took on those attributes.
|
|
|
tigra
Administrator
Posts: 1986
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 7/30/2006 at 08:52 AM |
|
|
If the menu looks right in the builder's preview and it doesn't after the export then you didn't follow export steps correctly.
|
|
|
|