IWeb to Dreamweaver II: JS Question

I'm using Dreamweaver to publish a website created in iWeb to a Linux server and am having a problem with some JavaScript-driven audio files.
Consider the following code:
<div id="id9" style="height: 68px; left: 161px; position: absolute; top: 380px; width: 144px; z-index: 1; " class="style_SkipStroke_2">
              <div class="text-content graphic_textbox_layout_style_default_External_144_68" style="padding: 0px; ">
                <div class="graphic_textbox_layout_style_default">
                  <p style="padding-top: 0pt; " class="Free_Form">E Morio<br /></p>
                  <p class="Free_Form">Traditional<br /></p>
                  <p style="padding-bottom: 0pt; " class="Free_Form">Lyrics By Gilberto Gil</p>
                </div>
              </div>
            </div>
            <div style="height: 120px; left: 45px; position: absolute; top: 532px; width: 102px; z-index: 1; ">
              <img style="height: 104px; width: 102px; " src="Music_files/sambatuquecoverart_3.jpg" />
              <script type="text/javascript"><!--
writeMovie4();
--></script>
            </div>
This is the relevant code from the associated JS file:
function writeMovie3()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id8" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="102" height="16"><param name="src" value="Media/06%20E%20Morio.mov" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id8" type="video/quicktime" width="102" height="16"><param name="src" value="Media/06%20E%20Morio.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id8" type="video/quicktime" width="102" height="16" data="Media/06%20E%20Morio.mov"><param name="src" value="Media/06%20E%20Morio.mov"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
In a folder named Media is the file 06 E Morio.mov.
When I view the page Music.html locally, I see the standard graphic that's displayed with audio files - a horizontal, metallic-colored thing with a button you can push to start the audio and a little button that slowly moves to the right until the song is finished. But when I view the page online, I don't see anything.
I tried renaming the audio file to 06_E_Morio.mov (replacing spaces with underscores), then replaced every instance of %20 in the JS file code with an underscore as well. But that killed it locally.
I had a lot of problems with links that included capital letters and therefore didn't match with images or JS files that were all lower case. Thus, I'm guessing this problem has to do with either some value that should or should not have a capital letter and/or a space issue - either I need to replace %20 with underscores, or I need to insert underscores in the names of the audio files, etc.
Can anyone offer any suggestions?
Thank you.

Wow, I wasn't expecting nearly so simple a solution. I can't believe that's the first time I've ever inserted an audio file. And it's so much simpler than the JavaScript method, I wonder why iWeb uses JS in the first place.
However, I still have one problem. I don't want any of the audio files to play when the page loads. According to the instructions, the solution is to set AutoPlay to False. So I did that, but it doesn't work. I change False to false (lower case), then changed AutoPlaly to autoplay, but nothing works.
Do you have any idea what I'm doing wrong?
<embed src="/Media/06 E Morio.mov?autoplay=false" width="100" height="32"></embed>
Also, I should have mentioned that the web page created in iWeb is written in XML, though I don't know if that has any bearing on my question.
Thanks.

