Highlighted

issues Im still having

Explorer ,
Dec 18, 2017

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional
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

Views

117

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

issues Im still having

Explorer ,
Dec 18, 2017

Copy link to clipboard

Copied

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

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional
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

Views

118

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 18, 2017 0
Adobe Community Professional ,
Dec 18, 2017

Copy link to clipboard

Copied

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


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 18, 2017 1