Html snippet not working; created from Taco html edit Component Library

Ok, I've searched for days on the discussion board for the answer to this one..... hopefully someone can give me a couple of pointers....
I have a component created from Taco html edit Component Library that I cannot get to work as an inserted snippet into iWeb 3.0.2.
Why can't I get this to work? I've seen first hand that they work on someone else's website that she constructs in html directly, not using iWeb. Any help greatly appreciated.
Taco created three files. They are:
TSWAccordion.css
TSWDomUtils.js
TSWAccordion.js
Here is the code:
<html>
<head>
<title></title>
<script type="text/javascript" src="Scripts/TSWAccordion.js"></script>
<script type="text/javascript" src="Scripts/TSWDomUtils.js"></script>
<link rel="stylesheet" type="text/css" href="Scripts/TSWAccordion.css" />
<!-- BEGIN COMPONENT Accordion - Taco HTML Edit -->
<style type="text/css">
#myAccordion.tswAccordion
width: 200px;
height: 400px;
background-color: #f0f0f0;
#myAccordion .tswAccordionActiveSection, #myAccordion .tswAccordionInactiveSection
background-color: #f0f0f0;
width: 100%;
height: 400px;
#myAccordion .tswAccordionHeader
text-align: center;
padding: 2px;
font-family: Verdana;
font-size: 16.0px;
#myAccordion .tswAccordionActiveSection .tswAccordionHeader
background-color: #7086aa;
color: #ffffff;
border: 1px solid #cccccc;
#myAccordion .tswAccordionInactiveSection .tswAccordionHeader
background-color: #f0f0f0;
color: #000000;
border: 1px solid #cccccc;
#myAccordion .tswAccordionHeader
#myAccordion .tswAccordionBody
padding: 5px;
</style>
<!-- END COMPONENT Accordion - Taco HTML Edit -->
</head>
<body>
<!-- BEGIN COMPONENT Accordion - Taco HTML Edit -->
Title 1
<!--Content for section 1-->
Title 2
<!--Content for section 2-->
Title 3
<!--Content for section 3-->
<script type="text/javascript">
var accordion = tswAccordionGetForId('myAccordion');
</script>
<!-- END COMPONENT Accordion - Taco HTML Edit -->
</body>
</html>

You need to upload these three files in a folder to the root folder on your server:
TSWAccordion.css
TSWDomUtils.js
TSWAccordion.js
The folder cannot be named "Scripts" as shown in your code as you already have one of that name.
Say it is named "Accordion". You then need to give the absolute URL to these files rather than the relative one shown in the code....
http://www.yourdomainname.com/Accordion/TSWAccordion.css
http://www.yourdomainname.com/Accordion/TSWDomUtils.js
http://www.yourdomainname.com/Accordion/TSWAccordion.js

