Inserting script into iWeb

Anyone know how I can insert a javascript command into my iWeb page? My teamspeak provider gives me a script,but I'm not sure how to insert it.

So it sounds like this code snippet will display something on the page. In that case, you will need to follow the "standard" steps to add external HTML code into your page. Here is a thread where I have gone through the process in steps. The thread is actually about adding an ad banner, but the steps and principles are the same: Reserve space on the page in iWeb, then find the space in the published HTML file and replace it with your code. Here's the link....
http://discussions.apple.com/thread.jspa?messageID=2446855&#2446855
If you have any questions, please don't hesitate to post them here. Good luck!

Similar Messages

  • Embedding scripts into iWeb pages (v 1.2.2)

    Quick question: How do I embed scripts into a iWeb blog page? I'm trying to embed this script...
    <script src="http://www.konami.jp/gs/kojimapro/mgs4bp/blogpartsen.js" type="text/javascript"></script>
    If you can explain an easy way to do it I'd appreciate it very much, thanks
    using iWeb 1.2.2

    Someone posted this in a forum thread:
    You can use a .js file in iWeb. The way I prefer doing it is creating an unadvertised/linked page on your site (named "javascripts", for example), and dragging the script onto that page. Then, on any other page containing the HTML to call the js, point it to ../javascripts_files/filename.js (in keeping with my example page name).

  • Inserting Pics into iWeb

    I have been assembling some portions of our bogl but am concerned about file sizes. We have a Nikon d70 and which has pretty large files when in fine mode. I pull them into iWeb from iPhoto with no postprocessing for size/res. It puts relatively small thumbnails but the slideshow files are pretty big (110-120kb).
    Do most people post process before inserting? I thought iWeb pretty much did all that for you to a set standard or does it base it on a percentage size reduction?
    Thanks
    IMAC EyeSight - 15" Powerbook g4   Mac OS X (10.4.5)  

    I have exactly the same problem - and I am on broadband although a fairly slow broadband. I have taken to reducing all my pictures to be posted to Jpegs. Or at least with me it would be only some - about 25% that would be pixellated. I never thought of asking someone with a higher broadband to test to see if OK for her/him.
    Hi - I have a related question. I'm just creating my
    first ever web site - it's only fairly simple for a
    small charity association - and using iWeb has been
    great for this because of its intuivity - is this a
    real word?
    But the only problem is that now the site is at last
    'up there' when I check out the the Photo pages
    neither the thumbnail pics or their fill size
    versions appear correctly - highly pixellated and
    unrecognisable. In fact they look as if they were
    imported at very very low res but in reality it's
    quite the opposite and I was actually worried that
    they could be too high res.
    I am not on Broadband, just a slow dial-up connectin
    - yet a friend with broadbad has just check my site
    and they come out great for him. Any ideas? Is it
    just that I am not on a higher speed connection? If
    so this will be a problem because many visitors to
    the site will be overseas with a slow connection
    also. I'm happy to re-configure my Photos pages with
    smaller images but could do with advice as to what
    would be the best image size and resolution to ensure
    success. Hope someone can help. Thanks.
    PowerBook G4   Mac OS X (10.4.6)
    Powerbook 17"   Mac OS X (10.4.7)  

  • Inserting Forms into iWeb

    Is there a way of inserting fill-in forms eg application forms into iWeb ?
    Or, can someone give me a solution for producing an application form, apart from having a pdf form to download ?
    Thanks
    Anton

    Yes. There are a couple of ways. 1 - use a 3rd party site like Wufoo to create the form and embed it into your iWeb page using the code from Wufoo and an HTML snippet. 2 - use Form Action code.
    The following demo page shows each method and the code used: Embedding Forms & Encoding Email Addresses.
    OT

  • Need Help inserting metatags into IWEB website.

    How do I insert HTML metatag code (description and keywords) into my IWEB website hosted by GoDaddy?

    As far as SEO is concerned, the title tag is the most important. The meta tag, or keywword tag, is not given much importance by Google anymore due to overuse and abuse but may be worth including for other search engines.
    The title tag can be added in iWeb but, since it is mostly useless without a meta description, its better to use the freeware iWeb SEO Tool to add this stuff...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Tags.html
    SEO Tool was updated recently. Get the latest version HERE.
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Insert script into PDF

    Hi,
    I' m developing a form that, when submitted, generate (using
    cfdocument) a PDF with the content of form fields and send it as
    attachment to an email that is sent to a specific mail adress.
    Now, my questions are:
    - there is a way to disable cut and paste on that generated
    PDF using only coldfusion?
    - there is a way to insert into generated PDF a script for
    the expiration of the document itself?
    Tnks for help
    p.s.
    I'm Using CFMX7.02 std.

    What you are describing should not be caused by the script, but the 
    best PDF placer script I've seen is Scott Zanelli's script here: http://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-i ndd-files.php
    Harbs

  • Insert script into html file

    Hello,
    I am using jdev 10.1.3. In my Project, I cannot add script to html file, because there is not any icon on the component paletta>html common.
    Also there is not any jsp page on the paletta too.
    Do you know anything about this issue? Am I change jdev release or is there anything that I can do on this release?

    this should work
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
    <%@ page language="java" contentType="text/html;charset=iso-8859-1"%>
    <html>
      <head>
        <title>TEST PAGE</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
        <meta http-equiv="Content-Script-Type" content="text/javascript"/>
        <meta http-equiv="Content-Style-Type" content="text/css"/>
        <script language="JavaScript" src="javascript/ClientFunktionen.js"></script>
      </head>
      <body>
        <h1>TEST</h1>
      </body>
    </html>If you don't use struts, remove the tablib entries.
    Timo

  • Help with jquery code into iweb

    Hello,
    I am new to inserting code into iweb and was wondering if it was possible to use code such as the jquery plugins into an iweb html snippet? i would like to create a simple image gallery such as the following link:
    http://malsup.com/jquery/cycle/lite/
    interested in the click transitions (fade in out), but instead of using the prev / next as the click triggers if it was possible to use "+" and signs
    i appreciate any help you guys may provide,
    grodr

    Yes, you can use JavaScript in the HTML Snippet. But it requires knowledge of HTML/CSS/JavaScript and how iWeb works.
    Anything you paste in the HTML Snippet is your responsibility. iWeb does not care whether it works or not. It happily publishes the stuff you paste.
    Read this article : [Using the iWeb HTML Snippet|http://www.wyodor.net/blog/archives/2009/07/entry_213.html]
    Follow the link in the article and read this sentence very very carefully:
    *Publish the page on the server and test it. Make sure it works. And test it again. And again. And again. No excuse.*
    And this : [How to display a remote picture in your iWeb page|http://www.wyodor.net/Tutorials/ImageWidget/ImageWidget.html]
    This pages uses it in the two slideshows :
    http://www.wyodor.net/_Demo/MyHouse/Huis.html
    And here it is explained how to create such slideshow :
    http://www.wyodor.net/iWebBlogTest/Wyodor_1/WebBanner.html
    And this topic :
    http://discussions.apple.com/thread.jspa?threadID=2351764&tstart=0

  • Errors when trying to INSERT Dreamweaver CS3 ASP scripts into MySql

    Greetings everyone,
    I am hoping that someone can shed some light on an issue I have not been able to solve in the last few days. I have a website that I had built using Ultradev, then MX then CS3, using the default ASP scripts in dreamweaver and an odbc connection to an Access Database. Everything had been working fine for the last couple of years until recently where more people were visiting my site which resulted in the slowness because i was using access. I decided to move to a MySql database and that is when I ran into issues. I was able to solve most everything accept for one issue I am having. I was hoping it would be an easy transition by changing the ODBC connections but it has not been that easy. Any page I have with an INSERT command using the default Dreamweaver CS3 ASP script results in an error. Now I can query and delete and search with no problem...it is just the INSERT that is giving me issues. Here is just a general insertion script that CS3 does by default....
    <%
    If (CStr(Request("MM_insert")) = "form1")Then
    If (Not MM_abortEdit) Then
    ' execute the insert
    Dim MM_editCmd
    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_adsdata_STRING
    MM_editCmd.CommandText = "INSERT INTO commenthot (yeshot, userhot) VALUES (?, ?)"
    MM_editCmd.Prepared = true
    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 2, 3, Request.Form("yeshotf")) ' adVarWChar
    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 3, 30, Request.Form("useridf")) ' adVarWChar
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close
    End If
    End If
    %>
    When I click to submit...the error i run into is...
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    [MySQL][ODBC 3.51 Driver][mysqld-5.0.67-community-nt-log]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' mel)' at line 1
    /fr/members/sexyoupasvote.asp, line 28
    ....Line 28 is the MM_editCmd.Execute. I notice if I put a single quotes around the ? next the the VALUE like this ('?', '?')...it does go through and the ? shows up in both fields as the data.
    ....If i put a single back quote around the column names like this (`yeshot`, `userhot`) VALUES (?, ?) I get this error and nothing gets inserted into the MySql.
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    [MySQL][ODBC 3.51 Driver][mysqld-5.0.67-community-nt-log]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' mel)' at line 1
    /fr/members/sexyoupasvote.asp, line 28
    ...by seeing 'mel)' show up, I know it is at least passing the data to that field.
    ....when I do (`yeshot`, `userhot`) VALUES ('?', '?')...
    it goes through and inserts ? ...instead of the real data I want to use...in this case ...the number 1 and Mel.
    ...if I do (yeshot, userhot) VALUES (?, '?')...
    I get this error...
    Microsoft OLE DB Provider for ODBC Drivers error '80040e21'
    Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    /fr/members/sexyoupasvote.asp, line 28
    ....any idea what to modify to make it insert the corect data? Has anyone experienced this? If I can get this fixed with just this page I can probablly fix the other pages that have teh same issue.  Is there a special setting on the MySql that I should know about to allow data to be inserted? Any help would GREATLY appreciated!
    Thank you!

    Thanks for your reply!
    When it was in Access...the datatype was Text. I used a 3rd party software to convert Assess directly to my hosting MySql server. When I logged in to see the table in MySql, it is set to Varchar(3) for yeshot and Varchar(30) for userhot. There is also an extra field I used for the KEY called commentID which is set to int(11) and it is autonumbered. Under the Collation i have utf8_general_ci set on the yeshot and userhot field. Null is No on both and the Default is set to None and all 3 fields.
    I have a form I am collecting that data from which is:
    <% If (langname.Fields.Item("langname").Value)="FR" Then
             response.write("OUI!")
             else
             response.write("YES!")
             End if %>
    <input name="yeshotf" type="radio" id="yeshotf" value="1" checked>                           
                                <span class="style10">
                                <input name="submit" type="submit" id="submit" value="VOTE!">
                                </span> -
    <input name="yeshotf" type="radio" id="yeshotf" value="2">
                                <% If (langname.Fields.Item("langname").Value)="FR" Then
             response.write("NON!")
             else
             response.write("NO!")
             End if %>
                                <input name="useridf" type="hidden" id="useridf" value="<%=(hotornot.Fields.Item("membername").Value)%>">
                                <input type="hidden" name="MM_insert" value="form1">
                              <input type="hidden" name="hdwfail" id="hdwfail" value="sexyoupasvote.asp?langname=<%=(langname.Fields.Item("langname").Value)%>&membernam e=<%=(hotornot.Fields.Item("membername").Value)%>&hdwmsg=invalid">
    </form>
    ....the form has 2 radio button and 1 hidden field where I collect the username. The radio value should either be a 1 or a 2 depending on the selection by the user. I also have a captha on the form but that does not seem the cause any problem since I am not collecting any data from it. Does this help? I left the yeshot field as Text but I can change that to Numeric data... again thanks for your assistance in helping me try to figure this out.
    ...The message I am getting now is:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    [MySQL][ODBC 3.51 Driver][mysqld-5.0.67-community-nt-log]Unknown column 'Babe1' in 'field list'
    /fr/members/sexyoupasvote.asp, line 28
    ....with this setting:
    <%
    If (CStr(Request("MM_insert")) = "form1") Then
      If (Not MM_abortEdit) Then
        ' execute the insert
        Dim MM_editCmd
        Set MM_editCmd = Server.CreateObject ("ADODB.Command")
        MM_editCmd.ActiveConnection = MM_adsdata_STRING
        MM_editCmd.CommandText = "INSERT INTO dsnrenms.commenthot (yeshot, userhot) VALUES (?, ?)"
        MM_editCmd.Prepared = true
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 1, 3, Request.Form("yeshotf")) ' adVarWChar
        MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 1, 30, Request.Form("useridf")) ' adVarWChar
        MM_editCmd.Execute
        MM_editCmd.ActiveConnection.Close
      End If
    End If
    %>

  • Flex application works locally, fails when online (connecting to PHP script to insert row into DB)

    Hi everyone,
    I've got a Flex application that works wonderfully when I test it on my machine locally. It uploads files and send variables to a PHP script (that inserts them into a DB) with no errors when I run it locally. As soon as I put it online, the upload continues to work but something between my Flex application and the PHP script fails because no data is committed to the DB. I know the PHP script works fine - not only does it work when I run the Flex application locally but when I go directly to the PHP file online, a new empty line is added to the DB.
    I initially thought that this was a cross domain issue so I added the following to the root of my hosted account:
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    <allow-access-from domain="*.MYURL"/>
    <allow-http-request-headers-from domain="*.MYURL" headers="*" secure="false"/>
    </cross-domain-policy>
    I based this off of what I found online which seems to have done nothing for me. I'd also be happy to provide an error message but I don't get one when I debug.
    Any thoughts would be greatly appreciated.

    Use a network monitor to see if the Flex app is truly requesting the right URL.
    -Alex

  • Inserting a Form Created in CoffeeCup Form Designer into iWeb...

    Hi all,
    I created a web form in CoffeeCup's Flash Form creator (on my PC). The end result is 7 files and a section of code. I presume that I can insert the code as a snippet (I have version '08) but I'm unsure as to where to put the 7 associated files. In addition, this site is hosted on Go Daddy, not .Mac. Any tips on where/how in the folder architecture on my Mac to place the 7 files generated by CoffeeCup and does anyone know if there's anything funky I need to do to post this all to Go Daddy... Thanks in advance for any advice...

    Yes, you can enter the Html code as a snippet, however, as far as I know you have wasted your time creating 7 pages with coffee cup as you will not be able to merge them into iWeb. Others have asked this same question and I don't think it is possible to merge web sites or pages created with other web site packages such as Dreamweaver into iWeb. You can't import in that way.
    You will either need to use iWeb or coffee cup, but not both.
    Use an ftp client to upload to GoDaddy. There are many - Fetch, Cyberduck or Transmit. You can do this in iWeb too.

  • How come I can't see my web gallery to insert into iWeb?

    G'day people
    I have several web galleries and want to insert them into a web page I'm creating with iWeb '08.
    However, when I go to "Insert -> .Mac Web Gallery" it tells me that there are none! I have a .Mac account which is set-up and accessible without any problem when I'm iPhoto. The .Mac account I am using in iWeb is the same as the .Mac account in iPhoto so I can't figure this one out.
    Any idea?
    Cheers
    Al

    The reason they don't appear is because the galleries are password protected.It's not a bug, it's a feature!

  • Inserting MobileMe Videos into IWeb

    I have three questions about inserting MobileMe Videos into iweb.
    1) I used the "insert from MobileMe" command in iWeb and it allows me to insert a video but I can't change the size of the video. Do you know how I can change the size.
    2) I have some movies I have uploaded to the gallery via iMovie and some I uploaded via the mobileme site. The ones via iMovie I can easily insert like I mentioned in Q1 but the others I uploaded are put into an album and iWeb doesn't allow me to select the video I want to insert. It only allows me to insert the whole album which is a small box with links to the album. I want to choose the video to insert into the page. Any ideas How?
    3) Is there a way to insert the video from mobileme using the Html Snippet? If so, how?
    Thanks
    Neil

    3) Is there a way to insert the video from mobileme using the Html Snippet? If so, how?
    You can use the [OBJECT/EMBED|http://htmlhelp.com/reference/html40/special/object.html] code for inserting media in a page.
    When you know the location of the movie you can create a path to it.
    Your webgallery is in iDisk>Web>Sites>_gallery>100999>Movie.
    [Here's a post that might be helpful.|http://discussions.apple.com/thread.jspa?messageID=7735467&#7735467]
    And here you find sample code you may need:
    http://www.wyodor.net/MoreEmbed/
    +Page is a new design to display all media types in one section.+
    And still more here: http://www.wyodor.net/iFrame/

  • Inserting Script code into HTML - possibly using snippets?

    I am using Robohelp 7 and I need to insert some tracking script code into the HTML.
    The location needs to be right before the body close code.
    I have multiple pages and would love to use a snippet so that it would be easy to update as necessary.
    When I create the snippet code and drop it on the design page, it shows the code.
    I cannot get it to drop into the HTML.  Any suggestions?
    If it can't be done with snippets, is there a way to mass import code into the HTML of ALL pages?  I'm talking hundreds of pages.

    Hi there
    I doubt you will want to use snippets for this. Why? Well, if you use Snippets, you will need to edit all your pages so they include the snippet!
    So here's how I might approach it.
    Open the Project Set-up pod. Create a Topic Template. Inside the Template, add a Footer. Insert the script into the footer. Save the template and apply it to all your topics. You do this by selecting all topics in the Topic List pod, right-clicking them and choosing the Template. Whoosh! The template is associated and all topics now have a footer (with the script inside).
    Hopefully this helps... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Insert variables from script into HTTPService url

    I'm trying to insert values from script into a HTTPService
    url. How do I go about doing this? I tried the code below, but it
    gives an error. Can anybody help?
    <mx:HTTPService
    id="httpCall"
    url="
    http://api.service.com/user/{userName}/list?count={apiCount}&offset={(apiOffset)}&sort={ap iSort}&appkey=1234"
    resultFormat="e4x"
    result="callHandler(event);"
    fault="httpFaultHandler(event);"
    showBusyCursor="true"
    />
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var userName:String = "myName";
    private var apiCount:uint = 10;
    private var apiOffset:uint = 0;
    private var apiSort:String = "desc";

    Set the HTTPService properties in an AS function.
    <mx:HTTPService id="httpCall" resultFormat="e4x" ...
    result="callHandler(event);" ...../>
    private function getUserData():void
    var sURL:String = "
    http://api.service.com/user/"
    _ userName + "/list:;
    var oRequest:Object = {count:apiCount,offset:apiOffset,
    sort:apiSort, appkey:"1234" }
    httpCall.url = sURL;
    httpCall.send(oRequest);
    Tracy

Maybe you are looking for

  • Itunes folder on external drive keeps reverting back to local iTunes folder

    So I have all my digital music,pictures and videos stored on an external drive. I have 3 different MBP acessing these files and itunes randomely reverts back to the default local itunes folder and then I have to change and organize all over again whi

  • Xi file to rfc scenario

    hi, I have to pass an excel file from  server pass , all the contents and name(both are changing everyday) as a string to a filed of wrapper ZRFC(bapi ),based on return code of zrfc (return code for error )it will shoot mail to concerned person

  • Problem with a process chain transport

    Hi all,   I have a problem with a process chain transport, I transport it but when I see the changes in testing environment I don’t see it, I did it four times but nothing happen and I don’t have errors.   Can anybody tell me how to transport a proce

  • [solved] build files.tar.gz

    Hi, how can I build the files.tar.gz for pkgbuild for my own repository? Regards, Andrwe Last edited by Andrwe (2010-02-19 18:21:03)

  • Printing pdf from my Mac pdf from my Mac

    I have Adobe Reader and SendNow. What do I need to print a pdf?