Results 1 to 3 of 3

Thread: How to get this to work in FontPage 2003

  1. #1
    Join Date
    Feb 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to get this to work in FontPage 2003

    Animated Window Script...


    <SCRIPT language=JavaScript>
    <!-- Begin

    //Animated Window- By Rizwan Chand (rizwanchand@hotmail.com)
    //Modified by DD for NS compatibility
    //Visit http://www.dynamicdrive.com for this script

    function expandingWindow(website) {
    var windowprops='width=100,height=100,scrollbars=yes,status=yes,resizable=yes'
    var heightspeed = 2; // vertical scrolling speed (higher = slower)
    var widthspeed = 7; // horizontal scrolling speed (higher = slower)
    var leftdist = 10; // distance to left edge of window
    var topdist = 10; // distance to top edge of window

    if (window.resizeTo&&navigator.userAgent.indexOf("Opera")==-1) {
    var winwidth = window.screen.availWidth - leftdist;
    var winheight = window.screen.availHeight - topdist;
    var sizer = window.open("","","left=" + leftdist + ",top=" + topdist +","+ windowprops);
    for (sizeheight = 1; sizeheight < winheight; sizeheight += heightspeed)
    sizer.resizeTo("1", sizeheight);
    for (sizewidth = 1; sizewidth < winwidth; sizewidth += widthspeed)
    sizer.resizeTo(sizewidth, sizeheight);
    sizer.location = website;
    }
    else
    window.open(website,'mywindow');
    }
    // End -->
    </SCRIPT>

    <!-- set up your links, either via text links or form buttons-->
    <a href="#" onClick="expandingWindow('http://www.yahoo.com');return false">Yahoo.com</a><br>
    <form>
    <input type="button" value="Freewarejava" onClick="expandingWindow('http://www.freewarejava.com')">
    </form>

    How do I get the below listed script to work using Fontpage 2003...
    Appreciate your assistance... Tried to email the author with no success.


    <script type="text/javascript" src="http://www.NotASearchEngine.com/newsfeed/35.js"></script><script type="text/javascript" src="http://www.NotASearchEngine.com/newsfeed/14.js"></script>

    Thanks in advance

    Gil

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmmm using Frontpage or not doesn't change how the script should be installed. Simply follow the directions on our script page, and it should work. Frontpage 2003 as far as I know doesn't inadvertantly modify external code added inside it, so you should be fine.

  3. #3
    Join Date
    Feb 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to get this to work in front page

    DDAdmin!

    My question is how to get this Java script to run properly:

    <div style="position: absolute; width: 580px; height: 100px; z-index: 21; left: 37px; top: 175px" id="layer45" align="center">
    <script type="text/javascript" src="http://www.NotASearchEngine.com/newsfeed/35.js"></script><script type="text/javascript" src="http://www.NotASearchEngine.com/newsfeed/14.js"></script></div>

    So far all I am able to get to work when clicking on the news feed script as shown above. The <div></div> is a layer so that I place the feeds whereever I like.

    The script works beautifully when used with <a href=""> onClick... etc.,

    So I am back making the Java part work.

    Appreciates your assistance or anyone else for that matter.

    Gil

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
  •