PDA

View Full Version : Help with banner


drager
Feb-22-2007, 12:43 PM
I need some help please. I am customizing my site -- OR AT LEAST GOING CRAZY -- trying to customize my site.

I have two left feet and really ugly shoes when it comes to doing this -- but I am determined.

Here is what I have done so far:

Following the step-by-step process on the forum -- trying @ least -- for a banner.

This is what I have in the CSS Box and Java Box. What am I missing?

CSS BOX

.smuglogo {
width: 400px !important;
height: 50px !important;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,
sizingMethod=image src='http://www.smugmug.com/photos/131416890-S.png') !important;
}
.smuglogo[class] {
background-image: url(http://www.smugmug.com/photos/131416890-S.png) !important;
}
/* this part hides the your photos/home, login and help links */

Javascript Box:

// change the link on the SmugMug Logo
YE.onAvailable('homelink', function(e) {
this.href = "http://dragerphoto.smugmug.com/";
this.firstChild.alt = "header";
this.firstChild.title = "header";
});
// removes the pipes characters in the toolbar header
YE.onAvailable('toolbar', function(e) {
this.innerHTML = this.innerHTML.replace(new RegExp(/\|/g),"");
});

movol
Feb-22-2007, 02:23 PM
I need some help please. I am customizing my site -- OR AT LEAST GOING CRAZY -- trying to customize my site.

I have two left feet and really ugly shoes when it comes to doing this -- but I am determined.

Here is what I have done so far:

Following the step-by-step process on the forum -- trying @ least -- for a banner.

This is what I have in the CSS Box and Java Box. What am I missing?

CSS BOX

.smuglogo {
width: 400px !important;
height: 50px !important;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,
sizingMethod=image src='http://www.smugmug.com/photos/131416890-S.png') !important;
}
.smuglogo[class] {
background-image: url(http://www.smugmug.com/photos/131416890-S.png) !important;
}
/* this part hides the your photos/home, login and help links */

Javascript Box:

// change the link on the SmugMug Logo
YE.onAvailable('homelink', function(e) {
this.href = "http://dragerphoto.smugmug.com/";
this.firstChild.alt = "header";
this.firstChild.title = "header";
});
// removes the pipes characters in the toolbar header
YE.onAvailable('toolbar', function(e) {
this.innerHTML = this.innerHTML.replace(new RegExp(/\|/g),"");
});


Not sure what u r saying is wrong, but you need to replace the 'S' in your background image filename to an 'O'.. for Original

S&SPhoto
Feb-22-2007, 02:40 PM
It may also help people help you if you post a link to your site to see how it looks. Thanks!

Samir

drager
Feb-22-2007, 02:52 PM
ok i will try that.


Not sure what u r saying is wrong, but you need to replace the 'S' in your background image filename to an 'O'.. for Original

drager
Feb-22-2007, 02:53 PM
www.dragerphoto.com (http://www.dragerphoto.com)


It may also help people help you if you post a link to your site to see how it looks. Thanks!

Samir

richW
Feb-22-2007, 03:07 PM
I don't see the small smugmug logo on your page. Check to make sure you have it enabled in the control panel.