Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

NC for Hire

If you frequently add PDF files to your Ning network for your members to download, you may want to let them know that a link to a pdf is a PDF and the size, so that they are not surprised. Any anchor link can be a link to a PDF document, but clicking a link like that thinking otherwise can be surprising and uncomfortable for a user. This CSS can visually signify those links.

[The Following goes in your advanced CSS section]

/* Add " (PDF)" text after links that go to PDFs */a[href$=".pdf"]:after { content: " (PDF)"; }/* If file size specified as data attribute, use that too */a[href$=".pdf"][data-size]:after { content: " (PDF, " attr(data-size) ")"; }


So in other words, this...

<p>Watch out for the <a href="some.pdf">PDF bomb</a> here!</p>


becomes this...

Watch out for the PDF bomb (PDF) here! (no pdf here, just an example link)

or..

<p>Watch out for the <a href="some.pdf" data-size="2 MB">PDF bomb</a> here!</p>


becomes this...

Watch out for the PDF bomb (PDF, 2 MB) here! (no pdf here just example link)

You need to be a member of Ning Creators Network to add comments!

Join Ning Creators Network

Email me when people reply –

Search the Creators Network

Latest Activity

Bizz ( John ) replied to Bizz ( John )'s discussion How To Add A Popular Blogs Module ( ver1 )
"Thanks Kos
I will add one for forums and articles as well as it works virtually the same."
5 hours ago
Maureen Jansen is now a member of Ning Creators Network
5 hours ago
Kos replied to Bizz ( John )'s discussion How To Add A Popular Blogs Module ( ver1 )
"I think there are a lot of people who will love this tip.  Displaying the most popular 'anything' i…"
11 hours ago
Kos replied to Bizz ( John )'s discussion Enhance Your Social Channels Player ( All code I have used on my site )
"I wonder if Ning is taking notes.  *lol*   Thanks John!"
13 hours ago
Kyryl_Ning_Support replied to David's discussion When are cancelled sites deleted?
"Hi David,
Your network right now is on pending cancellation. The page that you can see at the momen…"
18 hours ago
Kos replied to Diane Chojnowski's discussion Need help using CSS to change group owner
"That's fantastic!  That's the nice thing a/b having Creators here.  Sometimes it helps to just brai…"
20 hours ago
Thisisbully replied to Bizz ( John )'s discussion Why I Have Been Adding A Lot Of Photos To My Site
"Nice finally"
21 hours ago
Diane Chojnowski replied to Diane Chojnowski's discussion Need help using CSS to change group owner
"Thanks Jen for your brainstorming. We were able to fix the problem with a work-around.
We had the o…"
22 hours ago
Tommy Gene and Kirsten Izatt joined Ning Creators Network
yesterday
Porter Davis is now a member of Tips and advice.
yesterday
Porter Davis is now a member of Ning Creators Network
yesterday
Kate Ning Support replied to complience's discussion Ning Woahs.. My events have vanished
"Hi!We are sorry for delayed reply!This issue is still being investigated,our tech team is fighting…"
yesterday
complience replied to complience's discussion Ning Woahs.. My events have vanished
"I raised a support ticket with Ning about this, got precisely nowhere so recreated my events.
Howev…"
yesterday
Kos replied to Sheila Hollinger's discussion NING Newb Q.
"Yeah, no.  It's got to be something else.  I now have removed all CSS from the site, did a hard ref…"
Sunday
⚡JFarrow⌁ replied to Winter Wong's discussion Tapatalk for Ning app is now available on iPhone App Store
"are you no longer supporting Ning for Tapatalk?"
Saturday
Bizz ( John ) replied to Sheila Hollinger's discussion NING Newb Q.
"Hi Kos
What is messing up your photos in the member profile page is the flex slider code which is n…"
Saturday
Kos replied to Sheila Hollinger's discussion NING Newb Q.
"Kyryl I may have to.  We'll see."
Saturday
Kos replied to Sheila Hollinger's discussion NING Newb Q.
"Well this is screwy.  I 'disabled' all my CSS (theme and global) and removed my lower custom code. …"
Saturday
Anam replied to Kos's discussion Trouble With Cometchat or Just Me?
"Edit..I got private message. Sorry if I was a bit grumpy earlier. it's not your fault the product i…"
Saturday
CometChat replied to Kos's discussion Trouble With Cometchat or Just Me?
"Hello,
I have informed the team regarding the issues as well as your suggestions. I have also sent…"
Saturday
More…