Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Question 5.0.1. Issue when Publishing with an embedded Javascript

    My .web's produced in 5.0.0 which have the PopUp scripts to Lock the PopUp and to Close the PopUps don't seem to be able to PUBLISH workable HTML. I get errors when I click on my buttons to close the popup.

    In the attached, I believe I correctly insert the code from here:
    http://www.talkgraphics.com/showthre...t=36782&page=2
    into the Tracker input box.

    =================================

    Also, is there a way to add a remark in Javascript, like a revision level of the script, XWD version it was tested for, or a release date?

    JC
    Attached Files Attached Files
    Last edited by jclements; 17 March 2009 at 09:07 PM.
    IP

  2. #2

    Default Re: 5.0.1. Issue when Publishing with an embedded Javascript

    Hi,

    did you get 501 update for the script from the same url you provided? Is it still not working with the new script?

    I will restrain myself from the update until I see this working...
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: 5.0.1. Issue when Publishing with an embedded Javascript

    Thank you John (Covoxer) for the script update, compatible with 5.0.1, released 18 Mar 2009.

    <script type="text/javascript">
    function my_clk(e){xr_xpul=0;xr_pul=0;if(my_oldclk){my_oldc lk(e)};};
    var my_oldclk=document.onmouseup;
    document.onmouseup=my_clk;
    function my_close(my_name){var o=document.getElementById(my_name).parentNode; if(o.id=='')o=o.parentNode;xr_v0(o);};
    </script>
    IP

  4. #4
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: 5.0.1. Issue when Publishing with an embedded Javascript

    For anyone needing to place a comment in a javascript.

    There are two types of comment.

    1 - a single line comment. Two forward slash characters start a single line comment. // this is a single line comment

    2 - a multiple line comment. A forward slash + asterisk begins a multiple line comment and an asterisk + forward slash end the comment.

    /* this is
    a multiple
    line
    comment */

    /*
    this is

    also
    a multiple line
    comment
    */


    Anyone familiar with C/C++ syntax (Java, C#, Javascript, etc.) has seen these types of comments before.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update
    IP

 

 

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
  •