Click to See Complete Forum and Search --> : newbie@java! helllllllp !
randomhero82
12-03-2002, 05:12 PM
hello all, nice to be here and all. i have a problem which will probably be simple for you folks out there, but i`m just starting at this game, and i`ve gotta start somewhere, right?
all i am trying to do is fix this script here:
<div id="menuItem1_2" class="menuItem" cmd="news.html">news</div>
i need to make that "cmd" function display the link in ANOTHER div layer. how can i do that?!?? thank you all!
randomhero82
12-03-2002, 07:07 PM
<div id="menuBar" class="menuBar">
<div id="Bar1" class="Bar" menu="menu1">main</div>
<div id="Bar2" class="Bar" menu="menu2">about</div>
<div id="Bar3" class="Bar" menu="menu3">services</div>
<div id="Bar4" class="Bar" menu="menu4">contact</div>
</div>
<!--MenuItem Definition -->
<div id="menu1" class="menu">
<div id="menuItem1_1" class="menuItem"><a href="news.html" target="main">home</a></div>
<div id="menuItem1_2" class="menuItem" cmd="news.html">news</div>
</div>
<div id="menu2" class="menu">
<div id="menuItem2_1" class="menuItem" cmd="state.html">mission</div>
<div id="menuItem2_2" class="menuItem" cmd="state.html">experience</div>
</div>
<div id="menu3" class="menu">
<div id="menuItem3_1" class="menuItem" cmd="is.html">investigative</div>
<div id="menuItem3_2" class="menuItem" cmd="as.html">armed courier</div>
<div id="menuItem3_3" class="menuItem" cmd="ps.html">protective</div>
</div>
does that help ?
randomhero82
12-03-2002, 07:48 PM
actually, if it helps, i am altering the 'cascading menu' js from javascriptsource.com and i`m just trying to make the links appear in another div layer.. there`s several on the entire site i`m developing . thanks all .
randomhero82
12-04-2002, 09:58 PM
first dave, let me thank you on replying to my crap! well, here's the javascript (i had to put it in txt format) where i found that cmd tag! and it's called from the html which is why i think you said html isn't recognizing it. any suggestions or can you figure out a way to make it do what i want it to? thanks again !
detectiveguy70
01-16-2008, 12:32 AM
hello all, nice to be here and all. i have a problem which will probably be simple for you folks out there, but i`m just starting at this game, and i`ve gotta start somewhere, right?
all i am trying to do is fix this script here:
i need to make that "cmd" function display the link in ANOTHER div layer. how can i do that?!?? thank you all!
hello to everyone! I hope to make splash in comming post. Looks like a good bunch.