The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Changing file path to dropdown menu arrow image
I need to change the file path to the image 'menu_open.gif' which shows up as a downward arrow signifying a dropdown menu on the navbar / header. What do I need to do / what code should I edit to change the file path to this image?
Here is the arrow as an example: |
#2
|
|||
|
|||
It will probably be in one of the Javascript files. Try in the clientscript directory possibly vbulletin_global.js
Why not just overwrite the old image instead? |
#3
|
|||
|
|||
Thanks for your help. I can't just overwrite because the problem I'm having causes the arrow image to not appear if a forum page is viewed outside the 'forum' directory, ie. when entering an invalid url like /forum/abc/invalid.php with the error message (in vB template), everything appears correctly except that the dropdown menu does not work and the image does not appear. So I figured it's probably the file paths which have been set relative in the code so changing it to the exact file path may solve the problem.
|
#4
|
|||
|
|||
Maybe http://www.w3schools.com/TAGS/tag_base.asp is what you need then?
|
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
I've just identified a problem using the <base> attribute. When using anchor links on a page to jump to a part of the page, the base attribute is applied here too which means that the anchor goes to the wrong url and the jump does not work. For example, if the base is www.example.com/ and I have an '#anchor' link at www.example.com/page.html#anchor , the base attribute forces this to go to www.example.com/#anchor instead so this results in an error. Is there any way to make the base attribute ignore anchor links so that all other relative links are correctly linked but the anchor links are not affected by the attribute?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|