Similar Messages

  • HTML snippet not working

    I have multiple sites that I've created with iWeb and have used the program for years. However, in an attempt to update one of my sites I encountered a road block. I was trying to embed html from my Vimeo site using the html snippet function but the regular html snippet window was not present, (i.e. no gray window to place code, no apply button. Just a blank white box). When I do copy the code it just sits on the page like text.
    I've re-installed iWeb but the same scenario is occurring.
    Thank you,
    C

    Welcome to the Apple Discussions. Try the following:
    1 - close iWeb.
    2 - delete the iWeb preference file, com.apple.iWeb.plist, that resides in your Home/Library/Preferences folder.
    3 - go to your Home/Library/Caches/com.apple.iWeb folder and delete the contents.
    4 - reboot.
    5 - launch iWeb and try again.
    OT

  • IWeb HTML Snippet NOT WORKING.

    Hello!
    Whenever I open iWeb and try to insert HTML Snippet, the proper HTML rectangle that has < H T M L > and a map of the world in the background appears, just like that. No edit box has appeared. When I double click it, a blue outline appears, but still no edit box to insert the HTML code into.
    I've tried removing com.apple.iWeb.plist and also com.apple.iapp.plist or something along those lines, and also removing the iWeb folder from Caches, and nothing has worked.
    I'm using iWeb 2.0.4, obviously.

    Did you purchase iLife 09 in your attempt to upgrade to iWeb 3? If not that's why you couldn't run any of the iWeb 3 updaters. You have to have iWeb 3.0 installed from the iLife disk installed.
    What was unsuccessful about trying to reinstall iWeb 2? Did you delete all receipts with iWeb in the file name located in the HD/Library/Receipts folder before reinstalling iWeb? If no, delete them and the application and reinstall.
    OT

  • IWeb HTML Snippet not working!Help!

    I am new to building a website but understand where to copy and paste the HTML code to and from. However, everything I have tried will not work in the HTML Snippet.  I have spent 6 hours trying to find a way to get it to work. Suggestions???

    Anything from Youtube, Vimeo and other sites. Below is one of the Youtube embedded codes.
    <iframe width="420" height="315" src="//www.youtube.com/embed/kCZqyWw2--M?rel=0" frameborder="0" allowfullscreen></iframe>
    This is the "old" code for the below video.
    <object width="420" height="315"><param name="movie" value="//www.youtube.com/v/kCZqyWw2--M?version=3&amp;hl=en_US&amp;rel=0"></para m><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/kCZqyWw2--M?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
    Neither of these will work. The "old" code will make my html box turn white but nothing else happens.
    Any suggestions?

  • HTML Snippets not working for most browsers

    I have a page with a flash movie in the background, which uses the following code in an HTML snippet:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#v ersion=6,0,40,0"
    WIDTH="602" HEIGHT="420" id="BGAnimation">
    <PARAM NAME=movie VALUE="BGAnimation">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=base VALUE=".">
    <EMBED src="http://www.site.com/somefile" quality=high WIDTH="600" HEIGHT="420"
    NAME="BG Animation" ALIGN="" TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" base=".">
    </EMBED>
    </OBJECT>
    On top of that, I have 3 other snippets, which are buttons, and are coded as follows:
    <script type="text/javascript">
    function mouseOver()
    {document.rolloverone.src="rolloverpicture.png"}
    function mouseOut(){
    document.rolloverone.src="offpicture.png"}
    </">
    Of course the locations and file names have been changed, because I can't actually show people the site yet. Anyhow, it all works fine on my computer, in both Safari and Firefox, but tests on Windows computers and older macs have not been successful. The buttons are behind the flash movie (therefore invisible), or they block out part of the Flash movie, depending on which browser is used.
    I should mention two more things: I have done tests where the buttons were placed off to the side of the flash movie, rather than on top of it, and the buttons looked and worked fine in all browsers.
    Also, the PNG files used for the buttons are partly transparent, so you should be able to see the Flash movie below them, even the part of it that falls inside the boundaries of the button.
    I have a feeling the whole "HTML Snippet" thing is not fully compatible, or they just don't like to be stacked on top of each other or something. Does anyone know how to fix this?
    Any help is greatly appreciated. My last million questions have all received helpful answers here. This is a great forum!
    Message was edited by: hum_bucker
    Message was edited by: hum_bucker
    Message was edited by: hum_bucker

    The following codes for mouse rollover effect that I use in this demo page, Mouse Rollover & Animated Gifs, work with Firefox 3.5, Opera and OmniWeb.
    <xmp>
    <blockquote style="padding-left: 50px;"><A HREF="URL to this page"
    onmouseover="document.sub_but.src='URL to rollover image"
    onmouseout="document.sub_but.src='URL to original image" >
    < IMG SRC="URL to original image" WIDTH="100" BORDER="0" ALT="Move your mouse over me" NAME="sub_but">
    < /A></blockquote>
    <blockquote style="padding-left: 50px;"><script type="text/javascript">
    function mouseOver()
    {document.rollover_one.src="URL to rollover image"}
    function mouseOut(){
    document.rollover_one.src="URL to original image"}
    </script>
    <a href="http://link.com">
    <img alt="Link Title" src="URL to original image"} name="rollover_one" width="100" height="" onmouseover="mouseOver()" onmouseout="mouseOut()" style="border: none;"/></a></blockquote>
    </xmp> *(Ignore the <xmp></xmp> tags when copying)*
    Can't help you with the flash movie.
    OT

  • Adding my google map via HTML snippet not working

    I have made my own site where I added a google map. It has worked for some time (oddly enough only for people who use browsers other than explorer), but recently is not functioning right.
    I can embed my google map using the HTML snippet function and it seems to work fine. But when I go to the site I see a picture of the google map, but it is not interective and all the info I have added is not there.
    I have to say that iweb is really querkey. I had to tell it at least 7 times to connect to a different file and each time it connects to an old file. in the end the entire page had to be rebilt before it understood what I was asking it to do.
    It would be nice if it just worked the way it is advertised to work.

    IT seems to work now. I just had to let it think for half a day.
    Thanks anyway.

  • IWeb HTML Snippets not working in Explorer

    I made some HTML snippets to show a web page inside my own similar the way frames, which works great. But they don't work when brought up in Internet Explorer on a PC. Anyone know what the problem might be.

    Same problem. They work fine with Safari and Firefox.
    I am still trying to solve it.

  • Facebook like BOX html snippet not working

    Hi All,
    Somehting is driving me crazy - I can't seem to add a like BOX to my Iweb page - no problem with the like button, bu I want to use the box because it shows my stream. Facebook generates three codes HTML5, XFBML and Iframe and none of them work... the snippet stays empty and blank.....
    This is the code that is generated by facebook:
    <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com% 2Fpages%2Fstarfish%2F88301317903&amp;width=292&amp;colorscheme=light&amp;show_fa ces=false&amp;border_color&amp;stream=true&amp;header=false&amp;height=395" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:395px;" allowTransparency="true"></iframe>
    converting my URL to the following code (as I have seen elsewhere in the forum) is not working... like this:
    <iframe src="//www.facebook.com/plugins/likebox.php?href=http://www.facebook.com/pages/starfish/88301317903&width=292&colorscheme=light&s how_faces=false&border_color&stream=true&header=false&height=395" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:395px;" allowTransparency="true"></iframe>
    All help is much appreciated!

    There are errors in both your original facebook code and the new version you created. Try this...
    <iframe src="http://www.facebook.com/plugins/likebox.php?href=http://www.facebook.com/pages/s tarfish/88301317903&width=292&colorscheme=light&show_fa ces=false&amp;border_color&amp;stream=true&amp;header=false&amp;height=395" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:395px;" allowTransparency="true"></iframe>

  • Home button in HTML Help Not Working

    My Home button in HTML Help Not Working.
    Also the Home option from the Options menu does not work. I receive the "This program cannot display the webpage" error.
    I have the correct file name (titlepg.htm) in the Advanced Windows Ptoperties "Default" field and the "Home" field. However, I still receive the "This program cannot display the webpage" error.
    How can I correct this situation? Thanks, your help is appreciated!

    Can you post a couple of screen captures please?
    One where you show the Project Explorer with the desired topic in view. Another where you show the dialog where you specify the Home page destination.
    Another thing you may wish to try is to define a totally new window, assign the values there and ensure you point to the window in the Single Source Layout recipe.
    Oh, and one other thing. Are you using RoboHelp HTML or RoboHelp for Word?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • SSO is not working for SAPGUI for HTML

    Hi Experts,
    We have configured SSO between EP and ECC.SSO is working fine for SAPGUI for windows.But it is not working for SAPGUI for HTML.
    Workflow iViews are getting error.
    "SWITCH to HTTPS does not occur."
    The domain names are different for EP and ECC.
    Please let me know ,is there any settings need to check.
    Regards,
    Bala.

    Hi
    The point here is that your Portal server is on a different domain, so you have to configure the logon ticket issuer (portal) to generate logon ticket for multiple domains.
    http://help.sap.com/saphelp_nw04s/helpdata/en/a0/88a340fa432b54e10000000a1550b0/frameset.htm
    Best regards
    Johann

  • Reservation not getting created from shopping cart for stores order.

    Hi experts,
    Reservation not getting created from shopping cart for stores order,process used is some custom BADI.Extended classic scenario is the procrss .
    Please help me
    Thanks in  advance.

    Hello,
    please check below wiki:
    Determination of the follow-on document type
    Regards.
    Laurent.

  • Dc7700, window7, machine speaker not working. migrating from window xp to 7

    dc7700, window7, machine speaker not working. migrating from window xp to 7

    Hi:
    Just download and install the latest Realtek HD audio driver from the Realtek site.
    Accept the agreement. Download and install either the first or second driver on the list depending on whether you installed the 32 or 64 bit version of W7.
    http://www.realtek.com.tw/downloads/downloadsView.​aspx?Langid=1&PNid=24&PFid=24&Level=4&Conn=3&DownT​...
    Paul

  • MOVED: MSI Live Update not working Windows XP Professional 64bit Edition!!!

    This topic has been moved to Operating Systems.
    MSI Live Update not working Windows XP Professional 64bit Edition!!!

    Thank you so much. I just want to say I really appreciate when people do take the time to post me in return. So I really mean it, Thank You.
    A quick question. You see, I have been upgrading my computer. I installed a Belkin USB USB Card (high speed 2.0) cause I needed more USB ports. Then I checked for compatable RAM and upgraded my RAM from 512MB to 2Gigs. Everything alright.
    Now, I have checked for processors that are compatable with my board K9VGM-V (MS-7253). And MSI's chart says mine is compatable with the AMD Athlon 2x 6000 (3.0Ghz) *IF* I use the 89 watt and not the 125 watt. Here is a good URL for the processor details I found:
    http://www.cpu-world.com/CPUs/K8/AMD-Athlon%2064%20X2%206000+%20-%20ADA6000IAA6CZ%20(ADA6000CZBOX).html
    Now do you have any tips and I will probably have to flash to BIOS for sure after this upgrade won't I?

  • Can't connect to websites with any browser. Bookmarks do not work but bookmarks  through bookmarks edit works just fine.

    Can't connect to websites with any browser. Bookmarks do not work but bookmarks  through bookmarks edit works just fine.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Why is elements 12 not working with OS 10  yosemite  Editing tools aren't working like they used to.????

    Can someone tell my why Elements 12 photo editing tools wont work with OS 10 Yosemite?

    duplicate, see:
    why is elements 12 not working with OS 10  yosemite  Editing tools aren't working like they used to.????

Maybe you are looking for

  • Problems with the administration of users in BI 11G

    HELLO EXPERTS The problem presented is as follows, I am managing my BI users from weblogic, I have created groups and application roles, users, and roles were assigned roles and groups were assigned the income groups in each of the dash board that I

  • Shipping condition in PO

    Hello When manually adding a line to a plant to plant PO (created from purreqs), the shipping condition on the additional line is sometimes showing 'DO' and not EX. This issue causes the delivery to split, with one delivery interfacing with WMS and o

  • SAP DEMO Database for SAP b1 Version for HANA

    I was wondering if anyone can Help. I have installed the SBODEMO database on SAP B1 version for SAP Hana. V9.0 PL4 and then upgraded to PL9HF (901.00 to 902.001) the SBOCOMMON upgraded ok but SBODEMO database failed on the pre upgrade checks with "Pa

  • Order releated billing

    Dear all, I need to generate Order related billing ,,i did in Item category......as B,C.. but i cant able to generate the order related Billing. Regards raj.

  • Finding latest entry in Memo field

    I have a memo log with entries that are constantly updated but I do not want to show the whole memo log --- only the last or the first dated entry. Is there a formula that can help me capture this last or first entry?