Similar Messages

  • IWeb to Dreamweaver

    I agreed to host a website for a friend who's new to web design. She designed the site in iWeb. When she had trouble publishing it, I downloaded her site to my computer, then published it with Dreamweaver - and it blew up in my face.
    Actually, the site seems to work OK now that we've got the pages in the right location (in the public_html folder and NOT in the folder "MySite.com"). The problem is that all the images, JS and CSS files have lowercase names, but the links all began with capital letters. So I simply changed the links to lower case, and that fixed the problem.
    But I'd like to understand what's going on here. Is iWeb case insensitive, which means trouble when you publish it to a Linux server? Or is it possible that the code was somehow altered when I imported it into Dreamweaver?
    I forgot to mention that some of the files contain spaces that were filled with %20 in the code. I fixed them by replacing every instance of %20 with an underscore. Anyway, I wondered if anyone might be able to suggest what the overall problem is here. My guess is that iWeb is simply case insensitive and tolerant of %20, whereas Linux servers are more particular.
    Another question: Many of the images are surrounded by attractive white borders with scalloped images on my computer - but these borders don't appear online. Each image is contained by a div that looks like this:
    <div style="height: 300px; width: 225px;  height: 300px; left: 446px; position: absolute; top: 134px; width: 225px; z-index: 1; " class="tinyText style_SkipStroke_3 stroke_0">
    I discovered that the scalloped borders disappear if I delete this: class="tinyText style_SkipStroke_3 stroke_0"
    But I don't understand exactly what it is. I don't see any class named "tinyText," "style_SkipStroke_3" or "stroke_0" in the associated CSS files. This does look vaguely familiar to me, but I can't remember exactly what sort of technology/program/language this is.
    Anyway, can anyone suggest how these scalloped borders are generated and why they don't appear online?
    I have another, more complicated JS question that I'll ask in a separate thread.
    Thanks!

    Hi
    The %20 is caused by iWeb pages being imported into Dreamweaver as utf-8, but should not cause any problems in normal text just in links.
    The lack of border styles may be caused by missing javascript or image files, or that this style of border is css3 which is implemented in Safari and now in Firefox, (can be emulated using javascript), without seeing the code for the class I cannot help further although the fact it is being used in an absolute positioned element does point to it being javascript/image generated.
    The class may be in the javascript file not the css.
    PZ
    www.pziecina.com

  • A few Dreamweaver CS 4 questions

    hello,
    I have Dreamweaver CS 4 on a computer that is currently not connected to the internet. My question is: is it feasable to code on dreamweaver on this computer, or will I run into problems if I do not update it? The kind of problems I am worried about is perhaps new tags and html/css rules not being in my dreamweave because It has not been updated in a long time.
    Also, If it is the case that with my current set up, coding will be a problem due to my dreamweaver information being out of date, would getting connected to the internet and getting updates indeed fix this problem? or does adobe make it so that the only way I can get support for the latest web standards, latest tags, etc, is to buy dreamweaver cs 5.5?
    Thanks for the help!

    The kind of problems I am worried about is perhaps new tags and html/css rules not being in my dreamweave because It has not been updated in a long time.
    Adobe offers a free extension to add HTML5 (and other) code hinting to CS4.
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2188522
    There's no way of knowing if CS5.5 would improve anything for you without knowing the kind of web work you do.
    I upgraded from CS4 to CS5 primarily to avoid a PITA (select root folder) bug in CS4 which kept tripping me up (has never been patched by Adobe in CS4 but is fixed in CS5+)
    http://kb2.adobe.com/cps/532/cpsid_53267.html

  • IWeb and Dreamweaver

    Since it seems iWeb doesn't support Flash animations, I'd like to use Dreamweaver 8/Flash 8 as part of the Web-publishing workflow.
    However, much like the Contribute thread, it doesn't seem to be very straightforward, and my suspicion is the index.html file that is created with iWeb (and HomePage).
    Can anyone tell me how to properly use Dreamweaver once an iWeb site is published?

    Scott
    I may be wrong, but if my memory serves my correctly, there were some threads about using flash created in iWork (Keynotes I think).
    I have no idea if this will meet your requirements, but I am sure that there were some sample sites posted.
    Just turned up this thread: http://discussions.apple.com/thread.jspa?messageID=1667896&#1667896
    Will

  • Product updates for iweb 06, and a quick question

    I have recently purchased iweb 08 and found that my customers cannot access the website properly and are having issues with IE and freezing - never had this problem with o6 so I'm going back to it.
    I've re-installed my Iweb06 from the original disks, just wondered how I can get the latest version of 06, as each time I click check for updates it asks me if I want to upgrade to Iweb08
    the other question is this, I know I was able to click duplicate site or page, on Iweb 06 but cannot seem to do this with the version 1.0.0 is this is a later update
    I get the same with iphoto, which I've also got back to, as again having issues with accessign photos uploaded
    Message was edited by: baydreaner
    Message was edited by: baydreaner

    you can also use Lostify to do more advanced tag editing... like add MPAA ratings, etc... just be aware that it takes a long time to process a video file. first time i used it, i thought the app was crashing, turns out it actually has to read and write the whole file over again.

  • IWeb ignores Dreamweaver templates. do we just need to ban IWeb users?

    Just did a new site in Dreamweaver. Then a guy came in with iWeb and mangled it. iWeb completely ignores the template tags in the file. the web pages were damaged.
    Do we just need to ban cheap programs like iWeb that hide the HTML to make it "user friendly"? Seems iWeb is creating a proprietary format template to make everyone use iWeb.

    I have to agree with Tom here. It is impossible for iWeb to do this to a site created in Dreamweaver. iWeb cannot open a site such as this, as it is not an html editor and cannot import any site created in any other program. It is impossible for your web pages to be damaged by iWeb as iWeb as a program cannot open your Dreamweaver site. In iWeb, the html code is only created when the site is published either to a MobileMe account or to a folder.
    All I can say is that if you don't like iWeb then don't use it. This forum is for iWeb users not Dreamweaver users. Surely there must be forums around for people that use Dreamweaver?

  • Photoshop CS3 to Dreamweaver CS3 CSS question

    Hi all,
    I am sorry if this is allready dicussed a couple of times.I did a search and just could not find it. When I export a site from Photoshop CS3 to DIV (generate CSS by ID) it is aligned to the left and all DIV's have a specific position on the page. How can I get my site to center in Dreamweaver CS3 without having to adjust al separate DIV's?
    For Example: When I export from Photoshop all slices are exported as folowed.
    #Table_01 {
    position:absolute;
    left:auto;
    top:0px;
    width:832px;
    height:562px;
    right: auto;
    #test-13 {
    position:absolute;
    left:275px;
    top:26px;
    width:9px;
    height:189px;
    #test-14 {
    position:absolute;
    left:284px;
    top:26px;
    width:128px;
    height:98px;
    I know how to make a DIV center (with Margin auto left and right) but I do not know how to center all DIV's at once.
    I hope you are willing to help me with this. In case you have more questions let me know.

    The answer is to not let Photoshop write either your HTML or your CSS for you.  What you show is a disaster waiting to happen, really, and is characteristic of the kind of mess produced by any wizard that writes HTML based on a graphic layout.  Use your graphics editors to produce your graphics.  Build your page in DW.  It's a much better way to go.
    I know how to make a DIV center (with Margin auto left and right) but I do not know how to center all DIV's at once.
    I hope you are willing to help me with this. In case you have more questions let me know.
    Leaving your page with all absolutely positioned elements is really asking for trouble, but here's how to make them all center at once -
    Change this -
    </head>
    to this -
    <style type="text/css">
    #wrapper { width:760px; margin:0 auto;position:relative; }
    /* 760px will display on an 800px screen maximized browser window without */
    /* horizontal scrollbars. Change as needed */
    </style>
    </head>
    change this -
    <body ...>
    (the ellipsis represents any other attributes that might be mentioned in the body tag, and SHOULD NOT BE INCLUDED EXPLICITLY!)
    to this -
    <body ...>
    <div id="wrapper">
    and this -
    </body>
    to this -
      <!-- /wrapper -->
    </div>
    </body>
    and see if that helps.

  • Need search & replace help dreamweaver 2006 (complicated question)

    Hello:
    if somebody could help with this I'd really appreciate it
    ....I have a site with tons of two word dir names word1_word2 a few are 3 word - there are a few images with this also (same as the dir names)
    I generate the site with the dir names in the metatage (discription and keywords) and at various places in the pages
    after building it I search and replace _ to space with dreamweaver (option not in any tag) so this kills the _ where ever it's visable but leaves it in img src and alt tags ect but most important leaves in metas where it looks like heck and I don't wan't it
    I've tired Everything in dreamweaver to search it out of metas and can't - I can live with it in alt img ect but rather not
    basic question"
    (is there a regex to leave _ only in hrefs & css styles and replace with space Everywhere else - if not remove in all visable text & metatags)
    beter yet can I do this with options in dreamweaver search & replace - 2 steps is ok - I killed the in visable text - I could live with them in alt & link titles but not in metatags (description and keywords)
    please Keep in mind I need it in href's (not the visable text though)
    thanks,
    MEF

    Just so I get this straight,  you want to change this:
    http://example.com/Annette_O_Toole/index.html
    to this:
    http://example.com/Annette O Toole/index.html
    Using spaces instead of underscores?  That is not a good thing.  You should  never use spaces or special characters in folder or filenames.  Ok?
    I hope this answers your question.  If not, post back with an example of what you're trying to change.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Iweb and yahoo hosting setup questions

    using iweb to create my page, trying to upload to my yahoo host service and can't get anything but a 404 file not found message. i've published to another folder, uploaded the index.html file and included graphic file and still get nothing. any advice would be much appreciated. thanks in advance!

    My only other question is - am I to delete the files yahoo created in my directory, leaving only my own uploaded files?
    There should be no need to do that.
    when i type in my site name it goes to a directory, and if i click on the folder i uploaded it looks all good.
    Seeing the directory instead of your site right away normally means you did not upload the index.html file which iweb created alongside the folder which has the name you gave your site inside the iweb app.

  • IWeb 06 icon is a question mark now

    I just installed iLife on a custom basis. i only installed iDVD, iPhoto and Garage Band.
    Now my iWeb icon in my dock is a question mark and my domains are generic page icons. neither will launch iWeb either. And i cant find the application on my drive now. what happened and is iweb 06 available for download anywhere? it came pre-installed on my mini with no disc backup.

    Jimmy:
    Welcome to the Apple Discussions. Download and run Pacifist on the disks that came with your computer to locate, extract and install iWeb 1.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Dreamweaver Simple Table Question

    So I have several tables,  100 rows, 5 columns for my data.  Here is my question, Is there a way to flip the table, so data at top goes to bottom and bottom to top.  All my data runs from old to new, when i want it new to old.  I know you can do this in excell by alphabet or date, id there a way in DW

    Someone else may correct me if I am wrong but I am pretty sure you cannot sort a column or row of values in an html table using DW. What you could do is create your list in Excel, sort the list in Excel, and copy the table range and paste it in DW, which will create a perfect html table. You can also copy and paste from Dreamweaver to Excel but it's not as simple. You would have to copy and paste just one column at a time and you will have an extra empty row for each populated row.
    Another solution is to create a mySQL table that can be easily sorted and use PHP to display the table on your page. You would have to know at least the basics of mySQL and PHP to do this, but if are going to constantly add new records to your table, mySQL would be your best solution. If your table is static, the first solution will work fine.

  • DREAMWEAVER PHONE SUPPORT QUESTION

    I'm wondering if the Adobe.com site offers telephone support for Dreamweaver.  If so, could you send me the link to the price and the phone number?  If not, do you know of a place that offers phone support for Dreamweaver?  Thanks in advance:)

    Your best bet is to look for a freelance website designer / creator who can work with you.
    <https://uk.fiverr.com/search/gigs?utf8=%E2%9C%93&search_in=everywhere&query=website&x=1&y= 5&page=1&layout=auto>
    Adobe can't provide personal service;  All you get is these forums where all questions are answered by experienced practitioners who can provide you private service if you wish.  you can contact them via the PM system on these forums.
    Good luck.

  • Iweb vs. dreamweaver

    I was wondering what exactly is the difference between a website made in iweb and a website made in dreamweaver?
    I know functionality is different, for example one can't implement everything quite like one would in dreamweaver, but can a website done on iweb be every bit as popular on a search engine for example as one done on dreamweaver? what are the main draw backs, in a general sense? thx

    Chance Harper wrote:
    ...but can a website done on iweb be every bit as popular on a search engine for example as one done on dreamweaver?
    iWeb is designed for personal websites, not commercial ones — so it lacks integrated Search Engine Optimization (SEO). Plus +"iWeb websites are not made to be search engine friendly."+ ...Read more here:
    _SEO For iWeb: How to get your iWeb Websites into Google & Other Major Search Engines_
    Dreamweaver has a reputation for being overly complex, so if SEO is important to you, you may want to consider simpler alternatives such as Sandvox Pro which has integrated SEO:
    _Get Your Site Noticed and Build Your Audience_
    Or the free, web-based Weebly:
    Visitor Stats & Search Engine Optimization
    ...Read more about Weebly in this post:
    _Domain file - iWeb becoming a headache_

  • Dreamweaver or muse question

    Greetings to the adobe forum
    Id like to ask a general question regarding these two applications why one over the other but touching the surface of the question.
    For example I am a graphic designer, who gets asked a lot not to mention most the times”do you do websites? I’ll need one for my band,company,personal site etc.
    so I pretty much just use, Illustrator, Photoshop, InDesign to do my graphic designs. So I know that Dreamweaver has coding to learn and html ,php and there is a running show behind the scene of the program. So since I’m more of a designer-layout guy that i cannot relate to code since its a new beginning for me,would the new muse live up to its expectations of doing basic website designing?
    I’ve seen another program called xara pro, design pro which seem like muse. Can muse for example support 3d style photo gallery and flash animations and all that sort of up to standards graphics which are on the web these days?
    Thank you in advance.

    3-D graphics on the web?  Nope.  Web browsers haven't caught up with this technology yet. 
    Flash animations?  While you can use other products like Flash Pro to create Flash animations, you probably don't want to because the world's most popular web devices (iPhone, iPad, iTouch, Android, etc...) don't support Flash.  Flash is dead on the web.
    If you're going to sell yourself as a web designer, you should learn some basic skills.  At a bare minimum, web design theory, HTML, CSS, JavaScript & Search Engine Optimization.  
    If you want to build animations, look at Adobe Edge Animate which outputs to HTML5, CSS3 & JavaScript.  jQuery is also a useful scripting language to know as it can help you build everything from interactive slideshows & menus to apps.
    Later on, if you decide to take this to the next level, you can learn server-side programming & databases (ASP/MsSql or PHP/MySql).  My suggestion at this point would be to sub-contract out any programming you need to an experienced web developer.
    MU is consumer level software aimed at non-coders.  It's fine for quick basic amateur & hobby sites but I wouldn't use it for professional or commercial web sites. It's too limited in what it can do.  Sites built with it are very difficult to edit in anything other than MU.
    DW is pro-level software for serious web designers and developers.  If this is the path you intend to take in your career, skip MU and learn to use DW.
    Nancy O.

  • A music file on my iWeb website shows as a question mark and won't play.  Anyone know how I can fix this?

    When I view the website using Firefox, it shows and plays beautifully.  But, when I view it on Safari, there is a tiny question mark where the audio control should be, and no music plays.  I'd really appreciate some help with this one.
    Many thanks,
    Joe Perrone Jr.
    Author
    www.joeperronejr.com (in case you want to see the site)  It's the Home Page

    I just opened your site with Safari and on the Home page the music play straight away and then there is the player at the bottom right of the page which I can see with no problem at all.
    Perhpas you need to empty your brower cache for it to display correctly - it seems to be working correctly for others here who have viewed it in Safari.
    Check your preferences and perhaps clear your cookies and then empty your browser cache.

Maybe you are looking for

  • Re: Creating credit memo with reference to Sales Order in ICWC

    Hello gurus I am new to CRM and we hv ECC 6.0 & CRM 6.0 in our environment. We have a process where a Credit Memo Request is created with reference to a Sales Order. Now till this point we had launched VA01 in the ICWC and were creating the CMR with

  • Can you leave your iPhone 4 S on charge continually?

    We just got the iPhone S.  We were told it would be better service than the mi/fi for our area (and it does). We were told to use it as a hot spot. The only thing this drains the battery so quickly. We now on a plan and can not go back. I really don'

  • Cannot add user to group eventhough i have full access

    i cannot add users to groups in subsite even i am in the owners group of the subsite

  • (Bug?) Adding an excel chart into a sheet

    Has anybody experienced the following problem? I've built a chart in excel, and everything is ok, but when i try to put it into a sheet, something fails. There's no error reported, but the Location property of Chart class fails, and my chart appears

  • Img tag in RichTextEditor Adobe AIR

    Hi, I wanted to insert an image into a RichTextEditor in AIR application. For my surprise I found this code working perfectly if the project was Web application but it doesn't work if I use it into AIR Desktop application. Here's the code      <mx:Ri