1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Dreamweaver or Internet Explorer problem ?

Discussion in 'Other PC Software' started by Geoff Hands, 2007/02/01.

  1. 2007/02/01
    Geoff Hands Lifetime Subscription

    Geoff Hands Well-Known Member Thread Starter

    Joined:
    2006/11/11
    Messages:
    233
    Likes Received:
    0
    I have built a website using DW8.0.2, which previews ( reading from my hard disc) perfectly in IE 7 , but when I try to view it from my server via the internet, one important area - a flash file showing a succession of images - is missing.
    It must be on the server, since the same procedures followed using other browsers (Mozilla and Opera) again preview perfectly , and also show the file viewed from the server .
    IE shows me two code "errors" which do not seem to make any sense ( to my rather limited knowledge of code).
    One other pointer (?) or not, is that when I preview , the wanted file is blocked and I get messages saying so, and I can unblock ; when I view from the server, I don't get those messages, although when I try the "pop-up blocker" it is turned off.
    I have asked in the Adobe/Macromedia user-to-user forum but got no replies.
    Can anyone offer suggestions or help ?
     
  2. 2007/02/02
    ReggieB

    ReggieB Inactive Alumni

    Joined:
    2004/05/12
    Messages:
    2,786
    Likes Received:
    2
    One of the common problems you can find if a page is fine on a local system, but does appear when the page is posted to the server, is a problem with file paths. You have to make sure the path to a file works on both the server and the local machine. The way to do that is to avoid absolute paths and instead us relative paths.

    For example, say your main website is on your computer at:

    c:\web\myapp

    and your flash files are at:

    c:\web\myapp\flash

    If you use in your web pages the absolute path to the flash file (c:\web\myapp\flash) it is very unlikely that the files will be at that location on the server. However, as the flash folder is a sub-folder of myapp, you can use a relative path. That is:

    \flash

    So in a web page "apage.html" the path to the flash file flash.file will be \flash\flash.file

    Also check the orientation of your paths. Unix/Linux systems use forward slashes for paths. So you may find a path \flash will work on a Windows system, but won't work when you post the file to a linux server. Instead try the path /flash/flash.file.
     

  3. to hide this advert.

  4. 2007/02/03
    Geoff Hands Lifetime Subscription

    Geoff Hands Well-Known Member Thread Starter

    Joined:
    2006/11/11
    Messages:
    233
    Likes Received:
    0
    Dreamweaver or Internet Explorer problem?

    Thanks for the info. However, in the meantime, trying everything I could think of , and many things "just in case" , somewhere along the way the flash file did start to work in IE. So at last that aspect is OK and the site up and running.
    Which leaves one remaining minor problem. The home page uses a tables format to put three elements ( navigation bar, flash file, and a fixed panel of text) side-by-side, but some browsers show them one below the other ? Maybe the versions of Firefox and Opera which I used to check can't handle frames ? If you can suggest anything else I'd pleased to know.
    Thanks again.
     
  5. 2007/02/03
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    What's the url, I'll look at the code.

    FYI, Flash embedding code used by most web editors, as well as the code recommended by Flash itself, is non-standard, and will display differently in different browsers. Here's an example of using Flash that IS standard and works in all browsers:
    Code:
    <!-- Flash -->
    <object type= "application/x-shockwave-flash" data= "YOUR-FILE.swf" width= "XXX" height= "XXX ">
    <param name= "movie" value= "main.swf ">
    <!-- Use a nice instructional image to display if user does not have Flash installed -->
    <a href= "http://www.adobe.com" target= "_new "><img src= "noflash.gif" width= "XXX" height= "XXX" alt=" "></a>
    </object>
     
  6. 2007/02/04
    Geoff Hands Lifetime Subscription

    Geoff Hands Well-Known Member Thread Starter

    Joined:
    2006/11/11
    Messages:
    233
    Likes Received:
    0
    Thanks for the offer - however , in the meantime I solved it ( without understanding why) by copying the whole chunk of code from the Dreamweaver tutorial (Cafe Townsend) then changing file names etc. I never did see what was different between the two versions, but one works and the other doesn't !
    I am now trying to learn more about coding myself - working my way through a book I found via browse on google.
     
  7. 2007/02/04
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.