Ive been playing around with the possibilities of making a site-wide column which spans the top of all 3 columns of the network.  WARNING:  this is a very advanced hack and i would advise trying it on a test site first before applying it to your primary network.  This hack in in 2 parts.  First is adding the actual box, then (optional) adding a SHOW/HIDE element to the box.

You can view the Finished 3 Column Text Box Live on Land Surveyors United
3 Column Text Box

3 column box hack

With Show Hide Expanded

show hide feature


To add a text box at the top of the page you need first to create the box somewhere in your page.

Inside the text box place an elment with name and id "boxy3".  For example

<div name="boxy3" id="boxy3"> Content of your 3 column text box</div>

Now, go to the analytics section and add the following javascript code:

<script type="text/javascript">
var box3 = x$("#boxy3").parent().parent();
x$("#xg_body").children(":first-child").before(box3);
box3.width(935);
</script>

What does this code do?
Glad you asked- it simply sets the box that contains the "boxy3" element as the 1st child of  element "xg_body" (in other words, the page elements container).

After you add the text box,you can edit the text box content as you would do for any other textbox, just remember to keep an element called "boxy3" and place the content between the divs.  You will not want to add more than one of these boxes to your network because it will confuse all browsers and your network will look like complete shit.

Now, if you would like for this box to repeat on each and every page of your network, place it in the green area of the Features Layout section of dashboard as shown in the picture here:

features layout


I believe this tutorial has gotten long enough....i will post a future tutorial on the show/hide hack in the near future.  Add me as a friend so you'll see it when I post in the next day or so.

I hope you find this tutorial to be helpful and interesting.

Tags: 3, analytics, box, column, design, hack, how-to, layout, span, text, More…tutorial

Views: 959

Reply to This

Replies to This Discussion

Thanks. I needed this!!

 

no problem buddy

JFarrow - this hack is so close to being what I'm looking for.  The only problem is once I inserted an  iframe embed, it shrunk it.  Any ideas on how I can make it work??  I've got it stretched across the two column layout currently...

LIFE SAVER,,thanks 

I'm glad this hack still works for all of you!

like before a real life saver...

RSS

Latest Activity

Paul Corona replied to Suzie Nielsen's discussion 'Watching Cultivating videos- have questions!'
"So many folks were asking the same questions that I thought actually showing them the basics of the…"
1 hour ago
Chris replied to JFarrow's discussion 'Ning Emails Going to Spam?'
"Nope, had all the answers: "it's not a bug", "it is a bug and has been…"
2 hours ago
Larry Matthews replied to Larry Matthews's discussion 'Photos'
"www.dismyhood.com I need to enlarge images on mouseover, on the activity feeds. There is a feed for…"
2 hours ago
Fabio replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"F A N T A S T I C !!!!! well done guys"
2 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Hi Allison, I have a Client who needs the Search feature. Any updates? I don't see any Search…"
3 hours ago

NC for Hire
SweetPotato replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"not consistently for all browsers, think SE tried it with mixed results. SP"
3 hours ago
Riccardo Rossini replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"Sp, can I style also the scroll bar of the browser?"
3 hours ago
Dustin Craig replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"Appreciate the tip! I probably won't add this to my current site, but it might be a nice touch…"
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service