close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

reuse spry menu different website

Thread began 4/07/2017 12:19 pm by jjenco101368 | Last modified 4/07/2017 10:11 pm by Ray Borduin | 103 views | 3 replies |

jjenco101368

reuse spry menu different website

So, I got tired of creating different menu bars in my .php template page for a new website I'm buidling and having to keep cleaning up the template, so I created a Spry menu bar on a new separate .html page and tweaked it until I got it right. Now I want to copy it to my .php template for my website. How would i do this?

Thanks!

Sign in to reply to this post

Ray BorduinWebAssist

You should be able to just copy/paste the html and then copy/paste the associated script files. Just make sure to update the paths in the script files to be relative to the new folder structure.

Sign in to reply to this post

jjenco101368

Hi, Ray. Capture1.jpg shows the result of simply coping all the Spry menu bar code from the test.html page and pasting it into the fluid grid div tag on the template page. Capture2.jpg shows what the menu bar is supposed to look like.

I just noticed another problem too. The template page got saved as an .html page instead of a .php page, as I wanted to add login and registration links at the top left corner of the template. Thoughts on this? Thanks!!

Sign in to reply to this post

Ray BorduinWebAssist

I think you just have to copy the .css and .js files as well that is why it isn't showing correctly.

Just save the template as .dwt.php

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...