Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 12-06-2011, 04:30 AM
stormshadow's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 06-03-11
Posts: 57
iTrader: 0 / 0%
Social Sidebar

I am having some trouble making a sidebar to put my twitter widget and Facebook widget on my website i know it involves CSS but i dont actually know how to make it work within my website...hers the code for both of the widgets...
Code:
<script src="http://widgets.twimg.com/j/2/widget.js"></script> <script> new TWTR.Widget({ version: 2, type: 'profile', rpp: 4, interval: 30000, width: 250, height: 300, theme: { shell: { background: '#333333', color: '#ffffff' }, tweets: { background: '#000000', color: '#ffffff', links: '#4aed05' } }, features: { scrollbar: false, loop: false, live: false, behavior: 'all' } }).render().setUser('FullCircle_Web').start(); </script>
Code:
<div class="fb-like-box" data-href="http://www.facebook.com/platform" data-width="292" data-show-faces="true" data-stream="true" data-header="true"></div>
 
Reply With Quote
  #2 (permalink)  
Old 12-06-2011, 02:34 PM
Member
Latest Blog:
None

 
Join Date: 07-12-08
Posts: 47
iTrader: 0 / 0%
Hi stormshadow,

Can you post URL of your site so we will be able to see the problem?
__________________
2WDH.com: Professional cPanel hosting since 2003
Really helpful support. You're not a number to us! Site development help.
Real 99.99%+ uptime. Free 2-week trial with no credit card required.
 
Reply With Quote
  #3 (permalink)  
Old 12-06-2011, 03:25 PM
stormshadow's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 06-03-11
Posts: 57
iTrader: 0 / 0%
This is the site so far
http://rmphoto.byethost7.com/
 
Reply With Quote
  #4 (permalink)  
Old 12-06-2011, 09:24 PM
Member
Latest Blog:
None

 
Join Date: 07-12-08
Posts: 47
iTrader: 0 / 0%
stormshadow,
There is no mentioned social sidebar code at http://rmphoto.byethost7.com
Can you add the code to your site, so we will be able to check why it doesn't work for you?
__________________
2WDH.com: Professional cPanel hosting since 2003
Really helpful support. You're not a number to us! Site development help.
Real 99.99%+ uptime. Free 2-week trial with no credit card required.
 
Reply With Quote
  #5 (permalink)  
Old 12-07-2011, 12:32 AM
JohnnyS's Avatar
Contributing Member
 
Join Date: 07-05-11
Location: philippines
Posts: 312
iTrader: 0 / 0%
Quote:
Originally Posted by stormshadow View Post
I am having some trouble making a sidebar to put my twitter widget and Facebook widget on my website i know it involves CSS but i dont actually know how to make it work within my website...hers the code for both of the widgets...
Code:
<script src="http://widgets.twimg.com/j/2/widget.js"></script> <script> new TWTR.Widget({ version: 2, type: 'profile', rpp: 4, interval: 30000, width: 250, height: 300, theme: { shell: { background: '#333333', color: '#ffffff' }, tweets: { background: '#000000', color: '#ffffff', links: '#4aed05' } }, features: { scrollbar: false, loop: false, live: false, behavior: 'all' } }).render().setUser('FullCircle_Web').start(); </script>
Code:
<div class="fb-like-box" data-href="http://www.facebook.com/platform" data-width="292" data-show-faces="true" data-stream="true" data-header="true"></div>

as for the Twitter widget code you posted it should work fine..
as for the Facebook widget, i think it comes with a script tag that needs to be included first..
 
Reply With Quote
  #6 (permalink)  
Old 12-07-2011, 06:49 AM
stormshadow's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 06-03-11
Posts: 57
iTrader: 0 / 0%
Thank you very much for that JhonnyS, it works but now the widget is at the bottom of the page and heres how it looks now http://rmphoto.byethost7.com and 2WDHost.com this one has the facebook widget in but its not showing up.
 
Reply With Quote
  #7 (permalink)  
Old 12-07-2011, 09:47 AM
Member
Latest Blog:
None

 
Join Date: 07-12-08
Posts: 47
iTrader: 0 / 0%
Quote:
Originally Posted by stormshadow View Post
it works but now the widget is at the bottom of the page
Simply put the widget code to the place whee you need it to be. If you are not sure where exactly it has to be placed, then let me know where you want the widget to be placed.

