Results 1 to 2 of 2

Thread: Postit Script in Javascript

  1. #1
    Join Date
    Dec 2012
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Postit Script in Javascript

    Can anyone advise where I'm going wrong; I'm loking to put this Tooltip script into a Javascript so I can repeat on multiple occasions and pages on my website. I want to ensure the text is the same and if I need to edit it updates all instances.

    The link I currently have is
    Code:
    <a href="#nogo" Style="Text-Decoration: None" onMouseover="ddrivetip('Beech is a Hard Wood which makes a slightly heavier Skittle Pin Compared to Sycamore.')"; onMouseout="hideddrivetip()"><font color="blue">Beech</font></a>

    What i would like to put in it's place is

    Code:
    <script language="JavaScript1.2" src="js/beechtooltip.js"></script>
    I tried this within beechtooltip.js but it doesn't appear to work
    Code:
    document.write("<a href'#nogo Style=Text-Decoration: None onMouseover=ddrivetip('Beech is a Hard Wood which makes a slightly heavier Skittle Pin Compared to Sycamore.'); onMouseout=hideddrivetip()><font color=blue>Beech</font></a>")
    Any assistance appreciated
    Last edited by Beverleyh; 06-10-2015 at 06:59 PM. Reason: Formatting

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.


    Please post a link to the page on your site that contains the problematic script so we can check it out.

    If you are unable to provide a link to a live web page on your own server, then please use one of the following services;

    - http://jsbin.com/
    - https://jsfiddle.net/
    - http://codepen.io/pen/

    live edits = more convenient = faster replies
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Similar Threads

  1. Javascript age script
    By chriscc17 in forum JavaScript
    Replies: 4
    Last Post: 02-23-2011, 10:49 PM
  2. Need php script but in javascript.
    By tanaxis in forum Looking for such a script or service
    Replies: 0
    Last Post: 10-05-2009, 03:19 PM
  3. how can i convert this php script to javascript?
    By alapimba in forum JavaScript
    Replies: 5
    Last Post: 10-01-2008, 12:45 PM
  4. Script to disable javascript?
    By djr33 in forum JavaScript
    Replies: 3
    Last Post: 08-01-2007, 05:14 AM
  5. php/javascript updating script
    By neo834 in forum PHP
    Replies: 4
    Last Post: 11-07-2006, 08:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •