The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
How would I go about using images in place of the normal box here? I tried changing the type from submit to image added the img yadda yadda, but I cant seem to get it to work.
(original is below -- its from the journal hack) Code:
<table align="center" border="0"><tr><td>
<form method="POST" action="journal.php"><input type="submit" name="addentrysubmit" value="Add Entry" style="background-color: {tableheadbgcolor}; color: {tableheadtextcolor}; font-weight: bold;"><input type="hidden" name="journalid" value="$journalid"><input type="hidden" name="userid" value="$journalid">
</form></td><td>
<form method="POST" action="journal.php">
<input type="submit" name="submit_view_all" value="View All Entries" style="background-color: {tableheadbgcolor}; color: {tableheadtextcolor}; font-weight: bold;"><input type="hidden" name="journalid" value="$journalid"><input type="hidden" name="userid" value="$journalid"><input type="hidden" name="action" value="view"></form>
</td></tr>
</table>
|
|
#2
|
||||
|
||||
|
Do you mean instead of a submit button, to use an image?
Change: Code:
<input type="submit" name="submit_view_all" value="View All Entries" style="background-color: #006633; color: #FFCC00; font-weight: bold;"> Code:
<input type="image" name="submit_view_all" value="View All Entries" src="http://www.yoursite.com/images/yourimage.gif" border="0" height="40" width="100" hspace="5" vspace="10" align="middle"> |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|