Avatar of worded
worded asked on

Spry Menus in dreamweaver - how to add the same one to all my .htm for my site?

I cant get the hang of templates, new to dreamweaver.  Prefer an alt sollution

Ive heard this might be the answer ...

Example: - I found but I can get this to work.

<link rel="stylesheet" type="text/css" href="style.css">
<script src="javascript.js" \>
<!--#include virtual="menucontent.html" -->

Can anyone post code an example of a .htm so I can see how the code is "pulled"
into another page.
Adobe DreamweaverWeb Development

Avatar of undefined
Last Comment
worded

8/22/2022 - Mon
rowejd

No need for an example, really.  Just make a new stylesheet (go to file, new, pick CSS or StyleSheet) and name it "style.css" -- put it in the same directory (folder) as the file using it.  Same with the javascript file.  Create a new javascript document and name it "javascript.js" and put it in the same directory.

Put the code you show above in between the head tags and you're set.
ASKER
worded


The example I found was from somewhere else..........

I copied and pasted the spry and it just landed in the place I wanted in the index file ....  but I will try be more scientific J

(I need one separate spry if I refer to anchors on that page i.e http://www.fsg.ie/3a/services.htm    )
All others can be the same spry - as they have no other sub sections.

I think I twig what you are saying folder wise. I can create a separate folder perhaps for services perhaps.

Will give your suggestion a go now in a second.


ASKER
worded



Hi,

Can you please give me a code sample of what you mean based on my index file code for the spry (not on this)
http://www.fsg.ie/3a/


====================== pls gnore this====================
<link rel="stylesheet" type="text/css" href="style.css">
<script src="javascript.js" \>
<!--#include virtual="menucontent.html" -->   <<<<<<<<<<<<<<<<<<<<<<<<<<<< Im lost on this bit

=====================================================

Its late here and Im new to Dreamweaver.

Thanks!
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ASKER CERTIFIED SOLUTION
funwithdotnet

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
worded



Hi, 5am here ............

Please give it a quick look / sanity check