drop down icon from right to left

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Deviant++
    Member
    • Jan 2005
    • 66
    • 3.0.4

    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.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #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

    • Chroder
      Senior Member
      • Dec 2002
      • 1449

      #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

      • Deviant++
        Member
        • Jan 2005
        • 66
        • 3.0.4

        #4
        isn't there ANY way ?

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

        Comment

        • Nightbreed
          Member
          • Mar 2004
          • 91
          • 3.0.0 'Gold'

          #5
          Move

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

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

          Comment

          • Deviant++
            Member
            • Jan 2005
            • 66
            • 3.0.4

            #6
            for every menu ? :S

            Comment

            • Deviant++
              Member
              • Jan 2005
              • 66
              • 3.0.4

              #7
              yep, worked.

              ty

              Comment

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