Customizing specific Share Page

SPK64SPK64 Registered Users Posts: 171 Major grins
Well since there were no ways to customize a specific Share Group page. I made an attempt to do this with some java. Might not be pretty but it almost does all that I wanted. My custom banner is loading fine but I cannot get the footer to load.

Anyone have suggestions on getting it to work completly?


I am running the function in the footer.

Here is the share page.

Here is my java code.

/*Modify specific share page*/
function sharemod()
{
var sShare = "http://go.skactionpix.com/share/koC68a8kyyP1U"
var sURI = document.baseURI
if (sURI != null)
{
if (sShare==sURI)
{
document.getElementById('my_header').style.display = "none";
document.getElementById('sam_header').style.display = "block";
document.getElementById('navbar').style.display = "none";
document.getElementById('SKFooter').style.display = "none";
}
}
}

Comments

  • SPK64SPK64 Registered Users Posts: 171 Major grins
    edited January 5, 2007
    SPK64 wrote:
    Well since there were no ways to customize a specific Share Group page. I made an attempt to do this with some java. Might not be pretty but it almost does all that I wanted. My custom banner is loading fine but I cannot get the footer to load.

    Anyone have suggestions on getting it to work completly?


    I am running the function in the footer.

    Here is the share page.

    Here is my java code.

    /*Modify specific share page*/
    function sharemod()
    {
    var sShare = "http://go.skactionpix.com/share/koC68a8kyyP1U"
    var sURI = document.baseURI
    if (sURI != null)
    {
    if (sShare==sURI)
    {
    document.getElementById('my_header').style.display = "none";
    document.getElementById('sam_header').style.display = "block";
    document.getElementById('navbar').style.display = "none";
    document.getElementById('SKFooter').style.display = "none";
    }
    }
    }


    I removed the function from the footer and added this to java.
    YE.onAvailable("footer", sharemod);

    Works great now in Fierfox but not at all in IE.
Sign In or Register to comment.