Forum Hosting  

Go Back   Forum Hosting > IPB Support > IPB Skinning Help

IPB Skinning Help Need help customizing the looks of your forum? Post here.


Reply
 
LinkBack Thread Tools Display Modes
Old 05-31-2004, 07:20 PM   #1 (permalink)
Active Forumer
 
Troy's Avatar
 
Join Date: May 2004

Posts: 288
Rep Power: 5 Troy is on a distinguished road
fTrader: (0)
fBuck$: 559.0
Bank: 0.0
Total fBuck$: 559.0

My Forumer
My Country:
Default

When you put the cursor over a cell it makes the cell white. I did this. Yippie. See what I did - http://christianity.3.forumer.com

But is there a way to use this JPG file -

<img src=http://img12.photobucket.com/albums/v30/Christinme/backg29.jpg>

- for the color and texture of the cell when the cursor scrolls over the cell to change it from white?

This is the part I have added to BOARD INDEX -->END BOARD STATISTICS TABLE. It is the blue part that needs to be changed somehow.

Quote:
<script>
function callClick(setIt){
var iDone="0"
for (cc=0;cc<setIt.length;cc++){
if (setIt(cc).href && iDone=="0"){
location.href=setIt(cc).href
iDone="1"}}}
var tCell= document.getElementsByTagName('TD');
for (i=0;i<tCell.length;i++){
if (tCell[i].className=="row4"){
if (tCell[i].innerHTML.match("showforum=")){
tCell[i].onmouseover=function(){this.style.cursor='hand';this.style.backgroundColor="FFFFFF;}
tCell[i].onmouseout=function(){this.style.backgroundColor="E4EAF2"}
tCell[i].onmousedown=function(){this.style.cursor='hand';this.style.backgroundColor="#FFFFFF"}
tCell[i].onmouseup=function()
{this.style.backgroundColor="#EAEFF6"}
tCell[i].onclick=function(){callClick(this.all);};}}}
</script>
Troy is offline   Reply With Quote
Old 05-31-2004, 08:19 PM   #2 (permalink)
Elite Forumer
 
Isolice's Avatar
 
Join Date: Mar 2004

Posts: 6,048
Rep Power: 11 Isolice is on a distinguished road
fTrader: (4)
fBuck$: 3,735.7
Bank: 55,373.0
Total fBuck$: 59,108.7

My Forumer
My Country:
Default

Ok, you've edited the wrong bit. Go to -

Admin CP > HTML Templates > Manage HTML > Board Index Selections > Board Index Forum Row

Now you would have the highlight commands in there, therefore you would put the background picture changer in there too. But I don't think it'll work anyways, because the original Background image is in the CSS.
Isolice is offline   Reply With Quote
Old 05-31-2004, 08:52 PM   #3 (permalink)
Active Forumer
 
Troy's Avatar
 
Join Date: May 2004

Posts: 288
Rep Power: 5 Troy is on a distinguished road
fTrader: (0)
fBuck$: 559.0
Bank: 0.0
Total fBuck$: 559.0

My Forumer
My Country:
Default

I moved it over to Board Index Forum Row, same effect of course.

But the question is, is there a way to change FFFFFF (white) into a backg29.jpg picture behind the lettering in cells when the cursor goes over them? All day no one has been able to answer this problem.

Maybe there is a way to designate

thisstyle.backgroundColor=row6

and in CSS make a row6,

.row6 { background-image:url(http://img12.photobucket.com/albums/...me/backg29.jpg); padding:0px;margin:0px; }

This doesn't work of course, but can't something be done along these lines?

Can something be done with <span class="row6">XXXXXXXX</span> in that Script to make it happen
Troy is offline   Reply With Quote
Old 05-31-2004, 09:47 PM   #4 (permalink)
Elite Forumer
 
Isolice's Avatar
 
Join Date: Mar 2004

Posts: 6,048
Rep Power: 11 Isolice is on a distinguished road
fTrader: (4)
fBuck$: 3,735.7
Bank: 55,373.0
Total fBuck$: 59,108.7

My Forumer
My Country:
Default

Try this:
Quote:
<script>
function callClick(setIt){
var iDone="0"
for (cc=0;cc<setIt.length;cc++){
if (setIt(cc).href && iDone=="0"){
location.href=setIt(cc).href
iDone="1"}}}
var tCell= document.getElementsByTagName('TD');
for (i=0;i<tCell.length;i++){
if (tCell[i].className=="row4"){
if (tCell[i].innerHTML.match("showforum=")){
tCell[i].onmouseover=function(){this.style.cursor='hand';this.style.backgroundImage="URL";}
tCell[i].onmouseout=function(){this.style.backgroundColor="E4EAF2"}
tCell[i].onmousedown=function(){this.style.cursor='hand';this.style.backgroundColor="#FFFFFF"}
tCell[i].onmouseup=function()
{this.style.backgroundColor="#EAEFF6"}
tCell[i].onclick=function(){callClick(this.all);};}}}
</script>
Isolice is offline   Reply With Quote
Old 05-31-2004, 10:10 PM   #5 (permalink)
Active Forumer
 
Troy's Avatar
 
Join Date: May 2004

Posts: 288
Rep Power: 5 Troy is on a distinguished road
fTrader: (0)
fBuck$: 559.0
Bank: 0.0
Total fBuck$: 559.0

My Forumer
My Country:
Default

I tried that already. Doesn't work. I thought I was being to cute for my own good.
Troy is offline   Reply With Quote
Old 05-31-2004, 10:13 PM   #6 (permalink)
Elite Forumer
 
Isolice's Avatar
 
Join Date: Mar 2004

Posts: 6,048
Rep Power: 11 Isolice is on a distinguished road
fTrader: (4)
fBuck$: 3,735.7
Bank: 55,373.0
Total fBuck$: 59,108.7

My Forumer
My Country:
Default

Maybe searching Google for some related keywords will help you in finding the apropriate code.
Isolice is offline   Reply With Quote
Old 05-31-2004, 10:18 PM   #7 (permalink)
Active Forumer
 
Troy's Avatar
 
Join Date: May 2004

Posts: 288
Rep Power: 5 Troy is on a distinguished road
fTrader: (0)
fBuck$: 559.0
Bank: 0.0
Total fBuck$: 559.0

My Forumer
My Country:
Default

Is there a way to change a background color into a myimage.jpg picture in cells when the cursor goes over them?
Troy is offline   Reply With Quote
Old 05-31-2004, 10:20 PM   #8 (permalink)
Elite Forumer
 
Isolice's Avatar
 
Join Date: Mar 2004

Posts: 6,048
Rep Power: 11 Isolice is on a distinguished road
fTrader: (4)
fBuck$: 3,735.7
Bank: 55,373.0
Total fBuck$: 59,108.7

My Forumer
My Country:
Default

You don't need to ask agian. If somebody does know, chances are that sooner or later they'll help you out. Until then, why don't you just try looking for yourself?
Isolice is offline   Reply With Quote
Old 05-31-2004, 10:42 PM   #9 (permalink)
Active Forumer
 
Troy's Avatar
 
Join Date: May 2004

Posts: 288
Rep Power: 5 Troy is on a distinguished road
fTrader: (0)
fBuck$: 559.0
Bank: 0.0
Total fBuck$: 559.0

My Forumer
My Country:
Default

You don't need to reply again. Why not go do something until someone responds to this question with a solution.

Is there a way to change a background color into a myimage.jpg picture in cells when the cursor goes over them?eg. http://christianity.3.forumer.com/ currently it is white and I would like to make it the image of my page background.
Troy is offline   Reply With Quote
Reply


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

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