close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Just Getting Started - Need Some Help

Thread began 4/28/2011 10:18 am by A Sound Design | Last modified 4/28/2011 11:56 am by A Sound Design | 834 views | 3 replies

A Sound Design

Just Getting Started - Need Some Help

I would like to create a site that reuses the WA Social extension on some, not all pages, so I thought using Framework Builder would be a good option.

I have created a page called social.php, which resides in a folder called plug-ins.

What I'm not quite sure about is whether I need to include all the HTML code, ie. the Head tags etc. The code at the moment is

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd">
<html xmlns="xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="../webassist/social/wasocial.css"/>
<script type="text/javascript" src="../webassist/social/wasocial.js"></script>
</head>
<body>
<div class="wasocial">
<div class="icons"> <a name="fb_share" type="icon" href="sharer.ph?u=<?php echo urlencode('http://localhost/vcb/plug-ins/social.php'); ?>" title="Facebook"></a>
<script src="FB.Share" type="text/javascript"></script>
</div>
<div class="icons">
<div id="custom-tweet-button"> <a href="share?url=<?php echo urlencode('http://localhost/vcb/plug-ins/social.php'); ?>" target="_blank" title="Tweet"></a> </div>
</div>
<div class="icons">
<script type="text/javascript">
(function() {
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://widgets.digg.com/buttons.js';
s1.parentNode.insertBefore(s, s1);
})();
</script>
<!-- Icon Button -->
<a class="DiggThisButton DiggIcon" href="submit?url=<?php echo urlencode('http://localhost/vcb/plug-ins/social.php'); ?>"></a> </div>
<div class="icons"> <a href="#" onclick="window.open('http://reddit.com/submit?url=<?php echo urlencode('http://localhost/vcb/plug-ins/social.php'); ?>')"> <img src="../webassist/social/icons/reddit.png" alt="submit to reddit" border="0" title="Reddit" /></a> </div>
<div class="icons">
<script src="hostedbadge.php?s=4&r=<?php echo urlencode('http://localhost/vcb/plug-ins/social.php'); ?>"></script>
</div>
<div class="icons"> <a title="Post to Google Buzz" class="google-buzz-button" href="post?url=<?php echo urlencode('http://localhost/vcb/plug-ins/social.php'); ?>" data-admin-site="true" data-button-style="normal-button"></a>
<script type="text/javascript" src="script>
</div>
<div class="icons"> <a href="save" onclick="window.open('http://www.delicious.com/save?v=5&noui&jump=close&url='+('<?php echo urlencode('http://localhost/vcb/plug-ins/social.php'); ?>')+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=550,height=550'); return false;"> <img src="../webassist/social/icons/delicious.png" alt="Delicious" id="delicious" title="Delicious" /></a> </div>
<div class="icons"> <a href="mailto:?subject=Subject&body=Checkout this link: <?php echo urlencode('http://localhost/vcb/plug-ins/social.php'); ?>."><img src="../webassist/social/icons/mail.png" title="Mail" /></a> </div>
<div class="icons"> <a href="#"><img src="../webassist/social/icons/print.png" onclick="window.print()" title="Print" /></a> </div>
<div class="icons"> <a href="#"><img src="../webassist/social/icons/favorites.png" onclick="addBookmark(document.title, '<?php echo urlencode('http://localhost/vcb/plug-ins/social.php'); ?>')" title="Bookmarks" /></a> </div>
</div>
</body>
</html>

Do I strip out everthing except what's within the Body tags? But I know I will need the links -
<link rel="stylesheet" type="text/css" href="../webassist/social/wasocial.css"/>
<script type="text/javascript" src="../webassist/social/wasocial.js"></script>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...