Bluepearl Design
Go Back   Bluepearl Design > Bluepearl Templates > Free vBulletin Templates > Darkness

button background in header

Our most popular gaming template for vBulletin. Comes with heaps of free headers.
    

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 04-22-2005, 01:10 AM   #1 (permalink)
 
Sean's Avatar
 
Title: Founder/Admin
Join Date: Jan 2004
Location: Sydney, Australia
Age: 28
Posts: 8,916
Images: 386
Blog Entries: 4
Rep Power: 10 Sean will become famous soon enough
Send a message via MSN to Sean Send a message via Skype™ to Sean
button background in header

If you r having trouble with the button header in the darkness theme please inform me.

Below is the button background, and the un-distorted button corner image.
All you need to do is upload them to the '/####/images/Darkness/darkness/' directory
Attached Files
File Type: zip buttonback.zip (8.1 KB, 112 views)

Last edited by Sean; 05-11-2005 at 11:40 PM.
Sean is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2005, 07:36 AM   #2 (permalink)
 
Title: Member
Join Date: May 2005
Age: 32
Posts: 1
Rep Power: 0 alan2525 is on a distinguished road
Re: button background in header

I wanted to install the darkness link as I really liked the mouseover navigation links and wanted to use this as a base for my own mouserollover links. The only problem is the images dont appear after i've installed the skin.

Here's the link on your site:

http://www.bluepearl-design.com/shop...n/darkness.jpg

my site just shows a missing image with a red x where the navigation bar in the header should be


Please help!

Alan
alan2525 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2005, 07:35 PM   #3 (permalink)
 
Sean's Avatar
 
Title: Founder/Admin
Join Date: Jan 2004
Location: Sydney, Australia
Age: 28
Posts: 8,916
Images: 386
Blog Entries: 4
Rep Power: 10 Sean will become famous soon enough
Send a message via MSN to Sean Send a message via Skype™ to Sean
Re: button background in header

Hey alan, thank you for purchasing the darkness theme

Give me about 30 mins from the time of posting this and i will post the modifcation mod.
Sean is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2005, 10:45 PM   #4 (permalink)
 
Fragalot's Avatar
 
Title: Ipood
Join Date: Nov 2004
Location: belgium west-flandres
Age: 19
Posts: 4,445
Images: 1
Rep Power: 9 Fragalot is on a distinguished road
Send a message via ICQ to Fragalot Send a message via MSN to Fragalot Send a message via Yahoo to Fragalot
Re: button background in header

i knew something there was distorted

lol, nice to know griffin takes good care of his customers
really is a good chap.
Fragalot is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2005, 11:50 PM   #5 (permalink)
 
Sean's Avatar
 
Title: Founder/Admin
Join Date: Jan 2004
Location: Sydney, Australia
Age: 28
Posts: 8,916
Images: 386
Blog Entries: 4
Rep Power: 10 Sean will become famous soon enough
Send a message via MSN to Sean Send a message via Skype™ to Sean
Re: button background in header

Here are the button modifications for this template.

The buttons included are "home" "barracks" "wars" "forums" "links" "about".

The file includes a install.txt file with instructions on how to install these buttons, i will also explain it in this thread.

-------------------------------------------
##### custom buttons for the Darkness theme for vBulletin####

1) First upload the images that came with this mod to the "vbulletin/images/Darkness/darkness" directory.
2) Goto the admin page and edit the header template.
styles & templates --> Style Manager
3) on the first line of the header template add the below code.

PHP Code:
<SCRIPT LANGUAGE "javascript">
<!--

if (
document.images)
{

image1on = new Image();
image1on.src "images/Darkness/darkness/button-home2.jpg";

image1off = new Image();
image1off.src "images/Darkness/darkness/button-home.jpg";

image2on = new Image();
image2on.src "images/Darkness/darkness/button-account2.jpg";

image2off = new Image();
image2off.src "images/Darkness/darkness/button-account.jpg";

image3on = new Image();
image3on.src "images/Darkness/darkness/button-forum2.jpg";

image3off = new Image();
image3off.src "images/Darkness/darkness/button-forum.jpg";

image4on = new Image();
image4on.src "images/Darkness/darkness/button-submit2.jpg";

image4off = new Image();
image4off.src "images/Darkness/darkness/button-submit.jpg";

image5on = new Image();
image5on.src "images/Darkness/darkness/button-barracks2.jpg";

image5off = new Image();
image5off.src "images/Darkness/darkness/button-barracks.jpg";

image18on = new Image();
image18on.src "images/Darkness/darkness/button-about2.jpg";

image18off = new Image();
image18off.src "images/Darkness/darkness/button-about.jpg";
}

function 
changeImages() 
{
    if (
document.images)
    {
        for (var 
i=0i<changeImages.arguments.lengthi+=2)
        { 
document[changeImages.arguments[i]].src = eval (changeImages.arguments[i+1] + ".src");
        }
    }
}

// -->

</SCRIPT> 
The above Javascript is used for the hover effects.

4) Find this code: (approx line 87)

Code:
<img src="images/Darkness/buttons/buttonback.jpg" border="0" width="568" height="30">
and replace with:

Code:
<a href="add-link-here" onmouseover="changeImages('image1', 'image1on')" onmouseout="changeImages('image1', 'image1off')"><img src="images/Darkness/darkness/button-home.jpg" name="image1" border="0" width="75" height="30"></a><a href="add-link-here" onmouseover="changeImages('image5', 'image5on')" onmouseout="changeImages('image5', 'image5off')"><img src="images/Darkness/darkness/button-barracks.jpg" name="image5" border="0" width="126" height="30"></a><a href="add-link-here" onmouseover="changeImages('image2', 'image2on')" onmouseout="changeImages('image2', 'image2off')"><img src="images/Darkness/darkness/button-account.jpg" name="image2" border="0" width="79" height="30"></a><a href="add-link-here" onmouseover="changeImages('image3', 'image3on')" onmouseout="changeImages('image3', 'image3off')"><img src="images/Darkness/darkness/button-forum.jpg" name="image3" border="0" width="103" height="30"></a><a href="add-link-here" onmouseover="changeImages('image4', 'image4on')" onmouseout="changeImages('image4', 'image4off')"><img src="images/Darkness/darkness/button-submit.jpg" name="image4" border="0" width="78" height="30"></a><a href="add-link-here" onmouseover="changeImages('image18', 'image18on')" onmouseout="changeImages('image18', 'image18off')"><img src="images/Darkness/darkness/button-about.jpg" name="image18" border="0" width="107" height="30"></a>
5) to modify the links all you need to do is change the text 'add-link-here' to the page you want the button linked to.


If you have any problems with these modifications you can copy and paste the 'header.txt' into your header style. Just remember to backup your old one first.
Attached Files
File Type: zip OPTIONAL-BUTTONS.zip (32.7 KB, 60 views)
Sean is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

« - | Darkness + IPB2? »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads for: button background in header
Thread Thread Starter Forum Replies Last Post
Darkness Header PSD Sean Free vBulletin Templates 13 07-13-2008 06:42 PM
LCIHost Background LC Interactive Graphics 5 03-03-2007 11:54 AM
Creat A Simple Button Error Macromedia Flash 1 11-05-2006 09:42 AM
need header ideas Fragalot Need Help? 4 08-15-2006 12:22 AM
button Taz Signatures 12 03-14-2004 10:08 PM


  
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Bluepearl Templates

All times are GMT +11. The time now is 04:13 AM.

 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52