The Arcive of vBulletin Modifications Site. |
|
Not sure how to do this.... help please Details »»
|
|||||||||||||||||||||||||
Hi all,
I have made buttons and used them on sites before, but have never had to consider .php at the same time. Below is the code for one of my buttons. I think something has to change for the php but I don't know what. These are java buttone I am working on... <a href="#" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('calendar','','calendar_ f2.gif',1);" ><img name="calendar" src="calendar.gif" width="96" height="28" border="0"></a> Can I simply upload the images, pull the old code out and place this code on the home page? I want to add the buttons on both the forumhome and also the home page which is vbhome lite. Thanks ![]() Beth~ Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
You'll have to add the javascript code do you header template, between
Code:
<script language="javascript"> ... </script> |
|
#3
|
|||
|
|||
|
Thanks!
|
|
#4
|
||||
|
||||
|
Oops, I meant the headinclude template
|
|
#5
|
|||
|
|||
|
It worked better inthe head template than in the headinclude template. In the headinclude template I don't get the mouseover, but in the head I do, but it also keep the button directly next to it from working for some reason....
Also, the path for theother buttons, where will I copy that from? aren't some of those paths user specific? |
|
#6
|
||||
|
||||
|
Im not sure what you mean, but put the images in the /images/ folder and use the replacement {imagesfolder}
I think thats what you mean |
|
#7
|
|||
|
|||
|
I had that part right
I just can't seem to ge the button to light up when I mouse over it.... |
|
#8
|
||||
|
||||
|
Oh right, sorry.
Whats your rollover code? 'Cos I have a much easier way of using rollovers |
![]() |
|
|