Link graphics in the folder that is located in the root folder of Dreamweaver

I have a main root folder for a Web of DW site. In this folder, I have folders for a slide show. For the buttons in the main page to link to different slideshows, I have to put a version of mainpage in each slide show file. So, essentially I am making copies of the html of the main index, renaming them and placing them in folders * in * the root folder.

My problem is that all the graphical links are broken. I get this and it makes total sense, but I can't put the html files of link outside these folders on the other that they will not display the individual slide shows, I want to make a link to the main page.

My question is: Y at - it a way to keep active links of in a folder in the root folder? or I have to copy the used graphics and put them in each slide show file.

Any thoughts are appreciated.

Thank you, sharon

Hello

Remember that your code must also point to the pertinent files so that your script to find.

for example - where you have SWFObject ("illustrations/viewer.swf"...)

Make sure it points to the viewer.swf file. This applies to all of your script code, if you have a file in the main folder, you're good, but if you move it to a subfolder, you need to change this for - ("'... / illustrations/viewer.swf '... more code), in order to find the code.

HTH

Tags: Dreamweaver

Similar Questions

  • Can a site the browser to examine all the links (relative to the root) as belonging to another area?

    One of my sites gets its images on another server (and domain). Therefore, instead of paths relative to the root, I use full http:// URL.

    Is not a big deal, except that the area where these images are stored too, sometimes changes. I have to find/replace all http:// on the right, so they point to the new domain.

    I just thought that a cleaner solution (which can - hopefully - already exist) might be to insert a single line at the top of the HTML file indicating the browser to view all the links related to the root as belonging to another area.

    Something like:

    < meta domain = "alternatesite.com" / > "

    "< img src="/images/image.jpg "/ >

    Where only one line should be changed, and the code would read as it is located on alternatesite.com, even if it is com.

    It is already doable and if so, what is the right syntax?

    Thank you!

    You have skills with the script server? It would certainly be a way to do.

  • Links related to the root &amp; local test server

    Yesterday, I realized that I have to use links to the root in a SSI file included so that it would work from templates and pages in my main directory (or other directories, besides), for example, "src=/image/picture.jpg". However, as my site is PHP, in order to test the pages or even to use the Live View, I do use a server 'test '. I did it without much trouble using a package called EasyPHP, support that puts in place a local web server as well as the module PHP, MySQL, etc. It all works very well.

    The problem is that, in order to support multiple web sites, I have to use a "virtual directory" spec to direct the web server to the correct location of the files in my site. In the configuration for the test server, so I have to specify a URL prefix such as 'http://localhost/corinthian' of this particular site. Which worked previously, but breaks when using the root-relative links because the server see the "root" as the main directory "localhost" instead of "localhost/Corinthian. So now my SSI does not appear correctly because it is not resolved to the appropriate directories.

    I don't think it's fixable, unless someone else has run into it and can think of something I could try. Anyone? Break some of my code in a SSI was certainly more of a challenge than I expected!

    You have two options:

    1. Set up local virtual hosts.  I did and it works great!  See http://www.apptools.com for more information on how to do it.
    2. Make your root-relative links

    /whatever/whatever.php">

  • Real vs virtual of the file; Links from the root of the Document vs. Site?

    I'm at my wits end with this... I sent DAYS fighting this one.

    I have my files in the following directory structure

    /_CSS

    /_include

    / FAQ

    / Staff

    / Documents/postcard

    / Documents/forms

    EACH html file (as it is in /FAQ /Staff or same/Documents/Forms) includes the file /_include/header.html which (among others) has lines such as:

    "< link rel ="stylesheet"href="/_css/main.css "type =" text/css"media ="screen"/ >

    In the definition of my site, I have 'links relative to the root of the site'.

    Now, I guess this means that all files in the root and start searching for files. HOWEVER, this is NOT the case.

    I have the following in my include file:

    "< link rel ="stylesheet"href="/_css/main.css "type =" text/css"media ="screen"/ >

    "" < link rel = "stylesheet" href = "... / _css/main.css" type = "text/css" media = "screen" / >

    If I have NOT two lines, some files do not find the CSS files

    WHY?

    I lost DAYS on it and I just want to know why.  I'd like TO get this sorted out.

    I files and RANDOMLY CSS files will not be judged and the layout is screwed.

    While writing this email, I just noticed that it screwed up again.

    The/_include/head/html file contains the following:

    < link href ='http://fonts.googleapis.com/css?family=Cantarell' rel = "stylesheet" type = "text/css" > <! - use a Google web - >

    " < link rel ="stylesheet"href="/_css/main.css "type =" text/css"media ="screen"/ >

    " < link rel ="stylesheet"href="/_css/print.css "type =" text/css"media ="print"/ >

    " < link href="/_include/p7pmm/p7PMMh04.css "rel ="stylesheet"type =" text/css"media ="all"/ >

    " < script type =" text/javascript"src="/_include/p7pmm/p7PMMscripts.js "> < / script >

    " < link href="/_include/p7hgm/p7hgm08.css "rel ="stylesheet"type =" text/css"media ="all"/ >

    " < script type =" text/javascript"src="/_include/p7hgm/p7HGMscripts.js "> < / script >

    My site definition file has "relative links to:" the value 'Site root' so (if I understand correctly) there should be NO reason then the file: ".

    /Document/postcard/postcard.html

    Cannot find the file/_css/main.html.  BUT he can't find it!

    Can someone help me with this?  I'm at the point of desperation here.

    You can see the site here: http://www.NevadaWomensCare.com.  If you can understand why /Documents/Postcard/Postcard.html can't find /_css/main.css then I would REALLY appreciate it.

    This code snippet

    Postcards
    [an error occurred while processing the directive]

    indicates that understands it not handled by your server.

    The server has been configured to parse all .html files to include? The existence of the Include directive in the code (rather than the content of the Include file) does not suggest.

    If this is not the case, the page of the postcard must have a .shtml extension (rather than .html) to tell the server to parse the page to understand them.

  • Try to change the root directory in built-in Server

    I run the server integrated into ColdFusion 9 to test a web site that I am building. My site is located in a subfolder of the folder wwwroot directory ColdFusion9 (C:\ColdFusion9\wwwroot\Everett\*). I try to use links relative to the root, but I would like that they refer to this directory, not the wwwroot directory. For example, I would like the link "/ index.cfm" to open the C:\ColdFusion9\wwwroot\Everett\index.cfm as opposed to C:\ColdFusion9\wwwroot\index.cfm. It is my understanding that this is possible through the virtual mapping.

    I added this code in the jrun - Web.xml file in the WEB - INF directory:

    <>virtual-mapping

    > resource path < / * < / resource-path >

    < path system - > C:/ColdFusion9/wwwroot/Everett / < / path system >

    < / virtual mapping >

    Then I moved folders CFIDE and cfdocs in the Everett subfolder.

    Then I restarted the ColdFusion server.

    Now I get the following error message:

    404

    java.io.FileNotFoundException

    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:94)

    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)

    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

    at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)

    to jrunx.scheduler.ThreadPool$ DownstreamMetrics.invokeRunnable (ThreadPool.java:320)

    to jrunx.scheduler.ThreadPool$ ThreadThrottle.invokeRunnable (ThreadPool.java:428)

    to jrunx.scheduler.ThreadPool$ UpstreamMetrics.invokeRunnable (ThreadPool.java:266)

    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    When I go to http://localhost:8500 / I can see all of the appropriate files and directories, so I can see that the root directory has been changed, I'm simply not view any document.

    Any thoughts?

    Jeremy

    HA! I don't know why it works now, but it does. Alexander, I tried your method and it did not work, but then I moved the directory WEB - INF back to wwwroot and he's fine now. For those keeping score at home, here's what I've done with:

     

        /*

        C:/Web_Sites/Everett2

     


     

        /WEB-INF

        C:/ColdFusion9/wwwroot/WEB-INF

     


     

        /CFIDE

        C:/Web_Sites/Everett2/CFIDE

     

    As I said, I don't know why it didn't work the first couple attempts, but it works now and I guess that's all that matters. Thanks for all your help!

    JAW

  • Will I lose my music downloads that are located in the "MY DOWNLOADS" folder "IF" I remove them, once they are transferred to my iTunes account?

    Will I lose my music downloads that are located in the "MY DOWNLOADS" folder "IF" I remove them, once they are transferred to my iTunes account?

    Hello JMarione,

    Thank you for your message.  Because it's really a question of iTunes I refer you to http://www.apple.com/au/support/itunes/.  Support you should get it will ensure that all your media will be transferred correctly.  This is a forum for Vista, and many people have different one from the other configurations.  A good answer for a single person on this forum could still lose you some of your files, because the installation program may be different.  Good luck.

    See you soon

  • How to check if a link located in a folder called links next to the document?

    How to check if a link located in a folder called links next to the document?

    myDocument var = app.activeDocument;

    for (var myCounter = 0; myCounter < myDocument.allGraphics.length; ++ myCounter)

    {

    var myGraphic = myDocument.allGraphics [myCounter];

    If (myGraphic.itemLink.status! = LinkStatus.linkMissing)

    {

    If (myGraphic.itemLink.filePath is outside the folder 'Links' which lie next to this document)

    {

    }

    }

    }

    Main();
    
    function Main() {
        var i, link,
        doc = app.activeDocument,
        linksPath = doc.filePath.fsName + "\\Links",
        links = doc.links;
    
        for (var i = 0; i < links.length; i++) {
            link = links[i];
            if(link.status != LinkStatus.linkMissing) {
                if (File(link.filePath).parent.fsName === linksPath) {
                    $.writeln(i + " - " + link.name + " - is inside 'Links' folder");
                }
                else {
                    $.writeln(i + " - " + link.name + " - is outside 'Links' folder");
                }
            }
        }
    }
    
  • How can I create a link to an image that is located on an ftp site to a Web page that is located on another.

    How can I create a link to an image that is located on an ftp site to a Web page that is located on another.

    I managed to do it with the full path of the link (file:///C|/Users/myname/Documents/familyK3/image1.jpg), but as it is quite long, I would use the relative path. To be clear, I have 1 site that spans 3 different storage locations for FTP. site1 (named familyK), that contains the page. On this page, I have an image that is in the images on training3 (named familyK3). I tried... / familyK3/images and... /... (/ familyK3/images, but I don't get to see the photo in DW (since it usually refers to an image in the same folder (root)) and not to another location).

    I use dreamweaver8.

    Stephaan

    Use an absolute URL in the field of the CBC to your properties panel.

    http://your_other_site.com/images/filename.jpg"alt ="description">

    Nancy O.

  • Download picture of URL link and store the Image in a Local folder in BB10 Webworks

    Hello

    I want to download the image of URL link and store the image in a local folder in Webworks BB10.
    But I did not get the code for this.

    If such knowledge code or have any solution then please help me...

    Thank you best regards &,.

    Laurent Subudhi

    NitishSubudhi wrote:
    I go through this code... but it is throwing the exception. That is to say "ReferenceError: Webworks is undefined '." "

    According to the device/operating system, you need to add the extension of your installation of WebWorks as explained here for OS SmartPhone BB or PlayBook OS.

    To use read the samples provided, they must work somehow. When I worked with the extension on PlayBook I only copy + pasted the provided source code and changed the attributes for the function call:

    // You need to define "remotePath", "localPath", "onProgress", "onError", "options" like shown in documentationblackberry.io.fileTransfer.downloadFile(remotePath, localPath, onProgress, onError, options);
    

    For OS SmartPhone BB the function call looks like this:

    // You need to define "options" like shown in documentationwebworks.io.FileDownloader.download(options);
    

    All think that all information provide here, try to follow and cela should operate.

  • Zoo Tycoon 2 error: Zoo Tycoon 2 could not create a graphics converter. Your provider of graphic adapter to ensure that you have the latest driver. »

    I am running Zoo Tycoon 2 on Windows 8 with a Nvidia GeForce GTX645.  I installed ZT2 and get the following error when you try to play: Zoo Tycoon 2 could not create a graphics converter. Your provider of graphic adapter to ensure that you have the latest version of the driver.

    I already did so that my drivers are up to date.  Any ideas?  Thank you!

    Hi Luanne,

    The problem is specific to a Zoo Tycoon 2?

    This problem may occur if the graphics drivers are damaged. I suggest to uninstall and reinstall graphics card drivers and check if it helps.

    To uninstall the device drivers, follow these steps:

    a. drag the mouse down to the left and right click on the Start icon.

    b. Select Device Manager.

    c. right-click on the device driver, and then click Uninstall.

    See the link to download the drivers:

    http://www.GeForce.com/drivers

    I hope this helps. If you have additional questions on the computer, please ask your question about Windows and we will be happy to help you.

  • Can I create a button that will load a graphic on the page?

    I want to create a page where users can change the colors in a chart by clicking on a set palette (series of colorful buttons)

    I want them to be able to define a background color (from a predefined file selection), and then a secondary color (also amongst a selection of predefined file include transparency).

    For example, imagine a polka dot design. I would like the user to specify the background color and the color of the polka dots by clicking on the buttons of the same color on the page. I have a series of background files and a series of pea files (where everything but the polka-dot Jersey is transparent).

    Is it possible to create buttons on a page that, when clicked will load a graphic to a certain size and location?

    Would appreciate any input.

    Thank you

    Nick

    This should be possible with 2 widget compostion nested:

    The composition of 'parent' contains background on the triggers and the images corresponding to the target colors. The transition between the targets must be set to 'Fade '.

    The 'child' widget, is nested within the widget 'parent', its bottom of target must be transpaent to show the underlying background of the composition of 'parent' and its triggers contains the color of the polka dots. Its objectives show the points himself.

  • borders that appear around linked graphics - sometimes!

    I use DW CS3

    When I use my graphic logo, for example here http://www.sweetheartfilms.com/ , it works as expected.

    However when I turn it into a link, for example here http://www.sweetheartfilms.com/teaser2.htm , a box appears arouind it.

    Only, not always. A box appears in IE and Firefox, but not in Chrome or Safari. It appears so when I work in DW and bind the neat, but I can't figure out any way to get rid of him. I guess it's a bit like undelined text links, but if each chart that was a link was automatically surrounded a border most of the web pages would be a mess, so there must be a way to extinguish it.

    Would be very grateful for a solution...

    See you soon!

    A glance in the Dreamweaver FAQ would have given you the answer.

  • I think I received a text of scam, to say that my ID Apple has been locked and offering a link to fix the problem.  Has anyone received it?

    Today I got a text from a mobile phone no, informing me that my ID Apple has been locked.  I did not answer or clicking on the link sent in the message, because I suspect that it's maybe a scam.

    I was able to connect to Apple in order to send this message, which proves that the text is not authentic. I just want to warn others.

    Hello

    Clicking on the link, you have made the right choice.

    You can report the message to Apple by following the steps detailed here:

    Block the phone numbers and contacts or filter messages on iPhone, iPad, or iPod Touch - Apple Support

  • I received an email from ITunes showing a purchase that I don't have.  The link to cancel the request of credit card etc..

    I received an email from ITunes showing a purchase that I don't have.  The link to cancel the request of credit card etc..

    Don't submit any personal information here, send email to [email protected] as an attachment and then delete it.

    (139293)

  • How to change the recovery of main mobile phone account is linked to a mobile phone that is no longer in use

    Using Hotmail, how to change the recovery of main mobile phone account is linked to a mobile phone that is no longer in use.

    I can't remove it, I can't change it or do anything else without the system you want to send a text message for that phone for conformation. can you change the setting to send an email to the place or the main number of conformation ahange.

    Steve

    Hello

    The question you have posted is related to hotmail; This is why it would be better suited in the Windows Live community. Please visit the link below to find a community that will provide the best support.

    http://www.windowslivehelp.com/product.aspx?ProductID=1

    http://www.windowslivehelp.com/

Maybe you are looking for