Quick Jump Menu - Drop Down Menu and Popups - Joomla! Forum - community, help and support


hi,

i've installed quick jump menu - drop down menu module generates following code:

code: select all

<form name='lnk'>
  <select name='grpcomp' class='inputbox'  style='width:140px;height:18px;font-size:11px; padding-left:3px'
      onchange='javascript:location.href=document.lnk.grpcomp.options[document.lnk.grpcomp.selectedindex](window.open('toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=780,height=550')).value;' >
    <option>--- please select ---</option>
    <option value="http://localhost/mp/index.php?option=com_content&task=view&id=148&itemid=98" >products
    , services</option>
    <option value="http://localhost/mp/index.php?option=com_content&task=view&id=51&itemid=97" >latest
    news , events</option>
    <option value="http://localhost/mp/index.php?option=com_content&task=view&id=149&itemid=96" >investor
    information</option>
    <option value="http://localhost/mp/index.php?option=com_content&task=view&id=153&itemid=95" >customer
    support</option>
    <option value="http://localhost/mp/index.php?option=com_content&task=view&id=152&itemid=94" >customer
    case studies</option>
    <option value="http://localhost/mp/index.php?option=com_content&task=view&id=150&itemid=93" >business
    partnership</option>
  </select>
</form>


the php file contains following:

code: select all

 $mymenu_content ="<form name='lnk'><select name='grpcomp' class='inputbox'  style='width:140px;height:18px;font-size:11px; padding-left:3px' onchange='javascript:location.href=document.lnk.grpcomp.options[document.lnk.grpcomp.selectedindex].value;' > <option>--- please select ---</option>";


i form options open in new popup window however, module overrides joomla!'s 'on click, open in:' menu option. know following code needs go somewhere javascript skills aren't hot!

code: select all

"javascript: window.open('http://localhost/mp/index.php?option=com_content&task=view&id=154&itemid=92', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=780,height=550'); return false"


every time try either nothing or, parse error. can help?






Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support