Social Web Directory :: Social Network Directory :: Ning Tips and Ning Support
Tags:
David R and Jen, I love you both!! First of all, I can't say thank you enough to Jen for providing me with all these tips / hacks / wonderful works of awesomeness. And David, thank you so much for your work.
I have created a little script that works with multiple pages:
<script type="text/javascript" language="javascript">
var pagelist = new Array('encryption-tool','retro-tool','image-editor','photo-editor','music-1','sesh-room');
for (aa=0;aa<pagelist.length; aa++){
if (window.location.href.split('page/')[1] == pagelist[aa]) {
x$('.xg_headline').css('display','none');}
}
</script>
As you can see, all you need to do is put all your pages you want to remove the headline from in the single array called pagelist.
Also, Jen, thank you sooooo much for your tools. I have incorporated pixlr tools into my network as well, I'm sure my members will love it.
I hope my script works well for any of you who may use it, it's working for me at the moment. Thank you again to David R for making this possible!
Edit: I can't get the & gt; and & lt; to work for me :(
Very nice Jordan! Thanks for sharing.
Best to you, and thank you for the kind support, earlier this evening!
Jen
I have changed my script to handle URLS that contain more than just the page name. As the code was written, the heading was still visible if the URL looked something like this http://isesh.com/page/conversion-tool?xg_source=facebook
This should take care of the remaining URL content. The only drawback is page-name and page-name2 would both have their headings removed, even if you only wanted it removed from page-name. I hope that makes sense. Let me know if anybody has any problems with the script, cheers:
<script type="text/javascript" language="javascript">
var pagelist = new Array('encryption-tool','store-1','arcade-1','retro-tool','image-editor','photo-editor','music-1','sesh-room','wabble-dubstep','conversion-tool');
for (aa=0;aa<pagelist.length; aa++){
if (window.location.href.indexOf(pagelist[aa])!= -1) {
x$('.xg_headline').css('display','none');}
}
</script>
Welcome to
JenSocial: Social Web Directory and Ning Tips
Posted by JenSocial on May 7, 2018 at 8:35pm 8 Comments 1 Favorite
Posted by JenSocial on January 6, 2017 at 4:00pm 10 Comments 1 Favorite
Posted by JenSocial on October 22, 2016 at 1:05am 0 Comments 0 Favorites
Posted by JenSocial on September 17, 2016 at 12:00am 26 Comments 1 Favorite
Posted by JenSocial on August 31, 2016 at 3:30pm 13 Comments 0 Favorites
Ning 3.0 Tip - Add Buttons/Links Below Status Update (Quick Links to Add Photos, Posts, Discussions)
Started by Predestined by God Feb 1, 2015. 0 Replies 0 Favorites
Started by IDC. Last reply by JenSocial Oct 27, 2012. 1 Reply 1 Favorite
Started by Dr. Husky. Last reply by Dr. Husky Aug 18, 2012. 5 Replies 1 Favorite
© 2024 Created by JenSocial. Powered by
© Copyright JenSocial.