Norman Posted June 16, 2008 Share Posted June 16, 2008 Hey, I have a javascript container in wich I have in a drop down menu. But I can't get it work! When I click on it (where it should normally open a drop down menu) my url become example.com/?nojs=1.. why? Link to comment Share on other sites More sharing options...
Synook Posted June 16, 2008 Share Posted June 16, 2008 What is your code? Link to comment Share on other sites More sharing options...
Norman Posted June 16, 2008 Author Share Posted June 16, 2008 The code I'm using for the drop down menu is the one you can see on the vBulletin.com forum, as I'm using vBulletin: http://www.vbulletin.com/forum/ (check the Quick Links menu) The javascript container is created using this tool: http://www.allcrunchy.com/Web_Stuff/Rounded_Corners/ Link to comment Share on other sites More sharing options...
Synook Posted June 17, 2008 Share Posted June 17, 2008 Umm I can't find the "Quick Links" menu... Link to comment Share on other sites More sharing options...
Guest smart1goutam82 Posted June 17, 2008 Share Posted June 17, 2008 what is your code??I think some error in your code. Link to comment Share on other sites More sharing options...
Norman Posted June 17, 2008 Author Share Posted June 17, 2008 <span id="dcontent_header"><!-- nav buttons bar --><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"><tr align="center"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> $template_hook[navbar_buttons_left] <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td> </if> <if condition="$show['member']"> <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td> </if> <else /> <if condition="$show['searchbuttons']"> <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td> </if> </if> <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td> </if> </if> $template_hook[navbar_buttons_right] <if condition="$show['member']"> <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td> </if></tr></table><!-- / nav buttons bar --><br /><if condition="$show['forumdesc']"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td> </tr> </table> <br /></if></p> </div><script>makeRound()</script> </span> Where the dcontent_header is: #dcontent_header {margin-bottom: 1px;padding: 5px;float: right;text-align: left;margin-top: 25px;margin-right: 20px;width: 75%;}/* curve height, background image */.dcontent_header .t, .dcontent_header .b, .dcontent_header .b b, .dcontent_header .t b{height:9px;background-image:url(../imgs/dcontent_header.png);}/* inner color, border color, border width */.dcontent_header .c{background: #FFFFFF;border-color:#00CC33;border-left-width:3px;border-right-width:3px;}/* surrounding margins (optional) */.round{margin-bottom:5px;}.round .c{/* inner content padding */padding:0 10px 0 10px;border-top:0;border-bottom:0;border-style:solid;}.round .t, .round .b, .round .t b, .round .b b{display:block;overflow:hidden;}.round .t b, .round .b b{float:right;width:50%;}.round .t .r{background-position:top right;}.round .b .r{background-position:bottom right;}.round .b{background-position:bottom left;}.round .br{clear:both;display:block;overflow:hidden;height:0px;} And the .js file is the one you can find on the site where I have created my rounded javascript container: http://www.allcrunchy.com/Web_Stuff/Rounded_Corners/. Link to comment Share on other sites More sharing options...
Norman Posted June 25, 2008 Author Share Posted June 25, 2008 Can somebody help me out? Link to comment Share on other sites More sharing options...
justsomeguy Posted June 25, 2008 Share Posted June 25, 2008 Can you show your generated HTML code? Or do you have a link to it online somewhere? Where is the menu that you're having problems with? Where are the instructions about how to use the menu? Link to comment Share on other sites More sharing options...
Norman Posted July 8, 2008 Author Share Posted July 8, 2008 I will try to put it online as soon as possible, in order to let you see it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.