About FB widget, you don't have the script part of it. Go to http://developers.facebook.com/docs/...gins/like-box/ set the desired options, click "get code", and copy both parts.
__________________
2WDH.com: Professional cPanel hosting since 2003
Really helpful support. You're not a number to us! Site development help.
Real 99.99%+ uptime. Free 2-week trial with no credit card required.
 
Reply With Quote
  #8 (permalink)  
Old 12-07-2011, 03:39 PM
stormshadow's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 06-03-11
Posts: 57
iTrader: 0 / 0%
2WDHost, i wanted both widgets to be put on top of each other, on the right side of the webpage and i fixed the facebook issue so its showing up now...but i still need hel positioning the sidebars to the side.http://rmphoto.byethost7.com/
 
Reply With Quote
  #9 (permalink)  
Old 12-09-2011, 07:07 AM
stormshadow's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 06-03-11
Posts: 57
iTrader: 0 / 0%
Can anybody help me out in regards to my last post, to help me make a sidebar on my webpage in order to position my social widgets on the right side of my webpage ant the link is in my last post if you wanted to look at the site.
 
Reply With Quote
  #10 (permalink)  
Old 12-09-2011, 02:53 PM
Member
Latest Blog:
None

 
Join Date: 07-12-08
Posts: 47
iTrader: 0 / 0%
Quote:
Originally Posted by stormshadow View Post
Can anybody help me out in regards to my last post, to help me make a sidebar on my webpage in order to position my social widgets on the right side of my webpage ant the link is in my last post if you wanted to look at the site.
Hi.

Can you post a draft (picture) of the result you would like to have?
__________________
2WDH.com: Professional cPanel hosting since 2003
Really helpful support. You're not a number to us! Site development help.
Real 99.99%+ uptime. Free 2-week trial with no credit card required.
 
Reply With Quote
  #11 (permalink)  
Old 12-09-2011, 09:56 PM
Super Moderator
Latest Blog:
None

 
Join Date: 11-11-11
Location: Copenhagen, Denmark
Posts: 1,764
iTrader: 0 / 0%
May i add, what a messed up document.

It can be difficult to help you, since the document uses several invalid xhtml-tags and attributes. Helping you, would require the programmer to guess whether or not these tags and attributes work as they would with the right document-type there support them, which they probably do, even tho they should not.

Try using http://validator.w3.org/ with the url of your document and fix the errors and warnings.

I hope you don't take it the wrong way, as i am only trying to help.
 
Reply With Quote
  #12 (permalink)  
Old 12-10-2011, 05:21 PM
stormshadow's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 06-03-11
Posts: 57
iTrader: 0 / 0%
Quote:
Originally Posted by 2WDHost.com View Post
Hi.

Can you post a draft (picture) of the result you would like to have?
I don't really know how i would go about doing that since that wasn't my initial plan before creating the website, all I wanted was to be able to put my two widgets, but if this helps I would like to place my widgets on the right of my transparent box just under the navigation bar, but it would look something like what i did on this site.
(see attatched file)
Attached Thumbnails
Social Sidebar-capture.png  
 
Reply With Quote
  #13 (permalink)  
Old 12-11-2011, 05:36 AM
Member
Latest Blog:
None

 
Join Date: 07-12-08
Posts: 47
iTrader: 0 / 0%
stormshadow,

1. Add "float:left;" to your "transbox" class.
2. Put social sidebar code into "div" and set "padding-top:30px;" style for that div.
3. Check if that looks like you need.
__________________
2WDH.com: Professional cPanel hosting since 2003
Really helpful support. You're not a number to us! Site development help.
Real 99.99%+ uptime. Free 2-week trial with no credit card required.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply

Tags
css, facebook, sidebar, social, twitter


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Sidebar Help Artful Dodger Coding Forum 1 09-19-2011 01:50 AM
10 blogs - Sidebar iowadawg Want To Sell Links 0 09-28-2009 05:12 PM
PR4 DoFollow Social bookmarking site w/ Top Commentators in the sidebar jessemn Blog Promotion 6 09-03-2009 03:33 AM
PR4 DoFollow Social bookmarking site w/ Top Karma in the sidebar jessemn Blog Promotion 8 08-31-2009 03:20 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 01:00 PM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.