The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Help with creating a widget

    Help with creating a widget

    Intermediate & Advanced SEO
    3 2 614
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MarieHaynes
      MarieHaynes last edited by

      I would like to create a widget that I can give to other website owners to place on their blog.  Obviously the point of doing this is to get backlinks.  The widget is a simple calculator.  (Think of it like a mortgage calculator).

      I see that there are two ways of creating widgets:

      1. Javascript

      2. Iframe

      I've been reading this excellent tutorial on building a widget using javascript and jquery:http://alexmarandon.com/articles/web_widget_jquery/.  However, with my limited knowledge of javascript it's going over my head.

      I understand that if I offer a widget that is in an iframe that the links don't get counted as backlinks, but rather as links from my own site.  But, what if I offered code like this:

      <iframe src="http://www.mysite.com" width="300" height="250"></iframe>

      This tool was provided by MySite

      Would that be helpful to me?

      1 Reply Last reply Reply Quote 0
      • john4math
        john4math last edited by

        What you've got there looks good to me!  The iframe method is what you want to do for the widget.  I'd be wary of trying to load additional Javascript on other people's web pages.  The physical link ends up on their page, so it should count.

        Note that by putting the link on their page, all their CSS is going to get applied to it, so the

        and <a>tags might not look the same from site to site, but it should be consistent with the style of the page they place it on.  If you want the text and link to stand out a bit, you could add your own styling to the text (specifying color, size, font-family, hover, etc).</a>

        <a></a>

        <a>And if you'll allow me to nitpick, I'd say "is provided", and put a period between the</a> and

        . 🙂

        MarieHaynes 1 Reply Last reply Reply Quote 1
        • MarieHaynes
          MarieHaynes @john4math last edited by

          Thank you!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Is it helpful for seo to have helpful links at the footer?
            Expansyon
            Expansyon
            1
            4
            40

          • Divi Help!
            TucsonAZWebDesign
            TucsonAZWebDesign
            0
            2
            59

          • Need some help/input about my Joomla sitemap created by XMap
            mr_w
            mr_w
            0
            3
            80

          • How to Create an Infographic
            ThompsonPaul
            ThompsonPaul
            0
            5
            177

          • Need help creating sitemap
            KenyonManu3-SEOSEM
            KenyonManu3-SEOSEM
            0
            3
            191

          • Emergency Help...
            Aran_Smithson
            Aran_Smithson
            0
            3
            457

          • Thanks for the help!
            ShaMenz
            ShaMenz
            1
            3
            470

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy