Social network 'share this' button in HTML code?
Hi everyone,
Forgive me if this is a silly question. I have a CMS that won't allow JavaScript. Is anyone aware of any HTML code that I might be able to add to my site that will allow visitors to share the page with social networking sites?
The 'addthis' button is what I'm looking for, but it requires java script.
If possible, I'd also like to be able to dictate the URL of the page that is shared or bookmarked (rather than the tool just picking up whatever page the user is on) because I have a variable URL that has been re-written to allow direct access from a specified URL for each page.
I hope that makes sense.
Thank you so much for your help.
Kristy
Re: Social network 'share this' button in HTML code?
What CMS are you using? Most of them allow you to enable javascript or often times you can just turn off your WYSIWYG editor (as it strips the javascrpit code).
Gary
Re: Social network 'share this' button in HTML code?
Could you add the code to a seperate piece of HTML and then either "include" it or pull it in through an I-frame?
Cheers,
Niggles
Re: Social network 'share this' button in HTML code?
How about using a flash button to do the job. Action script can do most of the easier things javascript can do as far as links go anyway. And the syntax is close enough you can figure it out in no time. It ought to work as long as there isn't a reason why you can't use flash. I've used Swish to build flash buttons before, and it's pretty straight forward.
Re: Social network 'share this' button in HTML code?
I would look for a 'switch' or tab to press in your page editing display to change from "Visual" to "HTML" or "Code" -- something like that anyway.
You can usually press that to see the actual page code, where you can paste-in or type your javascript, php, or other html elements into the final page code itself.
If you don't have that ability, install Wordpress. If that's a possibility for you. A platform CMS that doesn't let you edit actual page code and / or use Javascript or PHP is significantly disadvantaged in today's complex environment.
Re: Social network 'share this' button in HTML code?
You might also check the plug-ins that are available for your CMS. There are a large number of module level plug-ins that will allow you to enter anything.
Re: Social network 'share this' button in HTML code?
Look at my blog. I am not using javascript to link to the social networking websites. It is not needed at all.
Re: Social network 'share this' button in HTML code?
I have a similar problem here: Phoenix Suns News, Suns Scores, Game Recaps & Commentary
The CMS system doesn't allow any JavaScript, but does allow other basic HTML (div tags, links, etc.).
You can still use the social bookmarking tool from AddThis.com, but you can't use the JavaScript based on. (see the buttons in the upper right of my page)