How do I reference a .js file in .html on iweb to be viewed online!

OK,
I have a B-Ball Stat sheet I am trying to post on my website. I create the stats in excel and export the sheet to .html from there I copy the .html code and paste it in a HTML Snippet. This works GREAT!
NOW
I am trying to link this code to a .js file so that I am able to sort the stats by each topic. When I reference the .js file in the original .html file, the sorting works fine offline. I just need to reference the .js file so the website html can see it.
Any help would be appreciated as I am new to .html code

Here is an example with an applet tag (this applet doesn't require a Java plugin):
HTML file
========
<script src="Dialog.js" archive="Dialog.jar"></script>
<APPLET CODE = "myDialog.class" CODEBASE = "." ARCHIVE = "Dialog.jar" WIDTH = 280 HEIGHT = 80 NAME = "DIA" MAYSCRIPT = true>
</APPLET>
Contents of Dialog.jar file
====================
META-INF/
META-INF/MANIFEST.MF
dialog.class
matrix$1.class
matrix.class
myCanvas.class
myDialog.class
myPanel.class
PicButton.class
resource.class
ToolTip$MAdapter.class
ToolTip.class
Dialog.js
This combination works for me on NN4+ and IE5_.
V.V.

Similar Messages

  • How do I reference a javascript file in a jar file

    Hi all,
    I'm trying to reference a javascript file, which is contained in a jar file, from my html page.
    So far I have had no success :
    I saw a reference to the SCRIPT tag attribute ARCHIVE.
    Does this work for Internet Explorer 5?
    I tried using <SCRIPT ARCHIVE="path_to_jar"
    SRC="javascript.js"/>
    but this didn't work.
    Does anyone have any suggestions?
    Thanks for any help you can give,
    Paul

    Here is an example with an applet tag (this applet doesn't require a Java plugin):
    HTML file
    ========
    <script src="Dialog.js" archive="Dialog.jar"></script>
    <APPLET CODE = "myDialog.class" CODEBASE = "." ARCHIVE = "Dialog.jar" WIDTH = 280 HEIGHT = 80 NAME = "DIA" MAYSCRIPT = true>
    </APPLET>
    Contents of Dialog.jar file
    ====================
    META-INF/
    META-INF/MANIFEST.MF
    dialog.class
    matrix$1.class
    matrix.class
    myCanvas.class
    myDialog.class
    myPanel.class
    PicButton.class
    resource.class
    ToolTip$MAdapter.class
    ToolTip.class
    Dialog.js
    This combination works for me on NN4+ and IE5_.
    V.V.

  • How do I save my numbers files as an xls for others to view with Mavericks

    After upgrading to OS Mavericks, I cannot save my files as an xls for others to view that have a pc. How do I do this for others to read?

    in Numbers, under the File menus select Export > Excel.

  • Audio Unit Manager: How to remove references to deleted files?

    I upgraded my NI software. Replaced Guitar Rig 4 with Guitar Rig 5.
    Removed the Guitar Rig 4 components from both system and user Audio/Plugins/Components
    directories.
    The now-removed plug-ins are still showing in Logic's Audio Unit Manager. Of course they fail validation,
    and aren't used. But, leaves a messy listing, and causes other programs (Live, Kore) to also list them try to valid,
    and fail.
    Any ideas on how to remove these references??

    I would love to know this too. I have the worst plug in in the world ( Universal UVI Player) haging around my system although I removed it from all "visible' places.

  • How to include 500 flv streaming files into html?

    Hello!
    I have 500 flash audio files in flv and want to include them
    into a website.
    A visitor should see 500 links and should be able to click
    them to play the
    flv files. But how could I realize this? If I use the Flash
    program I can
    build a swf file that can play ONE flv file. But I don´t
    want to build 500
    swf files. Is there an easier way?
    Best regards
    Marc

    marc heiners wrote:
    > Hello!
    >
    > I have 500 flash audio files in flv and want to include
    them into a website.
    > A visitor should see 500 links and should be able to
    click them to play the
    > flv files. But how could I realize this? If I use the
    Flash program I can
    > build a swf file that can play ONE flv file. But I
    don´t want to build 500
    > swf files. Is there an easier way?
    Perhaps have all the link along with flv player within same
    file. All the links
    load the flv in same player.
    It could be XML driven and automatically populated. The
    easiest to maintain when
    comes to so much content.
    Best Regards
    Urami
    Beauty is in the eye of the beer holder...
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How can I save a pdf file on my ipad so I can view it later

    I want to be able to view a pdf file on my ipad when I do not have access to internet but I can't seem to save it on my ipad

    You need an app into which it can be saved. Download iBooks or Adobe Reader which are both free in the App Store, then you can save the PDF files into one of those apps. I prefer Adobe Reader because you can annotate, highlight, rename create folders, add your signature and do some other things that you cannot do with iBooks.
    After you download one of those apps, tap the PDF file in order to open it, than tap on the screen somewhere in order to make the sayer icon appear in the upper right corner. Tap the share icon and then select Open In iBooks or Adobe Reader from the resulting pop up window. That will save the file to the app.

  • How to Convert Doc or Docx File to HTML?

    Is there any API in java is avilbale to convert doc/docx into HTML?

    Mr Babakishiyev wrote:
    Not in the JDK.
    But you can use POI for working excel and doc filesBut not to fulfill the requirement.
    The only thing I can think of if you must use Java (which tends to not be the best choice when having to work with Microsoft file formats) is to see if the OpenOffice API can do what you need. But then get ready for some reading.

  • How and where do I go to edit HTML in iweb?

    How do I view iweb's html so that I can edit it? What do I need to do after I edit it? Thanks.Kelly

    You can add just about any type of html code, widget, or add-on to your iWeb site if you are willing to do a little post-publish editing.
    Basic Instructions are here:
    http://iweb.varkgirl.com
    (Click on the first "tip" link in the list)

  • Giving reference to XSL file in the XML file in Plumtree 5.0

    Hi,
    I need to display XML file in Plumtree context, the XML file depends on XSL file for formatting. In Plumtree context when I execute this XML file it fails to find that XSL file though I have given absolute path for that XSL file. It works fine when I execute the same outside Plumtree context. Please let me know how to give reference to XSL file in the XML so that it works fine in Plumtree context.
    Thanks in advance,
    With warm regards,
    Shivakumar

    though I have given absolute path for that XSL fileUsing absolute path is not a great idea. You can use use something like this (assuming xsl class in place where loader can reach one, for example, in WEB-INF/classes):
    InputStream baseXmlStream = this.getClass().getClassLoader().getResourceAsStream("AAA.xsl");
    You can access one through URL as well (in case XSL somewhere on image server, for example):
    url = new URL(imageServerURL + ".../AAA.xsl");
    conn = (HttpURLConnection) url.openConnection();
    int responseCode = conn.getResponseCode();
    if (responseCode != HttpURLConnection.HTTP_OK) { ...}
    baseXslStream = (InputStream) conn.getInputStream();
    ...

  • Indesign file to HTML

    How can convert 140 pages indesign file to HTML ?

    What is the purpose of this exercise? If all you want is raw html just export for Dreamweaver. Good luck with the mess you'll wind up with.
    With a document that large you should exporting small pieces.
    Bob

  • Problems Uploading a Pages file in html format including pictures to web pa

    I have problems uploading a Pages file in html format to a web page.
    The files itself is downloaded but the images are not. How can I upload a page file in html including the pictures or illustrations?

    I just bought a macbook as well as the iwork software. I am having a few problems. I am a student and when I try to print out documents (originally word documents) it puts them automatically into textedit instead of pages. Also, the pages get all screwed up, things are missing, etc. How do I make pages my default and do i need to export? import? or do something so that these documents show up perfectly in pages?
    A second questions- When i try to print out slideshows in keynote (originally from powerpoint) the handouts print on the little edge of the paper horizontally rather than the long way. I am hoping these are easy adjustments.
    I would appreciate any help anyone can give me.
    Thank you!

  • Converting PDF Files to Html or Xml

    how can i tranfrom the pdf file to html or xml using Acrobat's API? The software already have the function(http://tv.adobe.com/watch/learn-acrobat-x/converting-pdf-files-to-other-file-formats/). In C# ,I can use the acrobat's dll open the pdf file  and  can invoke the  MenuItem SaveAs;
    like this:
                AcroApp.Show();
                AcroAVDoc.Open(@"D:\xpdf\a.pdf","aaaa");
                AcroApp.MenuItemExecute("SaveAs");
                AcroApp.CloseAllDocs();
                AcroApp.Exit();
    But this is not automatic.

    Try the forum for Acrobat SDK.

  • How can I reference more than one jar file

    hi, In an applet, I use
    Archive = "foo.jar" to reference this jar file.
    But how can I reference more than one file?
    Thanks.

    Suggestion: spend a few minutes reading the tutorials.
    http://java.sun.com/docs/books/tutorial/applet/appletsonly/html.html
    You can specify multiple archive files by separating them with commas:
    <APPLET CODE="myapplet.class" ARCHIVE="file1, file2"     WIDTH=anInt HEIGHT=anInt>
    </APPLET>

  • How to reference a folder/file outside from project folder

    Hi All,
    I have two extensions which wants to share some code(files) placed in a folder outside from source directory.
    for a simple case see the below example.
    created a sample extension HelloWorld whose project structure are as follows
    HelloWorld
         ExtensionContents
              lib/CSInterface-4.0.0.js
              jsx/InDesign.jsx
              HelloWorld.jsx
              index.html.
    I have another folder say "sharedAssets" it contains two images "Orange.gif and pear.gif" which is at same location where HelloWorld and now folder structure becomes
    HelloWorld > ExtensionContents
    sharedAssets > Orange.gif
                             pear.gif
    I have added linked resource folder see the attached screenshot
    I have written following line of codes in index.html
    <body onLoad="onLoaded()">
    <div id="content">
      <ul>
      <li><img src="Orange.gif" width="42" height="42"/></li>
      <li><img src="shared/pear.gif"/></li>
      </ul>
    </div></body>
    but when I opened the extension then it failed to load Orange.gif and pear.gif,
    Please let me know how I could reference an image placed in a folder outside from project folder.
    Regards,
    Alam

    Hi Alam,
    I don't use Eclipse / EB myself so I can be of no help in the way you set an alternate location folder there.
    I've looked in the MXI reference but it seems there's no token equivalent to the "parent folder of all extensions" i.e.
    /Users/Davide/Library/Application\ Support/Adobe/CEPServiceManager4/extensions
    or whatever it will be in the future. This is where Extension Manager puts stuff when the MXI is something like:
    <file   source="HTML/com.example.helloworld.zxp"
            destination=""
            file-type="CSXS"
            products="Photoshop,Photoshop32,Photoshop64"
            minVersion="14.0" />
    that is, destination is blank, file-type is "CSXS".
    I've never tried to put there stuff other than ZXP - you can give it a try.
    An alternative escamotage could be to use an external folder, which path token exists both in MXI land *and* in (CSInterface or ExtendScript).
    That is, a place Extension Manager installs your shared content; which path can be reached from the panel or the JSX.
    As an example $userdatafolder/alam/shared in MXI, and Folder.userData/alam/shared in JSX, or SystemPath.USER_DATA/alam/shared in JS.
    There are other product specific tokens (Photoshop Script folder for instance) where you can put things into.
    Regards
    Davide Barranca
    www.davidebarranca.com
    www.cs-extensions.com

  • How to paste DTD in XML file. (not reference to .dtd file)

    Hello!
    I create XML file using DOM. How can I create DTD on the top of the file?
    I need the DTD, not a reference to it. So the next method won't work.
    transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, "Resources\\Settings\\projectFile.dtd") since it is paste a reference to .dtd file. It means that if user moves XML file to other place he need to move .dtd file also, and I don't want this method. I want paste next DTD
    <!DOCTYPE project [
                        <!ELEMENT project (component*) >
                        <!ELEMENT component ANY >
                        <!ATTLIST component id  ID  #REQUIRED >
    ]>from the .dtd file on the top of my XML file. How can I do this?
    Thank you.

    I've found that by opening a inputstream to the XML file and wrapping it to filter the DTD out altogether and passing that inputstream to JAXB does the trick.
    this seems actually faster, since it doesn't go off on the net to look for the dtd!
    is this not catered for already somewhere??
    thanks,

Maybe you are looking for

  • "Open Picture Window Fever" not working properly

    I've used "Open Picture Window Fever" successfully until recently. After adding the behavior, and viewing my page in a browser, the images do not open using "Fever." When I check the behavior specs to make sure the dimensions are there, "image name,

  • Accidentally Changed Primary Display to TV and Cant Revert

    I tried to hook up my TV as a secondary monitor in windows, but accidentally made it primary. Now my screen on my laptop shows nothing and has no icons. How do I revert back to making my laptop screen the primary monitor? I cannot locate the properti

  • Update termination in ME29N

    Hi All, I am getting an update termination mail to my sap mail box when I am trying to release one purchase order. " Error info... SO 451: Address <&> does not exist " (from mail) What might be the reasons? Thanks in advance jaison.

  • Should I remove the blue film on the battery of my brand new Pavilion 15 - n096sa laptop?

    Should I remove the blue film on the battery of my brand new Pavilion 15 - n096sa laptop?

  • PI Consume Restful Webservices

    Hi, I have scenario in which PI needs to consume Restful webservices. I am looking at HTTP receiver adapter in which I want to set appropreate action (POST, GET, PUT or DELETE) based on mapping. For example I want to DELETE purcahse order TXU-19282.