Announcement

Collapse
No announcement yet.

drop down icon from right to left

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • drop down icon from right to left

    I'd like to know how to move the drop down icon from right to left..

    in the code


    if (!nowrite)
    {
    document.write('<img src="' + IMGDIR_MISC + '/menu_open.gif" align="left" alt="" border="0" />');
    }
    return true;



    in _menu in the clientscript folder, I put in the align=left but what happens is that the icon moves to the left..but 'goes' one line down.

    my site is http://forums.deviatedhq.com
    I wont make any changes to it so u guys can help out.

  • #2
    Maybe move the code so it writes the IMG tag before the clickable element? Javascript isn't my thing.

    If you continue to have trouble with this, then I recommend you post in the PHP / MySQL / JS / (X)HTML forum on www.vbulletin.org.

    Comment


    • #3
      I don't think you can do it like that. The Javascript vbmenu_register is called after caller's ID is created, and you can't call it before it is created -- thus, you cannot print the arrow before.

      The best would be to pass true as a second parameter to make it not print the arrow, then just code in your own arrow image in the templates.

      Comment


      • #4
        isn't there ANY way ?

        I just wanna put it on the left align and not right..

        Comment


        • #5
          Move

          <script type="text/javascript"> vbmenu_register("journalnavbar"); </script>

          to the left of the actual link in the navbar template.

          Comment


          • #6
            for every menu ? :S

            Comment


            • #7
              yep, worked.

              ty

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X