vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Drop Down Menu

wenchupover
01-22-2007, 11:47 PM
I have added a drop down menu for a link in the menubar and all works just fine excepting that I would like the links in this drop down to open in a new page as they are external links and I don't want my members to leave the forum in order to go to the links. I have tried adding target="_blank" but it doesn't seem to want to work with the drop down menu. I did search the forums for an answer but couldn't find anything.

Help please :)

Peggy
01-23-2007, 12:02 AM
We use TARGET="_new"

wenchupover
01-23-2007, 10:18 AM
I tried that too Peggy with no luck. Is it the part below where I am supposed to be adding the code to open in a new window, or elsewhere??


<!-- mypopupmenu -->
<div class="vbmenu_popup" id="mypopupmenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">USCIS</td></tr>
<tr><td class="thead"><a href="https://egov.immigration.gov/cris/jsps/ptimes.jsp">Processing Dates</td></tr>
<tr><td class="vbmenu_option"><a href="https://egov.immigration.gov/cris/jsps/Processtimes.jsp?SeviceCenter=Vermont">Vermont Service Center</a></td></tr>
<tr><td class="vbmenu_option"><a href="https://egov.immigration.gov/cris/jsps/Processtimes.jsp?SeviceCenter=California">California Service Center</a></td></tr>
<tr><td class="vbmenu_option"><a href="https://egov.immigration.gov/cris/jsps/Processtimes.jsp?SeviceCenter=Nebraska">Nebraska Service Center</a></td></tr>
<tr><td class="vbmenu_option"><a href="https://egov.immigration.gov/cris/jsps/Processtimes.jsp?SeviceCenter=Texas">Texas Service Center</a></td></tr>
<tr><td class="vbmenu_option"><a href="https://egov.immigration.gov/cris/jsps/NBCprocesstimes.jsp">National Benefits Center</a></td></tr>

</table>
</div>
<!-- / mypopupmenu -->

Xhris
01-23-2007, 10:30 AM
Example, in this link from above you would add it here:

<a href="https://egov.immigration.gov/cris/jsps/ptimes.jsp" target="_new">

HTHs

wenchupover
01-23-2007, 10:53 AM
thanks mac

It works for the first link as in your post but for whatever reason does not work for the other links

Here is what I have


<!-- mypopupmenu -->
<div class="vbmenu_popup" id="mypopupmenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">USCIS</td></tr>
<tr><td class="thead"><a href="https://egov.immigration.gov/cris/jsps/ptimes.jsp" target="_new">Processing Dates</td></tr>
<tr><td class="vbmenu_option"><a href="https://egov.immigration.gov/cris/jsps/Processtimes.jsp?SeviceCenter=Vermont" target="_new">Vermont Service Center</a></td></tr>
<tr><td class="vbmenu_option"><a href="https://egov.immigration.gov/cris/jsps/Processtimes.jsp?SeviceCenter=California" target="_new">California Service Center</a></td></tr>
<tr><td class="vbmenu_option"><a href="https://egov.immigration.gov/cris/jsps/Processtimes.jsp?SeviceCenter=Nebraska" target="_new">Nebraska Service Center</a></td></tr>
<tr><td class="vbmenu_option"><a href="https://egov.immigration.gov/cris/jsps/Processtimes.jsp?SeviceCenter=Texas" target="_new">Texas Service Center</a></td></tr>
<tr><td class="vbmenu_option"><a href="https://egov.immigration.gov/cris/jsps/NBCprocesstimes.jsp" target="_new">National Benefits Center</a></td></tr>

</table>
</div>
<!-- / mypopupmenu -->

Xhris
01-23-2007, 10:59 AM
Well this seems to be an issue with VB. I have researched it some and found that others have had this issue. I will look into it further and see if there is a way to do it for you.

Xhris
01-23-2007, 11:05 AM
Try and switch out the target="_new" to this target="_blank"

wenchupover
01-23-2007, 11:37 AM
Switching to target="_blank" doesn't work either http://img11.imageshack.us/img11/8132/cray5ol.gif

Ok, so what we have is target="_new" working providing that the link is straight forward, but when the link calls for it to open as in ?SeviceCenter=Vermont, it then ignores the command to open in a new window. The weird thing is though, the last link is similar to the first link with no extra call in the link, yet that doesn't wish to work either. Could the answer be in that the first link is in <td class="thead"> with all the others being <td class="vbmenu_option"> Is there something that could be added to the td class to make this work???

wenchupover
01-28-2007, 08:23 AM
Is there something that can be added to the vbulletin_menu.js perhaps????


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum