How to change the default header link/url on your Ning Network:
Note: These instructions only work if you upload your header image/logo as the Network Logo.
If you have uploaded a header image via My Network/Settings/Appearance/All Options/Network Logo, and you want the header link to be something different than the default, which is your Ning Network home page - - follow these instructions:
- Add the code below to your Custom Code Box, via My Network/Tools/Custom Code.
- Change the yahoo link to your link of choice.
- Click on SAVE.
<script type="text/javascript">
if (typeof(x$) != 'undefined') {
var href_src = "http://www.yahoo.com";
x$("#application_name_header_link").attr("href", href_src);
}
</script>
Replies
Excellent... this did the trick. Thank you for your support.
Marty
didnt get the _blank to work, can someone drop some code on me here in case i'm being dense? thx!
Thank you!
TIA
Andrew
I'd like to know how to do this as well please! Did you ever get an answer for this, Andrew? I'm assuming we can access Cookies somehow to do this?
Thank you!
Nice to know it helped.
=)
I have this working, but now need to have two different areas of the header image link to different places. We are adding a graphic with a "Register Now" button that I want to go to my registration page, but leave the rest of the header clickable to my home page. Is there any way to create a div over a specific spot on the header image that is clickable?