Skip to main content
Participant
December 19, 2017
Answered

issues Im still having

  • December 19, 2017
  • 1 reply
  • 221 views

I have owned cs6 since it was released. and it was NOT cheap.. My dream weaver program has crashed many time over on my win 7 and 8.1 pro machines. so I uninstalled and reinstalled. partnered with chat support, made sure to have updated my pc and java. I have even installed and reinstalled on my win 10 machine, still, dw crashes and I have to reboot the program. I really need this program to work as I am trying to launch a site for my new business.... I have another query, I am hoping this is answered as well. How can I migrate the same information from one page to ALL pages without having to copy and paste? I have more than 8 pages hahaha. and after copy paste, i have saved and debugged, a the site page works while others do not, making me hunt for the errors and type in my repairs ... time waster

    This topic has been closed for replies.
    Correct answer BenPleysier
    My dream weaver program has crashed many time

    What does the Windows Event Viewer tell you?

    How can I migrate the same information from one page to ALL pages without having to copy and paste?

    There are a number of ways to do this, namely

    1. SSI's
    2. JavaScript
    3. PHP includes

    For the sake of brevity, I will use jQuery (JavaScript) as an example

    Create a file named navigation.html or similar and place the contents of the navifation element into it as per

    <nav>

      <div> <a href="/">

        <div id="logo"><img src="image.png" alt="Home"/></div>

        <div id="headtag"><img src="image.png" alt="Home"/></div>

        <div id="tagline"><img src="image.png" alt="Home"/></div>

        </a>

    </div>

      <div>

    <a href="/" class="here">Home</a>

    <a href="/about.html" >About</a>

    <a href="/services.html" >Services</a>

    <a href="/pricing.html" >Pricing</a>

    <a href="/contact.html" >Contact Us</a>

        <input id="srchbar" type="search" placeholder="Search">

      </div>

    </nav>

    The in the pages containing the navigation, include the items as per

    <!doctype html>

    <html>

    <head>

    <meta charset="utf-8">

    <title>Untitled Document</title>

    <script

      src="https://code.jquery.com/jquery-3.2.1.min.js"

      integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="

      crossorigin="anonymous"></script>

    <script src="//code.jquery.com/jquery.min.js"></script>

    <script>

      $.get("navigation.html", function(data){

      $("#nav-placeholder").replaceWith(data);

      });

    </script>

    </head>

    <body>

    <div id="nav-placeholder"></div>

    </body>

    </html>

    Run the application to see the result

    1 reply

    BenPleysier
    Community Expert
    BenPleysierCommunity ExpertCorrect answer
    Community Expert
    December 19, 2017
    My dream weaver program has crashed many time

    What does the Windows Event Viewer tell you?

    How can I migrate the same information from one page to ALL pages without having to copy and paste?

    There are a number of ways to do this, namely

    1. SSI's
    2. JavaScript
    3. PHP includes

    For the sake of brevity, I will use jQuery (JavaScript) as an example

    Create a file named navigation.html or similar and place the contents of the navifation element into it as per

    <nav>

      <div> <a href="/">

        <div id="logo"><img src="image.png" alt="Home"/></div>

        <div id="headtag"><img src="image.png" alt="Home"/></div>

        <div id="tagline"><img src="image.png" alt="Home"/></div>

        </a>

    </div>

      <div>

    <a href="/" class="here">Home</a>

    <a href="/about.html" >About</a>

    <a href="/services.html" >Services</a>

    <a href="/pricing.html" >Pricing</a>

    <a href="/contact.html" >Contact Us</a>

        <input id="srchbar" type="search" placeholder="Search">

      </div>

    </nav>

    The in the pages containing the navigation, include the items as per

    <!doctype html>

    <html>

    <head>

    <meta charset="utf-8">

    <title>Untitled Document</title>

    <script

      src="https://code.jquery.com/jquery-3.2.1.min.js"

      integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="

      crossorigin="anonymous"></script>

    <script src="//code.jquery.com/jquery.min.js"></script>

    <script>

      $.get("navigation.html", function(data){

      $("#nav-placeholder").replaceWith(data);

      });

    </script>

    </head>

    <body>

    <div id="nav-placeholder"></div>

    </body>

    </html>

    Run the application to see the result

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!